delphi.market/docker-compose.yml

21 lines
592 B
YAML
Raw Normal View History

2023-09-09 22:52:50 +02:00
services:
db:
2023-09-09 22:52:50 +02:00
image: postgres:14
2023-09-09 22:52:50 +02:00
container_name: delphi-db
environment:
POSTGRES_PASSWORD: delphi
POSTGRES_USER: delphi
POSTGRES_DB: delphi
PORT: 5432
# POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 127.0.0.1:5432:5432
volumes:
- delphi:/var/lib/postgresql/data
- ./db/init.sql:/docker-entrypoint-initdb.d/init.sql
2024-07-12 13:26:27 +02:00
- ./db/schema.sql:/docker-entrypoint-initdb.d/schema.sql
2024-08-24 23:55:10 -05:00
# for some reason this can't be mounted on first run
- ./db/postgresql.conf:/var/lib/postgresql/data/postgresql.conf
2023-09-09 22:52:50 +02:00
volumes:
delphi: