nquest/docker-compose.yml

15 lines
237 B
YAML

version: '3.8'
volumes:
postgres-data:
services:
db:
image: postgres:15-alpine3.17
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
env_file:
- .env
ports:
- 5432:5432