-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.release.yml
More file actions
68 lines (64 loc) · 2.18 KB
/
docker-compose.release.yml
File metadata and controls
68 lines (64 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: maia
services:
migrator:
image: ${MAIA_MIGRATOR_IMAGE:-obiscr/maia-migrator:latest}
restart: "no"
environment:
- MAIA_DATA_DIR=/app/maia-data
volumes:
- type: ${MAIA_DATA_MOUNT_TYPE:-volume}
source: ${MAIA_HOST_DATA_DIR:-maia-data}
target: /app/maia-data
maia:
image: ${MAIA_IMAGE:-obiscr/maia:latest}
restart: unless-stopped
depends_on:
migrator:
condition: service_completed_successfully
ports:
- "3690:3690"
environment:
# Next standalone server binds to HOSTNAME; force 0.0.0.0 in containers
- HOSTNAME=0.0.0.0
- PORT=3690
- MAIA_DATA_DIR=/app/maia-data
- GLOBAL_RUN_CONCURRENCY=2
- PER_RUN_STEP_CONCURRENCY=2
- INPUT_DOWNLOAD_CONCURRENCY=2
- INPUT_DOWNLOAD_TIMEOUT_MS=60000
- INPUT_DOWNLOAD_MAX_BYTES=52428800
# Runner (execution plane) - required for container isolation
- RUNNER_URL=http://runner:9090
- RUNNER_TOKEN=${RUNNER_TOKEN:-dev-runner-token}
# Session cookie Secure policy (true/false/auto)
- SESSION_COOKIE_SECURE=${SESSION_COOKIE_SECURE:-true}
volumes:
- type: ${MAIA_DATA_MOUNT_TYPE:-volume}
source: ${MAIA_HOST_DATA_DIR:-maia-data}
target: /app/maia-data
runner:
image: ${MAIA_RUNNER_IMAGE:-obiscr/maia-runner:latest}
restart: unless-stopped
depends_on:
migrator:
condition: service_completed_successfully
environment:
- RUNNER_PORT=9090
- RUNNER_TOKEN=${RUNNER_TOKEN:-dev-runner-token}
- DOCKER_SOCKET=/var/run/docker.sock
- RUNNER_DATA_DIR=/app/maia-data
- RUNNER_DATA_BIND=${MAIA_HOST_DATA_DIR:-}
- RUNNER_DATA_VOLUME=maia-data
- RUNNER_ORPHAN_TTL_MS=1800000
# IMPORTANT: This must be a pullable image name (Docker Hub by default).
- RUNNER_STEP_IMAGE=${MAIA_SANDBOX_IMAGE:-obiscr/maia-sandbox:latest}
- RUNNER_DEPS_IMAGE=${MAIA_SANDBOX_IMAGE:-obiscr/maia-sandbox:latest}
volumes:
- type: ${MAIA_DATA_MOUNT_TYPE:-volume}
source: ${MAIA_HOST_DATA_DIR:-maia-data}
target: /app/maia-data
- /var/run/docker.sock:/var/run/docker.sock
expose:
- "9090"
volumes:
maia-data: