right container start sequence
This commit is contained in:
parent
ad5d7c4547
commit
c950882e0e
|
@ -6,6 +6,7 @@ services:
|
||||||
- 8012:8080
|
- 8012:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/temp:/temp
|
- ./data/temp:/temp
|
||||||
- ./data/uploads:/uploads
|
- ./data/uploads:/uploads
|
||||||
|
@ -19,3 +20,5 @@ services:
|
||||||
POSTGRES_USER: bsfe
|
POSTGRES_USER: bsfe
|
||||||
POSTGRES_PASSWORD: Ch@NgEME!
|
POSTGRES_PASSWORD: Ch@NgEME!
|
||||||
POSTGRES_DB: bsfe
|
POSTGRES_DB: bsfe
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "pg_isready", "-U", "bsfe"]
|
||||||
|
|
Loading…
Reference in New Issue