services: mongodb: image: mongo:latest container_name: mongodb restart: always expose: - 27017 volumes: - mongodb-data:/data/db meshcentral: image: ghcr.io/ylianst/meshcentral:latest container_name: meshcentral restart: always environment: - DYNAMIC_CONFIG=true - HOSTNAME=localhost - PORT=443 - REDIR_PORT=80 - ALLOW_NEW_ACCOUNTS=true - ALLOWED_ORIGIN=true - USE_MONGODB=true - MONGO_URL=mongodb://mongodb:27017/meshcentral volumes: - meshcentral-data:/opt/meshcentral/meshcentral-data - meshcentral-files:/opt/meshcentral/meshcentral-files - meshcentral-web:/opt/meshcentral/meshcentral-web - meshcentral-backups:/opt/meshcentral/meshcentral-backups ports: - 4436:443 - 8066:80 depends_on: - mongodb volumes: mongodb-data: meshcentral-data: meshcentral-files: meshcentral-web: meshcentral-backups: