Replace static s3 variables with opentofu output
This commit is contained in:
parent
f8245550d0
commit
3a24ec2856
3 changed files with 11 additions and 6 deletions
roles/forgejo/vars
|
@ -71,11 +71,11 @@ forgejo_env:
|
|||
FORGEJO__actions__ENABLED: true
|
||||
|
||||
FORGEJO__storage__STORAGE_TYPE: minio
|
||||
FORGEJO__storage__MINIO_ENDPOINT: s3.nl-ams.scw.cloud
|
||||
FORGEJO__storage__MINIO_ENDPOINT: "{{ opentofu.scaleway_service_buckets.forgejo.api_endpoint | urlsplit('hostname') }}"
|
||||
FORGEJO__storage__MINIO_ACCESS_KEY_ID: "{{ opentofu.scaleway_service_keys.forgejo.access_key }}"
|
||||
FORGEJO__storage__MINIO_SECRET_ACCESS_KEY: "{{ opentofu.scaleway_service_keys.forgejo.secret_key }}"
|
||||
FORGEJO__storage__MINIO_BUCKET: forgejo.serguzim.me
|
||||
FORGEJO__storage__MINIO_LOCATION: ns-ams
|
||||
FORGEJO__storage__MINIO_BUCKET: "{{ opentofu.scaleway_service_buckets.forgejo.name }}"
|
||||
FORGEJO__storage__MINIO_LOCATION: "{{ opentofu.scaleway_service_buckets.forgejo.region }}"
|
||||
FORGEJO__storage__MINIO_USE_SSL: true
|
||||
|
||||
FORGEJO__other__SHOW_FOOTER_VERSION: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue