feat(test-octal): landing page Octal Technology — deployment Docker Swarm funcional
- Dominio: https://test.octal.tec.br (HTTP 200 + HTTPS ativo) - Stack: proxy (Nginx + Caddy Docker Proxy auto-discovery) - Rede: public (overlay) - Modelo: extraido do stack git (gitea) — labels Caddy + restart on-failure
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# test-octal — Landing Page Octal Technology
|
||||
|
||||
Domínio: https://test.octal.tec.br
|
||||
|
||||
## Stack
|
||||
- Nginx Alpine com imagem custom (test-octal:latest)
|
||||
- Proxy reverso: Caddy Docker Proxy
|
||||
- Rede: public (overlay Swarm)
|
||||
|
||||
## Deploy
|
||||
```bash
|
||||
docker stack deploy -c /opt/proxy-stack-v4.yml proxy
|
||||
```
|
||||
|
||||
## Aprendizado
|
||||
- **Caddy Docker Proxy** usa auto-discovery por labels — adicionar label `caddy=<domain>` faz o proxy configurar sozinho
|
||||
- **Certificado Let's Encrypt** obtido automaticamente pelo Caddy
|
||||
- **Bind mounts** nao funcionam no Docker Swarm para paths arbitrarios — usar imagem custom ou configs
|
||||
- **Modelo seguido**: stack git (gitea) — referencia funcional confirmada
|
||||
Reference in New Issue
Block a user