2019-06-06 19:18:58 +00:00
|
|
|
version: '3'
|
|
|
|
|
2020-03-30 23:41:58 +00:00
|
|
|
# USAGE
|
2019-06-06 19:18:58 +00:00
|
|
|
# docker-compose run nucypher-circle-dev bash download_finnegans_wake.sh
|
|
|
|
# docker-compose run nucypher-circle-dev python finnegans-wake-demo.py 172.29.1.3:11500
|
2020-03-30 23:41:58 +00:00
|
|
|
|
2019-06-06 19:18:58 +00:00
|
|
|
services:
|
|
|
|
nucypher-circle-dev:
|
|
|
|
ports:
|
|
|
|
- 11500
|
|
|
|
build:
|
|
|
|
context: ../..
|
|
|
|
dockerfile: deploy/docker/Dockerfile
|
2019-07-13 00:13:45 +00:00
|
|
|
image: circle:nucypher
|
2019-06-06 19:18:58 +00:00
|
|
|
container_name: nucypher-circle-dev
|
|
|
|
working_dir: /code/examples/
|
|
|
|
networks:
|
|
|
|
nucypher_circle_net:
|
|
|
|
ipv4_address: 172.29.1.0
|
2020-03-30 23:41:58 +00:00
|
|
|
circleursula1:
|
2019-06-06 19:18:58 +00:00
|
|
|
ports:
|
|
|
|
- 11500
|
2019-07-13 00:13:45 +00:00
|
|
|
image: circle:nucypher
|
2019-12-19 23:40:13 +00:00
|
|
|
command: nucypher ursula run --dev --federated-only --rest-host 172.29.1.1 --rest-port 11500 --lonely
|
2019-06-06 19:18:58 +00:00
|
|
|
networks:
|
|
|
|
nucypher_circle_net:
|
|
|
|
ipv4_address: 172.29.1.1
|
2020-03-30 23:41:58 +00:00
|
|
|
container_name: circleursula1
|
|
|
|
circleursula2:
|
2019-06-06 19:18:58 +00:00
|
|
|
ports:
|
|
|
|
- 11500
|
2019-07-13 00:13:45 +00:00
|
|
|
image: circle:nucypher
|
2019-06-06 19:18:58 +00:00
|
|
|
depends_on:
|
2020-03-30 23:41:58 +00:00
|
|
|
- circleursula1
|
2019-07-25 04:26:20 +00:00
|
|
|
command: nucypher ursula run --dev --federated-only --rest-host 172.29.1.2 --rest-port 11500 --teacher 172.29.1.1:11500
|
2019-06-06 19:18:58 +00:00
|
|
|
networks:
|
|
|
|
nucypher_circle_net:
|
|
|
|
ipv4_address: 172.29.1.2
|
2020-03-30 23:41:58 +00:00
|
|
|
container_name: circleursula2
|
|
|
|
circleursula3:
|
2019-06-06 19:18:58 +00:00
|
|
|
ports:
|
|
|
|
- 11500
|
2019-07-13 00:13:45 +00:00
|
|
|
image: circle:nucypher
|
2019-06-06 19:18:58 +00:00
|
|
|
depends_on:
|
2020-03-30 21:39:11 +00:00
|
|
|
- circleursula2
|
2019-07-25 04:26:20 +00:00
|
|
|
command: nucypher ursula run --dev --federated-only --rest-host 172.29.1.3 --rest-port 11500 --teacher 172.29.1.1:11500
|
2019-06-06 19:18:58 +00:00
|
|
|
networks:
|
|
|
|
nucypher_circle_net:
|
|
|
|
ipv4_address: 172.29.1.3
|
2020-03-30 23:41:58 +00:00
|
|
|
container_name: circleursula3
|
|
|
|
circleursula4:
|
2019-06-06 19:18:58 +00:00
|
|
|
ports:
|
|
|
|
- 11500
|
2019-07-13 00:13:45 +00:00
|
|
|
image: circle:nucypher
|
2019-06-06 19:18:58 +00:00
|
|
|
depends_on:
|
2020-03-30 23:41:58 +00:00
|
|
|
- circleursula3
|
2019-07-25 04:26:20 +00:00
|
|
|
command: nucypher ursula run --dev --federated-only --rest-host 172.29.1.4 --rest-port 11500 --teacher 172.29.1.1:11500
|
2019-06-06 19:18:58 +00:00
|
|
|
networks:
|
|
|
|
nucypher_circle_net:
|
|
|
|
ipv4_address: 172.29.1.4
|
2020-03-30 23:41:58 +00:00
|
|
|
container_name: circleursula4
|
2019-12-19 23:40:13 +00:00
|
|
|
|
|
|
|
|
2019-06-06 19:18:58 +00:00
|
|
|
networks:
|
|
|
|
nucypher_circle_net:
|
|
|
|
ipam:
|
|
|
|
driver: default
|
|
|
|
config:
|
|
|
|
- subnet: 172.29.1.0/16
|