- This was broken after the postgresql-partman update: https://github.com/dbsystel/postgresql-partman-container/pull/32 - Also needed to specify proper env variables Co-authored-by: TAMARA LIPOWSKI <data.lipowski@extaccount.com>
19 lines
434 B
YAML
19 lines
434 B
YAML
version: "3.1"
|
|
services:
|
|
db:
|
|
build:
|
|
context: .
|
|
dockerfile: postgres.Dockerfile
|
|
restart: "always"
|
|
environment:
|
|
POSTGRES_PASSWORD: mypassword
|
|
POSTGRES_DATABASE: tycho_indexer_0
|
|
POSTGRES_USERNAME: postgres
|
|
POSTGRESQL_SHARED_PRELOAD_LIBRARIES: pg_cron
|
|
ports:
|
|
- "5431:5432"
|
|
shm_size: "1gb"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
volumes:
|
|
postgres_data: |