microservices/compose.yaml

65 lines
1.4 KiB
YAML
Raw Normal View History

2025-04-28 09:53:22 -07:00
version: '3.8'
services:
js-assignment-db-service:
build:
context: ./assignment-db-service
dockerfile: DockerfileDEV
container_name: js-assignment-db-service
restart: unless-stopped
init: true
ports:
2025-04-29 12:01:10 -07:00
- "3200:3200" # Expose port to the same host
2025-04-28 09:53:22 -07:00
env_file:
2025-05-01 16:07:55 -07:00
- ./assignment-db-service/.env.development
2025-04-28 09:53:22 -07:00
networks:
- backend
js-assignment-service:
build:
context: ./assignment-service
dockerfile: DockerfileDEV
container_name: js-assignment-service
restart: unless-stopped
init: true
ports:
- "8082:8082" # Expose port to the same host
env_file:
2025-05-01 16:07:55 -07:00
- ./assignment-service/.env.development
2025-04-28 09:53:22 -07:00
depends_on:
- js-assignment-db-service
networks:
- backend
js-auth-service:
build:
context: ./auth-service
dockerfile: DockerfileDEV
container_name: js-auth-service
restart: unless-stopped
init: true
ports:
- "8080:8080" # Expose port to the same host
env_file:
2025-05-01 16:07:55 -07:00
- ./auth-service/.env.development
2025-04-28 09:53:22 -07:00
networks:
- backend
js-user-db-service:
build:
context: ./user-db-service
dockerfile: DockerfileDEV
container_name: js-user-db-service
restart: unless-stopped
init: true
ports:
- "3100:3100" # Expose port to the same host
env_file:
2025-05-01 16:07:55 -07:00
- ./user-db-service/.env.development
2025-04-28 09:53:22 -07:00
networks:
- backend
networks:
backend:
driver: bridge