Created
July 15, 2016 05:01
-
-
Save byronmejia/69e95631d3f27d1f07871ca17685dc89 to your computer and use it in GitHub Desktop.
Code Network Website testing platform. For use in development mode.
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
| nginx: | |
| container_name: cn-public | |
| build: ./public | |
| ports: | |
| - "80:80" | |
| volumes: | |
| - ./public/out:/usr/share/nginx/html:rw | |
| links: | |
| - api1:api1 | |
| - api2:api2 | |
| api1: | |
| container_name: cn-ruby-1 | |
| build: ./sinatra | |
| ports: | |
| - "8080" | |
| links: | |
| - mongo | |
| api2: | |
| container_name: cn-ruby-2 | |
| build: ./sinatra | |
| ports: | |
| - "8080" | |
| links: | |
| - mongo | |
| mongodata: | |
| container_name: cn-mongo-data | |
| image: mongo | |
| volumes: | |
| - /data/db | |
| command: --break-mongo | |
| mongo: | |
| container_name: cn-mongo | |
| image: mongo | |
| volumes_from: | |
| - mongodata | |
| ports: | |
| - "27017:27017" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment