1
0
Fork 0

caddy: set to default reverse proxy

This commit is contained in:
Lukáš Kucharczyk 2023-09-08 13:47:21 +02:00
parent da18ad44ae
commit 165cc90af7
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 6 additions and 23 deletions

View File

@ -32,11 +32,15 @@ services:
image: caddy image: caddy
container_name: caddy container_name: caddy
ports: ports:
- "80:80"
- "443:443"
- "443:443/udp"
- "${TIMETRACKER_EXTERNAL_PORT}:${TIMETRACKER_INTERNAL_PORT}" - "${TIMETRACKER_EXTERNAL_PORT}:${TIMETRACKER_INTERNAL_PORT}"
- "${DENDRON_NOTES_EXTERNAL_PORT}:${DENDRON_NOTES_INTERNAL_PORT}" - "${DENDRON_NOTES_EXTERNAL_PORT}:${DENDRON_NOTES_INTERNAL_PORT}"
user: ${PUID} user: ${PUID}
volumes: volumes:
- "${DOCKER_STORAGE_PATH}/caddy/config:/etc/caddy/" - "${DOCKER_STORAGE_PATH}/caddy/config:/etc/caddy/"
- caddy_data:/data
- "/www/notes:/srv/notes" - "/www/notes:/srv/notes"
- "timetracker-static:/srv/timetracker" - "timetracker-static:/srv/timetracker"
networks: networks:
@ -615,28 +619,6 @@ services:
- base - base
restart: unless-stopped restart: unless-stopped
npm:
container_name: nginx-proxy-manager
image: docker.io/jc21/nginx-proxy-manager:2.9.22
network_mode: host
# doesn't need to be in the mariadb network because it uses host mode
depends_on:
- mariadb
volumes:
- "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/data:/data"
- "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/letsencrypt:/etc/letsencrypt"
- "${DOCKER_STORAGE_PATH}/nginx-proxy-manager/98-themepark:/etc/cont-init.d/99-themepark"
environment:
- DB_MYSQL_HOST=localhost
- DB_MYSQL_NAME=npm
- DB_MYSQL_PASSWORD=npm
- "DB_MYSQL_PORT=${MARIADB_EXTERNAL_PORT}"
- DB_MYSQL_USER=npm
profiles:
- infra
- base
restart: unless-stopped
photoprism: photoprism:
container_name: photoprism container_name: photoprism
image: docker.io/photoprism/photoprism image: docker.io/photoprism/photoprism
@ -748,4 +730,5 @@ networks:
attachable: true attachable: true
volumes: volumes:
timetracker-static: timetracker-static:
caddy_data: