docs: docker publish docs

This commit is contained in:
Roxie Gibson 2021-08-12 15:30:40 +01:00
parent d7417b3517
commit ff200f56d1
Signed by untrusted user: roxxers
GPG Key ID: 5D0140EDEE123F4D
1 changed files with 10 additions and 0 deletions

View File

@ -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
```