fix more occurrences of meshcentral-backup typos and minor markdown lint fixes

Sherif Metwally committed Dec 10, 2022 at 09:24 UTC 37e602e6891d9ee3e92d7311e5b29f6ba48d6765
2 files changed +14 -10
docker/Dockerfile
+4 -4
@@ -10,11 +10,11 @@ ARG DISABLE_TRANSLATE=""
10
11 RUN if ! [ -z "$DISABLE_MINIFY" ] && [ "$DISABLE_MINIFY" != "yes" ] && [ "$DISABLE_MINIFY" != "YES" ] \
12 && [ "$DISABLE_MINIFY" != "true" ] && [ "$DISABLE_MINIFY" != "TRUE" ]; then \
13 - echo -e "\e[0;31;49mInvalid value for build argument DISABLE_MINIFY, possible values: yes/true\e[;0m"; exit 1; \
13 + echo -e "\e[0;31;49mInvalid value for build argument DISABLE_MINIFY, possible values: yes/true\e[;0m"; exit 1; \
14 fi
15 RUN if ! [ -z "$DISABLE_TRANSLATE" ] && [ "$DISABLE_TRANSLATE" != "yes" ] && [ "$DISABLE_TRANSLATE" != "YES" ] \
16 && [ "$DISABLE_TRANSLATE" != "true" ] && [ "$DISABLE_TRANSLATE" != "TRUE" ]; then \
17 - echo -e "\e[0;31;49mInvalid value for build argument DISABLE_TRANSLATE, possible values: yes/true\e[;0m"; exit 1; \
17 + echo -e "\e[0;31;49mInvalid value for build argument DISABLE_TRANSLATE, possible values: yes/true\e[;0m"; exit 1; \
18 fi
19
20 # install translate/minify modules if need too
@@ -71,7 +71,7 @@ ENV REVERSE_PROXY_TLS_PORT=""
71
72 RUN if ! [ -z "$INCLUDE_MONGODBTOOLS" ] && [ "$INCLUDE_MONGODBTOOLS" != "yes" ] && [ "$INCLUDE_MONGODBTOOLS" != "YES" ] \
73 && [ "$INCLUDE_MONGODBTOOLS" != "true" ] && [ "$INCLUDE_MONGODBTOOLS" != "TRUE" ]; then \
74 - echo -e "\e[0;31;49mInvalid value for build argument INCLUDE_MONGODBTOOLS, possible values: yes/true\e[;0m"; exit 1; \
74 + echo -e "\e[0;31;49mInvalid value for build argument INCLUDE_MONGODBTOOLS, possible values: yes/true\e[;0m"; exit 1; \
75 fi
76
77 RUN if ! [ -z "$INCLUDE_MONGODBTOOLS" ]; then apk add --no-cache mongodb-tools; fi
@@ -93,6 +93,6 @@ EXPOSE 80 443 4433
93 VOLUME /opt/meshcentral/meshcentral-data
94 VOLUME /opt/meshcentral/meshcentral-files
95 VOLUME /opt/meshcentral/meshcentral-web
96 -VOLUME /opt/meshcentral/meshcentral-backup
96 +VOLUME /opt/meshcentral/meshcentral-backups
97
98 CMD ["bash", "/opt/meshcentral/startup.sh"]
docker/readme.md
+10 -6
@@ -10,8 +10,10 @@
10 | - docker-compose.yml
11 ```
12
13 -# Templates:
14 -## .env:
13 +# Templates
14 +
15 +## .env
16 +
17 ```ini
18 NODE_ENV=production
19
@@ -42,7 +44,8 @@ LOCALSESSIONRECORDING=false
44 MINIFY=true
45 ```
46
45 -## docker-compose.yml:
47 +## docker-compose.yml
48 +
49 ```yaml
50 version: '3'
51
@@ -63,12 +66,13 @@ services:
66 # where file uploads for users live
67 - ./meshcentral/user_files:/opt/meshcentral/meshcentral-files
68 # location for the meshcentral-backups - this should be mounted to an external storage
66 - - ./meshcentral/backup:/opt/meshcentral/meshcentral-backup
69 + - ./meshcentral/backup:/opt/meshcentral/meshcentral-backups
70 # location for site customization files
71 - ./meshcentral/web:/opt/meshcentral/meshcentral-web
72 ```
73
71 -## docker-compose.yml mongodb:
74 +## docker-compose.yml mongodb
75 +
76 ```yaml
77 version: '3'
78
@@ -107,7 +111,7 @@ services:
111 # where file uploads for users live
112 - ./meshcentral/user_files:/opt/meshcentral/meshcentral-files
113 # location for the meshcentral-backups - this should be mounted to an external storage
110 - - ./meshcentral/backup:/opt/meshcentral/meshcentral-backup
114 + - ./meshcentral/backup:/opt/meshcentral/meshcentral-backups
115 # location for site customization files
116 - ./meshcentral/web:/opt/meshcentral/meshcentral-web
117 networks: