- Updated .gitignore to include gpu-rent.vars. - Modified env.example to introduce the UPDATE_GIT variable for controlling git updates during execution. - Implemented Import-GpuRentVars function in gpu-rent.ps1 to load environment variables from gpu-rent.vars. - Enhanced gpu-rent.sh to support loading variables from gpu-rent.vars and added logic for handling default and extra arguments. - Updated CLI documentation to reflect the new gpu-rent.vars file and its usage in configuration. - Improved bootstrap and provisioning logic to conditionally perform git updates based on the new configuration.
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
# Copy to .env in this repo (never commit the copy)
|
|
# How to fill: docs/setup.md
|
|
# X-Token from the panel does NOT work here.
|
|
|
|
OS_AUTH_URL=https://cloud.api.selcloud.ru/identity/v3
|
|
OS_USER_DOMAIN_NAME=
|
|
OS_USERNAME=
|
|
OS_PASSWORD=
|
|
OS_PROJECT_ID=
|
|
OS_REGION_NAME=ru-7
|
|
GPU_RENT_AZ=ru-7a
|
|
|
|
SSH_PRIVATE_KEY_PATH=
|
|
SSH_USER=ubuntu
|
|
# Spike / WARP: open SSH. Tighten to your /32 later.
|
|
GPU_RENT_SSH_CIDR=0.0.0.0/0
|
|
|
|
BOOT_VOLUME_ID=
|
|
DATA_VOLUME_ID=
|
|
DATA_VOLUME_SIZE_GB=100
|
|
BOOT_SNAPSHOT_NAME=gpu-rent-boot-ok
|
|
|
|
CIVITAI_API_TOKEN=
|
|
CIVITAI_API_HOST=civitai.red
|
|
MODELS_MANIFEST=
|
|
LOCAL_MODELS_DIR=
|
|
LOCAL_WILDCARDS_DIR=
|
|
LOCAL_WORKFLOWS_DIR=
|
|
LOCAL_OUTPUT_DIR=
|
|
EXTENSIONS_MANIFEST=
|
|
GIT_TOKEN=
|
|
|
|
AUTOCOMPLETE_ENABLED=true
|
|
AUTOCOMPLETE_GITHUB_REPO=DominikDoom/a1111-sd-webui-tagcomplete
|
|
AUTOCOMPLETE_GITHUB_PATH=tags/danbooru.csv
|
|
AUTOCOMPLETE_GITHUB_REF=main
|
|
AUTOCOMPLETE_FILENAME=danbooru.csv
|
|
|
|
SWARMUI_LOCAL_PORT=17801
|
|
# git pull SwarmUI + extensions on each up (default true). CLI: --no-update
|
|
UPDATE_GIT=true
|
|
|
|
DEFAULT_FLAVOR_ID=
|
|
FLAVOR_PREFERENCE=4090-24,4090-48,a5000,a100-40
|
|
FLAVOR_FALLBACK=true
|
|
# Pools to probe before pick (ru-6 = Selectel multi-zone). Comma-separated.
|
|
SCAN_POOLS=ru-6,ru-7
|
|
DEFAULT_SPOT=true
|
|
KEEP_FLOATING_IP=false
|
|
IDLE_MINUTES=30
|
|
IDLE_GRACE_MINUTES=45
|
|
PULL_OUTPUT=false
|
|
NOTIFY_READY=true
|