Debian Codegraph @

examples/react-spa/docker-compose.yml

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