Skip to content

Instantly share code, notes, and snippets.

@vschiavoni
Last active December 11, 2015 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vschiavoni/ecb0efe724bb60e23ba1 to your computer and use it in GitHub Desktop.
Save vschiavoni/ecb0efe724bb60e23ba1 to your computer and use it in GitHub Desktop.
splaycontroller:
image: vschiavoni/splaycontroller:v1
ports:
- "1100:11010"
- 2222
command: service mysql start
command: bash -c 'source /etc/profile.d/rvm.sh && cd ~/splay/src/controller/cli-server/ && ruby -rubygems cli-server.rb & cd ~/splay/src/controller/ && ruby -rubygems controller_fork.rb'
@lucj
Copy link

lucj commented Dec 11, 2015

Hi, it seems there is a lot of thing in your image.
Docker-compose are great to describe a multi-application containers.
For instance: a container for your app, another one for the db layer, ... and then you can "link" those containers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment