forked from flexiblepower/defpi-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (43 loc) · 997 Bytes
/
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
version: "3"
networks:
management:
driver: overlay
services:
orchestrator:
image: flexiblepower/defpi-orchestrator:20.04
ports:
- 8484:8080
- 9999:9999
volumes:
- /var/run/docker.sock:/var/run/docker.sock
links:
- mongo
- registry
networks:
- management
environment:
- JVM_ARGUMENTS=-Xdebug -agentlib:jdwp=transport=dt_socket,address=9999,server=y,suspend=n
- MONGO_HOST=mongo
- MONGO_DATABASE=def-pi
- MONGO_PORT=27017
- REGISTRY_EXTERNAL_URL=localhost:5000
- REGISTRY_URL=registry:5000
- USE_SECURE_REGISTRY=false
orchestrator-ui:
image: flexiblepower/defpi-orchestrator-ui:20.04
ports:
- 84:80
environment:
- ORCHESTRATOR_URL=http://127.0.0.1:8484/
registry:
image: registry:2
ports:
- 5000:5000
networks:
- management
mongo:
image: mvertes/alpine-mongo
ports:
- 0.0.0.0:27017:27017
networks:
- management