Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- web:
- image: nginx
- ports:
- - "80:80"
- volumes:
- #- ./public:/usr/share/nginx/html
- - ./nginx.conf:/etc/nginx/nginx.conf
- links:
- - pearlbee
- volumes_from:
- - pearlbee
- pearlbee:
- build: pearlbee
- command: carton exec starman bin/app.psgi
- ports:
- - "5000"
- volumes:
- - ./config.yml:/config.yml
- environment:
- - MYSQL_PASSWORD=secret
- depends_on:
- - mysql
- pearlbee2:
- build: pearlbee
- command: carton exec starman bin/app.psgi
- ports:
- - "5000"
- volumes:
- - ./config.yml:/config.yml
- environment:
- - MYSQL_PASSWORD=secret
- depends_on:
- - mysql
- mysql:
- image: mysql
- environment:
- - MYSQL_ROOT_PASSWORD=secret
- - MYSQL_USER=root
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement