1
0
Fork 0

switch from npm to caddy

This commit is contained in:
Lukáš Kucharczyk 2023-12-01 19:05:30 +01:00
parent 84c410f183
commit e575ce70b5
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 2 additions and 23 deletions

View File

@ -34,6 +34,8 @@ services:
ports:
- "${TIMETRACKER_EXTERNAL_PORT}:${TIMETRACKER_INTERNAL_PORT}"
- "${DENDRON_NOTES_EXTERNAL_PORT}:${DENDRON_NOTES_INTERNAL_PORT}"
- 80:80
- 443:443
user: ${PUID}
volumes:
- "${DOCKER_STORAGE_PATH}/caddy/etc:/etc/caddy"
@ -560,29 +562,6 @@ services:
- base
restart: unless-stopped
npm:
container_name: nginx-proxy-manager
image: docker.io/jc21/nginx-proxy-manager:latest
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"
- sockets:/var/run/mysqld
- "${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:
container_name: photoprism
image: docker.io/photoprism/photoprism