Skip to content

Instantly share code, notes, and snippets.

@drbh
Created March 15, 2019 19:29
Show Gist options
  • Save drbh/76215f79ede2a68de66ffe1cf1306489 to your computer and use it in GitHub Desktop.
Save drbh/76215f79ede2a68de66ffe1cf1306489 to your computer and use it in GitHub Desktop.
start to nucypher docker network
version: '3'
services:
nucypher-alice:
command: nucypher alice run --dev --network devnet --teacher-uri 18.222.119.242:9151
environment:
- NUCYPHER_SENTRY_LOGS=0
image: nucypher:latest
container_name: nucypher-alice
ports:
- "8151:8151"
build:
context: "$NUCYPHER_HOME"
dockerfile: "$NUCYPHER_HOME/deploy/docker/Dockerfile"
volumes:
- ~/.local/share/nucypher:/nucypher
stdin_open: true
tty: true
nucypher-bob:
command: nucypher bob run --dev --network devnet --teacher-uri 18.222.119.242:9151
environment:
- NUCYPHER_SENTRY_LOGS=0
image: nucypher:latest
container_name: nucypher-bob
ports:
- "11151:11151"
build:
context: "${NUCYPHER_HOME}"
dockerfile: $NUCYPHER_HOME/deploy/docker/Dockerfile
volumes:
- ~/.local/share/nucypher:/nucypher
stdin_open: true
tty: true
# nucypher-enrico:
# command: '/usr/local/bin/get-alices-key'
# environment:
# - NUCYPHER_SENTRY_LOGS=0
# depends_on:
# - nucypher-alice
# image: nucypher:latest
# container_name: nucypher-enrico
# ports:
# - "5151:5151"
# build:
# context: "${NUCYPHER_HOME}"
# dockerfile: $NUCYPHER_HOME/deploy/docker/Dockerfile
# volumes:
# - ~/.local/share/nucypher:/nucypher
# stdin_open: true
# tty: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment