# Fixed, so the database volume (dahoam_db) does not depend on the directory name name: dahoam services: db: image: postgres:17-alpine environment: POSTGRES_USER: dashboard POSTGRES_PASSWORD: dashboard POSTGRES_DB: dashboard ports: - "127.0.0.1:5432:5432" volumes: - db:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U dashboard"] interval: 2s retries: 15 volumes: db: