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: ports:
- "${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}"
- 80:80
- 443:443
user: ${PUID} user: ${PUID}
volumes: volumes:
- "${DOCKER_STORAGE_PATH}/caddy/etc:/etc/caddy" - "${DOCKER_STORAGE_PATH}/caddy/etc:/etc/caddy"
@ -560,29 +562,6 @@ services:
- base - base
restart: unless-stopped 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: photoprism:
container_name: photoprism container_name: photoprism
image: docker.io/photoprism/photoprism image: docker.io/photoprism/photoprism