delphi.market/docker-compose.yml

21 lines
592 B
YAML
Raw Normal View History

2023-09-09 20:52:50 +00:00
services:
db:
2023-09-09 20:52:50 +00:00
image: postgres:14
2023-09-09 20:52:50 +00: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 11:26:27 +00:00
- ./db/schema.sql:/docker-entrypoint-initdb.d/schema.sql
2024-08-25 04:55:10 +00:00
# for some reason this can't be mounted on first run
- ./db/postgresql.conf:/var/lib/postgresql/data/postgresql.conf
2023-09-09 20:52:50 +00:00
volumes:
delphi: