Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- web:
- image: berpj/web-demo
- ports:
- - "80:80"
- app:
- image: berpj/app-demo
- links:
- - db
- ports:
- - "3000:3000"
- environment:
- RAILS_ENV: production
- DB_HOST: db
- DB_PORT: 5432
- DB_ADAPTER: postgresql
- DB_DATABASE: todo
- DB_USER: todo
- DB_PASS: mypass
- db:
- image: macadmins/postgres
- volumes_from:
- - dbdata
- environment:
- DB_NAME: todo
- DB_USER: todo
- DB_PASS: mypass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement