2023-05-04 23:45:36 +10:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
|
|
|
# proxy:
|
|
|
|
# container_name: proxy
|
|
|
|
# build:
|
|
|
|
# context: ./proxy
|
|
|
|
# dockerfile: Dockerfile
|
|
|
|
# ports:
|
|
|
|
# - "80:80"
|
|
|
|
# depends_on:
|
|
|
|
# - frontend
|
|
|
|
# - backend
|
|
|
|
|
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
|
|
|
|
ports:
|
2023-05-04 23:51:49 +10:00
|
|
|
- "80:80" # Uncomment this line if you want to run the frontend container only
|
|
|
|
|
2023-05-05 00:00:15 +10:00
|
|
|
backend:
|
|
|
|
container_name: backend
|
|
|
|
build:
|
|
|
|
context: ./backend
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
ports:
|
|
|
|
- "5000:5000" # Uncomment this line if you want to run the backend container only
|