personal-tracker/server/compose-dev.yaml

14 lines
359 B
YAML

# Docker Compose for Development Machines
services:
postgres:
container_name: personal-tracker-dev-db
image: postgres:16
ports:
- 127.0.0.1:5432:5432
volumes:
- ./dev-db/postgres:/var/lib/postgresql/data
environment:
POSTGRES_USER: "${DB_USER}"
POSTGRES_PASSWORD: "${DB_PASSWORD}"
POSTGRES_DB: "${DB_NAME}"