-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
45 lines (43 loc) · 1.26 KB
/
docker-compose.yaml
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
version: '3'
services:
cmd-exec:
restart: always
#image: public.ecr.aws/n5k3t9x2/cmd_exec:latest
build: ./cmd_exec
environment:
- VERBOSE=${VERBOSE}
- FLASK_ENV=debug
volumes:
- ./cmd_exec/logs:/usr/src/app/logs
- ./cmd_exec/src/keys:/usr/src/app/src/keys
command: ["python", "src/cmd_exec.py"]
vault:
restart: always
image: hashicorp/vault:latest
cap_add:
- IPC_LOCK
volumes:
- ./vault:/vault
environment:
- VAULT_ADDR=https://0.0.0.0:8200
- VAULT_API_ADDR=https://0.0.0.0:8200
- VAULT_ADDRESS=https://0.0.0.0:8200
command: vault server -config=/vault/config/local.json
outpost:
restart: always
#image: public.ecr.aws/n5k3t9x2/outpost:latest
build: ./outpost
volumes:
- ./outpost/logs:/usr/src/app/logs
- ./outpost/jobs:/app/jobs
- ./outpost/sidecar:/app/sidecar
environment:
- PYENV_ROOT=/app/sidecar/pyrunner/pyenv
- PYRUNNER_ROOT=/app/sidecar/pyrunner
- DAGKNOWS_URL=${DAGKNOWS_URL}
- DAGKNOWS_PROXY_URL=${DAGKNOWS_PROXY_URL}
- DAGKNOWS_PROXY_ID=${PROXY_SESSION_ID}
- DAGKNOWS_EXECSWS_URL=${DAGKNOWS_EXECSWS_URL}
- RECONNECT_TIMER=90
- VERBOSE=${VERBOSE}
command: ["/app/main"]