28 lines
468 B
YAML
28 lines
468 B
YAML
version: '3.8'
|
|
services:
|
|
event_service:
|
|
build:
|
|
context: /event_service
|
|
dockerfile: Dockerfile
|
|
depends_on:
|
|
- session_service
|
|
expose:
|
|
- 8081
|
|
|
|
session_service:
|
|
build:
|
|
context: /session_service
|
|
dockerfile: Dockerfile
|
|
expose:
|
|
- 8082
|
|
|
|
nginx:
|
|
image: nginx
|
|
ports:
|
|
- 8086:8086
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
|
depends_on:
|
|
- event_service
|
|
- session_service
|