Skip to content

Commit a3ca149

Browse files
baijumclaude
andcommitted
fix: pass APP_DOMAIN env to caddy, don't expose app port on host
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c36c2eb commit a3ca149

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

deploy/docker-compose.standalone.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ services:
33
build:
44
context: ..
55
dockerfile: app/Dockerfile
6-
ports:
7-
- "8000:8000"
6+
expose:
7+
- "8000"
88
env_file:
99
- .env
1010
healthcheck:
@@ -38,6 +38,8 @@ services:
3838
ports:
3939
- "80:80"
4040
- "443:443"
41+
env_file:
42+
- .env
4143
volumes:
4244
- ./Caddyfile:/etc/caddy/Caddyfile
4345
- /data/todo-app/caddy:/data

0 commit comments

Comments
 (0)