minor
This commit is contained in:
parent
b5edddb606
commit
ba0c95f982
2
.env
2
.env
@ -23,12 +23,12 @@ ORTHANC_LOG=./volumes/orthanc_logs
|
|||||||
#
|
#
|
||||||
POSTGRES_DATA_MNT=./volumes/pg_data
|
POSTGRES_DATA_MNT=./volumes/pg_data
|
||||||
PGDATA=/var/lib/postgresql/data
|
PGDATA=/var/lib/postgresql/data
|
||||||
|
PGPASSWORD=secret
|
||||||
|
|
||||||
POSTGRES_DB=orthanc
|
POSTGRES_DB=orthanc
|
||||||
POSTGRES_PORT=5432
|
POSTGRES_PORT=5432
|
||||||
POSTGRES_USER=postgres
|
POSTGRES_USER=postgres
|
||||||
POSTGRES_PASSWORD=password
|
POSTGRES_PASSWORD=password
|
||||||
PGPASSWORD=secret
|
|
||||||
|
|
||||||
TZ="Asia/Dhaka"
|
TZ="Asia/Dhaka"
|
||||||
PGTZ="Asia/Dhaka"
|
PGTZ="Asia/Dhaka"
|
||||||
|
@ -16,16 +16,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${POSTGRES_DATA_MNT}:${PGDATA}
|
- ${POSTGRES_DATA_MNT}:${PGDATA}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
|
||||||
[
|
|
||||||
"CMD",
|
|
||||||
"pg_isready",
|
|
||||||
"-q",
|
|
||||||
"-d",
|
|
||||||
"${POSTGRES_DB}",
|
|
||||||
"-U",
|
|
||||||
"${POSTGRES_USER}",
|
|
||||||
]
|
|
||||||
start_period: 20s
|
start_period: 20s
|
||||||
interval: 30s
|
interval: 30s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
Loading…
Reference in New Issue
Block a user