2024-05-24 12:01:58 +02:00
|
|
|
#!/usr/bin/env bash
|
2019-10-04 17:51:07 +02:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
NAME=swift-aio
|
2024-04-08 17:51:49 +02:00
|
|
|
PORT=28628
|
2019-10-04 17:51:07 +02:00
|
|
|
|
|
|
|
. $(dirname "$0")/docker.bash
|
|
|
|
|
|
|
|
start() {
|
|
|
|
docker run --rm -d --name ${NAME} \
|
2024-04-08 17:51:49 +02:00
|
|
|
-p 127.0.0.1:${PORT}:8080 \
|
2019-10-04 17:51:07 +02:00
|
|
|
bouncestorage/swift-aio
|
|
|
|
|
|
|
|
echo type=swift
|
|
|
|
echo env_auth=false
|
|
|
|
echo user=test:tester
|
|
|
|
echo key=testing
|
2024-04-08 17:51:49 +02:00
|
|
|
echo auth=http://127.0.0.1:${PORT}/auth/v1.0
|
|
|
|
echo _connect=127.0.0.1:${PORT}
|
2019-10-04 17:51:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
. $(dirname "$0")/run.bash
|