-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (45 loc) · 848 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
51 lines (45 loc) · 848 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
44
45
46
47
48
49
50
51
name: deploykit
services:
buildkit:
image: moby/buildkit
privileged: true
command: ["--addr", "tcp://0.0.0.0:1234"]
networks:
- app
restart: unless-stopped
backend:
build: ./backend
environment:
- BUILDKIT_HOST=tcp://buildkit:1234
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- db-data:/data
networks:
- app
depends_on:
- buildkit
restart: unless-stopped
frontend:
build: ./frontend
networks:
- app
depends_on:
- backend
caddy:
image: caddy:2-alpine
ports:
- "80:80"
- "2019:2019"
- "4000-4099:4000-4099"
volumes:
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
networks:
- app
depends_on:
- backend
- frontend
volumes:
db-data:
networks:
app:
driver: bridge