Skip to content

Commit e1614e0

Browse files
baijumclaude
andauthored
fix: add towlion network to compose and fix postgres volume path (#1)
- Add towlion external network to app and celery-worker services in docker-compose.yml for multi-app routing via shared Caddy - Remove host port binding (8000) from app service — Caddy routes traffic via the shared network - Fix postgres volume path from /data/database to /data/postgres in docker-compose.standalone.yml to match bootstrap-server.sh Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0e6e278 commit e1614e0

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

deploy/docker-compose.standalone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ services:
3939
POSTGRES_USER: postgres
4040
POSTGRES_PASSWORD: password
4141
volumes:
42-
- /data/database:/var/lib/postgresql/data
42+
- /data/postgres:/var/lib/postgresql/data
4343
healthcheck:
4444
test: ["CMD-SHELL", "pg_isready -U postgres"]
4545
interval: 10s

deploy/docker-compose.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ services:
33
build:
44
context: ..
55
dockerfile: app/Dockerfile
6-
ports:
7-
- "8000:8000"
86
env_file:
97
- .env
108
healthcheck:
@@ -14,6 +12,8 @@ services:
1412
retries: 3
1513
start_period: 10s
1614
restart: unless-stopped
15+
networks:
16+
- towlion
1717

1818
celery-worker:
1919
build:
@@ -23,3 +23,9 @@ services:
2323
env_file:
2424
- .env
2525
restart: unless-stopped
26+
networks:
27+
- towlion
28+
29+
networks:
30+
towlion:
31+
external: true

0 commit comments

Comments
 (0)