Update Photography_Containers/immich/compose.yaml
This commit is contained in:
@@ -28,12 +28,25 @@ services:
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
disable: false
|
||||
networks:
|
||||
- traefik_network
|
||||
- immich
|
||||
#Can comment out if not using Flame Dashboard
|
||||
labels:
|
||||
- flame.type=application # "app" works too
|
||||
- flame.name=Immich
|
||||
- flame.url=http://immich.homelab.internal #Adjust to your domain or IP
|
||||
- flame.icon=image
|
||||
- flame.name=${SERVICE_NAME}
|
||||
- flame.url=http://${SERVICE_NAME}.${DOMAIN_NAME} #Adjust to your domain or IP
|
||||
- flame.icon=https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/immich.svg
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.${SERVICE_NAME}.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
|
||||
- traefik.http.routers.${SERVICE_NAME}.entrypoints=web
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
traefik_network:
|
||||
external: true
|
||||
immich:
|
||||
name: immich_network
|
||||
driver: bridge
|
||||
|
||||
immich-machine-learning:
|
||||
container_name: immich_machine_learning
|
||||
@@ -47,6 +60,8 @@ services:
|
||||
- /srv/docker/immich/model-cache:/cache
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- immich_network
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
disable: false
|
||||
@@ -57,6 +72,8 @@ services:
|
||||
healthcheck:
|
||||
test: redis-cli ping || exit 1
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- immich_network
|
||||
|
||||
database:
|
||||
container_name: immich_postgres
|
||||
@@ -76,4 +93,6 @@ services:
|
||||
shm_size: 128mb
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
disable: false
|
||||
disable: false
|
||||
networks:
|
||||
- immich_network
|
||||
Reference in New Issue
Block a user