Skip to content

Commit

Permalink
style(compose): Change the order of containers
Browse files Browse the repository at this point in the history
Move the database before Redis.
  • Loading branch information
5ouma committed Jul 9, 2024
1 parent c05440f commit 4bd89e4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions immich/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ services:
- model-cache:/cache
restart: always

redis:
container_name: immich_redis
image: redis:7.2.5-alpine3.19@sha256:8f157725f8eee31e65a8d4765f1f986d76aedc1a0503345dfb63a2b1b5a441ee
healthcheck:
test: redis-cli ping || exit 1
restart: always

database:
container_name: immich_postgres
image: tensorchord/pgvecto-rs:pg16-v0.2.1@sha256:ff2288833f32aa863ba46f4c6f5b5c143f526a2d27f4cca913c232f917a66602
Expand All @@ -50,6 +43,13 @@ services:
test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' || exit 1
restart: always

redis:
container_name: immich_redis
image: redis:7.2.5-alpine3.19@sha256:8f157725f8eee31e65a8d4765f1f986d76aedc1a0503345dfb63a2b1b5a441ee
healthcheck:
test: redis-cli ping || exit 1
restart: always

backup:
container_name: immich_backup
image: prodrigestivill/postgres-backup-local:16@sha256:f873bbfb406db633ab879628b11ef8092279639c467a2ea5f5bfa08b776252fb
Expand Down

0 comments on commit 4bd89e4

Please sign in to comment.