File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,14 @@ services:
2121 networks :
2222 - domain_locker_network
2323
24- healthcheck :
25- test : ["CMD-SHELL", "pg_isready -U ${DL_PG_USER}"]
26- interval : 10s
27- timeout : 5s
28- retries : 5
29-
3024 app :
3125 image : lissy93/domain-locker:latest # or ghcr.io/lissy93/domain-locker:latest
3226 container_name : domain-locker-app
3327 restart : unless-stopped
3428 # Environmental variables for database connection and other config
3529 environment :
3630 DL_ENV_TYPE : ${DL_ENV_TYPE:-selfHosted}
37- DL_PG_HOST : ${DL_PG_HOST:-localhost }
31+ DL_PG_HOST : ${DL_PG_HOST:-postgres }
3832 DL_PG_PORT : ${DL_PG_PORT:-5432}
3933 DL_PG_USER : ${DL_PG_USER:-postgres}
4034 DL_PG_PASSWORD : ${DL_PG_PASSWORD:-changeme2420}
@@ -45,10 +39,6 @@ services:
4539 # Connection to the Postgres container
4640 networks :
4741 - domain_locker_network
48- # To wait until Postgres is up and running
49- depends_on :
50- postgres :
51- condition : service_healthy
5242
5343volumes :
5444 postgres_data :
You can’t perform that action at this time.
0 commit comments