Shumiland/docker-compose.yml
Vadym Samoilenko 4fc2ab88dd
Some checks are pending
CI / Type Check (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Unit Tests (push) Waiting to run
Deploy / Build & Push Image (push) Waiting to run
Deploy / Deploy to VPS (push) Blocked by required conditions
fix: read POSTGRES_PASSWORD from .env in docker-compose.yml
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 20:24:12 +01:00

24 lines
543 B
YAML

version: '3.9'
# Dev compose — only Postgres. Run `pnpm dev` locally for the app.
services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
ports:
- '5432:5432'
environment:
POSTGRES_USER: shumiland
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-shumiland}
POSTGRES_DB: shumiland
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U shumiland']
interval: 10s
timeout: 5s
retries: 5
volumes:
postgres_data: