46 lines · 1.2 KB · Text
RawDownload
#!/usr/bin/env bash set -e NAME=infinitescaleUSER=adminPASS=adminPORT=28639CONF_DIR=/tmp/ocis-configmkdir -p ${CONF_DIR}chmod 777 ${CONF_DIR} || true . $(dirname "$0")/docker.bash start() {    docker run --rm --name $NAME \           -v ${CONF_DIR}:/etc/ocis \           -e "OCIS_INSECURE=true" \           -e "IDM_ADMIN_PASSWORD=$PASS" \           -e "OCIS_FORCE_CONFIG_OVERWRITE=true" \           -e "OCIS_URL=https://127.0.0.1:$PORT" \           owncloud/ocis \           init     docker run --rm -d --name $NAME \           -e "OCIS_LOG_LEVEL=debug" \           -e "OCIS_LOG_PRETTY=true" \           -e "OCIS_URL=https://127.0.0.1:$PORT" \           -e "OCIS_ADMIN_USER_ID=some-admin-user-id-0000-100000000000" \           -e "IDM_ADMIN_PASSWORD=$PASS" \           -e "OCIS_INSECURE=true" \           -e "PROXY_ENABLE_BASIC_AUTH=true" \           -v ${CONF_DIR}:/etc/ocis \           -p 127.0.0.1:${PORT}:9200 \           owncloud/ocis        echo type=webdav    echo url=https://127.0.0.1:${PORT}/dav/spaces/some-admin-user-id-0000-100000000000    echo user=$USER    echo pass=$(rclone obscure $PASS)    echo vendor=infinitescale    echo _connect=127.0.0.1:${PORT}    echo _connect_delay=5s} . $(dirname "$0")/run.bash

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t