18 Commits

Author SHA1 Message Date
eyedeekay 8989914372 Docker: Update eepsite configuration to use net.i2p.jetty.JettyStart 2026-05-06 11:16:03 -04:00
eyedeekay 4f938db339 Docker: Ensure the .i2p directory exists and is owned by the i2p user before starting the application 2026-05-06 09:58:19 -04:00
eyedeekay 003d868cdb Docker: Remove USER directive from Dockerfile and update startapp.sh to use exec -runuser to start java as non-root 2026-05-06 09:37:57 -04:00
eyedeekay 9960bacd92 Docker: Run startapp.sh as non-root. Clarify need to rewrite 127.0.0.1 to Docker internal localhost(172.17.0.* normally) in order to avoid IP-based client denials. Remove dead s6 script. Change 127.0.0.1 to localhost in docker rootfs config files. Clarify documentation. 2026-05-05 14:45:07 -04:00
eyedeekay 9154945571 Docker: automatically resolve conflicting port issues when the external port used by docker does not match the port in the routerInfo 2024-09-29 16:58:44 -04:00
idk 692c73994b fix some errors in startapp.sh shell script, including /JAVA_OPTS/JAVAOPTS/ thanks @bedaro, #41 2023-03-23 04:08:24 +00:00
Anastasiya Soyka ab676bf63c Detect When Running as a Podman Container 2023-03-19 14:41:50 +00:00
idk 8a0a533777 fix base directory path duplication in Dockerfile 2023-03-19 14:35:23 +00:00
idk 0645359cb6 explicitly set i2p.dir.base and i2p.dir.config in router.config for Docker containers. fixes and closes #41. 2023-02-28 02:33:25 +00:00
idk d4155625e4 Allow passing the IP address where the router console is reachable when running a Docker container 2022-11-14 18:55:21 +00:00
idk 21dc07bf5a add note about possible need for Java 17 options to startapp.sh 2022-07-17 15:34:25 -04:00
idk a70c988a07 Automatically configure clients and client tunnels to listen on the container network address instead of the localhost. Closes #358 2022-06-10 13:39:27 -04:00
Zlatin Balevsky 29f74ba72a change interfaces 0.0.0.0->127.0.0.1 and update documentation 2022-02-16 11:14:10 +00:00
aargh ba55ec09ed Allow chown to fail so files can be managed via docker configs and secrets 2022-01-16 16:45:56 +00:00
Zlatin Balevsky 8fa70c9cde More Docker changes:
* disable in-network updates
* persistent directory for snark downloads
* listen on port 12345 for i2np connections
* restore multi-stage build
* use better ant target
* allow passing -Xmx via the JVM_XMX variable

Many thanks to LoveIsGrief for the suggestions!
2021-04-28 04:12:24 +00:00
Zlatin Balevsky 179b79f8ab Docker persistent home 2021-04-27 03:55:42 +00:00
idk 8db8c6a028 add SSH tunnel for gitssh.idk.i2p services to i2ptunnel.config files for docker and regular installs 2021-02-04 13:10:18 -05:00
LoveIsGrief acbb8d1a24 Docker: Preconfigure clients and tunnels
The follow clients and tunnels are available on all interfaces (0.0.0.0) of the container:

 - routerconsole
 - SAM
 - I2P HTTP Proxy
 - Irc2P
2021-01-25 22:30:04 +01:00