fix seafile
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s
This commit is contained in:
@@ -36,13 +36,6 @@ done
|
|||||||
# Give it a moment to fully initialize
|
# Give it a moment to fully initialize
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
# Always update admin credentials using Seafile's reset-admin script
|
|
||||||
echo "Setting admin credentials..."
|
|
||||||
docker exec "${CONTAINER_NAME}" bash -c "
|
|
||||||
cd /opt/seafile/seafile-server-latest
|
|
||||||
echo -e '${SEAFILE_ADMIN_EMAIL}\n${SEAFILE_ADMIN_PASSWORD}\n${SEAFILE_ADMIN_PASSWORD}' | ./reset-admin.sh
|
|
||||||
" 2>&1
|
|
||||||
|
|
||||||
echo "Installation of ${CONTAINER_NAME} complete"
|
echo "Installation of ${CONTAINER_NAME} complete"
|
||||||
echo "Access Seafile at ${SEAFILE_SERVER_PROTOCOL}://${SEAFILE_SERVER_HOSTNAME}:${HTTP_PORT}"
|
echo "Access Seafile at ${SEAFILE_SERVER_PROTOCOL}://${SEAFILE_SERVER_HOSTNAME}:${HTTP_PORT}"
|
||||||
echo "Login with: ${SEAFILE_ADMIN_EMAIL}"
|
echo "Login with: ${SEAFILE_ADMIN_EMAIL}"
|
||||||
|
|||||||
Reference in New Issue
Block a user