Update docker-compose.yml

update service names
This commit is contained in:
LRVT 2023-02-19 22:09:53 +01:00 committed by GitHub
parent 24eb060d54
commit f7e9dbf178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,8 @@ services:
environment: environment:
- NODE_ENV=production - NODE_ENV=production
depends_on: depends_on:
- redis - immich-redis
- database - immich-database
restart: unless-stopped restart: unless-stopped
#labels: #labels:
# - "com.centurylinklabs.watchtower.enable=true" # - "com.centurylinklabs.watchtower.enable=true"
@ -29,8 +29,8 @@ services:
environment: environment:
- NODE_ENV=production - NODE_ENV=production
depends_on: depends_on:
- redis - immich-redis
- database - immich-database
restart: unless-stopped restart: unless-stopped
#labels: #labels:
# - "com.centurylinklabs.watchtower.enable=true" # - "com.centurylinklabs.watchtower.enable=true"
@ -46,7 +46,7 @@ services:
# environment: # environment:
# - NODE_ENV=production # - NODE_ENV=production
# depends_on: # depends_on:
# - database # - immich-database
# restart: always # restart: always
# labels: # labels:
# - "com.centurylinklabs.watchtower.enable=true" # - "com.centurylinklabs.watchtower.enable=true"
@ -61,14 +61,14 @@ services:
#labels: #labels:
# - "com.centurylinklabs.watchtower.enable=true" # - "com.centurylinklabs.watchtower.enable=true"
redis: immich-redis:
container_name: immich-redis container_name: immich-redis
image: redis:6.2 image: redis:6.2
restart: unless-stopped restart: unless-stopped
#labels: #labels:
# - "com.centurylinklabs.watchtower.enable=true" # - "com.centurylinklabs.watchtower.enable=true"
database: immich-database:
container_name: immich-database container_name: immich-database
image: postgres:14 image: postgres:14
env_file: env_file: