28 lines
654 B
YAML
28 lines
654 B
YAML
name: data_engineer-farpost
|
|
|
|
services:
|
|
database:
|
|
container_name: farpost-database
|
|
restart: always
|
|
image: postgres:latest
|
|
env_file: .env
|
|
volumes:
|
|
- ./dumps/dump.sql:/docker-entrypoint-initdb.d/dump.sql:ro
|
|
- postgres-data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: pg_isready -d ${POSTGRES_DB:-log}
|
|
interval: 60s
|
|
start_period: 1s
|
|
timeout: 600s
|
|
ports:
|
|
- 5432:5432
|
|
environment:
|
|
POSTGRES_DB: ${POSTGRES_DB:-log}
|
|
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
|
|
|
|
|
|
volumes:
|
|
postgres-data:
|
|
name: farpost-postgres-data
|