https://github.com/souraevshing/spring-microservice-app-03
Microservices-based application architecture with 3 different services i.e. job, company, review.
https://github.com/souraevshing/spring-microservice-app-03
api-gateway config-server eureka-client eureka-server microservice postman springboot
Last synced: 6 months ago
JSON representation
Microservices-based application architecture with 3 different services i.e. job, company, review.
- Host: GitHub
- URL: https://github.com/souraevshing/spring-microservice-app-03
- Owner: Souraevshing
- Created: 2024-08-25T19:07:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-29T18:55:06.000Z (about 1 year ago)
- Last Synced: 2025-02-10T22:44:21.764Z (8 months ago)
- Topics: api-gateway, config-server, eureka-client, eureka-server, microservice, postman, springboot
- Language: Java
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Microservice architecture including 3 services :
- Job Microservice
- Company Microservice
- Review Microservice## Add the below code inside `docker-compose.yml` file to run postgres and pgadmin inside container in local machine :
`
services:
postgres:
container_name: postgres_container
image: postgres:16
environment:
POSTGRES_USER: codey
POSTGRES_PASSWORD: admin
PGDATA: /var/lib/postgresql/data
POSTGRES_DB: job
volumes:
- postgres:/var/lib/postgresql/data
ports:
- "5432:5432"
networks:
- postgres
restart: unless-stopped
pgadmin:
container_name: pgadmin_container
image: dpage/pgadmin4:7.0
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-isauravshing@gmail.com}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin}
PGADMIN_CONFIG_SERVER_MODE: 'False'
volumes:
- pgadmin:/var/lib/pgadmin
ports:
- "5050:80"
networks:
- postgres
restart: unless-stoppednetworks:
postgres:
driver: bridgevolumes:
postgres:
pgadmin:`