1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
version: "3"
services:
frontend:
container_name: frontend
build:
context: ./frontend/
dockerfile: Dockerfile
volumes:
- ./frontend/src:/code/src/
- ./frontend/public:/code/public/
backend:
container_name: backend
build:
context: ./backend/
dockerfile: Dockerfile
volumes:
- ./backend/backend:/code/backend/
- ../../allauth:/code/allauth
ports:
- 8000:8000
proxy:
image: traefik:v3.0
container_name: proxy
ports:
- 10000:10000
volumes:
- ./traefik.toml:/etc/traefik/traefik.toml
mail:
container_name: mail
image: schickling/mailcatcher
ports:
- 1080:1080
- 1025:1025
|