mirror of
https://github.com/getnora-io/nora.git
synced 2026-04-12 12:40:31 +00:00
fix: simplify deploy for existing Caddy setup
This commit is contained in:
@@ -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:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user