-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yaml
99 lines (90 loc) · 2.71 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: '2'
services:
camunda:
build:
context: ./infra/camunda
dockerfile: Dockerfile
ports:
- 8080:8080
camunda-gmail-worker:
environment:
- PYTHONUNBUFFERED=1
build:
context: ./infra/workers/camunda-gmail-worker
dockerfile: Dockerfile
depends_on:
- gmail-credentials-offer
volumes:
- credentials:/credentials
entrypoint: ["/usr/local/bin/python"]
command: ["/app/CamundaGMAILWorker.py", "http://camunda:8080"]
camunda-rf-worker:
environment:
- PYTHONUNBUFFERED=1
build:
context: ./infra/workers/camunda-rf-worker
dockerfile: Dockerfile
volumes:
- /var/run/docker.sock:/var/run/docker.sock
entrypoint: ["/usr/local/bin/python"]
command: ["/app/CamundaRFWorker.py", "http://camunda:8080"]
novnc-with-modeler:
build:
context: ./infra/novnc-with-modeler
dockerfile: Dockerfile
hostname: noVNClinux
cpu_count: 2
mem_reservation: 2G
scale: 0
# CHROME chrash without this. If crashing continue then monitor /dev/shm usage inside of noVNC by
# executing 'watch -n 1 "df -h /dev/shm/"' in LXTerminal parallel when you browsing internet with chrome.
# https://github.com/fcwu/docker-ubuntu-vnc-desktop/issues/205#issuecomment-782880997
# https://developers.google.com/web/tools/puppeteer/troubleshooting#tips
shm_size: 1G
cap_add:
#Google Chrome require this: https://github.com/jessfraz/dockerfiles/issues/65
- SYS_ADMIN
ports:
- '443:443'
volumes:
- ./infra/camunda-model-push/model:/home/coder/model
- /var/run/docker.sock:/var/run/docker.sock
environment:
- SSL_PORT=443
- USER=coder
- PASSWORD=coderpw
- HTTP_PASSWORD=coderpw
#- RESOLUTION=1920x1080
#- X11VNC_ARGS=-multiptr
### JUST SINGLE EXECUTERS -> No infinity loop
camunda-modeler-push:
build:
context: ./infra/camunda-model-push
dockerfile: Dockerfile
depends_on:
- camunda
volumes:
- ./infra/camunda-model-push/model:/model
entrypoint: /wait-for-it/wait-for-it.sh camunda:8080 -- /entrypoint.sh /model camunda:8080
gmail-credentials-offer:
build:
context: ./infra/credential-mount-creator
dockerfile: Dockerfile
volumes:
- ./credentials:/git/credentials
- credentials:/credentials
entrypoint: /entrypoint.sh /git/credentials/ /credentials
robotframework:
build:
context: ./infra/robotframework
dockerfile: Dockerfile
entrypoint: ["tail", "/dev/null"]
owncloud:
image: owncloud/server
ports:
- 80:8080
environment:
- OWNCLOUD_ADMIN_USERNAME=demo
- OWNCLOUD_ADMIN_PASSWORD=demo
volumes:
credentials: