Added default confdir and logdir at the solanum builder

master
Meliurwen 3 years ago
parent d2d42faf8b
commit eed845f0b2
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 4
      .env.example
  2. 2
      solanum/Dockerfile
  3. 2
      solanum/root/entrypoint.sh

@ -5,3 +5,7 @@ LOCAL_STACK_DIR=/srv/docker/volumes/ircd
# solanum (optional)
SO_CONTAINER_NAME=
SO_RESTART=
# solanum (optional)
AT_CONTAINER_NAME=
AT_RESTART=

@ -27,6 +27,8 @@ RUN apk add \
mbedtls-dev
RUN ./configure \
--prefix=/srv/solanum \
--sysconfdir=/srv/data/etc \
--with-logdir=/srv/data/logs \
--enable-mbedtls
RUN apk add \

@ -16,6 +16,4 @@ fi
su solanum \
-c "/srv/solanum/bin/solanum \
-configfile /srv/data/etc/ircd.conf \
-logfile /srv/data/logs/ircd.logs \
-foreground"

Loading…
Cancel
Save