24 lines
363 B
YAML
24 lines
363 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
book_service:
|
|
build:
|
|
context: .
|
|
dockerfile: book_service/Dockerfile
|
|
ports:
|
|
- "5000:5000"
|
|
|
|
shelf_service:
|
|
build:
|
|
context: .
|
|
dockerfile: shelf_service/Dockerfile
|
|
ports:
|
|
- "5001:5001"
|
|
|
|
nginx:
|
|
build:
|
|
context: .
|
|
dockerfile: nginx/Dockerfile
|
|
ports:
|
|
- "80:80"
|