mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 21:02:53 -05:00
Minor Docker fixes and nice things (#7120)
This commit is contained in:
@@ -2,10 +2,11 @@ services:
|
||||
meshcentral:
|
||||
image: ghcr.io/ylianst/meshcentral:latest
|
||||
environment:
|
||||
- HOSTNAME=myserver.domain.com
|
||||
- ALLOW_NEW_ACCOUNTS=false
|
||||
- USE_MONGODB=true
|
||||
- MONGO_URL=mongodb://username:password@mongodb:27017/meshcentral
|
||||
- DYNAMIC_CONFIG=false # Show the option but disable it by default, for safety.
|
||||
- HOSTNAME=myserver.domain.com # Set the hostname in the config.json
|
||||
- ALLOW_NEW_ACCOUNTS=false # Disable creation of new accounts (except for the first user) in the config.json
|
||||
- USE_MONGODB=true # Enable the Mongo connector in the config.json
|
||||
- MONGO_URL=mongodb://username:password@mongodb:27017/meshcentral # Example MONGO_URL
|
||||
volumes:
|
||||
- meshcentral-data:/opt/meshcentral/meshcentral-data
|
||||
- meshcentral-files:/opt/meshcentral/meshcentral-files
|
||||
|
||||
Reference in New Issue
Block a user