Last active
July 11, 2017 08:26
-
-
Save slemeur/a778fd5b03b09fa2b7e5b2ebdaef314e to your computer and use it in GitHub Desktop.
che-compose-recipe-5.0
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
| services: | |
| db: | |
| image: codenvy/mysql // Base image | |
| environment: | |
| MYSQL_USER: petclinic | |
| MYSQL_PASSWORD: password | |
| mem_limit: 2147483648 // Memory used by the machine | |
| command: [service, mysql, start] // Execute “service mysql start” | |
| volumes_from: | |
| - dev-machine // Share a volume mount from ‘dev-machine’ | |
| dev-machine: | |
| image: codenvy/ubuntu_jdk8 | |
| mem_limit: 2147483648 | |
| expose: 3000 // Expose port 3000 | |
| depends_on: | |
| - db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment