File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,37 +3,34 @@ services:
33 build : .
44 container_name : whim-app
55 restart : unless-stopped
6-
76 volumes :
87 - ./db:/app/db # Database volume
9-
108 env_file :
119 - .env
12-
1310 ports :
1411 - 3000:3000
12+ networks :
13+ - whimnet
1514
1615 caddy :
1716 image : caddy:alpine
1817 container_name : whim-caddy
1918 restart : unless-stopped
20-
2119 cap_add :
2220 - NET_ADMIN
23-
2421 ports :
2522 - 80:80
2623 - 443:443
2724 - 443:443/udp
28-
2925 volumes :
3026 - ./Caddyfile:/etc/caddy/Caddyfile
3127 - caddy_data:/data
3228 - caddy_config:/config
33-
3429 depends_on :
3530 - app
3631 - umami
32+ networks :
33+ - whimnet
3734
3835 umami :
3936 container_name : umami
@@ -44,6 +41,8 @@ services:
4441 APP_SECRET : ${UMAMI_APP_SECRET}
4542 ports :
4643 - 3001:3000
44+ networks :
45+ - whimnet
4746
4847 umami-db :
4948 container_name : umami-db
@@ -65,3 +64,4 @@ volumes:
6564
6665networks :
6766 whimnet :
67+ driver : bridge
You can’t perform that action at this time.
0 commit comments