2021-12-13 19:36:54 +03:00
|
|
|
services:
|
2021-12-15 12:41:35 +03:00
|
|
|
configurator:
|
2021-12-13 19:36:54 +03:00
|
|
|
environment:
|
2021-12-26 13:38:51 +05:30
|
|
|
DB_HOST: db
|
2021-12-13 19:36:54 +03:00
|
|
|
DB_PORT: 5432
|
|
|
|
depends_on:
|
2021-12-26 13:38:51 +05:30
|
|
|
db:
|
|
|
|
condition: service_healthy
|
2021-12-13 19:36:54 +03:00
|
|
|
|
|
|
|
db:
|
|
|
|
image: postgres:14.1
|
|
|
|
healthcheck:
|
|
|
|
test: pg_isready
|
|
|
|
interval: 1s
|
|
|
|
retries: 15
|
|
|
|
command: []
|
|
|
|
environment:
|
2021-12-17 11:26:38 +03:00
|
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD:?No db password set}
|
2021-12-13 19:36:54 +03:00
|
|
|
volumes:
|
2021-12-15 12:41:35 +03:00
|
|
|
- db-data:/var/lib/postgresql
|
2021-12-26 13:38:51 +05:30
|
|
|
|
|
|
|
volumes:
|
|
|
|
db-data:
|