version: '3.8' services: db: container_name: orb-db image: supabase/postgres:15.14.1.138 command: postgres -c config_file=/etc/postgresql/postgresql.conf restart: unless-stopped ports: - 55431:5432 environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres volumes: - ../db/migrations:/docker-entrypoint-initdb.d healthcheck: test: ["CMD", "pg_isready", "-U", "postgres"] interval: 1s timeout: 3s retries: 30