personal-tracker/server/compose-dev.yaml

14 lines
359 B
YAML
Raw Normal View History

2024-05-03 00:52:48 +00:00
# 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}"