Created
September 20, 2015 05:15
-
-
Save krainboltgreene/7863c9609824f32b184a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AUTHOR "Kurtis Rainbolt-Greene <[email protected]>" | |
ISO boot2docker | |
MACHINE mythoas | |
CONTAINER api | |
FROM ubuntu:latest | |
LINK postgres:database | |
LINK memcached:cache | |
WORKDIR /usr/src/application | |
ENVFILE .environment-development | |
SYNCUP .:/usr/src/application | |
SYNCDOWN /usr/src/application/Gemfile.lock:. | |
SYNCIGNORE spec/ log/ tmp/ .git/ .ruby-* .environment-* .*ignore Procfile README.md .travis.yml | |
APPLY ruby:latest | |
APPLY postgres-client:latest | |
RUN /usr/src/application/bin/setup | |
EXPOSE 3000 | |
CMD ["bin/shogun", "server", "start"] | |
CONTAINER web | |
SYNCUP ../web:/usr/src/application | |
SYNCDOWN /usr/src/application/Gemfile.lock:. | |
SYNCIGNORE | |
log/ tmp/ | |
APPLY nodejs:latest | |
RUN bin/setup | |
EXPOSE 3001 | |
CMD ["npm", "start"] | |
CONTAINER postgres:latest | |
CONTAINER memcached:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment