-
Notifications
You must be signed in to change notification settings - Fork 59
Description
In the current setup (commit b317bd5), We didn't add the DNC source files. but we planned to add them soon. So, since the docker services required for the DNC support are looking for source files in their respective path to initialize containers, we suggest you to disable the DNC support to avoid using system resources unnecessarily for a while until we add the DNC source files.
Steps to disable DNC support:
-
Go to the cloned path and run the below commands
root@testing-in:/fresh/dnc# mv nginx/proxy-apiserver.conf nginx/proxy-apiserver.conf.block root@testing-in:/fresh/dnc# mv nginx/proxy-expo.conf nginx/proxy-expo.conf.block
-
Edit
nginx/setup.shfile as belowComment out the line 62 with Hash (#)
#grep '27020' /etc/nginx/nginx.conf || $(sed -i "s/domain/$CERTBOT_DOMAINS/g" /root/mongo.txt && sed -i $'/http {/{e cat /root/mongo.txt\n}' /etc/nginx/nginx.conf)save the changes
-
Edit the
docker-compose.ymlfile as belowComment out the lines 231 and 232 with Hash (#) as below.
226 links: 227 - grafana 228 - node-red 229 - influxdb 230 - mqtts 231 #- apiserver 232 #- expouncomment (#) the below line under the docker services
apiserver(at line 381),mongodb(at line 401) andexpo(at line 414).profiles: ['dnc']save the changes
-
Then, run the below commands
docker-compose down docker-compose up -d --build