immich improvements
Production GitOps Engine / execute-ansible (push) Successful in 1m22s Details

This commit is contained in:
Lucas Conrad 2026-06-21 03:04:29 +02:00
parent 6a5382bea1
commit ca2c1767a8
2 changed files with 5 additions and 2 deletions

View File

@ -4,4 +4,6 @@ DB_PASSWORD=change_me_db_password
DB_USERNAME=immich DB_USERNAME=immich
DB_DATABASE_NAME=immichdb DB_DATABASE_NAME=immichdb
DB_DATA_LOCATION=/opt/homelab/data/immich/postgres DB_DATA_LOCATION=/opt/homelab/data/immich/postgres
UPLOAD_LOCATION=/opt/homelab/data/immich/upload UPLOAD_LOCATION=/mnt/nas/immich_data
THUMB_LOCATION=/opt/homelab/data/immich/thumbs

View File

@ -17,6 +17,7 @@ services:
volumes: volumes:
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
- ${UPLOAD_LOCATION}:/data - ${UPLOAD_LOCATION}:/data
- ${THUMB_LOCATION}:/data/thumbs
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /mnt/nas/gallery:/mnt/media/external:ro - /mnt/nas/gallery:/mnt/media/external:ro
env_file: env_file:
@ -31,7 +32,7 @@ services:
- proxy_net - proxy_net
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.immich.rule=Host(`immich.kotori-waifu`)" - "traefik.http.routers.immich.rule=Host(`immich.kotori-waifu`) || Host(`immich.kotori-waifu.cc`)"
- "traefik.http.services.immich.loadbalancer.server.port=2283" - "traefik.http.services.immich.loadbalancer.server.port=2283"
- "traefik.docker.network=proxy_net" - "traefik.docker.network=proxy_net"
restart: unless-stopped restart: unless-stopped