updated templates for Portainer
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user