-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (58 loc) · 1.57 KB
/
docker-compose.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: "3.8"
services:
ld-context:
image: httpd:alpine
hostname: ed-ld-context
container_name: ed-ld-context
expose:
- "80:80"
networks:
- ed-network
volumes:
- ./data-models:/usr/local/apache2/htdocs/
ed-orion:
platform: linux/amd64
image: quay.io/fiware/orion-ld:${ORION_LD_VERSION}
hostname: ed-orion-ld
container_name: ed-orion-ld
restart: always
depends_on:
- ed-mongo-ld-db
networks:
- ed-network
ports:
- ${ORION_LD_PORT:-1026}:${ORION_LD_PORT:-1026}
command: -logLevel DEBUG -dbhost ed-mongo-ld-db -forwarding
healthcheck:
test: curl --fail -s http://ed-orion-ld:${ORION_LD_PORT}/version || exit 1
# Databases
ed-mongo-ld-db:
image: mongo:${MONGO_DB_VERSION}
hostname: ed-mongo-ld-db
container_name: ed-mongo-ld-db
expose:
- "${MONGO_DB_PORT}"
ports:
- "${MONGO_DB_PORT}:${MONGO_DB_PORT}" # localhost:27017
networks:
- ed-network
volumes:
- ed-mongo-ld-db-data:/data/db
- ed-mongo-ld-config:/data/configdb
healthcheck:
test: |
host=`hostname --ip-address || echo '127.0.0.1'`;
mongo --quiet $host/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)' && echo 0 || echo 1
interval: 5s
camunda:
image: camunda/camunda-bpm-platform:latest
container_name: camunda-bpm
ports:
- "8080:8080" # http://localhost:8080/camunda-welcome/index.html
networks:
- ed-network
networks:
ed-network:
volumes:
ed-mongo-ld-db-data: ~
ed-mongo-ld-config: ~