Merge pull request #7 from vpavlin/chore/add-subnet
chore: add larger subnet to accommodate more IP addrs
This commit is contained in:
commit
220781db3b
|
@ -1,5 +1,14 @@
|
||||||
version: "3.7"
|
version: "3.7"
|
||||||
|
|
||||||
|
|
||||||
|
networks:
|
||||||
|
simulation:
|
||||||
|
driver: bridge
|
||||||
|
ipam:
|
||||||
|
driver: default
|
||||||
|
config:
|
||||||
|
- subnet: "10.1.0.0/22"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
bootstrap:
|
bootstrap:
|
||||||
|
@ -16,6 +25,8 @@ services:
|
||||||
- '/opt/run_bootstrap.sh'
|
- '/opt/run_bootstrap.sh'
|
||||||
volumes:
|
volumes:
|
||||||
- ./run_bootstrap.sh:/opt/run_bootstrap.sh:Z
|
- ./run_bootstrap.sh:/opt/run_bootstrap.sh:Z
|
||||||
|
networks:
|
||||||
|
- simulation
|
||||||
|
|
||||||
nwaku:
|
nwaku:
|
||||||
image: ${NWAKU_IMAGE}
|
image: ${NWAKU_IMAGE}
|
||||||
|
@ -29,6 +40,8 @@ services:
|
||||||
- ./run_nwaku.sh:/opt/run_nwaku.sh:Z
|
- ./run_nwaku.sh:/opt/run_nwaku.sh:Z
|
||||||
depends_on:
|
depends_on:
|
||||||
- bootstrap
|
- bootstrap
|
||||||
|
networks:
|
||||||
|
- simulation
|
||||||
|
|
||||||
gowaku:
|
gowaku:
|
||||||
image: ${GOWAKU_IMAGE}
|
image: ${GOWAKU_IMAGE}
|
||||||
|
@ -52,6 +65,8 @@ services:
|
||||||
environment:
|
environment:
|
||||||
MSG_PER_SECOND: 10
|
MSG_PER_SECOND: 10
|
||||||
MSG_SIZE_KBYTES: 10
|
MSG_SIZE_KBYTES: 10
|
||||||
|
networks:
|
||||||
|
- simulation
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus:latest
|
image: prom/prometheus:latest
|
||||||
|
@ -63,6 +78,8 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:9090:9090
|
- 127.0.0.1:9090:9090
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
networks:
|
||||||
|
- simulation
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana:latest
|
image: grafana/grafana:latest
|
||||||
|
@ -83,6 +100,8 @@ services:
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
depends_on:
|
depends_on:
|
||||||
- prometheus
|
- prometheus
|
||||||
|
networks:
|
||||||
|
- simulation
|
||||||
|
|
||||||
cadvisor:
|
cadvisor:
|
||||||
image: gcr.io/cadvisor/cadvisor:latest
|
image: gcr.io/cadvisor/cadvisor:latest
|
||||||
|
@ -96,9 +115,13 @@ services:
|
||||||
- /var/lib/docker/:/var/lib/docker:ro
|
- /var/lib/docker/:/var/lib/docker:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
|
networks:
|
||||||
|
- simulation
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
container_name: redis
|
container_name: redis
|
||||||
#ports:
|
#ports:
|
||||||
# - 6379:6379
|
# - 6379:6379
|
||||||
|
networks:
|
||||||
|
- simulation
|
||||||
|
|
Loading…
Reference in New Issue