docs: update for inline KESTRA_CONFIGURATION

This commit is contained in:
2026-01-11 15:12:59 +00:00
parent fffd603fdb
commit c1fa627bd2

View File

@@ -17,12 +17,11 @@ ALTER DATABASE kestra OWNER TO kestra;
### Host Configuration
Download configuration files to `/opt/kestra` (first time only):
Download Tailscale serve configuration to `/opt/kestra` (first time only):
```bash
sudo mkdir -p /opt/kestra/{tailscale,config}
sudo mkdir -p /opt/kestra/tailscale
sudo curl -o /opt/kestra/tailscale/serve-config.json https://gitea.arnodo.fr/Damien/kestra-deployment/raw/branch/main/serve-config.json
sudo curl -o /opt/kestra/config/application.yaml https://gitea.arnodo.fr/Damien/kestra-deployment/raw/branch/main/application.yaml
```
## Deployment
@@ -33,7 +32,7 @@ sudo curl -o /opt/kestra/config/application.yaml https://gitea.arnodo.fr/Damien/
4. Override sensitive values (`CHANGE_ME`) in the environment variables section:
- `TS_AUTHKEY` - Tailscale auth key (reusable recommended)
- `DB_PASSWORD` - PostgreSQL password
- `KESTRA_ADMIN_PASSWORD` - Kestra admin password
- `KESTRA_ADMIN_PASSWORD` - Kestra admin password (min 8 chars, uppercase + number)
5. Deploy
## Features
@@ -42,6 +41,7 @@ sudo curl -o /opt/kestra/config/application.yaml https://gitea.arnodo.fr/Damien/
- **Route Acceptance**: `--accept-routes` enabled to reach other services on the tailnet
- **PostgreSQL Backend**: External PostgreSQL for persistent storage and queue
- **Docker-in-Docker**: Socket mounted for running containerized tasks
- **Inline Configuration**: Uses `KESTRA_CONFIGURATION` environment variable (official pattern)
## Access
@@ -51,10 +51,8 @@ Once deployed: https://kestra.taila5ad8.ts.net
```
/opt/kestra/
── tailscale/
└── serve-config.json # Tailscale HTTPS configuration
└── config/
└── application.yaml # Kestra configuration
── tailscale/
└── serve-config.json # Tailscale HTTPS configuration
```
## Environment Variables
@@ -68,4 +66,4 @@ Once deployed: https://kestra.taila5ad8.ts.net
| `DB_USER` | Database user | Yes |
| `DB_PASSWORD` | Database password | Yes |
| `KESTRA_ADMIN_USER` | Admin username | No (default: admin) |
| `KESTRA_ADMIN_PASSWORD` | Admin password | Yes |
| `KESTRA_ADMIN_PASSWORD` | Admin password (min 8 chars, uppercase + number) | Yes |