Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/svgs/meshcentral.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions templates/compose/meshcentral.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# documentation: https://github.com/Ylianst/MeshCentral/wiki
# slogan: MeshCentral is an open-source, web-based remote management platform that lets you monitor, control, and transfer files to devices across Windows, Linux, macOS, and IoT.
# tags: meshcentral, remote-management, open-source, remote-desktop
# logo: svgs/meshcentral.png
# port: 443

services:
meshcentral:
image: "typhonragewind/meshcentral:latest"
environment:
- SERVICE_FQDN_MESHCENTRAL_443
- HOSTNAME=${SERVICE_FQDN_MESHCENTRAL}
- REVERSE_PROXY=${REVERSE_PROXY:-false}
- IFRAME=${IFRAME:-false}
- ALLOW_NEW_ACCOUNTS=${ALLOW_NEW_ACCOUNTS:-false}
- WEBRTC=${WEBRTC:-false}
- BACKUPS_PW=${SERVICE_BACKUP_PASSWORD}
- BACKUP_INTERVAL=${BACKUP_INTERVAL:-24}
- BACKUP_KEEP_DAYS=${BACKUP_KEEP_DAYS:-7}
volumes:
- meshcentral-data:/opt/meshcentral/meshcentral-data
- meshcentral-files:/opt/meshcentral/meshcentral-files
- meshcentral-backups:/opt/meshcentral/meshcentral-backups
healthcheck:
test:
[
"CMD",
"node",
"--eval",
"const http = require('http'); const options = { host: '0.0.0.0', port: 80, timeout: 2000, path: '/health.ashx' }; const healthCheck = http.request(options, (res) => { console.log('HEALTHCHECK STATUS:', res.statusCode); if (res.statusCode == 200) { process.exit(0); } else { process.exit(1); } }); healthCheck.on('error', function (err) { console.error('ERROR'); process.exit(1); }); healthCheck.end();",
]
interval: 30s
timeout: 10s
retries: 3