Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. version: '2'
  2. services:
  3. mongo:
  4. image: mongo:3.2
  5. volumes:
  6. - /etc/timezone:/etc/timezone
  7. - /etc/localtime:/etc/localtime
  8. - /STORAGE/coinfolio/mongo:/data/db
  9. command:
  10. - mongod
  11. - --smallfiles
  12. node:
  13. image: registry.lykew.com/valentin/coinfolio:0.0.2
  14. environment:
  15. APP_COINS_PER_PAGE: '25'
  16. APP_DEBUG: 'true'
  17. APP_LOG_FOLDER: /logs
  18. APP_MONGO_HOST: mongo
  19. APP_PORT: '80'
  20. APP_TMP_FOLDER: /tmp
  21. volumes:
  22. - /etc/timezone:/etc/timezone
  23. - /etc/localtime:/etc/localtime
  24. - /STORAGE/coinfolio/logs:/logs
  25. links:
  26. - mongo:mongo
  27. ports:
  28. - 8224:80/tcp
  29. labels:
  30. io.rancher.container.pull_image: always
  31. mongoexpress:
  32. image: mongo-express:latest
  33. environment:
  34. ME_CONFIG_BASICAUTH_PASSWORD: pass
  35. ME_CONFIG_BASICAUTH_USERNAME: admin
  36. ME_CONFIG_MONGODB_ENABLE_ADMIN: 'true'
  37. ME_CONFIG_MONGODB_PORT: '27017'
  38. ME_CONFIG_MONGODB_SERVER: mongo
  39. ME_CONFIG_OPTIONS_EDITORTHEME: default
  40. volumes:
  41. - /etc/timezone:/etc/timezone
  42. - /etc/localtime:/etc/localtime
  43. links:
  44. - mongo:mongo
  45. ports:
  46. - 8882:8081/tcp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement