Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement