multi-projects-runner / docker-compose.yml
Karan6933's picture
Upload 35 files
05d91af verified
raw
history blame contribute delete
642 Bytes
version: '3.8'
services:
project-runner:
build: .
container_name: multi-projects-runner
ports:
- "10000:10000"
volumes:
- ./projects:/opt/render/project/src/projects
- project-runner-cache:/root/.npm
- project-runner-pip:/root/.cache/pip
environment:
- NODE_ENV=production
- PORT=10000
- NGROK_AUTHTOKEN=${NGROK_AUTHTOKEN:-}
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:10000/api/status"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
volumes:
project-runner-cache:
project-runner-pip: