- Ajout scripts/ reproduisant chaque étape (secrets, render config, up CLI, init Garage, bootstrap prod, admin, vérif E2E, adoption Coolify, backup) - Templates envsubst (config.yml, garage.toml, cantaloupe.properties) + .example - deploy.conf (config non-secrète : domaine, versions, uuids Coolify) - docs/ : ARCHITECTURE, TROUBLESHOOTING (11 problèmes/fixes), RUNBOOK, SECURITY - Makefile (raccourcis) - .gitignore + retrait du suivi de .env/.secrets.env/config.yml/garage.toml (fichiers conservés sur disque ; secrets restent dans l'historique -> voir SECURITY.md) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
24 lines
656 B
Cheetah
24 lines
656 B
Cheetah
# Template de la config Garage (S3). Rendu par scripts/01-render-config.sh (envsubst).
|
|
# Variables attendues : DOMAIN, GARAGE_RPC, GARAGE_ADMIN_TOKEN.
|
|
# root_domain permet l'adressage "virtual-hosted" <bucket>.s3.<DOMAIN> (imposé par boto3
|
|
# addressing_style=auto côté backend).
|
|
|
|
metadata_dir = "/var/lib/garage/meta"
|
|
data_dir = "/var/lib/garage/data"
|
|
db_engine = "sqlite"
|
|
|
|
replication_factor = 1
|
|
|
|
rpc_bind_addr = "[::]:3901"
|
|
rpc_public_addr = "127.0.0.1:3901"
|
|
rpc_secret = "${GARAGE_RPC}"
|
|
|
|
[s3_api]
|
|
s3_region = "local"
|
|
api_bind_addr = "[::]:3900"
|
|
root_domain = ".s3.${DOMAIN}"
|
|
|
|
[admin]
|
|
api_bind_addr = "[::]:3903"
|
|
admin_token = "${GARAGE_ADMIN_TOKEN}"
|