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

25 lines
413 B
YAML

version: '3.8'
services:
proxy:
container_name: proxy
build:
context: ./proxy
dockerfile: Dockerfile
ports:
- "80:80"
depends_on:
- frontend
- backend
frontend:
container_name: frontend
build:
context: ./frontend
dockerfile: Dockerfile
backend:
container_name: backend
build:
context: ./backend
dockerfile: Dockerfile