26 lines
990 B
Markdown
26 lines
990 B
Markdown
# pogoo-web — repo `git.pogoo.app/kpetit/pogoo-web`
|
|
|
|
Self-contained deploy repo for **pogoo.app** (main house site). Portainer-git friendly.
|
|
|
|
```
|
|
pogoo-web/
|
|
├── docker-compose.yml # context: ./site
|
|
└── site/ # index.html, Dockerfile, nginx.conf, favicons
|
|
```
|
|
|
|
## Deploy (Portainer-git, auto)
|
|
1. Push this repo to Forgejo: `git.pogoo.app/kpetit/pogoo-web`.
|
|
2. Portainer → Stacks → Add → **Git repository**
|
|
- URL: `https://git.pogoo.app/kpetit/pogoo-web.git`
|
|
- Compose path: `docker-compose.yml`
|
|
- Auth: Forgejo deploy token (read)
|
|
- **Automatic updates + webhook: ON**
|
|
3. Forgejo repo → Settings → Webhooks → paste the Portainer webhook URL.
|
|
4. `git push` → webhook → Portainer rebuilds + redeploys. TLS via Traefik (edge).
|
|
|
|
## Prereqs
|
|
- Edge stack up (Traefik + Portainer), `edge` network exists.
|
|
- DNS: `pogoo.app` + `www.pogoo.app` → server IP.
|
|
|
|
## Update the site
|
|
Edit `site/index.html` (or assets) → commit → push. Done.
|