forked from zlatinb/muwire
-
Notifications
You must be signed in to change notification settings - Fork 0
Docker
danrobi11 edited this page Nov 10, 2020
·
2 revisions
The Docker image is based on the wonderful work in jlesage/docker-baseimage-gui. You can refer to it for environment variables to pass to the container.
If you don't want to use the image on dockerhub, build an image yourself.
MUWIRE_VERSION=`awk -F "=" '/^version/ { gsub(" ","") ; print $2}' gradle.properties` docker build -t muwire:latest,muwire:${MUWIRE_VERSION} .
Necessary configuration
Since MuWire will be running in a container, it won't have direct access to the host's localhost.
By default, the wizard will choose 172.17.0.1
as the target host.
You'll need to open the I2CP port on that interface.
If you're running I2P on the localhost, navigate to http://localhost:7657/configi2cp and make the necessary changes.
Running
# Create directories to put data into
mkdir -p config incompletes output
docker run \
-p 5800:5800 \
-v ./config:/muwire/.MuWire \
-v ./incompletes:/incompletes \
-v ./output:/output \
--name muwire \
zlatinb/muwire
You will then be able to access the muwire GUI over a browser at http://localhost:5800
Options
Option | Description |
---|---|
-v ./config:/muwire/.MuWire |
This is where the config files will be stored |
-v ./incompletes:/incompletes |
The /incompletes volume should be used to store MuWire's incomplete download/upload data * |
-v ./output:/output |
The /output volume should be used to store MuWire's download/upload data |