Add backblaze storage for gitea
Skip LFS, as repo data is easier to store on-disk
This commit is contained in:
parent
ca9927e1f9
commit
25863241da
3 changed files with 45 additions and 26 deletions
|
@ -101,6 +101,7 @@ REPO_INDEXER_ENABLED = true
|
|||
ISSUE_INDEXER_TYPE = db
|
||||
|
||||
[lfs]
|
||||
STORAGE_TYPE = local
|
||||
PATH = /mnt/lfs
|
||||
|
||||
[federation]
|
||||
|
@ -122,3 +123,13 @@ USER = "{{ mailer_user }}"
|
|||
PASSWD = "{{ mailer_password }}"
|
||||
MAILER_TYPE = smtp
|
||||
IS_TLS_ENABLED = true
|
||||
|
||||
[storage]
|
||||
STORAGE_TYPE = minio
|
||||
MINIO_ENDPOINT = s3.eu-central-003.backblazeb2.com
|
||||
MINIO_ACCESS_KEY_ID = {{ backblaze_access_key_id }}
|
||||
MINIO_SECRET_ACCESS_KEY = {{ backblaze_secret_access_key }}
|
||||
MINIO_BUCKET = 0rng-gitea
|
||||
MINIO_LOCATION = eu-central-003
|
||||
SERVE_DIRECT = true
|
||||
MINIO_USE_SSL = true
|
||||
|
|
|
@ -4,3 +4,5 @@ internal_token: "{{ vault_internal_token }}"
|
|||
mailer_from_address: "{{ vault_mailer_from_address }}"
|
||||
mailer_user: "{{ vault_mailer_user }}"
|
||||
mailer_password: "{{ vault_mailer_password }}"
|
||||
backblaze_access_key_id: "{{ vault_backblaze_access_key_id }}"
|
||||
backblaze_secret_access_key: "{{ vault_backblaze_secret_access_key }}"
|
||||
|
|
58
ansible/roles/gitea/vars/vault.yml
generated
58
ansible/roles/gitea/vars/vault.yml
generated
|
@ -1,27 +1,33 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
34353139336537633232643234623164336335333637663961323539383338303732353737326265
|
||||
3066383232626363656333323934323431323564303461660a346634633538366534306263396361
|
||||
66613166333566356263353163363732373466333066616462663535623136383834633662343238
|
||||
6237643138326431650a646636306531366665656561346335626632303839316561636561333966
|
||||
30346463663830373732646539376265613633326636343733356436336531363866353238303235
|
||||
32306361316537323131646632346630373632633439396130333164363964386333373734323261
|
||||
65336362633130383461366161373365393035333036353736336638396563653435616564636165
|
||||
34666561656438623434613165323739623964333832646666376464656333653565343165373762
|
||||
62636131396536626535356630316137356664653839386361353162343238643034616136366661
|
||||
34326234656162643461393436393065373538666565623862323038636665306633333037346665
|
||||
39366532373165383136333063343233636232346231316461353435626639626130653262363662
|
||||
66383136343937373131663962326237376535316161633330623664393963313862643931633062
|
||||
66363064613531633636323938656361623430333933356137656333363037646566343666306566
|
||||
37333963333339313966393363306461306161383461656534336230616338646538386334313465
|
||||
33616634353336396463333961383762373266303838376430343636356665646233623035623634
|
||||
39366639373464623139663739323833623432663235323636623936666631303033363366623064
|
||||
34613734353465396562376332383262343466643530323831666436346635323864306439333033
|
||||
62663765373734333761646637366334316233383432613666663062636530656436376437666339
|
||||
61666132316233313338336335653564613261633464636335353462363132663631323133313365
|
||||
61303334353763643965363438343461353636653330336238386232313737623831636263333563
|
||||
38356335633831353965306364663039373065326164623862666331363966653834366361663233
|
||||
36363130383332353463636336366432343134353163346131623734646135393162376437383963
|
||||
66623530353336613535313738643662363032626337643930306136663832316536326361316134
|
||||
37663831386435623837333832393033653261346564636635613366656138316638656362643434
|
||||
33373833316436316137646538623535643032316432353863363137623235353339323935383030
|
||||
6331373636356234323238386133343538653865336161313863
|
||||
39303561653636353363393232646438393330633234376336303361353663666164353964323165
|
||||
3964393161633838393139373062323661303238393264650a643636636433653438363231393031
|
||||
61313837353831666463323436393130623831386534393138366461366435393534363134373665
|
||||
3562646466633131310a343065656330356337663532653636653263346634376662303039643561
|
||||
35616364326632336332393732643034343439343864373839313762666137343966326134303631
|
||||
36323335383839303032646339366239333930303637333239383034383961626138626537376162
|
||||
66303532313736356431336338663132663164396366323264656131643332643730663566616239
|
||||
33333938363366386563383836323138353435643631633933356465616131303864393364616166
|
||||
38313835343962383339623966623165303036386238613634336637303635346463303963363730
|
||||
63633536376163323933653536306665616331343233633064306666613931383030366430666432
|
||||
61633330346564633033323862633736366264646630393638613937623833643662386531663934
|
||||
66363862636333343533383465376630356563626635636339616264383435363864656532333832
|
||||
38366163333332626431663736333934316639336531623131643834373730323435633338646130
|
||||
62316433303566386163326466303563623830663036313833653936303035353830363034396636
|
||||
38376366623365616431343439636536376136356165366465393637333764626438373862646164
|
||||
38303439323839613166393235356166656530393364383437663265333131323736623132623965
|
||||
37366631363932356632386239353934326137333766656433356533326238333333303664626532
|
||||
33306663356536363134353934316465373637396263393666303239373131303862653764343735
|
||||
64613134383238653132613739373039366531633563363938376630646430353733333435636438
|
||||
37306536643965393964333632333862353132653261336531396138623731393032383861633339
|
||||
64663630393431353764303632343637386532393238363533366336636439663361343063663630
|
||||
64336236326538353632616338643862363735663736333933303766323462313538316635653333
|
||||
30356166643935356563306638393131343233616661633632363463616230393231366638313632
|
||||
30616135363037663136376234666331356365323939336430626436643735623530343662313862
|
||||
61316333303263323832633466313233353635623030343338656666663164646362666364383830
|
||||
65383136663730616565653636313364636361306335633535643239663166663164356561323337
|
||||
66303339326235623431613264646330383637326663346534306261386464393136313839653866
|
||||
34323230376266363863323835326463666431623063376639366563346364646466643663643831
|
||||
32303935626437376235373837323438376262333531666637336530353062376634366666633433
|
||||
37623761653964653735653933343439666538303766643362383936646666613765653239343265
|
||||
31653533306531303530396130623934373037316164306532373633346363326561613764616531
|
||||
34643862393335383365
|
||||
|
|
Loading…
Reference in a new issue