Files
Homelab/docker/compose/postgres.yaml
2025-02-05 20:29:47 +02:00

10 lines
280 B
YAML

services:
db:
image: postgres:16
restart: unless-stopped
security_opt:
- no-new-privileges:true
volumes:
- ${DOCKERDIR}/${COMPOSE_PROJECT_NAME}/db:/var/lib/postgresql/data
#ports:
# - "5432:5432"