netgescon-day0/docs/000-FILAMENT/10-ONLINE-SETUP.md

31 lines
545 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Messa online demo.netgescon.it
## Step 1 — Provisioning server
```
bash scripts/provision-demo-server.sh
```
## Step 2 — Configurazione ambiente
```
cp .env.online.example .env
```
Compila:
- `DOMAIN`
- `LETSENCRYPT_EMAIL`
- `APP_URL`
- credenziali DB
## Step 3 — Avvio stack online (HTTPS automatico)
```
docker compose -f docker/docker-compose.online.yml up -d
```
## Aggiornamento online
```
bash scripts/update-docker.sh
```
## Note
- DNS deve puntare al server (`A` record).
- TLS viene gestito da Traefik con Lets Encrypt.