docs: update for inline KESTRA_CONFIGURATION
This commit is contained in:
16
README.md
16
README.md
@@ -17,12 +17,11 @@ ALTER DATABASE kestra OWNER TO kestra;
|
|||||||
|
|
||||||
### Host Configuration
|
### Host Configuration
|
||||||
|
|
||||||
Download configuration files to `/opt/kestra` (first time only):
|
Download Tailscale serve configuration to `/opt/kestra` (first time only):
|
||||||
|
|
||||||
```bash
|
```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/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
|
## 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:
|
4. Override sensitive values (`CHANGE_ME`) in the environment variables section:
|
||||||
- `TS_AUTHKEY` - Tailscale auth key (reusable recommended)
|
- `TS_AUTHKEY` - Tailscale auth key (reusable recommended)
|
||||||
- `DB_PASSWORD` - PostgreSQL password
|
- `DB_PASSWORD` - PostgreSQL password
|
||||||
- `KESTRA_ADMIN_PASSWORD` - Kestra admin password
|
- `KESTRA_ADMIN_PASSWORD` - Kestra admin password (min 8 chars, uppercase + number)
|
||||||
5. Deploy
|
5. Deploy
|
||||||
|
|
||||||
## Features
|
## 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
|
- **Route Acceptance**: `--accept-routes` enabled to reach other services on the tailnet
|
||||||
- **PostgreSQL Backend**: External PostgreSQL for persistent storage and queue
|
- **PostgreSQL Backend**: External PostgreSQL for persistent storage and queue
|
||||||
- **Docker-in-Docker**: Socket mounted for running containerized tasks
|
- **Docker-in-Docker**: Socket mounted for running containerized tasks
|
||||||
|
- **Inline Configuration**: Uses `KESTRA_CONFIGURATION` environment variable (official pattern)
|
||||||
|
|
||||||
## Access
|
## Access
|
||||||
|
|
||||||
@@ -51,10 +51,8 @@ Once deployed: https://kestra.taila5ad8.ts.net
|
|||||||
|
|
||||||
```
|
```
|
||||||
/opt/kestra/
|
/opt/kestra/
|
||||||
├── tailscale/
|
└── tailscale/
|
||||||
│ └── serve-config.json # Tailscale HTTPS configuration
|
└── serve-config.json # Tailscale HTTPS configuration
|
||||||
└── config/
|
|
||||||
└── application.yaml # Kestra configuration
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Environment Variables
|
## Environment Variables
|
||||||
@@ -68,4 +66,4 @@ Once deployed: https://kestra.taila5ad8.ts.net
|
|||||||
| `DB_USER` | Database user | Yes |
|
| `DB_USER` | Database user | Yes |
|
||||||
| `DB_PASSWORD` | Database password | Yes |
|
| `DB_PASSWORD` | Database password | Yes |
|
||||||
| `KESTRA_ADMIN_USER` | Admin username | No (default: admin) |
|
| `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 |
|
||||||
|
|||||||
Reference in New Issue
Block a user