From ff200f56d1f7f990f86e5b400d7f08a9e79aa1f4 Mon Sep 17 00:00:00 2001 From: Roxie Gibson Date: Thu, 12 Aug 2021 15:30:40 +0100 Subject: [PATCH] docs: docker publish docs --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 8944112..704cf33 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,13 @@ You'll need to get the latest extended Hugo release. See [the Github releases](h ```bash $ hugo server ``` + +## Deploy me manually to the prod site + +Need to have a docker context that points to swarm.autonomic.zone. To have permissions to push the image, need to use `docker login` using the creds in the pass store at `logins/dockerhub` + +```bash +docker build -t thecoopcloud/coopcloud.tech:latest . +docker push thecoopcloud/coopcloud.tech:latest +DOCKER_CONTEXT=autonomic-swarm docker stack deploy -c compose.yml coop_cloud_site +```