docker (demo): create file-sharing and demo account in init script
This commit is contained in:
parent
133fe9c6fe
commit
00de7e0de0
1 changed files with 8 additions and 10 deletions
|
|
@ -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/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue