-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-compose.worker.yml
41 lines (38 loc) · 1.04 KB
/
docker-compose.worker.yml
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
x-env: &worker-env
PLATFORM_HOST: ${TRIGGER_DOMAIN:?Please set this in your .env file}
PLATFORM_WS_PORT: 443
SECURE_CONNECTION: "true"
OTEL_EXPORTER_OTLP_ENDPOINT: https://${TRIGGER_DOMAIN}/otel
networks:
default:
services:
docker-provider:
image: ghcr.io/triggerdotdev/provider/docker:${TRIGGER_IMAGE_TAG:-v3}
restart: ${RESTART_POLICY:-unless-stopped}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
user: root
networks:
- default
ports:
- ${DOCKER_PUBLISH_IP:-127.0.0.1}:9021:9020
env_file:
- .env
environment:
<<: *worker-env
PLATFORM_SECRET: $PROVIDER_SECRET
coordinator:
image: ghcr.io/triggerdotdev/coordinator:${TRIGGER_IMAGE_TAG:-v3}
restart: ${RESTART_POLICY:-unless-stopped}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
user: root
networks:
- default
ports:
- ${DOCKER_PUBLISH_IP:-127.0.0.1}:9020:9020
env_file:
- .env
environment:
<<: *worker-env
PLATFORM_SECRET: $COORDINATOR_SECRET