storyboard/docker/docker-compose.yml
Adam Coldrick 56b0233ffe Add docker-compose based dev setup instructions
This adds a docker-compose.yml file which runs the various services
required for a working development instance of StoryBoard (and also
Swift, which technically isn't needed yet). It also provides a config
file which is pre-configured to work out of the box with the services
in the docker-compose.yml file.

It also updates the development installation instructions to recommend
using docker-compose to run the services, rather than installing them
on a machine and configuring everything manually.

Change-Id: I405e2e46f6ab7d8ef2c1ddd43b3e2e8cb8e3a808
2019-03-25 13:06:06 +00:00

27 lines
512 B
YAML

version: '3'
services:
mysql:
image: "mysql:latest"
ports:
- "3306:3306"
environment:
- MYSQL_DATABASE=storyboard
- MYSQL_ROOT_PASSWORD=insecure
volumes:
- "./mysql:/var/lib/mysql"
rabbitmq:
image: "rabbitmq:3"
ports:
- "5672:5672"
environment:
- RABBITMQ_DEFAULT_USER=storyboard
- RABBITMQ_DEFAULT_PASS=storyboard
swift:
image: "bouncestorage/swift-aio"
ports:
- "8888:8080"
volumes:
- "./swift:/swift/nodes"