storyboard/docker/fix-ini.sh
Adam Coldrick 04d086132d Use the official Swift docker image for testing
This switches out the docker image used for Swift in our docker-compose
setup. It also adds a small script to modify the default config in that
image to allow it to be used with a StoryBoard development instance.

Change-Id: I6371eef0b54df16a8855f8cbcfcead4dd4234d10
2019-11-16 20:59:38 +00:00

4 lines
155 B
Bash
Executable File

#!/bin/sh
sed -i 's/ s3api//' /etc/swift/proxy-server.conf
sed -i '/user = swift/a cors_allow_origin = http://localhost:9000' /etc/swift/proxy-server.conf