stack.yml 423 B

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