fix: simplify deploy for existing Caddy setup

This commit is contained in:
2026-01-25 18:07:49 +00:00
parent 240736c5a7
commit 92b6240213

View File

@@ -5,6 +5,8 @@ services:
context: .. context: ..
dockerfile: Dockerfile dockerfile: Dockerfile
restart: unless-stopped restart: unless-stopped
ports:
- "4000:4000"
volumes: volumes:
- nora-data:/data - nora-data:/data
environment: environment:
@@ -12,28 +14,6 @@ services:
- NORA_HOST=0.0.0.0 - NORA_HOST=0.0.0.0
- NORA_PORT=4000 - NORA_PORT=4000
- NORA_AUTH_ENABLED=false - NORA_AUTH_ENABLED=false
networks:
- nora-net
caddy:
image: caddy:2-alpine
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy-data:/data
- caddy-config:/config
networks:
- nora-net
depends_on:
- nora
volumes: volumes:
nora-data: nora-data:
caddy-data:
caddy-config:
networks:
nora-net: