fix(librephotos): upgrade to pg 14
This commit is contained in:
parent
346aa725ea
commit
af691f1e6b
|
@ -26,10 +26,8 @@ services:
|
||||||
POSTGRES_DB: librephotos
|
POSTGRES_DB: librephotos
|
||||||
volumes:
|
volumes:
|
||||||
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data
|
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data
|
||||||
command: postgres -c fsync=off -c synchronous_commit=off -c full_page_writes=off -c random_page_cost=1.0
|
|
||||||
#Checking health of Postgres db
|
#Checking health of Postgres db
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# test: psql -U tipi -d librephotos -c "SELECT 1;"
|
|
||||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
|
|
Loading…
Reference in New Issue
Block a user