Guest User

Untitled

a guest
Nov 28th, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. # Use root/example as user/password credentials
  2. version: '3.1'
  3.  
  4. services:
  5.  
  6. mongo:
  7. image: mongo
  8. restart: always
  9. environment:
  10. MONGO_INITDB_ROOT_USERNAME: root
  11. MONGO_INITDB_ROOT_PASSWORD: example
  12.  
  13. mongo-express:
  14. image: mongo-express
  15. restart: always
  16. ports:
  17. - 8081:8081
  18. environment:
  19. ME_CONFIG_MONGODB_ADMINUSERNAME: root
  20. ME_CONFIG_MONGODB_ADMINPASSWORD: example
Add Comment
Please, Sign In to add comment