Update Photography_Containers/immich/compose.yaml
This commit is contained in:
@@ -28,12 +28,25 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: false
|
disable: false
|
||||||
|
networks:
|
||||||
|
- traefik_network
|
||||||
|
- immich
|
||||||
#Can comment out if not using Flame Dashboard
|
#Can comment out if not using Flame Dashboard
|
||||||
labels:
|
labels:
|
||||||
- flame.type=application # "app" works too
|
- flame.type=application # "app" works too
|
||||||
- flame.name=Immich
|
- flame.name=${SERVICE_NAME}
|
||||||
- flame.url=http://immich.homelab.internal #Adjust to your domain or IP
|
- flame.url=http://${SERVICE_NAME}.${DOMAIN_NAME} #Adjust to your domain or IP
|
||||||
- flame.icon=image
|
- 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:
|
immich-machine-learning:
|
||||||
container_name: immich_machine_learning
|
container_name: immich_machine_learning
|
||||||
@@ -47,6 +60,8 @@ services:
|
|||||||
- /srv/docker/immich/model-cache:/cache
|
- /srv/docker/immich/model-cache:/cache
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
networks:
|
||||||
|
- immich_network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: false
|
disable: false
|
||||||
@@ -57,6 +72,8 @@ services:
|
|||||||
healthcheck:
|
healthcheck:
|
||||||
test: redis-cli ping || exit 1
|
test: redis-cli ping || exit 1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- immich_network
|
||||||
|
|
||||||
database:
|
database:
|
||||||
container_name: immich_postgres
|
container_name: immich_postgres
|
||||||
@@ -76,4 +93,6 @@ services:
|
|||||||
shm_size: 128mb
|
shm_size: 128mb
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: false
|
disable: false
|
||||||
|
networks:
|
||||||
|
- immich_network
|
||||||
Reference in New Issue
Block a user