-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
20 lines (19 loc) · 1008 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
version: '3'
services:
camunda:
build: ./camunda
ports:
- "8080:8080"
restart: unless-stopped
deployment:
build: ./camunda
command: "/usr/bin/curl -X POST http://camunda:8080/engine-rest/deployment/create -F \"deployment-name=Demo\" -F \"deploy-changed-only=true\" -F \"deployment-source=Demo\" -F \"a=@/tmp/deployment/xkcd-fetch-review.bpmn\" -F \"b=@/tmp/deployment/xkcd-search.bpmn\" -F \"c=@/tmp/deployment/xkcd-review.html\" -F \"d=@/tmp/deployment/fleamarket-submission.bpmn\" -F \"e=@/tmp/deployment/fleamarket-submit.html\" -F \"f=@/tmp/deployment/fleamarket-review.bpmn\" -F \"g=@/tmp/deployment/fleamarket-pricing.dmn\" -F \"h=@/tmp/deployment/fleamarket-review.html\" -F \"i=@/tmp/deployment/fleamarket-download.html\""
restart: on-failure
rcc:
image: registry.gitlab.com/vasara-bpm/carrot-rcc/carrot-rcc
command:
- /src/xkcd-bot/robot.zip
- --base-url=http://camunda:8080/engine-rest
- --log-level=debug
volumes:
- ./:/src