services: migrate: build: . restart: "no" command: ["deno", "task", "migrate"] volumes: - ${DATA_VOLUME:-data}:/data jetstream: build: . restart: unless-stopped command: ["deno", "task", "jetstream:prod"] depends_on: migrate: condition: service_completed_successfully volumes: - ${DATA_VOLUME:-data}:/data api: build: . restart: unless-stopped command: ["deno", "task", "server:prod"] depends_on: migrate: condition: service_completed_successfully expose: - "8080" volumes: - ${DATA_VOLUME:-data}:/data healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/health"] interval: 10m timeout: 5s retries: 3 start_period: 15s volumes: data: