docker
,
make
, and
bash
(Not
dash
or
mksh
,
bash
), as well
as an I2P router. UDP services require either i2pd or a freestanding proxy
capable of supporting UDP traffic.
functions: help pages clean install uninstall
help: show this message
pages: generate the pages
clean: clean up the pages
install: setup the cron jobs and shell scripts
uninstall: remove the cron jobs and shell scripts
#!/usr/bin/env bash
DIR=$(dirname "$(readlink -f "$0")")
docker pull eyedeekay/eephttpd
docker rm -f i2pservices
docker run -i -t -d \
--env samhost="localhost" \
--env samport=7656 \
--env args="-r -p 7672 -n eephttpd-jpackage" \
--network host \
--hostname i2pservices \
--name i2pservices \
--restart always \
--volume "$HOME/i2p-services":/opt/eephttpd/keys \
--volume "$DIR":/opt/eephttpd/www \
eyedeekay/eephttpd
#! /usr/bin/env sh
docker pull portainer/portainer-ce
docker rm -f portainer
docker run -d -p 127.0.0.1:8000:8000 -p 127.0.0.1:9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v "$HOME"/portainer-data:/data portainer/portainer-ce
#! /usr/bin/env sh
docker pull schollz/cowyo
docker rm -f pastebin
docker run --restart=always --name=pastebin -d -v $HOME/cowyo-data:/data -p 127.0.0.1:8050:8050 schollz/cowyo
$HOME/i2p.newsxml
so that it can build the hosting container in that directory.
#! /usr/bin/env sh
cd $HOME/i2p.newsxml
docker build -t i2p.newsxml .
docker rm -f newsxml
docker run -d --restart=always --name newsxml -p 127.0.0.1:3000:3000 i2p.newsxml
$HOME/i2p-jpackage
and
jpackage.sh
will run the internal
update-site.sh
script as a cron job.
eephttpd-jpackage.i2pkeys
to
$HOME/eephttpd-jpackage-data/
before running. If you’re not me, I’m just tickled that you’re setting up an update server for
your own fork. Maybe ping me on IRC.
#! /usr/bin/env sh
if [ ! -d "$HOME/i2p-jpackage" ]; then
git clone https://github.com/eyedeekay/i2p "$HOME/i2p-jpackage"
fi
"$HOME/i2p-jpackage/update-site.sh"
#! /usr/bin/env sh
if [ ! -d "$HOME/i2p.www" ]; then
git clone https://i2pgit.org/i2p-hackers/i2p.www "$HOME/i2p.www"
fi
"$HOME/i2p.www/site-updater-docker.sh"
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to
Hide license