mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 02:09:55 +08:00
22 lines
364 B
Plaintext
22 lines
364 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
NAME=swift-aio
|
||
|
|
||
|
. $(dirname "$0")/docker.bash
|
||
|
|
||
|
start() {
|
||
|
docker run --rm -d --name ${NAME} \
|
||
|
bouncestorage/swift-aio
|
||
|
|
||
|
echo type=swift
|
||
|
echo env_auth=false
|
||
|
echo user=test:tester
|
||
|
echo key=testing
|
||
|
echo auth=http://$(docker_ip):8080/auth/v1.0
|
||
|
echo _connect=$(docker_ip):8080
|
||
|
}
|
||
|
|
||
|
. $(dirname "$0")/run.bash
|