updated templates for Portainer

This commit is contained in:
2026-02-12 17:44:57 +01:00
parent 5b0c6aa9c0
commit 68100aa37c
7 changed files with 363 additions and 46 deletions
+10 -8
View File
@@ -1,16 +1,18 @@
# Immich - Self-hosted Photo & Video Management
# Domain: photos.{{DOMAIN}}
# Domain: photos.${DOMAIN}
# Database: PostgreSQL (with VectorChord) + Redis
# RAM: ~4GB minimum | Pi-compatible: No (ML too heavy)
#
# Environment variables (set in Portainer):
# DB_PASSWORD - PostgreSQL password (required)
# DOMAIN - Your domain (e.g., demo-felhom.eu)
# HDD_PATH - HDD mount path (e.g., /mnt/hdd_1)
# DB_PASSWORD - PostgreSQL password
#
# Storage layout:
# User photos/videos → {{HDD_PATH}}/storage/immich (HDD, host path)
# PostgreSQL data → immich_postgres_data (named volume, NVMe)
# ML model cache → immich_ml_cache (named volume, NVMe)
# Redis data → immich_redis_data (named volume, NVMe)
# User photos/videos → ${HDD_PATH}/storage/immich (HDD, host path)
# PostgreSQL data → immich_postgres_data (named volume, NVMe)
# ML model cache → immich_ml_cache (named volume, NVMe)
# Redis data → immich_redis_data (named volume, NVMe)
#
# First-time setup:
# Create admin account on first visit.
@@ -34,7 +36,7 @@ services:
- IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003
- TZ=Europe/Budapest
volumes:
- {{HDD_PATH}}/storage/immich:/usr/src/app/upload
- ${HDD_PATH}/storage/immich:/usr/src/app/upload
networks:
- traefik-public
- immich-internal
@@ -46,7 +48,7 @@ services:
start_period: 60s
labels:
- "traefik.enable=true"
- "traefik.http.routers.immich.rule=Host(`photos.{{DOMAIN}}`)"
- "traefik.http.routers.immich.rule=Host(`photos.${DOMAIN}`)"
- "traefik.http.routers.immich.entrypoints=websecure"
- "traefik.http.routers.immich.tls=true"
- "traefik.http.routers.immich.tls.certresolver=letsencrypt"