8dc4c01209
This changes as many of the integraton tests as possible so that they use port forwarding rather than the docker IP directly. Using the docker IP directly does not work on macOS and Windows as the docker images are running in a VM rather than a container. This adds the PORTS.md document to document which port numbers we are using for which service as they need to be unique.
27 lines
545 B
Bash
Executable file
27 lines
545 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
NAME=minio-edge
|
|
USER=rclone
|
|
PASS=DeniseOxygenEiffel4
|
|
PORT=28626
|
|
|
|
. $(dirname "$0")/docker.bash
|
|
|
|
start() {
|
|
docker run --rm -d --name $NAME \
|
|
-e "MINIO_ACCESS_KEY=$USER" \
|
|
-e "MINIO_SECRET_KEY=$PASS" \
|
|
-p 127.0.0.1:${PORT}:9000 \
|
|
minio/minio:edge server /data
|
|
|
|
echo type=s3
|
|
echo provider=Minio
|
|
echo access_key_id=$USER
|
|
echo secret_access_key=$PASS
|
|
echo endpoint=http://127.0.0.1:${PORT}/
|
|
echo _connect=127.0.0.1:${PORT}
|
|
}
|
|
|
|
. $(dirname "$0")/run.bash
|