diff --git a/Docker.md b/Docker.md index 02a727d..f362a73 100644 --- a/Docker.md +++ b/Docker.md @@ -84,4 +84,76 @@ networks: ``` Before going through the MuWire set up wizard you need to bind the I2CP interface to `0.0.0.0`. Then in the "external router" wizard step put `i2p` as hostname. +Here is another `docker-compose.yml` file that starts I2Pd, I2PSnark standalone and MuWire in one go: +``` +version: "3.9" +services: + daemon: + image: purplei2p/i2pd:latest + volumes: + - /srv/dev-disk-by-label-1TB/i2p/daemon:/home/i2pd/data + networks: + - internal + ports: + - "4444:4444" + - "7070:7070" + - "12345:12345" + - "12345:12345/udp" + user: "1001" + ulimits: + nofile: + soft: 30000 + hard: 40000 + restart: "on-failure" + logging: + driver: "journald" + snark: + image: ypopovych/i2psnark:latest + depends_on: + - daemon + volumes: + - /srv/dev-disk-by-label-1TB/i2p/snark:/snark/config + - /srv/dev-disk-by-label-1TB/i2p/torrents:/snark/downloads + - /srv/dev-disk-by-label-1TB/Music:/Music + networks: + - internal + ports: + - "8002:8002" + environment: + HOST_UID: 1001 + HOST_GID: 100 + HOSTNAMES: "i2p.lan" + I2CP_HOST: daemon + restart: "on-failure" + logging: + driver: "journald" + muwire: + image: zlatinb/muwire + depends_on: + - daemon + volumes: + - /srv/dev-disk-by-label-1TB/i2p/muwire/config:/muwire/.MuWire + - /srv/dev-disk-by-label-1TB/i2p/muwire/incompletes:/incompletes + - /srv/dev-disk-by-label-1TB/i2p/downloads:/output + - /srv/dev-disk-by-label-1TB/i2p/muwire/xconf:/config + - /srv/dev-disk-by-label-1TB/Music:/mnt/Music + - /srv/dev-disk-by-label-1TB/Video:/mnt/Video + - /srv/dev-disk-by-label-1TB/Series:/mnt/Series + ports: + - "5800:5800" + - "5900:5900" + networks: + - internal + environment: + USER_ID: 1001 + GROUP_ID: 100 + DISPLAY_WIDTH: 1400 + DISPLAY_HEIGHT: 800 + restart: "on-failure" + logging: + driver: "journald" +networks: + internal: +``` + [jlesage/docker-baseimage-gui]: https://github.com/jlesage/docker-baseimage-gui \ No newline at end of file