compose.local.yaml 967 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. services:
  2. mongodb:
  3. image: mongo:latest
  4. container_name: mongodb
  5. restart: always
  6. expose:
  7. - 27017
  8. volumes:
  9. - mongodb-data:/data/db
  10. meshcentral:
  11. image: ghcr.io/ylianst/meshcentral:latest
  12. container_name: meshcentral
  13. restart: always
  14. environment:
  15. - DYNAMIC_CONFIG=true
  16. - HOSTNAME=localhost
  17. - PORT=443
  18. - REDIR_PORT=80
  19. - ALLOW_NEW_ACCOUNTS=true
  20. - ALLOWED_ORIGIN=true
  21. - USE_MONGODB=true
  22. - MONGO_URL=mongodb://mongodb:27017/meshcentral
  23. volumes:
  24. - meshcentral-data:/opt/meshcentral/meshcentral-data
  25. - meshcentral-files:/opt/meshcentral/meshcentral-files
  26. - meshcentral-web:/opt/meshcentral/meshcentral-web
  27. - meshcentral-backups:/opt/meshcentral/meshcentral-backups
  28. ports:
  29. - 4436:443
  30. - 8066:80
  31. depends_on:
  32. - mongodb
  33. volumes:
  34. mongodb-data:
  35. meshcentral-data:
  36. meshcentral-files:
  37. meshcentral-web:
  38. meshcentral-backups: