27 lines
498 B
YAML
27 lines
498 B
YAML
|
services:
|
||
|
|
||
|
director_service:
|
||
|
container_name: director_service
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: ./director_service/Dockerfile
|
||
|
expose:
|
||
|
- 8080
|
||
|
|
||
|
movie_service:
|
||
|
container_name: movie_service
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: ./movie_service/Dockerfile
|
||
|
expose:
|
||
|
- 8081
|
||
|
|
||
|
nginx:
|
||
|
image: nginx:latest
|
||
|
ports:
|
||
|
- "80:80"
|
||
|
volumes:
|
||
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||
|
depends_on:
|
||
|
- director_service
|
||
|
- movie_service
|