-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
21 lines (21 loc) · 881 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
21 lines (21 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
services:
execution-engine:
image: ${EXECUTION_ENGINE_IMAGE:-ghcr.io/acornops/execution-engine:0.0.1-experimental.1}
environment:
WORKSPACE_CAPACITY_ENABLED: ${WORKSPACE_CAPACITY_ENABLED:-false}
ORCH_BASE_URL: ${ORCH_BASE_URL:-http://control-plane:8081}
ORCH_SERVICE_TOKEN: ${ORCH_SERVICE_TOKEN:-change-me}
EXECUTION_ENGINE_DISPATCH_TOKEN: ${EXECUTION_ENGINE_DISPATCH_TOKEN:-change-me}
HTTP_PORT: ${HTTP_PORT:-8080}
LOG_LEVEL: ${LOG_LEVEL:-INFO}
ENABLE_API_DOCS: ${ENABLE_API_DOCS:-false}
REDIS_URL: ${REDIS_URL:-}
EXECUTION_GATEWAY_BASE_URL: ${EXECUTION_GATEWAY_BASE_URL:-}
expose:
- "8080"
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8080/ready')"]
interval: 5s
timeout: 5s
retries: 5
restart: unless-stopped