services: meshcentral: restart: always container_name: meshcentral image: typhonragewind/meshcentral:latest ports: - 8086:443 #MeshCentral will moan and try everything not to use port 80, but you can also use it if you so desire, just change the config.json according to your needs environment: - HOSTNAME=mesh.snarfnet.net #your hostname - REVERSE_PROXY=140.44.4.30 #set to your reverse proxy IP if you want to put meshcentral behind a reverse proxy - REVERSE_PROXY_TLS_PORT=443 - IFRAME=false #set to true if you wish to enable iframe support - ALLOW_NEW_ACCOUNTS=true #set to false if you want disable self-service creation of new accounts besides the first (admin) - WEBRTC=false #set to true to enable WebRTC - per documentation it is not officially released with meshcentral, but is solid enough to work with. Use with caution - BACKUPS_PW=MyAwesomePasswordPleaseChangeMe #password for the autobackup function - BACKUP_INTERVAL=24 # Interval in hours for the autobackup function - BACKUP_KEEP_DAYS=10 #number of days of backups the function keeps 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 volumes: meshcentral-data: driver: local driver_opts: type: none o: bind device: /mnt/swarm_shared/legacy_volumes/meshcentral_meshcentral-data/_data meshcentral-files: driver: local driver_opts: type: none o: bind device: /mnt/swarm_shared/legacy_volumes/meshcentral_meshcentral-files/_data meshcentral-web: driver: local driver_opts: type: none o: bind device: /mnt/swarm_shared/legacy_volumes/meshcentral_meshcentral-web/_data meshcentral-backups: driver: local driver_opts: type: none o: bind device: /mnt/swarm_shared/legacy_volumes/meshcentral_meshcentral-backups/_data