Update docker-compose.yml

add restart policy
This commit is contained in:
LRVT 2023-03-20 21:13:49 +01:00 committed by GitHub
parent eead6036c4
commit 07dfe8ed40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,9 @@ services:
- TYPESENSE_DATA_DIR=/data - TYPESENSE_DATA_DIR=/data
volumes: volumes:
- ${TYPESENSE_LOCATION}:/data - ${TYPESENSE_LOCATION}:/data
restart: unless-stopped
#labels:
# - "com.centurylinklabs.watchtower.enable=true"
#immich-machine-learning: #immich-machine-learning:
# image: altran1502/immich-machine-learning:release # image: altran1502/immich-machine-learning:release
@ -58,7 +61,7 @@ services:
# - NODE_ENV=production # - NODE_ENV=production
# depends_on: # depends_on:
# - immich-database # - immich-database
# restart: always # restart: unless-stopped
# labels: # labels:
# - "com.centurylinklabs.watchtower.enable=true" # - "com.centurylinklabs.watchtower.enable=true"