From 483760e98e9ae4a408265257379e4516f2683202 Mon Sep 17 00:00:00 2001 From: Froz Date: Thu, 4 Apr 2024 16:19:39 -0700 Subject: [PATCH] Updated meshcentral deployment config --- meshcentral/{ => Deprecated}/Dockerfile | 0 meshcentral/{ => Deprecated}/startup.sh | 0 meshcentral/README.md | 6 ++---- 3 files changed, 2 insertions(+), 4 deletions(-) rename meshcentral/{ => Deprecated}/Dockerfile (100%) rename meshcentral/{ => Deprecated}/startup.sh (100%) diff --git a/meshcentral/Dockerfile b/meshcentral/Deprecated/Dockerfile similarity index 100% rename from meshcentral/Dockerfile rename to meshcentral/Deprecated/Dockerfile diff --git a/meshcentral/startup.sh b/meshcentral/Deprecated/startup.sh similarity index 100% rename from meshcentral/startup.sh rename to meshcentral/Deprecated/startup.sh diff --git a/meshcentral/README.md b/meshcentral/README.md index c87cef9..66f3b51 100644 --- a/meshcentral/README.md +++ b/meshcentral/README.md @@ -7,10 +7,7 @@ This will deploy meshcentral with caddy. └── ~/ └── docker/ └── meshcentral/ - ├── config.json.template ├── docker-compose.yml - ├── Dockerfile - ├── startup.sh ``` You will need the files in this GitHubs folder (Dockerfile, startup.sh, and config.json.template) to build the meshcentral image and deploy it. @@ -37,7 +34,7 @@ services: meshcentral: restart: unless-stopped container_name: meshcentral - build: . + image: ghcr.io/ylianst/meshcentral:1.1.22 # ports: # - 4430:4430 #I Used 4430 because caddy v2 doesn't play well with a container using port 443. Can change 4430 to something else in the environment var CONTAINER_PORT below environment: @@ -51,6 +48,7 @@ services: volumes: - ./data:/opt/meshcentral/meshcentral-data #config.json and other important files live here. A must for data persistence - ./user_files:/opt/meshcentral/meshcentral-files #where file uploads for users live + - ./web:/opt/meshcentral/meshcentral-web # location for site customization files networks: default: