1
0
Fork 0

caddy: improve config handling

This commit is contained in:
Lukáš Kucharczyk 2023-01-26 13:40:01 +01:00
parent 2717fa286d
commit 0e8479ac45
1 changed files with 4 additions and 3 deletions

View File

@ -35,9 +35,10 @@ services:
- "${SNIBOX_EXTERNAL_PORT}:${SNIBOX_CADDY_INTERNAL_PORT}" - "${SNIBOX_EXTERNAL_PORT}:${SNIBOX_CADDY_INTERNAL_PORT}"
user: ${PUID} user: ${PUID}
volumes: volumes:
- "${DOCKER_STORAGE_PATH}/caddy/data:/data" # - "${DOCKER_STORAGE_PATH}/caddy/data:/data"
- "${DOCKER_STORAGE_PATH}/caddy/config:/config" # - "${DOCKER_STORAGE_PATH}/caddy/config:/config"
- "${DOCKER_STORAGE_PATH}/caddy/Caddyfile:/etc/caddy/Caddyfile" # - "${DOCKER_STORAGE_PATH}/caddy/Caddyfile:/etc/caddy/Caddyfile"
- "${DOCKER_STORAGE_PATH}/caddy/config:/etc/caddy/"
# - "${DOCKER_STORAGE_PATH}/caddy/srv:/srv" # - "${DOCKER_STORAGE_PATH}/caddy/srv:/srv"
- "/www/notes:/srv/notes" - "/www/notes:/srv/notes"
- "timetracker-static:/srv/timetracker" - "timetracker-static:/srv/timetracker"