fix seafile
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s

This commit is contained in:
j
2026-02-19 09:42:24 +13:00
parent 0c47dc47e5
commit 5643d3989c

View File

@@ -36,13 +36,6 @@ done
# Give it a moment to fully initialize
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 "Access Seafile at ${SEAFILE_SERVER_PROTOCOL}://${SEAFILE_SERVER_HOSTNAME}:${HTTP_PORT}"
echo "Login with: ${SEAFILE_ADMIN_EMAIL}"