-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yaml
More file actions
43 lines (41 loc) · 854 Bytes
/
compose.dev.yaml
File metadata and controls
43 lines (41 loc) · 854 Bytes
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
37
38
39
40
41
42
43
services:
server:
user: "0:0"
image: codejoin-s
build:
context: ./backend
dockerfile: Dockerfile
env_file:
- ./backend/.env
ports:
- "5000:5000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
client:
image: codejoin-c
build:
context: ./frontend
dockerfile: Dockerfile
args:
- VITE_BACKEND_URL=http://localhost:5000
- VITE_SUBDOMAIN=dev.localhost
ports:
- "5173:80"
depends_on:
- server
traefik:
image: traefik
ports:
- "80:80"
- "443:443"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./traefik.yaml:/etc/traefik/traefik.yaml:ro
- ./acme.json:/acme.json
restart: always
networks:
- codejoin_net
networks:
codejoin_net:
external: true