Export required environment variables

This commit is contained in:
flow.gunso
2019-04-09 16:53:34 +02:00
parent e23d93338e
commit e953effc58

View File

@@ -44,4 +44,10 @@ chown $UID.$GID -R /home/seafuser/infinite-seaf-cli-start.sh
chown $UID.$GID -R /home/seafuser/entrypoint.sh chown $UID.$GID -R /home/seafuser/entrypoint.sh
# Run the Seafile client as the container user. # Run the Seafile client as the container user.
su - $UNAME -m -c "/bin/bash /home/seafuser/entrypoint.sh" su - $UNAME -c ' \
export SEAFILE_SERVER_URL=$SEAFILE_SERVER_URL \
export SEAF_USERNAME=$SEAF_USERNAME \
export SEAF_PASSWORD=$SEAF_PASSWORD \
export SEAF_LIBRARY_UUID=$SEAF_LIBRARY_UUID \
export UNAME=$UNAME \
/bin/bash /home/seafuser/entrypoint.sh'