mirror of
https://github.com/m1ngsama/automa.git
synced 2026-03-25 18:23:49 +00:00
Discovers all deployable modules from services/ automatically. Grouped menu by role (vps / homeserver / any) with descriptions. Env resolution priority: 1. pre-filled .env in local infra checkout (--infra-dir) 2. .env.example from infra (interactive fill) 3. .env.example bundled in automa (interactive fill, no infra needed) Usage: ./setup.sh # fully interactive ./setup.sh --infra-dir /path/to/infra # use pre-filled .env files ./setup.sh --dry-run # preview without deploying Also add .env.example with role/description metadata to each service module so setup.sh can build the menu and prompt for values without requiring an infra checkout.
6 lines
135 B
Text
6 lines
135 B
Text
# role: vps
|
|
# description: Shadowsocks-Rust server (GFW-resistant proxy)
|
|
|
|
SS_PORT=41268
|
|
SS_PASSWORD=
|
|
SS_METHOD=2022-blake3-aes-256-gcm
|