local-nginx-tutorial/eg3/docker-compose.yaml

25 lines
413 B
YAML
Raw Normal View History

2023-05-04 23:45:36 +10:00
version: '3.8'
services:
2023-05-05 00:16:21 +10:00
proxy:
container_name: proxy
build:
context: ./proxy
dockerfile: Dockerfile
ports:
- "80:80"
depends_on:
- frontend
- backend
2023-05-04 23:45:36 +10:00
2023-05-04 23:51:49 +10:00
frontend:
container_name: frontend
build:
context: ./frontend
2023-05-04 23:45:36 +10:00
dockerfile: Dockerfile
2023-05-04 23:51:49 +10:00
backend:
container_name: backend
build:
context: ./backend
2023-05-05 00:06:20 +10:00
dockerfile: Dockerfile