forked from nornir-automation/nornir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
78 lines (69 loc) · 1.87 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
---
version: '2.1'
services:
nornir:
image: nornir:latest
build:
context: .
args:
PYTHON: ${PYTHON}
extra_hosts:
- "dev1.group_1:10.21.33.101"
- "dev2.group_1:10.21.33.102"
- "dev3.group_2:10.21.33.103"
- "dev4.group_2:10.21.33.104"
- "dev5.no_group:10.21.33.105"
- "httpbin:10.21.33.201"
volumes:
- ./docs/_build/:/nornir/docs/_build/
networks:
net1:
ipv4_address: 10.21.33.2
dev1.group_1:
hostname: dev1.group_1
image: dbarroso/stupid_ssh_container
networks:
net1:
ipv4_address: 10.21.33.101
dev2.group_1:
hostname: dev2.group_1
image: dbarroso/stupid_ssh_container
networks:
net1:
ipv4_address: 10.21.33.102
dev3.group_2:
hostname: dev3.group_2
image: dbarroso/stupid_ssh_container
networks:
net1:
ipv4_address: 10.21.33.103
dev4.group_2:
hostname: dev4.group_2
image: dbarroso/stupid_ssh_container
networks:
net1:
ipv4_address: 10.21.33.104
dev5.no_group:
hostname: dev5.no_group
image: dbarroso/stupid_ssh_container
networks:
net1:
ipv4_address: 10.21.33.105
netconf1.no_group:
hostname: netconf1.no_group
image: sysrepo/sysrepo-netopeer2:v0.7.7
networks:
net1:
ipv4_address: 10.21.33.106
httpbin:
hostname: httpbin
image: bungoume/httpbin-container
networks:
net1:
ipv4_address: 10.21.33.201
networks:
net1:
driver: bridge
ipam:
config:
- subnet: 10.21.33.0/24