Files
infra-postgres/docker-compose.yml

11 lines
212 B
YAML

services:
postgres:
image: postgres:16-alpine
container_name: postgres
env_file: .env
ports:
- "5432:5432"
volumes:
- ./data:/var/lib/postgresql/data
restart: unless-stopped