Skip to content

Commit

Permalink
style(compose): Clean the command options
Browse files Browse the repository at this point in the history
Use short flags to make files readable.
  • Loading branch information
5ouma committed Aug 8, 2024
1 parent a54e6a5 commit 44c9d29
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion immich/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ services:
volumes:
- database:/var/lib/postgresql/data
healthcheck:
test: pg_isready --dbname='$DB_DATABASE_NAME' --username='$DB_USERNAME' || exit 1
test: pg_isready -d '$DB_DATABASE_NAME' -U '$DB_USERNAME' || exit 1
restart: always

redis:
Expand Down
4 changes: 2 additions & 2 deletions misskey/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ services:
volumes:
- database:/var/lib/postgresql/data
healthcheck:
test: pg_isready --dbname='$DB_DATABASE_NAME' --username='$DB_USERNAME'
test: pg_isready -d '$DB_DATABASE_NAME' -U '$DB_USERNAME' || exit 1
restart: always

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

backup:
Expand Down
2 changes: 1 addition & 1 deletion speedtest-tracker/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
volumes:
- database:/var/lib/postgresql/data
healthcheck:
test: pg_isready --dbname='$DB_DATABASE_NAME' --username='$DB_USERNAME' || exit 1
test: pg_isready -d '$DB_DATABASE_NAME' -U '$DB_USERNAME' || exit 1
restart: always

backup:
Expand Down

0 comments on commit 44c9d29

Please sign in to comment.