feat: add basic garage s3 storage role
This commit is contained in:
parent
69bc95b992
commit
5377c34709
11 changed files with 344 additions and 0 deletions
46
roles/garage/defaults/main.yml
Normal file
46
roles/garage/defaults/main.yml
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# defaults file for garage
|
||||
|
||||
# Base directory configuration (inherited from base role or defined here)
|
||||
docker_compose_base_dir: /etc/docker/compose
|
||||
docker_volume_base_dir: /srv/data
|
||||
|
||||
# Garage-specific configuration
|
||||
garage_service_name: garage
|
||||
garage_docker_compose_dir: "{{ docker_compose_base_dir }}/{{ garage_service_name }}"
|
||||
garage_docker_volume_dir: "{{ docker_volume_base_dir }}/{{ garage_service_name }}"
|
||||
|
||||
# Garage service configuration
|
||||
garage_image: "dxflrs/garage:v2.1.0"
|
||||
garage_s3_domain: "storage.local.test"
|
||||
garage_web_domain: "web.storage.local.test"
|
||||
garage_webui_domain: "console.storage.local.test"
|
||||
|
||||
# Garage WebUI configuration
|
||||
garage_webui_enabled: true
|
||||
garage_webui_image: "khairul169/garage-webui:latest"
|
||||
garage_webui_port: 3909
|
||||
# WebUI basic auth credentials (plaintext, will be hashed automatically)
|
||||
garage_webui_username: "admin"
|
||||
garage_webui_password: "admin"
|
||||
|
||||
# Garage ports
|
||||
garage_s3_api_port: 3900
|
||||
garage_s3_web_port: 3902
|
||||
garage_admin_port: 3903
|
||||
garage_rpc_port: 3901
|
||||
|
||||
# Garage configuration
|
||||
garage_replication_factor: 1
|
||||
garage_compression_level: 1
|
||||
garage_db_engine: "lmdb"
|
||||
garage_s3_region: "us-east-1"
|
||||
garage_rpc_secret: "changeme_rpc_secret"
|
||||
garage_admin_token: "changeme_admin_token"
|
||||
garage_metrics_token: "changeme_metrics_token"
|
||||
|
||||
# Traefik configuration
|
||||
garage_traefik_network: "proxy"
|
||||
garage_internal_network: "internal"
|
||||
garage_use_ssl: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue