-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
35 lines (32 loc) · 846 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
35 lines (32 loc) · 846 Bytes
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
version: "3.5"
services:
mongodb:
image: mongo:4.4.4
restart: always
container_name: mongodb
ports:
- "27017:27017"
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=root
- MONGO_INITDB_DATABASE=root
topology-manager:
image: guerezi/fed-topology-manager
container_name: topology-manager
build:
context: ./
dockerfile: Dockerfile
ports:
- "8080:8080"
- "1870:1883"
environment:
- MONGO_URL=mongodb://root:root@mongodb:27017/admin
- TOP_MAX_REDUNDANCY=5
- CORE_ANN_INTERVAL=30s
- BEACON_INTERVAL=30s
- FED_REDUNDANCY=2
- WHITELISTED_NODES=02:42:ac:12:00:04,02:42:ac:12:00:05,02:42:ac:12:00:06,02:42:ac:12:00:07,02:42:ac:12:00:08
networks:
default:
name: federation
# external: true