Update Remote-Access_Containers/meshcentral/compose.yaml

This commit is contained in:
2026-08-09 01:44:37 +00:00
parent 904bd0cd98
commit 119fe24669
@@ -1,6 +1,6 @@
services:
meshcentral-config:
image: alpine/git:latest
image: alpine:latest
container_name: meshcentral-config
restart: "no"
env_file:
@@ -10,10 +10,9 @@ services:
entrypoint: ["/bin/sh", "-c"]
command:
- |
apk add --no-cache gettext jq > /dev/null
rm -rf /tmp/repo
git clone --depth 1 https://oauth2:${GITEA_TOKEN}@gitea.${DOMAIN_NAME}/you/meshcentral-config.git /tmp/repo
envsubst < /tmp/repo/config.json.template > /tmp/config.rendered.json
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