docker (demo): create file-sharing and demo account in init script

This commit is contained in:
Goffi 2023-12-14 09:19:32 +01:00
commit 00de7e0de0

View file

@ -14,16 +14,6 @@ COPY --chown=root:root libervia.conf /etc/libervia.conf
USER libervia
RUN ./entrypoint.sh \
# we create the file sharing component which will autoconnect when backend is started
libervia-cli profile create file-sharing -j files.server1.test -p "" --xmpp-password test_e2e -C file-sharing -A && \
libervia-backend stop
RUN ./entrypoint.sh \
# and a demo account
libervia-cli profile create demo -j demo@server1.test -p "demo" && \
libervia-backend stop
COPY --chown=libervia:libervia forums.json /home/libervia/
COPY --chown=libervia:libervia scripts/init_script.sh /home/libervia/