From a071a8d71a0247e21228d3cec1157b646ebba470 Mon Sep 17 00:00:00 2001 From: ajax Date: Sat, 11 Sep 2021 17:29:42 +0100 Subject: [PATCH] Docs --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 4a4be7a..ecd580f 100644 --- a/README.md +++ b/README.md @@ -222,3 +222,16 @@ This should also mean that the sign-up prompts should persist over reboots. Other developers for Discord Components recommended the use of dynamic call-backs, however these do not persist after reboots so are not suitable for this purpose. Discord will need to make substantial API updates in the future for rolling out the Threads feature. The bot will need updating again then. + + +## Remote Deployment to docker server + +Configure local env to know about the server +- ` docker context create remote --docker "host=tcp://:2376,ca=/ca.pem,cert=/cert.pem,key=/key.pem"` +- create a folder on the server to use for the config +- create/amend a docker compose for that env (eg docker-compose-nas) +- put the config in that folder +- deploy using that config `docker compose -f docker-compose-nas.yml up -d` +- hope +- if its a QNAP nas, manually copy the docker compose file to `/share/CACHEDEV1_DATA/VMs/container-station-data/application/geas-bot` because its stupid +- \ No newline at end of file