version: "3.8" services: postgres: image: postgres:16-alpine container_name: xevion-postgres restart: unless-stopped ports: - "5432:5432" environment: POSTGRES_USER: xevion POSTGRES_PASSWORD: xevion_dev_password POSTGRES_DB: xevion_dev volumes: - postgres_data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U xevion -d xevion_dev"] interval: 10s timeout: 5s retries: 5 volumes: postgres_data: