finances/docker/finances-dev/docker-compose.yaml
2024-03-08 21:54:36 +01:00

19 lines
431 B
YAML

services:
postgres:
container_name: next_finances_postgres
image: postgres:15.2
restart: always
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
interval: 10s
timeout: 5s
retries: 5
ports:
- 127.0.0.1:5432:5432
environment:
POSTGRES_USER: prisma
POSTGRES_PASSWORD: prisma
POSTGRES_DB: finances
volumes:
- ./postgres-data:/var/lib/postgresql/data