Update Remote-Access_Containers/meshcentral/compose.yaml

This commit is contained in:
2026-08-09 18:53:52 +00:00
parent 119fe24669
commit 82fe5b84fe
@@ -1,28 +1,8 @@
services:
meshcentral-config:
image: alpine:latest
container_name: meshcentral-config
restart: "no"
env_file:
- .env
volumes:
- /srv/docker/meshcentral/data:/data
entrypoint: ["/bin/sh", "-c"]
command:
- |
apk add --no-cache curl gettext jq > /dev/null
curl -fsSL https://scripts.gabesville.com/Gabesville/Docker-Compose/raw/branch/main/Remote-Access_Containers/meshcentral/config.json -o /tmp/config.template.json
envsubst < /tmp/config.template.json > /tmp/config.rendered.json
jq empty /tmp/config.rendered.json
cp /tmp/config.rendered.json /data/config.json
meshcentral:
restart: unless-stopped
container_name: meshcentral
image: typhonragewind/meshcentral:latest
depends_on:
meshcentral-config:
condition: service_completed_successfully
#ports:
# - 8090: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: