stack.yml 442 B

123456789101112131415161718192021
  1. # Use root/example as user/password credentials
  2. version: '3.1'
  3. services:
  4. mongo:
  5. image: mongo
  6. # image: %%IMAGE%%
  7. restart: always
  8. environment:
  9. MONGO_INITDB_ROOT_USERNAME: root
  10. MONGO_INITDB_ROOT_PASSWORD: example
  11. mongo-express:
  12. image: mongo-express
  13. restart: always
  14. ports:
  15. - 8081:8081
  16. environment:
  17. ME_CONFIG_MONGODB_ADMINUSERNAME: root
  18. ME_CONFIG_MONGODB_ADMINPASSWORD: example