pogoo-atlas/README.md

26 lines
1.1 KiB
Markdown

# pogoo-atlas — repo `git.pogoo.app/kpetit/pogoo-atlas`
Self-contained deploy repo for **atlas.pogoo.app** (Pogoo · Atlas). Fully isolated: own frontend + API + Postgres. Portainer-git friendly.
```
pogoo-atlas/
├── docker-compose.yml # web (./site) + api + db, all isolated
└── site/ # index.html, Dockerfile, nginx.conf, favicons (stone-blue accent)
```
## Deploy (Portainer-git, auto)
1. Push to Forgejo: `git.pogoo.app/kpetit/pogoo-atlas`.
2. Portainer → Stacks → Add → **Git repository**
- URL: `https://git.pogoo.app/kpetit/pogoo-atlas.git`
- Compose path: `docker-compose.yml`
- Env var: `DB_PASSWORD` (set in the stack, not committed)
- **Automatic updates + webhook: ON**
3. Forgejo repo → Settings → Webhooks → paste the Portainer webhook URL.
## Prereqs
- Edge stack up, `edge` network exists.
- DNS: `atlas.pogoo.app` → server IP.
## Notes
- `api` is a `traefik/whoami` placeholder — swap for the real Atlas backend.
- `db` (Postgres) stays on the private `atlas_net`, never on `edge`. Its data is this product's own.