Advertisement
Guest User

Untitled

a guest
Feb 5th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. version: '3'
  2. services:
  3. db:
  4. image: postgres:11
  5. restart: always
  6. volumes:
  7. - /var/lib/postgresql/data
  8. environment:
  9. POSTGRES_DB: iqvoc_production
  10. POSTGRES_USER: iqvoc
  11. POSTGRES_PASSWORD: iqvoc
  12. web:
  13. image: innoq/iqvoc_postgresql
  14. ports:
  15. - "3000:3000"
  16. volumes:
  17. - /iqvoc/public/export
  18. - /iqvoc/public/import
  19. - ./data:/iqvoc/data
  20. - ./app:/iqvoc/app
  21. - ./lib:/iqvoc/lib
  22. - ./config/locales:/iqvoc/config/locales
  23. - ./config/routes.rb:/iqvoc/config/routes.rb
  24. restart: always
  25. environment:
  26. PORT: 3000
  27. DB_HOST: db
  28. DB_NAME: iqvoc_production
  29. DB_USER: iqvoc
  30. DB_PW: iqvoc
  31. SECRET_KEY_BASE: b9a0bec111d1ff8e3c4dedff55bcfaa3a3ae87eb7a282abb642b79bf9095650e4e38f896ddce556d272ee1fb99bdad68eae67e7fd53827d5a6c2fc5755d05440
  32. depends_on:
  33. - db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement