delphi.market/docker-compose.yml

18 lines
399 B
YAML
Raw Normal View History

2023-09-09 20:52:50 +00:00
services:
db:
image: postgres:15.3
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
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
volumes:
delphi: