d0888edc0a
Fix spelling of: above, already, anonymous, associated, authentication, bandwidth, because, between, blocks, calculate, candidates, cautious, changelog, cleaner, clipboard, command, completely, concurrently, considered, constructs, corrupt, current, daemon, dependencies, deprecated, directory, dispatcher, download, eligible, ellipsis, encrypter, endpoint, entrieslist, essentially, existing writers, existing, expires, filesystem, flushing, frequently, hierarchy, however, implementation, implements, inaccurate, individually, insensitive, longer, maximum, metadata, modified, multipart, namedirfirst, nextcloud, obscured, opened, optional, owncloud, pacific, passphrase, password, permanently, persimmon, positive, potato, protocol, quota, receiving, recommends, referring, requires, revisited, satisfied, satisfies, satisfy, semver, serialized, session, storage, strategies, stringlist, successful, supported, surprise, temporarily, temporary, transactions, unneeded, update, uploads, wrapped Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
31 lines
793 B
Bash
Executable file
31 lines
793 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
NAME=owncloud
|
|
USER=rclone
|
|
PASS=HarperGrayerFewest5
|
|
|
|
. $(dirname "$0")/docker.bash
|
|
|
|
start() {
|
|
docker run --rm -d --name $NAME \
|
|
-e "OWNCLOUD_DOMAIN=${OWNCLOUD_DOMAIN}" \
|
|
-e "OWNCLOUD_DB_TYPE=sqlite" \
|
|
-e "OWNCLOUD_DB_NAME=owncloud.db" \
|
|
-e "OWNCLOUD_ADMIN_USERNAME=$USER" \
|
|
-e "OWNCLOUD_ADMIN_PASSWORD=$PASS" \
|
|
-e "OWNCLOUD_MYSQL_UTF8MB4=true" \
|
|
-e "OWNCLOUD_REDIS_ENABLED=false" \
|
|
-e "OWNCLOUD_TRUSTED_DOMAINS=*.*.*.*" \
|
|
owncloud/server
|
|
|
|
echo type=webdav
|
|
echo url=http://$(docker_ip):8080/remote.php/webdav/
|
|
echo user=$USER
|
|
echo pass=$(rclone obscure $PASS)
|
|
echo vendor=owncloud
|
|
echo _connect=$(docker_ip):8080
|
|
}
|
|
|
|
. $(dirname "$0")/run.bash
|