Update Remote-Access_Containers/meshcentral/compose.yaml
This commit is contained in:
@@ -1,4 +1,18 @@
|
||||
services:
|
||||
meshcentral-config:
|
||||
image: alpine:3.20
|
||||
container_name: meshcentral-config
|
||||
env_file: .env
|
||||
entrypoint: ["sh", "-c"]
|
||||
command: >
|
||||
"apk add --no-cache gettext >/dev/null &&
|
||||
envsubst '$$HOSTNAME $$SESSION_KEY $$IP $$DOMAIN_NAME $$LOGIN_KEY'
|
||||
< /template/config.json.template > /data/config.json &&
|
||||
chmod 600 /data/config.json"
|
||||
volumes:
|
||||
- ./config.json.template:/template/config.json.template:ro
|
||||
- /srv/docker/meshcentral/data:/data
|
||||
|
||||
meshcentral:
|
||||
restart: unless-stopped
|
||||
container_name: meshcentral
|
||||
@@ -14,7 +28,6 @@ services:
|
||||
- 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
|
||||
volumes:
|
||||
- /srv/docker/meshcentral/data:/opt/meshcentral/meshcentral-data #config.json and other important files live here. A must for data persistence
|
||||
- ./config.json:/opt/meshcentral/meshcentral-data/config.json
|
||||
- /srv/docker/meshcentral/user_files:/opt/meshcentral/meshcentral-files #where file uploads for users live
|
||||
- /srv/docker/meshcentral/backups:/opt/meshcentral/meshcentral-backups #Backups location
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user