docker: forgo a reseeder

We simply don't need one now that we're sharing the netDb.
Additionally, it also allows us to leave "onBoot" away in the client config.
With it, client apps might started before it's possible to open tunnels
 since we have no active connections to other routers.
This commit is contained in:
2021-01-05 19:26:14 +01:00
parent 395683345a
commit cb1369a27f
3 changed files with 2 additions and 6 deletions

View File

@ -59,7 +59,6 @@ RUN sed -i 's/.*\(en_US\.UTF-8\)/\1/' /etc/locale.gen && \
/usr/sbin/locale-gen && \
/usr/sbin/update-locale LANG=${LANG} LANGUAGE=${LANGUAGE}
ARG RESEED_URL=http://reseeder:8080
ARG FLOODFILL=""
COPY clients.config.d/ ${I2PSVC_CONF_DIR}/clients.config.d/
RUN chown -R i2psvc:i2psvc ${I2PSVC_DIR} && \
@ -69,10 +68,9 @@ RUN chown -R i2psvc:i2psvc ${I2PSVC_DIR} && \
echo "i2np.ntcp.ipv6=false" >> ${I2PSVC_CONF_DIR}/router.config && \
echo "i2np.udp.ipv6=false" >> ${I2PSVC_CONF_DIR}/router.config && \
echo "i2np.upnp.enable=false" >> ${I2PSVC_CONF_DIR}/router.config && \
echo "i2p.reseedURL=${RESEED_URL}" >> ${I2PSVC_CONF_DIR}/router.config && \
echo "i2p.disableSSLHostnameVerification=true" >> ${I2PSVC_CONF_DIR}/router.config && \
# Allow http reseed URL
echo "router.reseedSSLRequired=false" >> ${I2PSVC_CONF_DIR}/router.config && \
# Assume the routers are sharing the netDb/ folder
echo "router.reseedDisable=true" >> ${I2PSVC_CONF_DIR}/router.config && \
echo "i2np.allowLocal=true" >> ${I2PSVC_CONF_DIR}/router.config && \
echo "router.rejectStartupTime=20000" >> ${I2PSVC_CONF_DIR}/router.config && \
if [ -n "${FLOODFILL}" ] ; then echo "router.floodfillParticipant=true" | tee -a ${I2PSVC_CONF_DIR}/router.config ; fi && \

View File

@ -5,4 +5,3 @@ clientApp.0.delay=120
clientApp.0.main=net.i2p.sam.SAMBridge
clientApp.0.name=SAM application bridge
clientApp.0.startOnLoad=true
clientApp.0.onBoot=true

View File

@ -5,4 +5,3 @@ clientApp.0.delay=-1
clientApp.0.main=net.i2p.i2ptunnel.TunnelControllerGroup
clientApp.0.name=Application tunnels
clientApp.0.startOnLoad=true
clientApp.0.onBoot=true