drahoot/docker-compose.yml

13 lines
288 B
YAML

services:
postgres:
image: 'postgres:latest'
ports:
- 5432:5432
environment:
POSTGRES_DB: drahoot
env_file:
- .env
volumes:
- ./db-config/db-data/:/var/lib/postgresql/data/
- ./db-config/init.sql:/docker-entrypoint-initdb.d/init.sql