Created
January 26, 2018 02:30
-
-
Save Andersmholmgren/2de286d15783cc29e1e22914805b1592 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
iri: | |
# restart: unless-stopped | |
container_name: iri | |
image: iotaledger/iri:latest | |
# Override default CMD to remove the API restrictions such as addNeighbors. | |
command: /usr/bin/java -XX:+DisableAttachMechanism -Xmx8g -Xms256m -Dlogback.configurationFile=/iri/conf/logback.xml -Djava.net.preferIPv4Stack=true -jar iri.jar -p 14265 -u 14777 -t 15777 --remote | |
volumes: | |
# Give a proper location on host server such as: | |
# /var/lib/iri/mainnetdb:/iri/mainnetdb | |
- ./iri/mainnetdb:/iri/mainnetdb:rw | |
ports: | |
# Port 14265 is the IRI API, it is already exposed and accessible | |
# to Nelson via Docker networking, only uncomment here if you also | |
# want to expose the IRI API to the host machine, this could be a | |
# possible security risk if you do not secure it somehow. | |
# | |
- 14265:14265 | |
- 14777:14777/udp | |
- 15777:15777 | |
nelson: | |
container_name: nelson | |
# restart: unless-stopped | |
image: romansemko/nelson.cli:latest | |
ports: | |
- 18600:18600 | |
- 16600:16600 | |
depends_on: | |
- iri | |
volumes: | |
# Give these proper locations on the host system such as: | |
# /etc/nelson/config.ini:/config.ini | |
# /var/lib/nelson/:/data | |
- ./config.ini:/config.ini:ro | |
- ./data:/data:rw | |
command: ["/usr/local/bin/nelson", "--config", "/config.ini"] | |
nelsongui: | |
container_name: nelsongui | |
restart: unless-stopped | |
image: >- | |
ah/nelson.gui | |
command: nelson.gui -r iri -i 14265 | |
environment: | |
- NELSON_GUI_PORT=5000 | |
depends_on: | |
- nelson | |
ports: | |
- "5000:5000" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment