Guest User

Untitled

a guest
Oct 27th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. version: '2'
  2. services:
  3. db:
  4. image: postgres
  5. volumes:
  6. - postgres-volume:/var/lib/postgresql/data
  7. web:
  8. build: .
  9. command: rails s -b 0.0.0.0 -p 3000
  10. volumes:
  11. - .:/app
  12. ports:
  13. - "3000:3000"
  14. depends_on:
  15. - db
  16. env_file:
  17. - .env
  18. environment:
  19. - DB_USERNAME=postgres
  20. - DB_PASSWORD=
  21. - DB_HOST=db
  22. - DB_NAME=application
  23. tty: true
  24. stdin_open: true
  25. volumes:
  26. postgres-volume:
Add Comment
Please, Sign In to add comment