services: postgres: image: postgres:16-alpine environment: POSTGRES_DB: sandbox POSTGRES_USER: sandbox POSTGRES_PASSWORD: sandbox ports: - "5432:5432" volumes: - postgres-data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U sandbox -d sandbox"] interval: 5s timeout: 5s retries: 12 runner: image: batasd-runner:local build: context: . dockerfile: docker/runner/Dockerfile profiles: - runner volumes: postgres-data: