Update manual deployment instructions

This commit is contained in:
3wc 2025-01-04 23:28:53 -05:00
parent c1a479ff27
commit 3631cef540

View File

@ -16,12 +16,14 @@ $ 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`
Need to have a docker context that points to `swarm-0.coopcloud.tech`.
To have permissions to push the image, need to use `docker login` using your Gitea credentials
```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
docker build -t git.coopcloud.tech/toolshed/coopcloud.tech .
docker push git.coopcloud.tech/toolshed/coopcloud.tech
DOCKER_CONTEXT=swarm-0.coopcloud.tech docker stack deploy -c compose.yml coop_cloud_site
```
The site should auto-deploy though [over here](https://build.coopcloud.tech/toolshed/coopcloud.tech).