Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a4978133b9 |
@@ -0,0 +1,26 @@
|
||||
name: Deploy All Containers
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Prepare
|
||||
runs-on: runner
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Deploy
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
||||
chmod 644 ~/.ssh/known_hosts
|
||||
eval $(ssh-agent -s)
|
||||
ssh-add <(echo "${{ secrets.SSH_KEY }}")
|
||||
echo "HOST *" > ~/.ssh/config
|
||||
echo "${{ secrets.VAULT_PASS }}" > ~/.vault_pass.txt
|
||||
chmod 600 ansible.cfg
|
||||
/usr/bin/ansible-playbook main.yml --vault-password-file ~/.vault_pass.txt
|
||||
@@ -4,21 +4,11 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "tasks/**"
|
||||
- "roles/**"
|
||||
- "templates/**"
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
task:
|
||||
description: Task to deploy
|
||||
required: false
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Prepare
|
||||
runs-on: ansible
|
||||
runs-on: runner
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
@@ -26,9 +16,6 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Deploy
|
||||
env:
|
||||
TASK: ${{ inputs.task }}
|
||||
shell: sh
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
name: Update Images
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: 0 0 * * *
|
||||
|
||||
jobs:
|
||||
run-update:
|
||||
name: Run update script
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install required dependencies
|
||||
run: |
|
||||
python3 -m pip install requests pyyaml ansible-core --break-system-packages
|
||||
ansible-galaxy collection install community.docker
|
||||
|
||||
# ssh-agent only lives for the shell it was started in, so credentials
|
||||
# must be set up in the same step that runs ansible
|
||||
- name: Run update script
|
||||
env:
|
||||
UPDATES_DISCORD_WEBHOOK: ${{vars.UPDATES_DISCORD_WEBHOOK}}
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
||||
chmod 644 ~/.ssh/known_hosts
|
||||
eval $(ssh-agent -s)
|
||||
ssh-add <(echo "${{ secrets.SSH_KEY }}")
|
||||
echo "${{ secrets.VAULT_PASS }}" > ~/.vault_pass.txt
|
||||
python3 scripts/run_updates.py
|
||||
@@ -1,12 +1,17 @@
|
||||
name: Create New Secrets Template
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "host_vars/**"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
create-pr:
|
||||
name: Extract updated template
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: runner
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -2,10 +2,6 @@ ansible_user:
|
||||
data_dir:
|
||||
docker_network_name:
|
||||
TZ:
|
||||
PUID:
|
||||
PGID:
|
||||
ansible_become_pass:
|
||||
media_path:
|
||||
|
||||
# api
|
||||
API_CONTACT_WEBHOOK:
|
||||
@@ -39,21 +35,16 @@ TRAEFIK_ENABLE_DASH:
|
||||
|
||||
# fivem
|
||||
FIVEM_LICENSE_KEY:
|
||||
PUID:
|
||||
PGID:
|
||||
media_path:
|
||||
|
||||
# mastodon
|
||||
MASTODON_DB_PASS:
|
||||
MASTODON_LOCAL_DOMAIN:
|
||||
MASTODON_SECRET_KEY_BASE:
|
||||
MASTODON_OTP_SECRET:
|
||||
MASTODON_VAPID_PRIVATE_KEY:
|
||||
MASTODON_VAPID_PUBLIC_KEY:
|
||||
MASTODON_ARE_DETERMINISTIC:
|
||||
MASTODON_ARE_KEY_DERIVATION:
|
||||
MASTODON_ARE_PRIMARY:
|
||||
# frigate
|
||||
FRIGATE_RECORDINGS_PATH:
|
||||
|
||||
# wings
|
||||
WINGS_URL:
|
||||
WINGS_CONTAINER_DIR:
|
||||
# plex
|
||||
PLEX_CLAIM_TOKEN:
|
||||
ansible_become_pass:
|
||||
|
||||
# glance
|
||||
GLANCE_PIHOLE_TOKEN:
|
||||
@@ -72,7 +63,6 @@ TINYAUTH_GENERIC_TOKEN_URL:
|
||||
TINYAUTH_GENERIC_USER_URL:
|
||||
TINYAUTH_GENERIC_SCOPES:
|
||||
TINYAUTH_GENERIC_NAME:
|
||||
TINYAUTH_REDIRECT_URL:
|
||||
TINYAUTH_OAUTH_WHITELIST:
|
||||
TINYAUTH_APP_TITLE:
|
||||
TINYAUTH_BACKGROUND_IMAGE:
|
||||
@@ -163,14 +153,3 @@ COUCHDB_PASSWORD:
|
||||
# helium
|
||||
HELIUM_BASE_URL:
|
||||
HELIUM_EXT_HMAC_SECRET:
|
||||
|
||||
# pterodactyl
|
||||
PTERODACTYL_APP_URL:
|
||||
PTERODACTYL_MYSQL_PASSWORD:
|
||||
PTERODACTYL_MYSQL_ROOT_PASSWORD:
|
||||
|
||||
# frigate
|
||||
FRIGATE_RECORDINGS_PATH:
|
||||
|
||||
# plex
|
||||
PLEX_CLAIM_TOKEN:
|
||||
|
||||
@@ -1,297 +0,0 @@
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
63306233366438376265646465333965346136643565633362626262333130303764353632356633
|
||||
3565636462383332303531353734633937366339323862390a323361333665353663386239656232
|
||||
37343566363662656331363335626262646433633638666238316361373934653862393737663165
|
||||
3164333762313930310a316234363165646231366531386266393035323834646363393166646535
|
||||
33336666306439633532346332623435386361323436643462613664333330376530663839623036
|
||||
66396662653033373335343136303334316339336333363865323832613238383235646565316637
|
||||
32633964303433396632323934633963306438336565306261333330323338643430363537326134
|
||||
30393636373233323563633963343639636464343561323364623163653966636432333961363536
|
||||
64666330323865383430386563613539633831653638363334383234653935633764666231666233
|
||||
33396465386666646138323431353039336563656532613531636331356661663931393631663439
|
||||
62303764613865313365313366383831323635336664386462656632376431643761343862633532
|
||||
64343536353932313936363330666661386264666165363032313866373938626539366336626233
|
||||
37386561316231623663613937306539313862366434316337396630636538626535346231616465
|
||||
62653165386663366131323034336331366530353765313966653236646562653238306130613062
|
||||
38613762373437343734366536383736303265333965393365626335326466313931386263383039
|
||||
66313666366562303562616363653632343435353865353862326139363131316636646130633936
|
||||
32303237616437326139666537643636323366323366616334363763306462306462363837306664
|
||||
30303864383236313634653731356236643562336631353066396435323966353362646362636531
|
||||
39386233366231313962336330363061316536313931356135343435303265383135623065636336
|
||||
63346536366263613465363130663262646664653665343566313236393736343337656333666231
|
||||
63616234333239626633383036373962393463323361656664646136306239626533636166343766
|
||||
66303834343533373265613231333230346536333436343966623633323432633031636531336430
|
||||
36623433396165383130623231363337386665336664393165353265643137666534303665366239
|
||||
31623439343331613437336162363939336461393366336338653633623432333765616434373030
|
||||
65386561616335383764333137343632353337303130303734353137633265343131396639633131
|
||||
65383931373330633566643939323561663836356434303834363963366636313537333263633463
|
||||
39653234653334623561373564393432316338323932646164656433633430346665346562636334
|
||||
32396432343932333034326362353263646134346163666539643231303439616662353465636464
|
||||
32333734356261383861363533613861373832363063353561336433373663653838656561363562
|
||||
30386361346161663666336530303034333739366539613861333761653337336164613463353035
|
||||
33623964376563376238353533653234316535343165303365373531656635353031303132363364
|
||||
31373761376362353231653465633034633436613663636532393431613265626237633833646333
|
||||
36653439643237393338633261333865346135396664643165633662623066383463616534373135
|
||||
33393963383365336530323164313466326533376430396565383033636138616234303562633438
|
||||
66623363646334363730393531616165356565626430353064383265323434393464303537623763
|
||||
34633064646262643464666666336164633637616362303739356533343833616234343136386564
|
||||
34636135393664653932646431623933653533363739356664353864303361363835326362353530
|
||||
36363662353237626361396336613332363330616561653266646162396339656530303032623761
|
||||
34366239666137356165333338396631393063316336656362653432633932633266376136373937
|
||||
35346236643564656231393565633161663365393039343539383564663134626234646130353732
|
||||
36373664353132666564633038306366306533346533663563633561643331656334623865313335
|
||||
33653062653239306361393561653062653466343562383538373232366632356437626530376535
|
||||
31346664613733376365636162646237636561373338613432656566313538373630393335386165
|
||||
65643335653363366665333034643731396432646637383862366462666638393537313333393165
|
||||
30303933666263343364356463356165626234376331383732323661653537303233356231383932
|
||||
36663033656263326331363033313662616233363765306535336539373137363236623161656530
|
||||
37333733306436373231333661366332616635623832333563303961363431373164633538316462
|
||||
34343934666366616563343933343836633536313462623736376339616164313539633036643338
|
||||
34343133343039633361663363366434653738306565316639353133616638386536643938306132
|
||||
30663238623138636666383735356535373264353831643262303534656661306337323066393338
|
||||
30326163616432613637323761663131636436323034363734633638663961323037633862346336
|
||||
66356461666232613432623334383939393238313766333339356536323764336563646533373631
|
||||
37313234326566646239393830376536303338326332663966653732663132333231373761326634
|
||||
35633962613065353639313362316361363031396138376662396330373338613034656537663563
|
||||
64633466323433383362306430653938323135333365316366323234373239636562336461373239
|
||||
35383262333361316334313934356465343533646165336330663838313534623636383630376563
|
||||
33356233633362663734393731666433323939346530396236386630646461366436306465643930
|
||||
35663134313131633930383562393862643936353866643465346232373738396632623232343061
|
||||
32366265393565306632313231323339373336383361616231356364663965356239643565373139
|
||||
66386464656165343764626630663133313237393432633662656335383666663439626533653564
|
||||
30313861336130616166663936653139386563613664303435646530646361393338623263303435
|
||||
36373966393630653337333836316432373666336539373637303639346564653163636237323363
|
||||
62666137653065666433376339653466353830336462393463396261616339306563366533323134
|
||||
36363633353839363764633132313036333836663831313965323431326564623238373365653762
|
||||
38623937306535373164323739633234336363613766396166396335373965333662653032313462
|
||||
61643438373265636366616564336161653731393136366537656536306164366134623039643634
|
||||
34303830396263636566313762376131353438613135633464666434323337393465393865656436
|
||||
31356239376137303237346662393038313937643063313861333532373366323633316539333236
|
||||
32616161636232653034363366626233646235333736386163643238666633643165643962306530
|
||||
63356665633033383464376239313863306135386661363635353334646461313632303034313366
|
||||
36633239613832643338653332306166333363626236633432313330393732623132313636366239
|
||||
32363933393939373037396361326432383964623333363933626133346436613739303262663031
|
||||
38336161353439343233383535663237366663343632666633386335373837653161623231636438
|
||||
37313838613935353530363432373636383464356637323865323135363461393739643735663362
|
||||
32616136643334623634313930333465326666303338363861343336313664653232306431623764
|
||||
66653633663838633364623234313931326638313633366233333665633964323164643535333934
|
||||
64383831616334653964616361383439633965306333653334383762356335303633393337616161
|
||||
35623463333333366630353563306637653130316135623439356430356163636663393133333762
|
||||
31633437313735623765653366323130656532306433613735376165373831616263343764643230
|
||||
32613034376333396633393864633038313763333531623639656363613365633939636435643564
|
||||
66633961356138313630653966336638663836313932336136373630656134656632326163396630
|
||||
34396532313936643638666264323436663436323462626164326132343866346632376564633339
|
||||
32646532653133316439303431333030663336643462616361306466616266633935336635663130
|
||||
34663865393035623233653436396133343965353630623735623264383463343562633037336664
|
||||
64626563373430316366616563666634666538303333656234616361663238386335383438623537
|
||||
30623931643262333332653866306537303634356466633531663037353435663239353737396130
|
||||
32616264353364356633343066303464646461626138393861663939633231316431653039323064
|
||||
38616662353439643461643664346137663732333039356463373135633636616239653239633133
|
||||
63386533333864343932656138643037343966316436656365653836323136663138333630613933
|
||||
61336330383035333538353934303934313332353233336334316265393161653732636663303262
|
||||
38353461663766353637393832383935346162333331633163626463326165656430393531373165
|
||||
34356433363334396666353431356333303031386263386430393937623232386663396361666230
|
||||
64663264306637363134363834383232663733303565613166343162646636623063343839623135
|
||||
66616161393839633261613533363237383064333933313961373133323538363466373835656236
|
||||
61613639643437383836373663643536306361653664633065363230393965356666613630316363
|
||||
33616664613765346634386536383335643766633861323761326530663131613136326238653963
|
||||
65636137326161646462323764323533623032313832626337386430376630613066316436316236
|
||||
37666466623730656636656637616161636665636638616534383066666463386135623565633837
|
||||
64626136623035623466623237376662323435613566343530663335356534313962396237353863
|
||||
34323935306563666665303632353862663762653665393263363037383439343135336337363866
|
||||
63313634616334326535396537303464353336643936663166363037633461323234313665363932
|
||||
34633563626137656364306538643635363935623865353431366637626166333162373064373630
|
||||
65643230303331366365646161333338396336343239393636393366326331386639373531663931
|
||||
62306138316662663035346562653734353633373765336665663738346663613464386239323863
|
||||
63666263633030393061353862626330333831306664326332306330333265326436653762396532
|
||||
65613436653234303262323730353339353931346134323233313732383166396566336339336362
|
||||
36343635343439393663303566316539306436666138373465366230353438393662663365393537
|
||||
62636433376338383632636230313162333638336630623039313638396234626561323466616536
|
||||
30353839373564373236343537386663356563633361303238306434313065323766366661653238
|
||||
65316162623866333736396162386261366238353237616235356463363764376164623137626164
|
||||
35623031306162363062363432646432353664623438633761396630633838386565656461396437
|
||||
62373264396534643737323163663933313063316235393861623132636162643432386264343436
|
||||
35613264326638373366313038653833383135646533316235363338666636313733623065356335
|
||||
39363264613332306237313937323439356661363030373738383561306131666537373530303632
|
||||
30333633643234616163383464383166313365363965663038353662373965393866326366373161
|
||||
36323637303237636631643766306136383363363333653933663031376536313065366666643863
|
||||
64333333643634616133666463383938616538653461306535376636306539333131313336373036
|
||||
31373666363130633239633235666532303766373138386532316236356365343139666264383834
|
||||
33663236333034643334343162666163626336373134626463356165633964393164663736623330
|
||||
36343039343165383138303038663264626362373935393031353135333932633863613765313535
|
||||
61366633303537666665313239653430316436306465643763376532613738643166323932323863
|
||||
31376663663437363163353837366332633936376366653930386634326366386462316530363436
|
||||
31643562306134656233626364623963353137323938643831323639643963623934613261326162
|
||||
35316462316362656233626239356533323233643662643238373264386232636234373932393463
|
||||
63313366663737613638613863663737306665633631356165306439346637643835353734306439
|
||||
30346631663638363163656362643039353266316536666464316131383361613064636337393866
|
||||
62353637353137303863663161323736373564633061396138623461323861396535643932383266
|
||||
35396161383464393661633861376361356133616166623266316539656530306165663330383839
|
||||
33613430373035373137356465643564333135346531646161336439663262373032306631353537
|
||||
64346164623164313835353031643164393561616565303131633733643664326537623630656439
|
||||
38306361616166623732363035353961343161323939643233363835333663323930313938386136
|
||||
61616638396535313066323562393737646532626165626664343238376664613230616365333361
|
||||
35663066623138656139316630303236663762313363303433373831616132663266663163666336
|
||||
35373062643663393738646231386336353364313234373632613336386237656465626438336564
|
||||
62393437643238303034343130336566633338393363333632643033366534396238613833393363
|
||||
65316233633930323262353330363839323538343161323231333161663061613363363532353031
|
||||
31643363303030663934303838373634313733663663643136353836623637326330323732333863
|
||||
33666434363061336338353532643131393034373536383161653137643866303564653161313166
|
||||
39663336373933326364633563613630656163386264333161383934376538623363613531633539
|
||||
64306337303565393162366365366332313831643634663935646236333530613633623535363430
|
||||
65356436366334653334323264333361323732653537633832306263643532353139643264303963
|
||||
37393933316463653737643861323235636562646361393661316163386536363734636636633631
|
||||
36623938653662613837316366663666346335633833313739383832306264366563373362636436
|
||||
39636265626539306566393431663833383234613038643662363839656235353864313138303266
|
||||
66353066633535343132303063343164663166343637336439613638356234613632653965373265
|
||||
63376337393333616430333330316461326332656661626364343230396466656139353934326266
|
||||
30333830323732376139653335616261303333626366656634313063376163326333663030623037
|
||||
30373332363661633663353633656234626335333665373633343430353633326630393764316366
|
||||
30363164643963373333613863393431306232623366366331336233383037363631346235623062
|
||||
35613037363130646266613732323830363165653833323435346265623161323065396465666161
|
||||
63663633353139646566376261363533363537653664396131613634323530333938613437363665
|
||||
64623264316334323037383137323636616238343661303761393434333935636364393264646238
|
||||
33316535373732663036363338633237383066366538623439396366356630663964323764623162
|
||||
39306237393836353833316565396430303831323131336535383935393064383266346436326665
|
||||
61303335313136386633306530373032346364333032346132326336343162656536313065323435
|
||||
31646431323130646532376432346239393439363662663938633064306564303261656235366263
|
||||
34346433346539626132656161326530306566343966363038333264336363353038663430386434
|
||||
66373766386638643731386465643061383135646463363863616534343364303739653231666337
|
||||
61396332326136356335346631333066346437343939316232356338313062336231376262633365
|
||||
36666636333931323631626565366539336264663330333061356432393337376663336636616566
|
||||
35373737356365386533373065643066623366656466633739666136396362623331393035323263
|
||||
63303830356363383834393434343934353635306462343032346531366465383038663537333539
|
||||
36633730386331626432646137653039396465306239643163623638663762633137396234643865
|
||||
66373765353337353561383830383239633838643761663532663466396136636238663931633236
|
||||
35353030623762326635323533323038346262333631346238346165373736393033333030383134
|
||||
63663966303562383561306663633131646163303864633561666130343236646433386637353936
|
||||
39336237643836653337346637396462316461656664623634343037373330636139363431643232
|
||||
64336332306531316637363962656539643761613262316231633134653962313331633835626539
|
||||
31666630666430363836653065336331346632373131356132653738653831626339323037666633
|
||||
31336431333839633266303435386334646663633435386232343863326664333361313162333535
|
||||
30643130366535623936653139653536336137306634306161663630363535376433643131356466
|
||||
31353830363537646532303839376365396461643635396631353637313338323838616239666366
|
||||
32373837613536343663653839363264363631303032306161333033643666653262306139316130
|
||||
39363766323738653835326662383666393763613833343935643462313237616162653732353065
|
||||
64646538353330393164623365333235623630393164626463613539306534643565343736313233
|
||||
35643662663831303564306461313230666333626161353539613865393566303162303963643738
|
||||
63643834663662346339393762623832313865376338333436343631306133653863306265363337
|
||||
38353538623263393166666263363230343262376463643764336363366333366432353764663033
|
||||
64366465373633336666616632653135306138326537613065643737393466333162666632663636
|
||||
64306464326536313939623861633066646535336631303063656562636330393531323235643336
|
||||
30336562323432376232333236366530326361656433636261303833616661623732356633376437
|
||||
34353536643231313564363963626638303938323933393739613865353731313533343464393163
|
||||
31366431626265356633323964316238313063626636633365396134343036353333363333386566
|
||||
66376561343565393333396237363663626131623566386534613938663739636666313864376539
|
||||
61396532346263373362323663313839383861633662656338313066313332356163666531363637
|
||||
64356565323435396462663332333834663039366163353164656533376466356364333561656564
|
||||
37333233313564613964343835316137363730396166306537323063306139623239303131376438
|
||||
64613438656432393039366330656537313462353931636231333136343461356530346563623361
|
||||
37343865646439663661313961303737383434666333393633396662343134643332663630386265
|
||||
37343136633061316533396264313131333938376530323232653633613531383430363633663462
|
||||
65396438373761393163316233623865646531323331663865353131323437333636313732343864
|
||||
34366630333839393236346461646338376461383039373435643230383862663136386430306165
|
||||
63356265363930396431663261616432353566333635313465633431346364393835613739613331
|
||||
33356435613265386538353166396530363935333137393961383466303230336637313562326161
|
||||
38343733393130343262623636313539636633613436356165356163326233386438393632316637
|
||||
64313666306533313435306565653931303663653864353363353936623166333137333734646263
|
||||
63663762643265306539383135636434376534343139303137366535393333353934353430396134
|
||||
37666437323935356135393236373034613230373237663938333737396434623530363932316230
|
||||
33336338623663663730333238393365343136393635363235343263343733663764383066363761
|
||||
30666165333739373764353433613934653639386638383763363130623734613964653062343461
|
||||
35626236303461616165346463396636393131376337623163393765336639666161323533373935
|
||||
37663564613131313632353737323835663363666366376164623532666537613033383437393863
|
||||
61363437613561316634616336323565643839386464643233313930656236376336316163363235
|
||||
64333135323432663134373366323835396434376237383363386531633639366465363733396631
|
||||
32313530343738653764643763613763613666623161316131316136656631383166653937393762
|
||||
61363134306536326530343430636230396563343261363465363461633632336235363366643536
|
||||
32333334613165326130633965326439613536633932626262303465353762353365373436343033
|
||||
65653732396437386133333237636637323432343432653762383735613439383363653233376264
|
||||
66636438616434623431303533613832393031633036623864313233623139336463613935623264
|
||||
32636466306133333164393936343933653239343761656332343931383531666466373163333236
|
||||
38626238333961373632363736306137616531666666613731323238386437336539343831363566
|
||||
30363561396336313965306263656665666236393564376463613333643335386337633166663931
|
||||
39343965643761333031323731343637643561343230626337363934333434666561613234646430
|
||||
63383362616637376430366262643864613966633239623737376461616436393062343162393466
|
||||
32326661616338623038623239623731653735386630383831383530303033373439633634643662
|
||||
39316163316363653036393737393737643632336334633031363532616164363334373837303864
|
||||
36613361613564656564633330346163633332353130396666376266333063653938626231383632
|
||||
38623333656531363462663036383132393066346563633933623031626633626263663932656530
|
||||
32626438373064633931343538393434653833373135336239303636363165333532363562393539
|
||||
31303333666431366339346438626434303264613237303635303937656335356337393663623666
|
||||
30303133343764656261646631343462613237316233636530663432373662333262633836626166
|
||||
31646666303861333862343236376163643436623837333362376465626136313665626639336364
|
||||
35333731633236326666343532396564323736333465366135666235323763656137623861396632
|
||||
31353233633963353832646239353532353632373936653064616361303238323062323865646132
|
||||
62626637343065613962633763613530393737663763343939616138646436326330353337336131
|
||||
32666238396365343766613863343163626562306264616230613865316461663762656534373633
|
||||
64376563393339343130626135366639363766373733383731363935326661616533663164396539
|
||||
32333134653366363462313936353634663336326531373436343763393766333461383035316565
|
||||
39633434376231626431663938633635363533336535396265616431356239653831646364633762
|
||||
37633836306162303435323935633837653466666662393133336335313965303631386531666233
|
||||
36333130643361303364356238376431643263356435663835616436626431613630346135313662
|
||||
32333165333233626331306232393866353966363431306664313366623433316361303137653766
|
||||
62363133353039613364396435643338616263306333313339386139326162356439643735396635
|
||||
37613339623830643537366135623534303035313837316332366436613062363865343435396630
|
||||
32353934396435623431336634323830343432646263613665303631393235353366383838663432
|
||||
39393765393032636530663865653332346364313732613136336565306134616430333034366162
|
||||
33303733363463623566323430353461616231313935633734316635613938323238643866363465
|
||||
39373337663236323366666236313365353138346638656666313738303939326531356337626536
|
||||
64343430386337373431613463303335326663323861343566616136663164616536343264363964
|
||||
35633036643937393233353466393230613366633232616665333934616561383464396635346639
|
||||
39316438633136353863376361623966663063343539343938326465373235363331366530326562
|
||||
66393034303264383734353335623538303464366264646438626435313562326631656664653661
|
||||
62373862396232613536333365303935336334396261633736303935653630663635343236306339
|
||||
65663333613339633431663463376433326438393761356563386330656237383630396166393437
|
||||
30616665653463373732646230663136626638633234343362653865656134336335313335393430
|
||||
61383534316361336632646331346236306531353339326664333834323833643535303334343137
|
||||
31323334316634363633333238323163653137653835363939396664613866336438306132343637
|
||||
36356331613838356637356161376536633735373263353031376633393039353534303234653731
|
||||
33383261386563326232326234373138613062313039666338396434616136633130383136613864
|
||||
65323032383733336566623131613231303037643034323337396139373834626465623534623730
|
||||
37303839656461653931646532633563353865656138316639613534306233383030663531663735
|
||||
36616533633435333633376131343538666661313264643562363332666130616138323831393636
|
||||
34326230323166613638643164343436386661383039393032646439373038633766353033346635
|
||||
33383238373830633964353337623839316565393864623564353766303637623230623864363035
|
||||
33323761636437363332366332366436633833383532326136303432616634663931616439336137
|
||||
62663930653836383764386338623764663133373334653538653831396535353564383136633362
|
||||
35636238316631616636646131383434373137616238646435353663313066316364346364653066
|
||||
31333830653535343030323834356638306433653863383631356335346234343131393436633237
|
||||
36616634613165313231303237306661646465663666656436633439626133313866373334643730
|
||||
38336361653666656634626262316437666339343165343832666165653165333631373663643230
|
||||
35326238633038393261626165303639366239626334313262363063303765663666383734346139
|
||||
64383234313133663834336562613838653139373039336235363761373837383437326263666631
|
||||
32653036393236643662643231633463366534646338633235313132326130616563353835386430
|
||||
64343539653538363265303030363562623434653735346233636331663233646364316361336435
|
||||
38653037626132666166623962616165616637343764346164626536623738633436643831663034
|
||||
35633137336435656261356664386561636434663662623761303464663230653234393330623139
|
||||
65386262613761333135336663313463623634643632643065373231383463626538636565326339
|
||||
65303035366335623965306163383836323030633763306138313663326235663837383533336637
|
||||
62316238613131353562373531303534333339306134666636373834643533666566383639393939
|
||||
66663538336336363263653835643632616130336165333266306638343337663031623862343766
|
||||
35373462343630373265303537656539303466636264643865613938313836323837316233656637
|
||||
35643861613936633032363638363535346633316535663939336437663231613630363864666335
|
||||
64333738396137643863313461653561666266356438356137656566613339343065613939636338
|
||||
33333961373138643361313833303731306263356339386435396665653263373564383239656161
|
||||
38366231663831303162373461636231356162366130623862326564393465663666323935323534
|
||||
37653332663133353138383131323365353739346664323965376432356661353731386434623131
|
||||
66616431356666666165333564336339396562346336323736623936333162666234333634343138
|
||||
66373034353563643536663236623964623336343339633330313134366333663531643062656135
|
||||
35383861666366343732613230326432393334326537613331646562643933303161343130653235
|
||||
34656130636135326266363730303833633962653833666661353232653539623037353139366663
|
||||
37346362363731316261636135343866613632376364393837336439373033356632623065366134
|
||||
65316334356330363935366433316466613737393365386132373338666164653165313833353734
|
||||
65613739663439383630343234646532613538396132333266363064306661626436623263613234
|
||||
66646436633637393233623965623661613566306335396666313739393961623535336339303430
|
||||
32306163383638323861333361393465626438646234336330663330313864663565303062613232
|
||||
65313564663538613862663532666637326132393034656331313433343836373534653263303235
|
||||
30333565663032363462613362396335306136346463653435616635386361396462623263363138
|
||||
34383637393136633132633830316635656564386633383830343533393636333736623336613436
|
||||
34663262363931623161343735366234666133633164343338363164656466613336313264346430
|
||||
65646566653961366437613833373961393530626638373838333339326362313765363831366538
|
||||
30323466613232323861346633653130653738613230326533366361653264653231333361386135
|
||||
32633764623365613637366338383132386163313834366236326562643138383831393863353864
|
||||
66373530613035356566303263306362656362313732396164653732326337323139656130346138
|
||||
39663964386534633232633663323130626265663939643564653235356239626637353833313930
|
||||
65386365616561333932386666336632363564323865663538633665356335653663353238323762
|
||||
35323930343662353639
|
||||
+69
-257
@@ -1,258 +1,70 @@
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
35663131326263336333633363363462376465613366326265663030343238626135343430396537
|
||||
3434346364306330636565343166663734373630353361630a646363306665333936363432656363
|
||||
30633330366636613830373436353137623434333064363439666631383638393163346338303863
|
||||
6462353131393334350a646438656231373265313062666265393937613739343735373462643337
|
||||
37373464643536303562363938313761663364336662343833353961353938636136633338303233
|
||||
65376464646636333636636534666561316464343030653236396338613861393535303762666333
|
||||
38623032346136376539633965363265656436336339613731333061366635386535313766633765
|
||||
66666339393965393763616630633030643330313733303334363061346539306361376332616662
|
||||
36643338623835653666666366643531356435356465613263393934353539636264366534346337
|
||||
66313765636265313232393130383562613638653463306462336263653538343033383337366336
|
||||
37656361303862393865353133613361626561663838626466313663333632396133636435663761
|
||||
31303337653363666339326366656237613663333333343530373263366661396564623238313763
|
||||
64616362653836346135663738313861313139323064363537313738343262653439353264356466
|
||||
34393330663133396433616431336463613366633566366330333464383236323530346235383238
|
||||
62353530373333313834636338306234396337346466333935366264613161366333393863393734
|
||||
35306130326532343239636532386163623839326634393763656334393438643336366438393535
|
||||
32373364653037383861363137336265363934646533646336313436303664626435646633373739
|
||||
38626465323534643931613830646362336231353033383739643639353133316438346563306337
|
||||
39363234306339326461326661323035366261613232656237303736653761386666313664646662
|
||||
33343538623962653963313536366234326631623532323361333032643133363061323631393033
|
||||
36323930613337336466636264636433366232393166356262346462376566343136656262626361
|
||||
32623939653066323735373635666638396434613039326265616532356339653839313231313763
|
||||
37346662653866316439323035393062393032336238666263376562353838313461333232653665
|
||||
39393461633230646564323063306633343663313434343437393730383636376661626261386639
|
||||
36326232373235323164336537353737316564313766393639306633663437656463323861623337
|
||||
31373232623735356236663132313438636561303262363734633333333535346339643862303439
|
||||
61343766643736663831613734326136356564663035393764303534656631313731653264666536
|
||||
33356235313534616661353436316534386262346161393463613334626165353561303736326231
|
||||
61613539323935646237313331313362653965646133366162633266626462353666306263653663
|
||||
65313430666336373433623066653463353533396165373335396439376462346538363739313265
|
||||
66313534383531323133396636303561666132373530346266316663313965656463333834643464
|
||||
30623933663738306563363635343263646639333839373531386363313061383836306438333866
|
||||
64653662333066333034653737396334343964393436383437313537623534303733656463353732
|
||||
66393865373363616330663335663131616463363433383739316334363932343264363530306237
|
||||
30333735623834646237396464353261303662363865626633333961326230353732346133333566
|
||||
30343462313734653931656361313838616364623936376464636633636633616430643261646463
|
||||
34373966383638626236323262336166366431373039643361643330616438353265643635333333
|
||||
37396463346633393133663161326263393063373032333663363166393738316531373033333032
|
||||
62323063333731633236626332356136313066306237663332623732366361663764323162333230
|
||||
65346133313432626563316334306631336334306632393733343665376662316335653132663139
|
||||
33393036393732366330643466353437346234646638303435313034646164656136336134393533
|
||||
33313964643236396165666530333534393736336132653564633865373563323632303638323361
|
||||
36646631666438343036373762343362323536613338313735303631613334396138316431653639
|
||||
63656262376439313862666630343034396133613266326634316335663935353030633138303631
|
||||
38306534663465656135316638616663303835303530633735613639643662376433653632613838
|
||||
61323231663135393436303333356236313838383363346238313962373634383230613365623064
|
||||
63616135356139636539333361656135633666376537386265306562326335303831623138633932
|
||||
35306337643032623234306338353832653238346638376635356133656631633036613737343035
|
||||
66323037333761633837316662633864636363636539626534613038353436323033616338393531
|
||||
35356237346233383032626136623330303737663965383464626263373734353635313636363732
|
||||
33303062633930333465383863663066373164616235643661613065386466613064653930373930
|
||||
64333965616561616165643935653136386639333764656130663664363834373161376464646430
|
||||
37393134643766626163336337653036306666643132626633663436636561326164616335396637
|
||||
39356261653232363036666331386565353962313239623366353361336566333035666238366336
|
||||
64316131363139366537343561326531336465333331633565343635386230303137326333343338
|
||||
35663437326564653264376437336538656437376630633262363163396261383933333139343939
|
||||
32333131313632343163303962623938383430373837626433323566633365393539333731636435
|
||||
32646361643366323166333466376333393466386432326230653532613735623130623637366132
|
||||
66396538333934653462336462383239383537396533313039373834396664323232366136613265
|
||||
64323032396535626637313633653234333364653738346266613262636430656330386134623735
|
||||
64626635656439306165356132353736303063316337393566623630623831653962346565313165
|
||||
39393437623666353963613732323330313637363934353164613334343661643532646636653433
|
||||
39393236623064616234333635336637616437303432633836623062316234643565313030613331
|
||||
36633664363465656463303963663861393131353833386333623731643563393533333364636139
|
||||
63646363396131326535663262333938346265353634656165323636666338373634356333313036
|
||||
65616632393132633362356461633737326130386535366535633261646165663838613135393037
|
||||
37636534373831306461313439613566353335306637356133653634653936316139616233623261
|
||||
65346437303638376238323361616435653064623933393035343439313737616233663837643364
|
||||
65666334336361313765343230343865626634333737656364383465653230333762396635383332
|
||||
38343661373835636163343762363165636434393766643263623066356564303664356231303834
|
||||
65633832636233353634623837323230336164336365626331346266636662373330663362316138
|
||||
66383163393932623038646635646436323539336235633538353839336339616532646164633237
|
||||
32366366303435353265643361396432326537623465343763303733393039383433343939373331
|
||||
31313166363039326230653839633430313733366337336132396238383964383135383531353366
|
||||
65313638373863336231323761653665666536356437323331323461613134663530306334313834
|
||||
32306238646261343739666362386432623832346164323935336336646662313863666437313834
|
||||
35326663353139316630663530393866326134643462363335353263353263653134643635373638
|
||||
62666466303730363036663961643630396239366663663135306439383061383365366232363062
|
||||
39616563336462306266626537663264323565346466353761313336303563646232643866353931
|
||||
64396262613433623563383665653636323832383262623834626436343236663362376330363836
|
||||
37366566383835303038373235373436623630663464313735396632363934326332616463303563
|
||||
65613038353432646130626633383330323232393836303565633466373639353031626431653331
|
||||
38383637383161373035653530656633323839316134303262616434613632343336326639663338
|
||||
32343037363732353934373466346638646532373662613832666263396339326365363166626437
|
||||
34363864376338393231386339613235393264326462653236386334616337383765343266386566
|
||||
62343463356437313465626563353565663835306537323139346464353066386461313766333237
|
||||
61383463316662616632313336353664363231376465386164663235396466353337383736343930
|
||||
30653265666665656236346635633066383935656265316663616633346362643230653535326632
|
||||
38656165303630626234666633626162623439396230326362653562383464353734643034326562
|
||||
62393932363432633564333336356439633466393635343836376435643738633366326330616132
|
||||
38373063353130626162373638373238613865373866373161323161346539343063646131376562
|
||||
63396537343139303539323563383031626365343638633136323333383638323461633035333139
|
||||
36653432343461656561323238363032373834303637356463613261336162363862666431663237
|
||||
37313362353938643935383635393665353533313363353830656263343161376365613837356462
|
||||
36323337313461393566633933613434366334316565303062376461623631633734663239613033
|
||||
63386631323632323832323932623262373732626239346432646661383538633239643264323863
|
||||
32313861316630326136643135643137626536383130623434386365373938643234636662313335
|
||||
61303866636431613361303137643139303365626333333862616531363037363633336534646466
|
||||
62383331313532613437646632316134666132333038356230386133323331373562633335363330
|
||||
37383838643233626333306534326539656239613139653236656131383565313434383739636333
|
||||
35626331353838353035316564323864393732356636313235383436343437613862326235653436
|
||||
65373137306430373966396563663834396665633136383630393033323131626261386366373539
|
||||
33343564303037363933303064613837373837306266636232646138356330376461363239383163
|
||||
31643733313366353166663737366436623366623633343461313532643161303634646163366130
|
||||
61386235623535316138383166646663626630393135313066303332313534666130633264616430
|
||||
37653364396565323431636365646434373439323136613038376561393666313236626135363737
|
||||
62393938326131656239356330343539373631646634333764393063393766313366626265613835
|
||||
32303763396563626464393235383431646166326230613030623862373966646138333637646535
|
||||
31613738666232363832616135366232393635383964643334663935323464363365636530383030
|
||||
30663437346535646166306631323765363262343531383435313034616164383765623934393537
|
||||
61633063666135373435623034656335343536386461633364383936643662376161343938313561
|
||||
63633466626238323634363234613364316466336530326437616235613066326664303034303837
|
||||
30373330623263653533646538326534653031613538373364386636623133363834393533393532
|
||||
33633136656139623466613232656630316238393530353533646239373831623739313865353931
|
||||
30626136313132656438663763306466333734303865646536613539313362353833666231623064
|
||||
37636139383832353563313733623164626265323964373762313430653964663834393533306636
|
||||
32323633656165396334313735646366346239613330373538306564646665626636643734653937
|
||||
36653663393265376363623166623863663936386136643431646337386631353639353939356665
|
||||
64396264313533333738666531316433613737303562386537633838333939626135623934633532
|
||||
30303935393839356561653530343935636538323165356239363935386364393637653931623764
|
||||
37383133323739643365343032623538336236653238303165383130643833333831393662306332
|
||||
37376634643234656332333139373332336432366163363339363837326562613861643736623037
|
||||
39356364346239653332373266396238663135323033303664666631313838636637626532363238
|
||||
64623937376364303133653134316236313664626137613339323463363931616235316163323562
|
||||
39636231343830336138663035653365356439653031323337306137303262343337653461353439
|
||||
38646139623163663638656663313765393531383735353632323264653430663432326165383337
|
||||
66333538396137366233396635356564313763633733333436353834666535356437653765383338
|
||||
36336638663435346463303936636133353138633661373538303264653562313535646262323530
|
||||
65306436646233613765363263343035366465313938386261353861313061313036353935616333
|
||||
36666436326164396562303566356136626164653664383335326663653461633633316633333436
|
||||
64656530326361643331376362633163366434643538623731346565353461633835666431653663
|
||||
36376563623264343663656633666637656536303462313533373065343532306564363065653237
|
||||
36343938356331326533396133306636653163623338386332363639373534376137623836386262
|
||||
66313366633135343661346239373063613535373764653661316664356236626162303165633865
|
||||
35356137316336396337393139396637363662323638303535616239356234633135336562663131
|
||||
64303066323961353637343261386636656638313731346133653133303765383836666334383534
|
||||
37643564613564653835393739376536643463623264636561336665326265636661356632663965
|
||||
31333765376532383765326235316661376133346262373466333139623436356162323733366665
|
||||
65343761353666663935653161626163353464346430653761646132663934663365323439343635
|
||||
66643862636131383663313030393838303839363562346631333565643431343639633639663237
|
||||
31323232663037376236373262323536656238616136386137356163343662363966636630646439
|
||||
35396566353837666364643232666338626263316239373237336134663433303366363539383062
|
||||
31396434643134616531316139636437366439623937333761366462343535343234336631333866
|
||||
38313861666561633161383532333935613936653366336638343135363262663731313265303537
|
||||
36363632346537303430653439656263643837393361636532663738333364633834313933373039
|
||||
63646434386337626263396535653365376563353631306364363764646362323333613838386562
|
||||
36666535653864313036393733643332666365393035643764393531373362653561363630333561
|
||||
38393937313532663337613738616534336161396531353935346263323561663839343762316164
|
||||
34656534376434303863316133653363333166623866373066656463333530643163626134303134
|
||||
61323631316433633039313539386433333634393836633432383737376263383534356665346234
|
||||
39656161653762643430613734376165353865313833363139366334616437363637363961663635
|
||||
65376530363466666335633430613034366564376362356131636564623735383533303464313332
|
||||
32663666323565623866393964656339643066643030343337376166616161363932303363363134
|
||||
32333764666539396431373139626539393230306361373034663632623930613631353536626334
|
||||
35633066373132363233386530306266643666383661356363313434323137646639633833313966
|
||||
39633133396538366230363561656235653831363666653666333132623563373135616437303332
|
||||
36393262383339396161396132613564633436336139663838373638633238336462616665643236
|
||||
65396463653362666236356365363038313066303830643833326366623730373739613937643733
|
||||
64323132613561336233343631646462396466386635643532343764326239633064333264666434
|
||||
66343035363965306565383764353532396230363938643131346464303366353166326637653137
|
||||
38393062376261396465323232313163623337616566643831356463383464646638643234623431
|
||||
62343462323330356135393637373838353563303739633335373332333563643736346534333964
|
||||
62306530316536396334303135396237323636623966323063316462373164646566666266356363
|
||||
66383531663762353338316166653232386564353433663762373561653433643730396636303431
|
||||
35383030376432666161633465656462343165333264616533653330323137383239663434356162
|
||||
62383763363037383637353731306237663037623463326131653866346136633162666631393966
|
||||
63343865373063656439623964323135663032616138376231396637613737313264663062316561
|
||||
36636138663165313131393063316664303262303561613532646661613066323262366338343435
|
||||
31373364376436356432356537316663366138623964323538353331346565303838326634373234
|
||||
66396261616138666337636261313363633665666462623139663231353632366563386537613836
|
||||
31396363626437316161356663323634373137313234653538306164383732363562333365653764
|
||||
35616235623261393730626365393766646535383364356235326538613561656332303536656665
|
||||
39336561373735333264656435303231376665373435306661343038383864626266353536303339
|
||||
39333536363636313039323561623531373132613465313966653264303431303636643530316532
|
||||
63353835323738366130353061653131303266383666323865353634393664386638663437646230
|
||||
37633435653964313432623137316236636166653665353963663037353136663132366238663831
|
||||
30623262313961353833376263663863333337616465343862326536623037323333633161613933
|
||||
34353432653836313938336665626533633865376363333030333430313665333331653961356131
|
||||
62313132343930376438366531373063316330313361663933656532303835386531313132366263
|
||||
30383562353338383637633761393137383066653035366630383631613262643663353934323764
|
||||
38326664613532613232373361313562656363326330343237663433646339653338383064653063
|
||||
35326339623635626164633633623361393833333663653461643830663466613733643437336332
|
||||
62353864323766636439356536623466613634623037303861323036353533666366643762663837
|
||||
65306131636235323962613163613166316563333961323830366163303930326534383539303232
|
||||
38393039636263356661333362326138383236656466383038313835623133616337613331623362
|
||||
30636666393232613638653361313864666137653932343136656361306231313931653532396335
|
||||
37333430366436646530393961613935333038333332366636353639303839633935653063383930
|
||||
39373164666132613463353961393761653832333138313839306531303638306462373465376566
|
||||
65633965366535626531333335613562616238303863353064623863623839613230613938656538
|
||||
32383334613237633734396535386630353565343963336131396431346134626430643439346134
|
||||
66613632386333653330313362613963383635636565646135373637633239316361663238373334
|
||||
66663865666534616663316262663936633236343638363633353364383536396162353338653134
|
||||
30323930643332306630353464393863383764316233626337623936393936623265363462633864
|
||||
30323936376634666661393566316461393165646164346632363331663263346536633633626139
|
||||
35346130393165383861303662343735353666623638633563653464396233613537633238663661
|
||||
62386231616465663636373532636463346635626336623762623636376661303738653265376339
|
||||
64646133386233663965643830363833343735326565343330336536336334326166363639393631
|
||||
65366238333831393631343234316666633363656635373139303464623838623032633863323430
|
||||
61396531653466643532666530653039316438646335313862333732366561323034643637333134
|
||||
39373066386432653939386265633833353262656561313365353833626161636130306365326134
|
||||
35613934646663316138396234383432643439366266393039626365303164356534666633633066
|
||||
65643336306236366165663962306131366239326635353561343931613666663361393634356237
|
||||
32373461373665313635303861306135386465633364633034306362306334623736393336656430
|
||||
64613537303664643932633339323162313566666234336161333739653339373066386565356637
|
||||
62383036396161396465653730393136303732353336323036616535633439643831376235346461
|
||||
65613836666666353235303733333431366237383664613661643136336639616566633937656335
|
||||
30353834353239386534373531353466323339356430353038353262366335623461303861626531
|
||||
61323164323832626433633063626465636363633466323838366666356664306665653064613463
|
||||
37393335336161666362616238663564386334643863616130326330666630363732316565653563
|
||||
37356234613434306561303362663464653234323331333862383030346535333266333337363334
|
||||
66373865393330656332396535316431653864313832333536303832396338336463353666363861
|
||||
31396563653466393736633264356337323261383732303536376163323836613739376363616537
|
||||
31643439613632633166373763616363323638653864656433326434323032323531326463663735
|
||||
33313035386232643838353335666633393062643436366132393261623831666132323865646331
|
||||
65643830376364613637643732396362356232303963333635616239333662643937343565316266
|
||||
36316134353839663661616566333533636234643662396636633461613330343835396564626439
|
||||
35343636626537616230323038323735356234623336646436343038356561313238663837343330
|
||||
39306633616536656139643762376534346336326630363264336632353336656333323766663662
|
||||
35653035663663316661666435623035623335363162393736316362323332306130356264646566
|
||||
61626636393962643162303262653833636235303633323232353039336338626433373362393634
|
||||
37653566326236383939626430303737626231636330373735653737366331346534343264626638
|
||||
64626336333839383965626533333039363165346436333964353034393866323837316530626332
|
||||
66373262623664363330633135633865623532623938333165346335393136393632363831666634
|
||||
33356432346562613932666132313064646662353839393930313931666264306635306561343865
|
||||
35313837346266393464343261616638396263383963333733623563383733396330393432356164
|
||||
39633037376135663139663334343664363137333838323035373330376235373130363235326133
|
||||
30353864306338393063383461306666626166393336343834343865643530366230356331316362
|
||||
32316532656263633034656666336539356366666237343231643861666439663536663532623561
|
||||
63643865656135303963356533393565373962633639663862366536616634323166323165323532
|
||||
36663863393466376562306339633764353135666533376330626261343638356338343934313330
|
||||
39353662663037346463636331396633346135316365306163353234393665336363366638333165
|
||||
34303063396263383235383536356531306332653965663866373562343239653636326362613963
|
||||
31323433373161623837323930346339393330396563333161613661316166646439623438626266
|
||||
37636135393631613633333763336335653563663738366636396365636437373631336530613864
|
||||
64383237313465663632323364396432653064643038626332373733366133396436646533663264
|
||||
64353266346664353264646561353932386631333964646135373037346635616339623465366634
|
||||
33333466633239313533326632353731643338636266323566313232643737643039656135653266
|
||||
30633261333763653661353532336632323865366635613733666331653636636162376562353238
|
||||
33616464663137626163376664636237313064383666396130303564663835353330366164396531
|
||||
65346632323965313730353437376230653333376337346336376232363366396335656239313032
|
||||
62383836666438396266613036633364363063636665343932663866303433373138623237343066
|
||||
61333439353034386265303961663036356166356130666536323632386134623532316434343235
|
||||
39623435373339353938323730353334376534343334323633623136613665653264363262326266
|
||||
66383933396632363563326163663734633165343933656634653235633237353739373339393633
|
||||
64666431303663356338323661383962306433623234303534626562363238613864386636366630
|
||||
39373636383136333862386665626661316462616161356535346565393732643036646463383566
|
||||
32363266353130353534393665393930333737393639653736366433646365343433346238613132
|
||||
61396263303866333561386137303337373964633066316637353836626663373938353931353239
|
||||
36363032646366363839323835383865636630616264646162616432373333343965353963353062
|
||||
38353464303634393032663936663566646438343439623339313833623066323564633933323032
|
||||
32363636396261346532323039333639313634313133623538343432613162613737666132393737
|
||||
63386261383832666165376335306339353466356264313931303065303666366361623334373666
|
||||
62623738623733353134316462373164656262623264316261336564343733623635353335393761
|
||||
31323863646536383363313166336138386664383661323836383436316530363166386463623435
|
||||
32643635303436633530653663386263303033373762363935323130376235663462313033623061
|
||||
32396239313864343234323631663732363232626664323630653837326361653232613835393635
|
||||
64393066393661363635396564326239663136616164656466666364616561386131
|
||||
66306532353835666663633632373037633561613261613139306436626532656366336362343465
|
||||
3966653330313132663633663462363361373230623262370a623661366633623762656363616537
|
||||
66323464363164323131663335313264396538313237303432653532393631306635666138316261
|
||||
3738653338316132640a643935646530393362346431653966643061643334316238333632346265
|
||||
66633336316466356566336132626332623661316337613634373036646236363736376561643733
|
||||
66383830386336653236633933623037316632326266363136613031373439383834653134336237
|
||||
66363039316661353837383964363163353433383734656564313139383764346533313564616333
|
||||
36336231363661326638373963393265323365636665653034373536663232353266656365656338
|
||||
66313034646236356364323238326265633933346530393430373364393837376437623138306630
|
||||
35306266643835316136323232393630336330346133313963646539636463323862306236653335
|
||||
30356335366365356439653130376139616336346363656436356333333538373036313266353163
|
||||
39306365303630636135373731366334623165363336383261386334313061356461303664343133
|
||||
63383763633566393662623833346662366235323836353639306266383532333736386161393138
|
||||
36666662306233306439386639666434353639343137653831343666393463323865316464396636
|
||||
33646238363236303531323131613731343262353365306232343634313637613634626162363566
|
||||
64326238383331316365343566623464383732653333326534636365386230343836396234396634
|
||||
63646235356639363036313839643632333066653634323661313263313331393332656131393065
|
||||
65303338323466383161333237643433303961613266623134383936663866363337653535326133
|
||||
62323464636638643163313064373736353263356638666434333135656133336534343932613234
|
||||
32356361346366316262383232653835396435333837633737356335353837336632376337616364
|
||||
35616365633738366466623835653866663461393738396633343235316231636138333663383364
|
||||
63376164646563353335333133333665396132343439363861623734336335356663393735313837
|
||||
34323034336431643362313332633665653837353635303061376235306665336362323630376132
|
||||
36313539326336656134633564343538636264623932626164366138653035343732396464633863
|
||||
32613363383366326332383835316666366430623235636536353337373035386361373236363036
|
||||
31353865333933356561623661353133353864643038626366666431313831353234653430396331
|
||||
35653864633263613963333734636364366336613430623032666666666266613538663665623437
|
||||
30643562333561626636646337626234653936616438623738623364653561396638383564333262
|
||||
39323265346263366530643132303033343835353334373865373561613539613461343962316663
|
||||
32636461316234313832313635636431326134323638646164396537383963326439633063313063
|
||||
37353062616233323932343033376636613039343734336630303139616331626431616330396363
|
||||
65623565653235303630383534343739346234316337343233366530313238623139666538363430
|
||||
61613833663666386161356331656131356462376463373432316331626531393136393838313065
|
||||
34323361323836323561633032663833343537663637346330326337363165306237616335333233
|
||||
35656530303666633438303732623232383965633038616632633164663461393465336233643635
|
||||
30363334646161363234393533663064363364343838396562626232383036623236343664313366
|
||||
35646532383164393365343366633134393061633362303164393034653862653535613761356630
|
||||
65633634393033653363373235323933333766306165326237636530663737393063623664343031
|
||||
63643538366238363066666566333236653362633861346136663036373731626136383530356466
|
||||
33326230303864353838333136373736373963386638663164363139386638396265626365356535
|
||||
35396236306639316631366461373235326665643565326539333739393264373733363163366537
|
||||
31656366343831616339393065323331636136346236386131306533383436356566633830623163
|
||||
37303036663935376132323733353433306361383234343962633165616538626564653239393137
|
||||
65346236656266383130323662636565643033663933346337663836643765656266623563656430
|
||||
31386365646437306362643965653631373862623266303165386666626430663130666130323062
|
||||
36326331313838316339653231666138616332653564323635356366316237313662353531336636
|
||||
31666263313134656136663862303536366631663965343565646637663566656466646435613839
|
||||
39656230616465653465316633373561343237356637643336373535653438656137323264643239
|
||||
66363066666161316362383737333638336565613230306138343735633432356661386631383530
|
||||
64353161396463313532336430613862396537643436396562633665613736663965356335313131
|
||||
63303563383734353331656164313638386135343336346263643430323932366133306261663562
|
||||
32633363373537626633373433396565363032323536336263373835653363323661663834333365
|
||||
65636332383232653933363736363131653032666135373436663834656337653739333338636437
|
||||
62613463626437306133333632663662303732376364663339306637653534396433643665353366
|
||||
30633332383136306230613435346536323434666431653834333639343234613631323031643138
|
||||
38613536336465656232336238653532636664313766633432363364613937323337653464616461
|
||||
32653939386537663635653733336463303538333431303537323633623834623637666132613030
|
||||
31666539353762346335643134333637366533313833383634356266653831663333393661353439
|
||||
64353432393432333865306535643261376536663064323163393266373235623530626138316237
|
||||
63333631396234326534386238623937626661663265383631386662383866636231646531633562
|
||||
64323762616431663664613564366562303630313137353838323064333966323062643233353830
|
||||
37363763666530643535666235383062646163626164353037346365366332366162636563313361
|
||||
37343861373764653633393930316666613335393232663332323035386431326566663038613861
|
||||
37303061653936636234363937623162313731353961343337356663623362306461636438333131
|
||||
32376633663639333534396162383438373863633664383266626537343165396435346337343935
|
||||
62623232646432346362623430363665353036376564323734346536393430336135306335613238
|
||||
35633365333430626134353535623363396330343138616530613333633961303930623633663662
|
||||
65313032353232653233346665616562363138333639323562653035646431313365623036393665
|
||||
3363
|
||||
|
||||
@@ -0,0 +1,209 @@
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
62316431346466333036383039323736336662386634373664343961343732303963323361663530
|
||||
3038393463616438356133633430393535333335663236350a323064386662623762656138373763
|
||||
36343534333364666466656138313034393239626435323163376239333662373538323530646663
|
||||
3961386133613637320a333536636263646133303231386663386237626430626439373435333233
|
||||
66306661326232303032653066353433363839303630376237363538626537303765663065653336
|
||||
33346335363733343938393335626661626431343134353164396533373562396332616262666362
|
||||
62396662653461643331373664653735653563396330303165646233363266333562313532303164
|
||||
63363566353336646664373633376331633465353037656332333562663731373463636133303637
|
||||
32346231386463353864343465336333623136336663633531343830613935666535306131326666
|
||||
30353866646264313536333165373638373034346230373738666531613934313762613131333634
|
||||
36656566376535643833623631383539363163323933343662306365383732303764346665306363
|
||||
39336162653734303062346335656431366636626262666639393162346430343737376233613761
|
||||
38366263663062653332366137346235376261356666663331353430663836626339663064396461
|
||||
65386431646435313038653131633531326631386436333361316233306465333533393163653437
|
||||
38633765666362383236386130313961386266353463396138353439643232333965643062356334
|
||||
37326136396133373061323366383631663165396564623631653362623438336464356633303538
|
||||
64346435613736633839626561363161383435663333383133343030653835323131373937613435
|
||||
31396661613534636138616336333538663835623531313835616266653662353262616162646431
|
||||
34393366633433643536666230356635376332393632333531633139396432613463653030623564
|
||||
64356232653337613535326661633539333663316566616133663338656139656639393538306332
|
||||
65333036663563333733383439393332386137313437623834633231646433653233623037346535
|
||||
62386262373032646230303764323138623332353236653461393838316663633033353339623132
|
||||
39356438653366633464666638656630333438323936333035383764396334326637656238383932
|
||||
36313165353534336666626664373033616132643536366335333466346631323262616239343564
|
||||
38376135616264313461323739616663326631636431633937366534646366383430623062316537
|
||||
37313536663139656235663335636665633634626237303365326665383965636265353262643362
|
||||
65323963326430353362346235346434306133376334613831396635373936666565633232316465
|
||||
61316135336633356534356363636130353837653435343032663361363335623164373835613364
|
||||
64643365616165393436376263323439613637326434666639613164383066306365396463633633
|
||||
32633332346335623831383734653838323436346463633435333530363036393838346231663932
|
||||
38356663653066323966626137623334623739666463366166646636306638393638356332336630
|
||||
39626534666235613237343634313933653931343831316137656439653266393663343930303462
|
||||
34666266653162323231376564393662326430353965383364326337363333666562326262326233
|
||||
36383733646362303330303934326533653365643538623039366265663931613031373862366634
|
||||
31343835626430663962386532326666346261653236613132373535303937386535303432663766
|
||||
37313932366562643933303434623234393765363464666362323635646462326438303333393132
|
||||
32393735303039623135613033636532613763396362366565316536323933366631663765333033
|
||||
34356536646339346130383338316162646530326239373235663632643034616331356533363234
|
||||
32373365343435343561623265343237376265663039653634663538313062626633373238356262
|
||||
64356431353936663536363362626165383662343835626238353036393235343034643465653663
|
||||
30393861363965636436663732616165393231636235316533663264383265323763656536626166
|
||||
32363562656266656331353262356435353030323330663032653930363437313934633265333861
|
||||
33616531326633383237323231353866366531636437356230636330393533333331313566383138
|
||||
38303562643435383736363036353138626561323530393736666236346639326162383638303165
|
||||
39616361316632323936653734656264333764356431393635613833346434303861646264373337
|
||||
31623435646463346630336235653762656561633035343332636135393464393332633139643761
|
||||
66613964663862626664393133326638343336373962343566646231356261386339393162313438
|
||||
38303036323132353132653633333064346338653566346437356633666565643730343763373137
|
||||
36363432346633626336373934646635353264623834303431313466346536653839366661646636
|
||||
30616461653938633562613536393864376230393262313663666634303566333766626435643333
|
||||
63393461643266643538343132356130383262366463313132383239323838636361653638653437
|
||||
61383936303836323931666164373963656138343962326135623565623930346136656566373335
|
||||
35623132613663356430363139323936643137393337653438306361316464363734313135356362
|
||||
34636566663636363933363462666635643135323631356262323635323932363035323763623734
|
||||
34316637626263313734326466366364313732383465383062326137646262383130313365356463
|
||||
38376565396339346463653833303361646430323636623830646233633362353838333131386461
|
||||
64323464376361333239313739376436623830393937353934386339366339326439386564306434
|
||||
66396136656463643462353663633233333931316532346162653961383334656337636261663266
|
||||
39636331353566343966616166363066623561633837313062633038633137633264346663623730
|
||||
31336438643536396134643338316637333562663639366133663637646236613963353966643938
|
||||
30366364643165616435353062323330396631326137633034666330376633353466336230643466
|
||||
36626366313639373331303734353862336665643962303837393164616266323433316665626436
|
||||
31303137326331646539373863623638663839373461363135326132646632343764656538393035
|
||||
30663833653236396563393634373364306536323965656331666465643762643036633866343139
|
||||
33343438333137643733616530666466376563653535326261633933303539383032643439383030
|
||||
32643033346463366335303663363339323866316437383366393731373034323763363562333033
|
||||
35663464336636623835333632623166623163323237353831643666343564303632646539623461
|
||||
61613864326438653935396434613761376234306261396262323732393338376339613866643639
|
||||
36386537363536376135323862396363323062356161353638393063336466653437323838633862
|
||||
62663738353235663230636639616638313237313638626334633061633535373733613734626665
|
||||
38316464643035343261633466343238393632333530323562333066326334663932643337626530
|
||||
32373366323364306236653465633964326539646265346466633730396236366638313032613363
|
||||
32323332613562613835363433376562643431623266323131313031316163366137623434323030
|
||||
34336234363861366435393532616466363631313535303264643765346631396564613432616363
|
||||
64336364393563396132646166313163323666373638616136313061386561623338656538373033
|
||||
38373166333762323065326464363134346335653236613530313235333864393265383633663637
|
||||
32363134313230333039613137306135373964386230326561626137633133326463373935646239
|
||||
35316536623932323135306233383332333832396338366561666565323462656666363834346431
|
||||
61316139343634653538396233656262396466376263643236346438306630666534303337323565
|
||||
61343636303564363132393236363333653263353061376330653534333762346130653561623039
|
||||
66656135393864313934393233663738386430333534303432396534623831333363393439386135
|
||||
35616436303439653132356530626138373934383962396564646237316665323538396666366437
|
||||
30376339383233383664343965306534386166613964313534636261316537316637343631393836
|
||||
30613761323964636433613036653631303434346633623166636139326637363537613833386165
|
||||
34303032346137623736373563303464306232663066373931626532373639343535313830613135
|
||||
66656261646465366366313436313139376136373939396330393464346365383730626466613530
|
||||
36303663626337633735633636666164366237323635383664333938373362626164386233663165
|
||||
30643432356433346536663932616530326339383736343036333663383039613132303263646236
|
||||
38633939383866646534366663393434373464616165633335373034306133393666326439613761
|
||||
65373661346661366437663236663236663632356466386564376163636636343666303535653661
|
||||
66646465386133353539323863656131653238363633336239376131613531396336313562623331
|
||||
66393466613461393931343765303565383730356131663533346133386337316431366461343731
|
||||
38646562613462653733323163653062663332393438313238316530653165363762313537333961
|
||||
39666635363534646232386538396530316232363130666231643363336361336339653461326236
|
||||
61373932346234343537366433386335353636636666326164393364623035656530333036363632
|
||||
30643836393939646139646134636362336332383836663862663935383536613031316135613137
|
||||
62613065363265666165363732636437313536383037313863613937656437316331356630636161
|
||||
37386335303237313365346134356266336330303134646339353432333062303931336639613365
|
||||
64353431373862616363616330393034396630333232383661353533323034383762353062303538
|
||||
62326433366439393030373163656332353636343432633133626139613535363063353263393761
|
||||
65383238636564663061356561616430633033323233336530663335623538643466343165326434
|
||||
35313835386566326138663736613838613064306238383063376530636362303938656364653436
|
||||
32313364653439393132353961343264346231333732323537623065303839663939323466613834
|
||||
30393138346632623236356130346538643934623762663538666432343065643465663164386564
|
||||
39356565646566353830383338623939306161373437336230373166316530313331626139633039
|
||||
32336535633839643532626632356464336533623766626233336335366639346666663931306536
|
||||
64333239613736343534353663383232626638396438653262393835643138353466373936353234
|
||||
39626439663463636237306630376231343537623262313635316164316539613231343565333532
|
||||
66363539626638336637396532386437363438373530393165613434616162353561633839366533
|
||||
35643265646439393563303433386432316663643165613065306461313939636133613733373138
|
||||
31623965393466363831626135663335646661373136613934316532333964346230633238646539
|
||||
38613732393135363430663334316162623330663865393234343730653434386462366234343332
|
||||
39646636646630303964623662663437326161316635646361623833343136373333336463346230
|
||||
61353830383364393137343134306665306633396632633634326339393331303231343461623364
|
||||
32353131333133323939656637633664663437316666623438666335376264353637323562343935
|
||||
32336261653664303965316132353764346663656466323464643434373736393462616166636162
|
||||
66336563626536656533316165313735386334393533623038656664333438376536396264353030
|
||||
35366532613733346366353366623630306630623130653331363165346338343832373338393765
|
||||
30336130326639333334393338366362646235383635343139643136366630373761386438343130
|
||||
38613831663533626632623632653934653635633366353130663538326538316636383262386433
|
||||
34326163363136613861646438323132376139306533643765316435356363643235616365303932
|
||||
65303737306339633330633937363638663337636538623535323637383761666461306363616338
|
||||
63356364646463346437303665376266656466636265663864663163333032623836646533326437
|
||||
34316131633031363966316238643163613838653061383734366631653733633438313038333432
|
||||
36633963653366353431386261303264323931353465343333323339613138313562616464663931
|
||||
37663636376633333033383666323161656234346261363536343134343566656530346433383766
|
||||
61373166666530323637303737653733396333313335646666613936623630303262306565343239
|
||||
35363639393138323062393436306466383831656638666232616466343065363464313333333162
|
||||
32393539623737373231636235666233656132383966663964343161626563383965616161623666
|
||||
31356461653264353239356433646132316462386161356330663932353461386339346530653232
|
||||
33306566663061616133323230643930643030386633666133313132353436336135383336356563
|
||||
32393838333532383637363531396234623038386665336363303731376461306630663761303139
|
||||
64333130356538623032373839313864633561316565383434383962353738353666636366333765
|
||||
34353334646365616234623031393339663666633765636432666666336261343761333733396534
|
||||
65303064643535383866623363333162303333393461313964396365363666313134333033383233
|
||||
63393837636161653031633066326662366366663636313666663834376332356336666530396263
|
||||
66326634376365343635666130333936346133656263343463613763393738393862353934343237
|
||||
61316437383830636264326564346535646635386562613466323832343665636630346462333863
|
||||
32623537396538643964663936623031326265373066313637636232363364653538363064613262
|
||||
62306561373133373532376366336637393131383233393036313161363563303666303339363230
|
||||
65633263363064633837363362393632383966366337393030353132346465346463636535303062
|
||||
37316665653230656363313937663636336336333136306536303861303439366531323266336662
|
||||
62376339646334303233376134323065363938366162316461626566343235303761633132383433
|
||||
66303435633336313961333734353236623536653739336164353037343334386163326432303031
|
||||
37353630346164633766353365613662373936663265353962333566336238336533396639373839
|
||||
62346564646261303762663366303939393963393134303730383038326562353837623130396439
|
||||
66636535663137333535393864613464636334363132376562393531376132333230346632363230
|
||||
32306363336638326235663466333236646130336539333533306236653861313465343661613235
|
||||
32643633633832636336313431653134623234303534363838306337363164326531343061306264
|
||||
62643033326137643461636534623965343161636437326165303536343135393163643734373936
|
||||
61373237326663616461326462393431633765346330313136383030323736313533313662633438
|
||||
30616335373732303931643131383732646261333432323537393736313438616336306439626535
|
||||
65306137303464636330303765303663366436353063643434383631376462303530643836366632
|
||||
64613730316439666462613534383561343632323832383336636535626163316535383833313834
|
||||
61383433643637366561316665346335623135323361346532656139353261663531396464343638
|
||||
65653137303664613562333661363636623533333735616231623139343661353866623864363533
|
||||
62636131393364643938363463303465333430386564306531366436316365613063623866666666
|
||||
65653261363562653363306331666566336462613661646264306361663835633162323032616236
|
||||
33393663613762313033396136356339356538376633353837613366326634303438373036633362
|
||||
30613361633037356633376336353539616134663561663462633336373836373736646363306165
|
||||
33323935313131376531643733353965353761393532333835616534613062373237353932656234
|
||||
35356538633032383961326562346161356231613564656336343039616339306335666563323464
|
||||
31393961636330333966306332373837636135646465316235653533626261393865653932613930
|
||||
32376539343530326138656361356238653238643830663636656435383634336562306339366330
|
||||
37613663343837626661383235303238653533326436643236653034636139333630393934633462
|
||||
39613365636262613736316530663732623837653134653133363032623931663933666262323035
|
||||
38666662333835336464316434303436373663353333396162653333663234643139386332313762
|
||||
30303365646236653362376464656165366536303331393935303936306639656331636261646530
|
||||
39333332626565343964623136643734643664383662663133663431353161303639666437386638
|
||||
37653332613865636666373634626466623638326237656663323734303363636334643430626533
|
||||
39386437366430613737376433366539376637393963613137633162653130666535313363343437
|
||||
39363232366136343937343131303438353837613335326437333166643336306638623665616439
|
||||
65616662613331623137653539313462336138633739623036623264313835363435303262643031
|
||||
65316236636432346562643262353663656364353536666138623437373334623131613238353763
|
||||
61356664323066356533616563336231393432643038306464396664333236326332393161373963
|
||||
32663435383363356563363134623736363966613834663933633963383463313335643036613633
|
||||
63336661393531346534373231316537353539373738373433383666313435633433613031643538
|
||||
36326135306139353032656230663734383437623439333031323163643230613866323535663162
|
||||
37346161303935333966346565613234356331333031656431376238336438666239623032356435
|
||||
36653235663664303235303933626163616363633866393337326430376335303736626561386231
|
||||
34376563633963323565616136343765316365383538333765346365653432353261346533656661
|
||||
30346433333639626234643630366638616563623133646666323061366530646264363566333530
|
||||
32623161393733383036336238626236356361656633343732393438663937376163323865653366
|
||||
34613035623230613362346337343535313139363636353536656131353139363835616236663863
|
||||
62363666396338653732316133666536393663663030313531616437343761613637636233313431
|
||||
36306566303832393136663963323836653561653664666661356461313131636435306632343836
|
||||
64613839633264343239626430363632656162343233626330613538663362356561623965336232
|
||||
66393432343132643039383138323733353463323263663239303233316366626437336531313562
|
||||
31626561663962326431336138643438623836633262616533656434343436636134333066613065
|
||||
66633663643632313436616533326163343733393035636433303336613463333532633066633565
|
||||
38613932633632353434393433373738326166663764383765613136326630663434363764316431
|
||||
35353562653363363533363538646336646666393564613933303066333033653965333033316163
|
||||
61393666383935393261373335626262313661653639643830376265633562356638326336663432
|
||||
35333936313866383432666239313630613661613433303330363539303462366237313533636263
|
||||
63376331633865396639643530663237326338383535643930653233306166343834333061346463
|
||||
61353734613765356165346437336137346639616561643238613565323938386161326139623861
|
||||
31643866393765656263646663376638656237323532363935353961633361623862316431643861
|
||||
36333339386266396132613066323834376265396563326261646561323434323639343561613161
|
||||
38306464383031393633363764303930306163643365333532363138376365316239363361643962
|
||||
30393333646233363564643661373865373034663131656331386631616466333166373331643963
|
||||
64346234386338663464356165366461353365323737343165616439646463353661323534323331
|
||||
66643931636631616331383065613334333262633639636164333165373237623235316434326531
|
||||
30336663373437343264353032363737633838303034396561303035656234653333636366343463
|
||||
30393966336664386434303764356531326665376230623830303237346261666162633864393866
|
||||
63646332616135653138333437356565643333663730333263396466303234643331653836356431
|
||||
37316434366533316132336238373833346165303062633866623033623037646461346263623734
|
||||
62393039626239393435316538636433333634616161663833653564353637663864373264313530
|
||||
30343533306335623130
|
||||
@@ -0,0 +1,26 @@
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
34633334666530383466643739336536363136366631613464383161656535656466616261663232
|
||||
6237633664336364643136643738643563653637613136360a363431663336626432616538623435
|
||||
35373839383830393334663037353262653763353935623332383534376436613161313934316338
|
||||
3930623638356537630a616339653631666163376134343535313235363234356664366234663038
|
||||
30376239633164643335336166663737346262313864626234663839333132386232346139666131
|
||||
33633463353330343037306365666463653039643235333566663164313730663738663036623539
|
||||
64636663613566656338636638383066353562306137376432346639316533303665613463333832
|
||||
37313361623639653533343536616566613865353733656338633833666263323433306431633635
|
||||
35393333346134333466323239666335613862663935353662373833343635393532633461653932
|
||||
38303034613166336632376264313961336665303332306165636663306237653336316330376236
|
||||
31313362616434663861333264306661653532316365306138333131643731346636646365353733
|
||||
62366335643566636631633630336231353666363965623664376231363164313362366164333431
|
||||
33323632366335646137666466316530613862373162376461623633333238616637373336333064
|
||||
39303761353139656333663362303365316131646633303238623031386137656263646364373163
|
||||
36336633323266393663336462626236353466353266656264343639303739313362313537396238
|
||||
36303637386266386665663163633438633763386232313861653438303965393938656166656562
|
||||
63373064396135346361633739663534666230356566366333636266643932316264343339303833
|
||||
38313233643536356232363636306363333463323133656536366662323963643637343365643035
|
||||
30393061343630633263303864336438653339323264396434623038363464366235626235326464
|
||||
62623861333264616331396230383831346163303433653236663738396164643937643663363834
|
||||
30316530623433313633653639363065343264353630613436393237363930326632343230343538
|
||||
64356230316530353663663534343739376138653266323037336163386130623361613632393037
|
||||
33376232666337316536613763623066653431303366656333646361613839323831623562613266
|
||||
36323263616364653666343264303338373232343063313266653661323933656662386237323637
|
||||
66666337356337343864613034633934656461653834306338313031366432353263
|
||||
@@ -1,3 +1,4 @@
|
||||
[ungrouped]
|
||||
jackson ansible_host=citadel.fntz.net ansible_user=iac
|
||||
bear ansible_host=fntz.net ansible_user=iac
|
||||
jade ansible_host=fntz.net ansible_user=alex
|
||||
jackson ansible_host=direct.jackson.alexav.gg ansible_user=root
|
||||
nas ansible_host=172.16.0.29 ansible_user=alex
|
||||
@@ -1,159 +1,128 @@
|
||||
- hosts: bear
|
||||
- hosts: jade
|
||||
|
||||
roles:
|
||||
- role: traefik
|
||||
tags: traefik_deploy
|
||||
vars:
|
||||
server: "bear"
|
||||
server: "jade"
|
||||
|
||||
tasks:
|
||||
- name: Deploy Tinyauth
|
||||
import_tasks: tasks/auth/tinyauth.yml
|
||||
tags: tinyauth_deploy
|
||||
- name: Deploy Postgres
|
||||
import_tasks: tasks/infra/postgres.yml
|
||||
tags: postgres_deploy
|
||||
- name: Deploy MariaDB
|
||||
import_tasks: tasks/infra/mariadb.yml
|
||||
tags: mariadb_deploy
|
||||
- name: Deploy AdGuard Home
|
||||
import_tasks: tasks/utility/adguard.yml
|
||||
tags: adguard_deploy
|
||||
- name: Deploy Glance
|
||||
import_tasks: tasks/utility/glance.yml
|
||||
import_tasks: tasks/glance.yml
|
||||
tags: glance_deploy
|
||||
- name: Deploy Servarr
|
||||
import_tasks: tasks/servarr.yml
|
||||
tags: servarr_deploy
|
||||
- name: Deploy Dozzle
|
||||
import_tasks: tasks/utility/dozzle.yml
|
||||
import_tasks: tasks/dozzle.yml
|
||||
tags: dozzle_deploy
|
||||
- name: Deploy Cup
|
||||
import_tasks: tasks/utility/cup.yml
|
||||
import_tasks: tasks/cup.yml
|
||||
tags: cup_deploy
|
||||
- name: Deploy Homebridge
|
||||
import_tasks: tasks/utility/homebridge.yml
|
||||
import_tasks: tasks/homebridge.yml
|
||||
tags: homebridge_deploy
|
||||
- name: Deploy Code Server
|
||||
import_tasks: tasks/utility/codeserver.yml
|
||||
tags: codeserver_deploy
|
||||
- name: Deploy PiHole
|
||||
import_tasks: tasks/pihole.yml
|
||||
tags: pihole_deploy
|
||||
- name: Deploy PocketID
|
||||
import_tasks: tasks/auth/pocketid.yml
|
||||
import_tasks: tasks/pocketid.yml
|
||||
tags: pocketid_deploy
|
||||
- name: Deploy Scrobbling Setup
|
||||
import_tasks: tasks/media/scrobbling.yml
|
||||
tags: scrobbling_deploy
|
||||
- name: Deploy Ntfy
|
||||
import_tasks: tasks/ntfy.yml
|
||||
tags: ntfy_deploy
|
||||
- name: Deploy NZBGet
|
||||
import_tasks: tasks/nzbget.yml
|
||||
tags: nzbget_deploy
|
||||
- name: Deploy Tautulli
|
||||
import_tasks: tasks/tautulli.yml
|
||||
tags: tautulli_deploy
|
||||
- name: Deploy Tinyauth
|
||||
import_tasks: tasks/tinyauth.yml
|
||||
tags: tinyauth_deploy
|
||||
- name: Deploy Code Server
|
||||
import_tasks: tasks/codeserver.yml
|
||||
tags: codeserver_deploy
|
||||
- name: Deploy Dashdot
|
||||
import_tasks: tasks/dashdot.yml
|
||||
tags: dashdot_deploy
|
||||
- name: Deploy Romm
|
||||
import_tasks: tasks/romm.yml
|
||||
tags: romm_deploy
|
||||
- name: Deploy Owncloud
|
||||
import_tasks: tasks/owncloud.yml
|
||||
tags: owncloud_deploy
|
||||
- name: Deploy Excalidraw
|
||||
import_tasks: tasks/excalidraw.yml
|
||||
tags: excalidraw_deploy
|
||||
- name: Deploy Vaultwarden
|
||||
import_tasks: tasks/utility/vaultwarden.yml
|
||||
import_tasks: tasks/vaultwarden.yml
|
||||
tags: vaultwarden_deploy
|
||||
- name: Deploy Immich
|
||||
import_tasks: tasks/media/immich.yml
|
||||
import_tasks: tasks/immich.yml
|
||||
tags: immich_deploy
|
||||
- name: Deploy Plex
|
||||
import_tasks: tasks/media/plex.yml
|
||||
tags: plex_deploy
|
||||
- name: Deploy ErsatzTV
|
||||
import_tasks: tasks/media/ersatztv.yml
|
||||
tags: ersatztv_deploy
|
||||
- name: Deploy Frigate
|
||||
import_tasks: tasks/media/frigate.yml
|
||||
tags: frigate_deploy
|
||||
- name: Deploy Servarr
|
||||
import_tasks: tasks/media/servarr.yml
|
||||
tags: servarr_deploy
|
||||
- name: Deploy NZBGet
|
||||
import_tasks: tasks/media/nzbget.yml
|
||||
tags: nzbget_deploy
|
||||
- name: Deploy Navidrome
|
||||
import_tasks: tasks/navidrome.yml
|
||||
tags: navidrome_deploy
|
||||
- name: Deploy Drop
|
||||
import_tasks: tasks/drop.yml
|
||||
tags: drop_deploy
|
||||
- name: Deploy Home Assistant
|
||||
import_tasks: tasks/home-assistant.yml
|
||||
tags: home-assistant_deploy
|
||||
- name: Deploy Gluetun
|
||||
import_tasks: tasks/gluetun.yml
|
||||
tags: gluetun_deploy
|
||||
- name: Deploy QBittorrent
|
||||
import_tasks: tasks/qbittorrent.yml
|
||||
tags: qbittorrent_deploy
|
||||
- name: Deploy Jackett
|
||||
import_tasks: tasks/jackett.yml
|
||||
tags: jackett_deploy
|
||||
- name: Deploy NFL Proxy
|
||||
import_tasks: tasks/nfl-proxy.yml
|
||||
tags: nfl-proxy_deploy
|
||||
- name: Deploy Uptime Kuma
|
||||
import_tasks: tasks/utility/uptime-kuma.yml
|
||||
import_tasks: tasks/uptime-kuma.yml
|
||||
tags: uptime-kuma_deploy
|
||||
- name: Deploy Romm
|
||||
import_tasks: tasks/gaming/romm.yml
|
||||
tags: romm_deploy
|
||||
- name: Deploy Pelican
|
||||
import_tasks: tasks/gaming/pelican.yml
|
||||
tags: pelican_deploy
|
||||
- name: Deploy Docs
|
||||
import_tasks: tasks/utility/docs.yml
|
||||
tags: docs_deploy
|
||||
- name: Deploy Audiobookshelf
|
||||
import_tasks: tasks/media/audiobookshelf.yml
|
||||
tags: audiobookshelf_deploy
|
||||
- name: Deploy Cloudflared
|
||||
import_tasks: tasks/utility/cloudflared.yml
|
||||
tags: cloudflared_deploy
|
||||
- name: Deploy Gitea Runner
|
||||
import_tasks: tasks/infra/runner.yml
|
||||
tags: runner_deploy
|
||||
- name: Deploy Weatherstar
|
||||
import_tasks: tasks/media/weatherstar.yml
|
||||
tags: weatherstar_deploy
|
||||
- name: Deploy Duplicati
|
||||
import_tasks: tasks/utility/duplicati.yml
|
||||
tags: duplicati_deploy
|
||||
- name: Deploy CAdvisor
|
||||
import_tasks: tasks/utility/cadvisor.yml
|
||||
tags: cadvisor_deploy
|
||||
- name: Deploy Subber
|
||||
import_tasks: tasks/utility/subber.yml
|
||||
tags: subber_deploy
|
||||
- name: Deploy Nextcloud
|
||||
import_tasks: tasks/media/nextcloud.yml
|
||||
tags: nextcloud_deploy
|
||||
- name: Deploy CouchDB for obsidian
|
||||
import_tasks: tasks/obsidian.yml
|
||||
tags: obsidian_deploy
|
||||
- name: Deploy Helium services
|
||||
import_tasks: tasks/helium.yml
|
||||
tags: helium_deploy
|
||||
|
||||
- hosts: jackson
|
||||
|
||||
roles:
|
||||
- role: traefik
|
||||
tags: traefik_deploy
|
||||
vars:
|
||||
server: "citadel"
|
||||
- role: fivem
|
||||
tags: fivem_deploy
|
||||
|
||||
tasks:
|
||||
- name: Deploy Gitea
|
||||
import_tasks: tasks/infra/gitea.yml
|
||||
import_tasks: tasks/gitea.yml
|
||||
tags: gitea_deploy
|
||||
- name: Deploy Cloudflared
|
||||
import_tasks: tasks/utility/cloudflared.yml
|
||||
tags: cloudflared_deploy
|
||||
- name: Deploy API
|
||||
import_tasks: tasks/utility/api.yml
|
||||
import_tasks: tasks/api.yml
|
||||
tags: api_deploy
|
||||
- name: Deploy Storage API
|
||||
import_tasks: tasks/utility/storage-api.yml
|
||||
import_tasks: tasks/storage-api.yml
|
||||
tags: storage-api_deploy
|
||||
- name: Deploy Plausible
|
||||
import_tasks: tasks/utility/plausible.yml
|
||||
import_tasks: tasks/plausible.yml
|
||||
tags: plausible_deploy
|
||||
- name: Deploy Database
|
||||
import_tasks: tasks/infra/mariadb.yml
|
||||
tags: mariadb_deploy
|
||||
- name: Deploy Floof
|
||||
import_tasks: tasks/gaming/floof.yml
|
||||
tags: floof_deploy
|
||||
- name: Deploy Tinyauth
|
||||
import_tasks: tasks/auth/tinyauth.yml
|
||||
tags: tinyauth_deploy
|
||||
- name: Deploy Postgres
|
||||
import_tasks: tasks/infra/postgres.yml
|
||||
tags: postgres_deploy
|
||||
- name: Deploy Dozzle
|
||||
import_tasks: tasks/utility/dozzle.yml
|
||||
tags: dozzle_deploy
|
||||
- name: Deploy Redis
|
||||
import_tasks: tasks/infra/redis.yml
|
||||
tags: redis_deploy
|
||||
- name: Deploy Garage
|
||||
import_tasks: tasks/infra/garage.yml
|
||||
tags: garage_deploy
|
||||
- name: Deploy Pelican
|
||||
import_tasks: tasks/gaming/pelican.yml
|
||||
tags: pelican_deploy
|
||||
- name: Deploy Tools
|
||||
import_tasks: tasks/utility/tools.yml
|
||||
tags: tools_deploy
|
||||
- name: Deploy Website
|
||||
import_tasks: tasks/utility/website.yml
|
||||
tags: website_deploy
|
||||
- name: Deploy Blog
|
||||
import_tasks: tasks/utility/blog.yml
|
||||
tags: blog_deploy
|
||||
- name: Deploy Nextcloud
|
||||
import_tasks: tasks/media/nextcloud.yml
|
||||
tags: nextcloud_deploy
|
||||
- name: Deploy Owncloud
|
||||
import_tasks: tasks/owncloud.yml
|
||||
tags: owncloud_deploy
|
||||
|
||||
- hosts: nas
|
||||
|
||||
tasks:
|
||||
- name: Deploy Plex
|
||||
import_tasks: tasks/plex.yml
|
||||
tags: plex_deploy
|
||||
- name: Deploy Frigate
|
||||
import_tasks: tasks/frigate.yml
|
||||
tags: frigate_deploy
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items: "{{ directories }}"
|
||||
when: directories is defined
|
||||
|
||||
- name: Clone repository
|
||||
git:
|
||||
repo: "{{ build.git.repo }}"
|
||||
dest: "{{ build.git.dest }}"
|
||||
when: build is defined
|
||||
|
||||
- name: Create Docker volume
|
||||
docker_volume:
|
||||
name: "{{ volume_name }}"
|
||||
when: volume_name is defined
|
||||
|
||||
- name: Build Docker Image
|
||||
docker_image:
|
||||
name: "{{ image.name }}"
|
||||
tag: "{{ image.tag }}"
|
||||
build:
|
||||
nocache: true
|
||||
path: "{{ build.git.dest }}"
|
||||
dockerfile: Dockerfile
|
||||
source: build
|
||||
force_source: true
|
||||
state: present
|
||||
when: build is defined
|
||||
|
||||
- name: Create Docker Network
|
||||
docker_network:
|
||||
name: "{{ network_name }}"
|
||||
when: network_name is defined
|
||||
|
||||
- name: Create Docker Container
|
||||
docker_container:
|
||||
name: "{{ name }}"
|
||||
recreate: true
|
||||
restart_policy: always
|
||||
entrypoint: "{{ entrypoint | default(omit) }}"
|
||||
shm_size: "{{ shmSize | default(omit) }}"
|
||||
pull: "{{ build is not defined }}"
|
||||
published_ports: "{{ published_ports | default(omit) }}"
|
||||
network_mode: "{{ network_mode | default(omit) }}"
|
||||
image: "{{ image.name }}:{{ image.tag }}"
|
||||
etc_hosts: "{{ extra_hosts | default(omit) }}"
|
||||
command: "{{ command | default(omit) }}"
|
||||
networks: "{{ networks | default(omit) }}"
|
||||
volumes: "{{ volumes | default(omit) }}"
|
||||
env: "{{ env | default(omit) }}"
|
||||
labels: "{{ labels | default(omit) }}"
|
||||
healthcheck: "{{ healthcheck | default(omit) }}"
|
||||
devices: "{{ devices | default(omit) }}"
|
||||
mounts: "{{ mounts | default(omit) }}"
|
||||
pid_mode: "{{ pid_mode | default(omit) }}"
|
||||
privileged: "{{ privileged | default(omit) }}"
|
||||
@@ -0,0 +1,48 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/gitea"
|
||||
- "{{ data_dir }}/job"
|
||||
|
||||
- name: Check if Act Runner has been downloaded
|
||||
stat:
|
||||
path: "{{ data_dir }}/gitea/act_runner"
|
||||
register: act_runner
|
||||
|
||||
- name: Download Gitea Act Runner
|
||||
get_url:
|
||||
url: https://dl.gitea.com/act_runner/nightly/act_runner-nightly-linux-amd64
|
||||
dest: "{{ data_dir }}/gitea"
|
||||
mode: 0755
|
||||
when: not act_runner.stat.exists
|
||||
|
||||
- name: Copy Gitea Act Runner Config
|
||||
template:
|
||||
src: config.yml.j2
|
||||
dest: "{{ data_dir }}/gitea/config.yml"
|
||||
|
||||
- name: Check if Act Runner is a Systemd Service
|
||||
stat:
|
||||
path: "/etc/systemd/system/act_runner.service"
|
||||
register: act_runner_service
|
||||
|
||||
- name: Stop & remove systemd service
|
||||
become: yes
|
||||
shell: |
|
||||
systemctl stop act_runner.service &&
|
||||
rm /etc/systemd/system/act_runner.service
|
||||
- name: Create Systemd Service
|
||||
become: yes
|
||||
template:
|
||||
src: act_runner.service.j2
|
||||
dest: "/etc/systemd/system/act_runner.service"
|
||||
|
||||
- name: Enable Systemd Service
|
||||
become: yes
|
||||
command: systemctl enable act_runner.service
|
||||
- name: Start Systemd Service
|
||||
become: yes
|
||||
command: systemctl start act_runner.service
|
||||
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Gitea Actions runner
|
||||
Documentation=https://gitea.com/gitea/act_runner
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
ExecStart={{ data_dir }}/gitea/act_runner daemon --config={{ data_dir }}/gitea/config.yml
|
||||
ExecReload=/bin/kill -s HUP $MAINPID
|
||||
WorkingDirectory={{ data_dir }}/gitea
|
||||
TimeoutSec=0
|
||||
RestartSec=10
|
||||
Restart=always
|
||||
User=alex
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,16 @@
|
||||
log:
|
||||
level: info
|
||||
|
||||
runner:
|
||||
file: .runner
|
||||
capacity: 1
|
||||
timeout: 3h
|
||||
shutdown_timeout: 0s
|
||||
insecure: false
|
||||
fetch_timeout: 5s
|
||||
fetch_interval: 2s
|
||||
labels:
|
||||
- "runner:host"
|
||||
|
||||
host:
|
||||
workdir_parent: "{{ data_dir }}/gitea/job"
|
||||
@@ -25,12 +25,12 @@
|
||||
template:
|
||||
src: local-dynamic.yml.j2
|
||||
dest: "{{ data_dir }}/traefik/dynamic.yml"
|
||||
when: server == "bear"
|
||||
- name: Create Traefik Dynamic File (Citadel)
|
||||
when: server == "jade" or server == "nas"
|
||||
- name: Create Traefik Dynamic File (Remote)
|
||||
template:
|
||||
src: remote-dynamic.yml.j2
|
||||
dest: "{{ data_dir }}/traefik/dynamic.yml"
|
||||
when: server == "citadel"
|
||||
when: server == "jackson"
|
||||
|
||||
- name: Deploy Traefik Docker Container
|
||||
docker_container:
|
||||
@@ -38,7 +38,6 @@
|
||||
image: traefik
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
pull: true
|
||||
command:
|
||||
- --providers.file.directory=/config
|
||||
published_ports:
|
||||
@@ -55,10 +54,3 @@
|
||||
- "{{ data_dir }}/traefik/dynamic.yml:/dynamic.yml"
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
- name: tunnel
|
||||
labels:
|
||||
traefik.http.routers.wildcard.rule: "HostRegexp(`{subdomain:.+}.fntz.net`)"
|
||||
traefik.http.routers.wildcard.tls: "true"
|
||||
traefik.http.routers.wildcard.tls.certresolver: letsencrypt
|
||||
traefik.http.routers.wildcard.tls.domains[0].main: fntz.net
|
||||
traefik.http.routers.wildcard.tls.domains[0].sans: "*.fntz.net,*.citadel.fntz.net"
|
||||
|
||||
@@ -12,11 +12,6 @@ entryPoints:
|
||||
scheme: https
|
||||
webSecure:
|
||||
address: ":443"
|
||||
transport:
|
||||
respondingTimeouts:
|
||||
readTimeout: 600s
|
||||
writeTimeout: 600s
|
||||
idleTimeout: 180s
|
||||
serversTransport:
|
||||
insecureSkipVerify: true
|
||||
providers:
|
||||
@@ -35,9 +30,3 @@ certificatesResolvers:
|
||||
dnsChallenge:
|
||||
provider: cloudflare
|
||||
delayBeforeCheck: 10
|
||||
accessLog:
|
||||
filters:
|
||||
statusCodes:
|
||||
- "200"
|
||||
- "400-404"
|
||||
- "500-503"
|
||||
|
||||
@@ -1,20 +1,15 @@
|
||||
http:
|
||||
middlewares:
|
||||
tinyauth:
|
||||
forwardauth:
|
||||
address: http://tinyauth:3000/api/auth/traefik
|
||||
|
||||
routers:
|
||||
jtraefik:
|
||||
rule: "Host(`traefik.citadel.fntz.net`)"
|
||||
service: jtraefik
|
||||
plex:
|
||||
rule: "Host(`tv.fntz.net`)"
|
||||
service: plex
|
||||
entryPoints:
|
||||
- webSecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
coolify:
|
||||
rule: "Host(`coolify.citadel.fntz.net`)"
|
||||
service: coolify
|
||||
jtraefik:
|
||||
rule: "Host(`traefik-jackson.fntz.net`)"
|
||||
service: jtraefik
|
||||
entryPoints:
|
||||
- webSecure
|
||||
tls:
|
||||
@@ -26,40 +21,40 @@ http:
|
||||
- webSecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
homebridge:
|
||||
rule: "Host(`bridge.fntz.net`)"
|
||||
service: homebridge
|
||||
nflproxy:
|
||||
rule: "Host(`nfl.fntz.net`)"
|
||||
service: nflproxy
|
||||
entryPoints:
|
||||
- webSecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
wings:
|
||||
rule: "Host(`wings.fntz.net`)"
|
||||
service: wings
|
||||
nvr:
|
||||
rule: "Host(`nvr.fntz.net`)"
|
||||
service: nvr
|
||||
entryPoints:
|
||||
- webSecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
|
||||
|
||||
services:
|
||||
plex:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://172.16.0.29:32400"
|
||||
jtraefik:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://100.105.157.6:8080/"
|
||||
coolify:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://100.105.157.6:8000/"
|
||||
- url: "http://jackson:8080/"
|
||||
traefik:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://172.16.0.25:8080/"
|
||||
homebridge:
|
||||
- url: "http://jade:8080/"
|
||||
nflproxy:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://172.16.0.25:8581/"
|
||||
wings:
|
||||
- url: "http://jade:5000/"
|
||||
nvr:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://172.16.0.25:4000/"
|
||||
passHostHeader: true
|
||||
- url: "http://nas:5000/"
|
||||
@@ -1,31 +0,0 @@
|
||||
http:
|
||||
middlewares:
|
||||
tinyauth:
|
||||
forwardauth:
|
||||
address: http://tinyauth:3000/api/auth/traefik
|
||||
|
||||
routers:
|
||||
coolify:
|
||||
rule: "Host(`coolify.citadel.fntz.net`)"
|
||||
service: coolify
|
||||
entryPoints:
|
||||
- webSecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
wings:
|
||||
rule: "Host(`wings.landite.games`)"
|
||||
service: wings
|
||||
entryPoints:
|
||||
- webSecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
|
||||
services:
|
||||
coolify:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://100.105.157.6:8000/"
|
||||
wings:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://5.161.64.174:8090/"
|
||||
@@ -2,98 +2,116 @@ import sys
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
# c08dc6b088e90512fb8a2dafe9f1ae5de3f486d1
|
||||
# 894be8a440ba41aa228e53d7d523bcb1ae34da41
|
||||
|
||||
ignore_deploys_for = [ # don't auto-deploy these
|
||||
"tasks/infra/runner",
|
||||
"templates/runner",
|
||||
"roles/docker"
|
||||
]
|
||||
|
||||
def git_diff():
|
||||
args = sys.argv
|
||||
res = subprocess.run(f"git diff --name-only {args[1]} {args[2]}", capture_output=True, shell=True, text=True)
|
||||
return [x for x in res.stdout.strip().split("\n") if "tasks/" in x or "roles/" in x or "templates/" in x]
|
||||
return [x for x in res.stdout.strip().split("\n") if "tasks/" in x or "roles/" in x or "host_vars" in x]
|
||||
|
||||
def construct_command(tag = None, host = None):
|
||||
command = f"ANSIBLE_CONFIG=ansible.cfg /usr/bin/ansible-playbook main.yml --vault-password-file ~/.vault_pass.txt"
|
||||
|
||||
if host:
|
||||
command += f" -l {host}"
|
||||
if tag:
|
||||
command += f" --tags {tag}_deploy"
|
||||
|
||||
def construct_command(tags):
|
||||
command = f"ANSIBLE_CONFIG=ansible.cfg /usr/bin/ansible-playbook main.yml --tags={",".join(tags)} --vault-password-file ~/.vault_pass.txt"
|
||||
return command
|
||||
|
||||
def deploy(tags):
|
||||
print(f"[MAIN] Deploying...")
|
||||
command = construct_command(tags)
|
||||
def deploy(tag = None, host = None):
|
||||
command = construct_command(tag, host)
|
||||
|
||||
if tag:
|
||||
print(f"Deploying {tag}...\n")
|
||||
else:
|
||||
print(f"Deploying {host}...\n")
|
||||
res = subprocess.run(command, shell=True)
|
||||
|
||||
return res.returncode == 0
|
||||
|
||||
def get_normalized_task_name(container):
|
||||
if "tasks/" in container:
|
||||
split_path = container.split("/")
|
||||
if len(split_path) > 2:
|
||||
task_name = split_path[2].split(".")[0]
|
||||
else:
|
||||
task_name = split_path[1].split(".")[0]
|
||||
elif "roles/" or "templates/" in container:
|
||||
task_name = container.split("/")[1]
|
||||
else:
|
||||
task_name = False
|
||||
|
||||
return task_name
|
||||
|
||||
def main():
|
||||
dir_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../')
|
||||
|
||||
print("Task environment variable: " + os.environ.get("TASK"))
|
||||
if os.environ.get("TASK"):
|
||||
diff = [os.environ.get("TASK")]
|
||||
deployable_containers = [os.environ.get("TASK")]
|
||||
else:
|
||||
tasks_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "../tasks")
|
||||
diff = git_diff()
|
||||
deployable_containers = []
|
||||
host_vars_changed_for = []
|
||||
vpn_containers = [
|
||||
"tasks/qbittorrent.yml",
|
||||
"tasks/jackett.yml"
|
||||
]
|
||||
|
||||
removable_containers = []
|
||||
# because these containers rely on gluetun for network, they need to be recreated when gluetun is recreated
|
||||
if "tasks/gluetun.yml" in diff:
|
||||
print("Gluetun detected in diff, queuing dependent containers for recreation")
|
||||
for container in vpn_containers:
|
||||
if container not in diff:
|
||||
diff.append(container)
|
||||
|
||||
if not os.environ.get("TASK"):
|
||||
# when variables update for a host, recreate containers
|
||||
for file in diff:
|
||||
if os.path.exists(os.path.join(dir_path, file)):
|
||||
deployable_containers.append(file)
|
||||
else:
|
||||
removable_containers.append(file)
|
||||
if "host_vars" in file:
|
||||
hostname = file.split("/")[1].split(".")[0]
|
||||
print(f"Secret file for '{hostname}' changed, will recreate containers on host after deployment")
|
||||
host_vars_changed_for.append(hostname)
|
||||
|
||||
print(f"[MAIN] Deployable: {len(deployable_containers)}")
|
||||
print(f"[MAIN] Removable: {len(removable_containers)}")
|
||||
deployed = []
|
||||
failed = []
|
||||
for file in diff:
|
||||
# separating these for now because roles will typically
|
||||
# have a bunch of other things tied to them
|
||||
if "roles/" not in file and "host_vars/" not in file:
|
||||
task_name = file.split("/")[1].split(".")[0]
|
||||
task_file_path = os.path.join(tasks_path, file.split("/")[1])
|
||||
|
||||
if len(deployable_containers) > 0:
|
||||
to_deploy = []
|
||||
if not os.environ.get("TASK"):
|
||||
for container in deployable_containers:
|
||||
task_name = get_normalized_task_name(container)
|
||||
if task_name:
|
||||
to_deploy.append(task_name + "_deploy")
|
||||
else:
|
||||
to_deploy.append(os.environ.get("TASK"))
|
||||
|
||||
if len(to_deploy) > 0:
|
||||
result = deploy(to_deploy)
|
||||
|
||||
if len(removable_containers) > 0:
|
||||
for container in removable_containers:
|
||||
task_name = get_normalized_task_name(container)
|
||||
result = subprocess.run(
|
||||
f'/usr/bin/docker ps --filter "name={task_name}" -q',
|
||||
shell=True,
|
||||
capture_output=True
|
||||
)
|
||||
result.check_returncode() # fail the action if this doesn't succeed
|
||||
for line in result.stdout.splitlines():
|
||||
container_id = line.strip().decode("utf8")
|
||||
if not container_id:
|
||||
continue
|
||||
print(f"[MAIN] Found Docker container {container_id} related to {task_name}, removing..")
|
||||
subprocess.run(f"/usr/bin/docker container stop {container_id}", shell=True)
|
||||
subprocess.run(f"/usr/bin/docker container rm {container_id}", shell=True)
|
||||
subprocess.run("/usr/bin/docker image prune -af", shell=True)
|
||||
if not os.path.exists(task_file_path):
|
||||
print(f"{task_name} doesn't exist, running cleanup")
|
||||
res = subprocess.run(f"/usr/bin/docker container stop {task_name}", shell=True)
|
||||
if res.returncode == 0:
|
||||
subprocess.run(f"/usr/bin/docker container rm {task_name}", shell=True)
|
||||
subprocess.run("/usr/bin/docker image prune -f", shell=True)
|
||||
subprocess.run("/usr/bin/docker container prune -f", shell=True)
|
||||
|
||||
print(f"Cleaned up container {task_name}")
|
||||
|
||||
if "host_vars" not in file:
|
||||
# deploy the task, regardless of its status
|
||||
if "roles/" not in file:
|
||||
if task_name not in deployed:
|
||||
task = deploy(tag=task_name)
|
||||
else:
|
||||
task_name = file.split("/")[1]
|
||||
|
||||
if task_name not in deployed:
|
||||
task = deploy(tag=task_name)
|
||||
|
||||
if not task:
|
||||
failed.append(task_name)
|
||||
else:
|
||||
deployed.append(task_name)
|
||||
|
||||
if len(host_vars_changed_for) > 0:
|
||||
for host in host_vars_changed_for:
|
||||
print(f"Redeploying containers on {host} due to host vars update")
|
||||
task = deploy(host=host)
|
||||
if task:
|
||||
deployed.append(host)
|
||||
else:
|
||||
failed.append(host)
|
||||
|
||||
|
||||
if len(failed) <= 0 and len(deployed) > 0:
|
||||
print("\n---------------------")
|
||||
print(" Deployment succeeded!")
|
||||
print(f" All tasks: {", ".join(deployed)}")
|
||||
print("---------------------\n")
|
||||
sys.exit(0)
|
||||
elif len(failed) > 0:
|
||||
print("\n---------------------")
|
||||
print(" Deployment failed!")
|
||||
print(f" Failed tasks: {", ".join(failed)}")
|
||||
print(f" All tasks: {", ".join(deployed)}")
|
||||
print("---------------------\n")
|
||||
sys.exit(1)
|
||||
elif len(deployed) <= 0:
|
||||
print("Successfully executed, no tasks required execution")
|
||||
sys.exit(0)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -10,30 +10,12 @@ if os.path.exists(host_vars_path):
|
||||
|
||||
vaults = os.listdir(host_vars_path)
|
||||
|
||||
# 1st run - extract ungrouped, global variables
|
||||
for vault in vaults:
|
||||
vault_path = os.path.join(host_vars_path, vault)
|
||||
vault_contents = subprocess.run(f'ansible-vault decrypt "{vault_path}" --vault-password-file ~/.vault_pass.txt --output -', shell=True, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
|
||||
stdout = vault_contents.stdout.strip().splitlines()
|
||||
|
||||
for line in stdout:
|
||||
if line.startswith("#"):
|
||||
break
|
||||
elif line.split(":")[0] not in file_contents:
|
||||
file_contents += f"{line.split(":")[0]}:\n"
|
||||
|
||||
# 2nd run - extract service-specific variables
|
||||
for vault in vaults:
|
||||
vault_path = os.path.join(host_vars_path, vault)
|
||||
vault_contents = subprocess.run(f'ansible-vault decrypt "{vault_path}" --vault-password-file ~/.vault_pass.txt --output -', shell=True, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
|
||||
stdout = vault_contents.stdout.strip().splitlines()
|
||||
|
||||
has_found_start = False
|
||||
for line in stdout:
|
||||
if has_found_start or line.startswith("#"):
|
||||
if not has_found_start:
|
||||
has_found_start = True
|
||||
|
||||
if line.startswith("#") and line not in file_contents:
|
||||
file_contents += f"\n{line}\n"
|
||||
|
||||
|
||||
@@ -1,100 +0,0 @@
|
||||
import requests
|
||||
import subprocess
|
||||
import os
|
||||
import yaml
|
||||
|
||||
DISCORD_WEBHOOK_URL = os.environ.get("UPDATES_DISCORD_WEBHOOK")
|
||||
|
||||
def normalize_image_name(image_name):
|
||||
# strip the tag (but not a registry port) and docker hub prefixes
|
||||
name, _, tag = image_name.rpartition(":")
|
||||
if name and "/" not in tag:
|
||||
image_name = name
|
||||
for prefix in ("docker.io/", "library/"):
|
||||
if image_name.startswith(prefix):
|
||||
image_name = image_name[len(prefix):]
|
||||
return image_name
|
||||
|
||||
def search_for_images(image_name):
|
||||
tasks_folder = os.path.realpath(os.path.join('./', 'tasks'))
|
||||
image_name = normalize_image_name(image_name)
|
||||
matches = []
|
||||
|
||||
for category in sorted(os.listdir(tasks_folder)):
|
||||
tasks = sorted(os.listdir(os.path.join(tasks_folder, category)))
|
||||
for task in tasks:
|
||||
with open(os.path.join(tasks_folder, category, task), 'r') as file:
|
||||
data = yaml.safe_load(file) or []
|
||||
|
||||
for key in data:
|
||||
image = key.get("vars", {}).get("image")
|
||||
if not image:
|
||||
continue
|
||||
if normalize_image_name(image["name"]) == image_name:
|
||||
matches.append(f"{task.split(".")[0]}_deploy")
|
||||
break
|
||||
|
||||
return matches
|
||||
|
||||
def main():
|
||||
update_list = requests.get("https://cup.fntz.net/api/v3/json")
|
||||
update_list.raise_for_status()
|
||||
update_list = update_list.json()
|
||||
refs = []
|
||||
deployable_tags = []
|
||||
|
||||
for image in update_list["images"]:
|
||||
reference = image["reference"]
|
||||
result = image["result"]
|
||||
|
||||
# don't attempt to update if unable
|
||||
if not image["in_use"]:
|
||||
continue
|
||||
if not result or not result["has_update"]:
|
||||
continue
|
||||
# version updates need a tag bump in the repo, redeploying won't pick them up
|
||||
if (result.get("info") or {}).get("type") != "digest":
|
||||
continue
|
||||
|
||||
refs.append(reference)
|
||||
|
||||
print("attempting to match images to references: " + ", ".join(refs))
|
||||
for reference in refs:
|
||||
tags = search_for_images(reference)
|
||||
for tag in tags:
|
||||
if tag not in deployable_tags:
|
||||
deployable_tags.append(tag)
|
||||
if not tags:
|
||||
print("Could not find suitable container for " + reference)
|
||||
|
||||
if len(deployable_tags) > 0:
|
||||
print(f"Found {len(deployable_tags)}, deploying..")
|
||||
tag_string = ",".join(deployable_tags)
|
||||
subprocess.run(f'ANSIBLE_CONFIG=ansible.cfg ansible-playbook main.yml --tags {tag_string} -l bear --vault-password-file=~/.vault_pass.txt', shell=True, check=True)
|
||||
|
||||
print("Attempting to clean up dangling/unassumed images")
|
||||
subprocess.run('ANSIBLE_CONFIG=ansible.cfg ansible bear -m command -a "docker image prune -af"', shell=True)
|
||||
|
||||
print("Redeployed all images, refreshing Cup")
|
||||
requests.get("https://cup.fntz.net/api/v3/refresh")
|
||||
|
||||
if DISCORD_WEBHOOK_URL:
|
||||
print("sending discord notification..")
|
||||
body = {
|
||||
"username": "Homelab Updates",
|
||||
"embeds": [
|
||||
{
|
||||
"title": "Updated containers automatically!",
|
||||
"description": f"Automatically redeployed containers recognized to need updates via Cup\n```{", ".join(deployable_tags)}```"
|
||||
}
|
||||
]
|
||||
}
|
||||
headers = {
|
||||
"content-type": "application/json"
|
||||
}
|
||||
requests.post(DISCORD_WEBHOOK_URL, json=body, headers=headers)
|
||||
else:
|
||||
print("All up to date! :)")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,81 @@
|
||||
---
|
||||
- name: "Create file structure"
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/api"
|
||||
- "{{ data_dir }}/api/db"
|
||||
- "{{ data_dir }}/api/app"
|
||||
|
||||
- name: "Clone latest API"
|
||||
git:
|
||||
repo: git@git.alexav.gg:alex/api.git
|
||||
dest: "{{ data_dir }}/api/app"
|
||||
|
||||
- name: "Build API Docker Image"
|
||||
docker_image:
|
||||
name: api
|
||||
tag: "latest"
|
||||
build:
|
||||
nocache: true
|
||||
path: "{{ data_dir }}/api/app"
|
||||
dockerfile: Dockerfile
|
||||
source: build
|
||||
force_source: true
|
||||
state: present
|
||||
|
||||
- name: Create API Network
|
||||
docker_network:
|
||||
name: api
|
||||
|
||||
- name: Deploy Redis Container
|
||||
docker_container:
|
||||
name: api_redis
|
||||
image: redis:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: api
|
||||
|
||||
- name: Deploy Database Container
|
||||
docker_container:
|
||||
name: api_postgres
|
||||
image: postgres:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: api
|
||||
volumes:
|
||||
- "{{ data_dir }}/api/db:/var/lib/postgresql/data"
|
||||
env:
|
||||
POSTGRES_USER: "api"
|
||||
POSTGRES_PASSWORD: "{{ API_POSTGRES_PASSWORD }}"
|
||||
PGDATA: "/var/lib/postgresql/data/pgdata"
|
||||
|
||||
- name: Deploy API Container
|
||||
docker_container:
|
||||
name: api
|
||||
image: api:latest
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
networks:
|
||||
- name: api
|
||||
- name: "{{ docker_network_name }}"
|
||||
env:
|
||||
NODE_ENV: "production"
|
||||
VERSION: "v4"
|
||||
REDIS_URL: "redis://api_redis:6379"
|
||||
ADMIN_KEY: "{{ API_ADMIN_KEY }}"
|
||||
ADMIN_BYPASS_KEY: "{{ API_ADMIN_KEY }}"
|
||||
DATABASE_URL: "{{ API_DATABASE_URL }}"
|
||||
LASTFM_API_KEY: "{{ API_LASTFM_API_KEY }}"
|
||||
STEAM_API_KEY: "{{ API_STEAM_API_KEY }}"
|
||||
CONTACT_WEBHOOK: "{{ API_CONTACT_WEBHOOK }}"
|
||||
JWT_KEY: "{{ API_JWT_KEY }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.aapi.rule: Host(`api.alexav.gg`)
|
||||
traefik.http.routers.aapi.entrypoints: webSecure
|
||||
traefik.http.routers.aapi.tls.certresolver: letsencrypt
|
||||
traefik.http.services.aapi.loadbalancer.server.url: http://api:3000
|
||||
@@ -1,33 +0,0 @@
|
||||
---
|
||||
- name: Deploy Tinyauth
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: tinyauth
|
||||
image:
|
||||
name: ghcr.io/steveiliop56/tinyauth
|
||||
tag: v5
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
env:
|
||||
TINYAUTH_AUTH_USERS: "{{ TINYAUTH_USERS }}"
|
||||
TINYAUTH_APPURL: "{{ TINYAUTH_APP_URL }}"
|
||||
TINYAUTH_OAUTH_PROVIDERS_POCKETID_CLIENTID: "{{ TINYAUTH_GENERIC_CLIENT_ID }}"
|
||||
TINYAUTH_OAUTH_PROVIDERS_POCKETID_CLIENTSECRET: "{{ TINYAUTH_GENERIC_CLIENT_SECRET }}"
|
||||
TINYAUTH_OAUTH_PROVIDERS_POCKETID_AUTHURL: "{{ TINYAUTH_GENERIC_AUTH_URL }}"
|
||||
TINYAUTH_OAUTH_PROVIDERS_POCKETID_TOKENURL: "{{ TINYAUTH_GENERIC_TOKEN_URL }}"
|
||||
TINYAUTH_OAUTH_PROVIDERS_POCKETID_USERINFOURL: "{{ TINYAUTH_GENERIC_USER_URL }}"
|
||||
TINYAUTH_OAUTH_PROVIDERS_POCKETID_SCOPES: "{{ TINYAUTH_GENERIC_SCOPES }}"
|
||||
TINYAUTH_OAUTH_PROVIDERS_POCKETID_NAME: "{{ TINYAUTH_GENERIC_NAME }}"
|
||||
TINYAUTH_OAUTH_PROVIDERS_POCKETID_REDIRECTURL: "{{ TINYAUTH_REDIRECT_URL }}"
|
||||
TINYAUTH_OAUTH_WHITELIST: "{{ TINYAUTH_OAUTH_WHITELIST }}"
|
||||
TINYAUTH_UI_TITLE: "{{ TINYAUTH_APP_TITLE }}"
|
||||
TINYAUTH_UI_BACKGROUNDIMAGE: "{{ TINYAUTH_BACKGROUND_IMAGE }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.tinyauth.rule: Host(`{{ TINYAUTH_HOSTNAME }}`)
|
||||
traefik.http.routers.tinyauth.entrypoints: webSecure
|
||||
traefik.http.routers.tinyauth.tls.certresolver: letsencrypt
|
||||
traefik.http.middlewares.tinyauth.forwardauth.address: http://tinyauth:3000/api/auth/traefik
|
||||
@@ -1,14 +1,23 @@
|
||||
---
|
||||
- name: Deploy Code Server
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: "codeserver"
|
||||
directories:
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/code-server"
|
||||
image:
|
||||
|
||||
- name: Pull latest Code Server Docker Image
|
||||
docker_image:
|
||||
name: lscr.io/linuxserver/code-server
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Code Server Docker Container
|
||||
docker_container:
|
||||
name: codeserver
|
||||
image: lscr.io/linuxserver/code-server:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
@@ -0,0 +1,25 @@
|
||||
---
|
||||
- name: Pull latest Cup Docker Image
|
||||
docker_image:
|
||||
name: ghcr.io/sergi0g/cup
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Cup Docker Container
|
||||
docker_container:
|
||||
name: Cup
|
||||
image: ghcr.io/sergi0g/cup
|
||||
command: serve
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.cup.rule: Host(`cup.fntz.net`)
|
||||
traefik.http.routers.cup.entrypoints: webSecure
|
||||
traefik.http.routers.cup.tls.certresolver: letsencrypt
|
||||
traefik.http.services.cup.loadbalancer.server.port: "8000"
|
||||
traefik.http.routers.cup.middlewares: tinyauth
|
||||
@@ -0,0 +1,23 @@
|
||||
---
|
||||
- name: Pull latest Dashdot Docker Image
|
||||
docker_image:
|
||||
name: mauricenino/dashdot
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Dashdot Docker Container
|
||||
docker_container:
|
||||
name: dashdot
|
||||
image: mauricenino/dashdot
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
- "/:/mnt/host:ro"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.dash.rule: Host(`stats.fntz.net`)
|
||||
traefik.http.routers.dash.entrypoints: webSecure
|
||||
traefik.http.routers.dash.tls.certresolver: letsencrypt
|
||||
traefik.http.services.dash.loadbalancer.server.port: "3001"
|
||||
@@ -1,14 +1,18 @@
|
||||
---
|
||||
- name: Deploy Dozzle
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: dozzle
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
image:
|
||||
- name: Pull latest Dozzle Docker Image
|
||||
docker_image:
|
||||
name: amir20/dozzle
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Dozzle Docker Container
|
||||
docker_container:
|
||||
name: dozzle
|
||||
image: amir20/dozzle:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
env:
|
||||
@@ -16,7 +20,7 @@
|
||||
DOZZLE_ENABLE_SHELL: "{{ DOZZLE_SHELL }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.dz.rule: Host(`{{ DOZZLE_URL }}`)
|
||||
traefik.http.routers.dz.rule: Host(`logs.fntz.net`)
|
||||
traefik.http.routers.dz.entrypoints: webSecure
|
||||
traefik.http.routers.dz.tls.certresolver: letsencrypt
|
||||
traefik.http.services.dz.loadbalancer.server.port: "8080"
|
||||
@@ -0,0 +1,63 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/drop"
|
||||
- "{{ data_dir }}/drop/db"
|
||||
- "{{ data_dir }}/drop/app"
|
||||
|
||||
- name: Create Drop Network
|
||||
docker_network:
|
||||
name: drop
|
||||
|
||||
- name: Pull latest Drop Docker Image
|
||||
docker_image:
|
||||
name: ghcr.io/drop-oss/drop
|
||||
tag: v0.3.3
|
||||
source: pull
|
||||
|
||||
- name: Create Drop DB Container
|
||||
docker_container:
|
||||
name: drop_postgres
|
||||
image: postgres:14-alpine
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
networks:
|
||||
- name: drop
|
||||
healthcheck:
|
||||
test: pg_isready -d drop -U drop
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
interval: 30s
|
||||
timeout: 60s
|
||||
volumes:
|
||||
- "{{ data_dir }}/drop/db:/var/lib/postgresql/data"
|
||||
env:
|
||||
POSTGRES_PASSWORD: "drop"
|
||||
POSTGRES_USER: "drop"
|
||||
POSTGRES_DB: "drop"
|
||||
|
||||
- name: Create Drop Container
|
||||
docker_container:
|
||||
name: drop
|
||||
image: ghcr.io/drop-oss/drop:latest
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
networks:
|
||||
- name: homelab
|
||||
- name: drop
|
||||
volumes:
|
||||
- "{{ media_path }}/Games/Desktop:/library"
|
||||
- "{{ data_dir }}/drop/app:/data"
|
||||
env:
|
||||
DATABASE_URL: "postgres://drop:drop@drop_postgres:5432/drop"
|
||||
GIANT_BOMB_API_KEY: "{{ DROP_GIANT_BOMB_API_KEY }}"
|
||||
EXTERNAL_URL: "https://games.fntz.net"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.drop.rule: Host(`games.fntz.net`)
|
||||
traefik.http.routers.drop.entrypoints: webSecure
|
||||
traefik.http.routers.drop.tls.certresolver: letsencrypt
|
||||
traefik.http.services.drop.loadbalancer.server.port: "3000"
|
||||
@@ -0,0 +1,21 @@
|
||||
---
|
||||
- name: Pull latest Excalidraw Docker Image
|
||||
docker_image:
|
||||
name: excalidraw/excalidraw
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Excalidraw Docker Container
|
||||
docker_container:
|
||||
name: excalidraw
|
||||
image: excalidraw/excalidraw
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.draw.rule: Host(`draw.fntz.net`)
|
||||
traefik.http.routers.draw.entrypoints: webSecure
|
||||
traefik.http.routers.draw.tls.certresolver: letsencrypt
|
||||
traefik.http.services.draw.loadbalancer.server.port: "80"
|
||||
@@ -0,0 +1,40 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/frigate"
|
||||
|
||||
- name: Pull latest Frigate Docker Image
|
||||
docker_image:
|
||||
name: ghcr.io/blakeblackshear/frigate
|
||||
tag: stable
|
||||
source: pull
|
||||
|
||||
- name: Deploy Frigate Docker Container
|
||||
docker_container:
|
||||
name: frigate
|
||||
image: ghcr.io/blakeblackshear/frigate:stable
|
||||
recreate: true
|
||||
privileged: true
|
||||
restart_policy: unless-stopped
|
||||
published_ports:
|
||||
- "5000:5000"
|
||||
- "8555:8555/tcp"
|
||||
- "8555:8555/udp"
|
||||
- "8554:8554"
|
||||
devices:
|
||||
- /dev/dri/renderD128:/dev/dri/renderD128
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- "{{ data_dir }}/frigate:/config"
|
||||
- "{{ FRIGATE_RECORDINGS_PATH }}:/media/frigate"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.frigate.rule: Host(`nvr.fntz.net`)
|
||||
traefik.http.routers.frigate.entrypoints: webSecure
|
||||
traefik.http.routers.frigate.tls.certresolver: letsencrypt
|
||||
traefik.http.services.frigate.loadbalancer.server.port: "5000"
|
||||
@@ -1,23 +0,0 @@
|
||||
---
|
||||
- name: Deploy Floof
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: floofs_adventure
|
||||
directories:
|
||||
- "{{ data_dir }}/floof"
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
build:
|
||||
git:
|
||||
repo: git@git.alexav.gg:alex/floofs-adventure.git
|
||||
dest: "{{ data_dir }}/floof"
|
||||
image:
|
||||
name: floofs-adventure
|
||||
tag: latest
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.floof.rule: Host(`floof.alexav.gg`)
|
||||
traefik.http.routers.floof.entrypoints: webSecure
|
||||
traefik.http.routers.floof.tls.certresolver: letsencrypt
|
||||
traefik.http.services.floof.loadbalancer.server.port: "3001"
|
||||
@@ -1,41 +0,0 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/pelican"
|
||||
|
||||
- name: Create Pelican Caddyfile
|
||||
template:
|
||||
src: templates/pelican/Caddyfile
|
||||
dest: "{{ data_dir }}/pelican/Caddyfile"
|
||||
|
||||
- name: Deploy Pelican Panel
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: Pelican
|
||||
image:
|
||||
name: ghcr.io/pelican/panel
|
||||
tag: latest
|
||||
volumes:
|
||||
- "pelican-data:/pelican-data"
|
||||
- "pelican-logs:/var/www/html/storage/logs"
|
||||
- "{{ data_dir }}/pelican/Caddyfile:/etc/caddy/Caddyfile"
|
||||
etc_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
env:
|
||||
XDG_DATA_HOME: /pelican-data
|
||||
TRUSTED_PROXIES: "172.18.0.0/16"
|
||||
APP_URL: "https://{{ PELICAN_APP_URL }}"
|
||||
ADMIN_EMAIL: "{{ PELICAN_EMAIL }}"
|
||||
BEHIND_PROXY: "true"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.pelican.rule: Host(`{{ PELICAN_APP_URL }}`)
|
||||
traefik.http.routers.pelican.entrypoints: webSecure
|
||||
traefik.http.routers.pelican.tls.certresolver: letsencrypt
|
||||
traefik.http.services.pelican.loadbalancer.server.port: "80"
|
||||
@@ -1,89 +0,0 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/pterodactyl"
|
||||
- "{{ data_dir }}/pterodactyl/var"
|
||||
- "{{ data_dir }}/pterodactyl/logs"
|
||||
- "{{ data_dir }}/pterodactyl/nginx"
|
||||
- "{{ data_dir }}/pterodactyl/db"
|
||||
|
||||
- name: Create Pterodactyl Network
|
||||
docker_network:
|
||||
name: pterodactyl
|
||||
|
||||
- name: Pull latest MariaDB Docker Image
|
||||
docker_image:
|
||||
name: mariadb
|
||||
tag: "10.5"
|
||||
source: pull
|
||||
- name: Pull latest Redis Docker image
|
||||
docker_image:
|
||||
name: redis
|
||||
tag: 7-alpine
|
||||
source: pull
|
||||
- name: Pull latest Pterodactyl Docker image
|
||||
docker_image:
|
||||
name: ghcr.io/pterodactyl/panel
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Redis Container
|
||||
docker_container:
|
||||
name: pterodactyl_redis
|
||||
image: redis:7-alpine
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
networks:
|
||||
- name: pterodactyl
|
||||
|
||||
- name: Create Database Container
|
||||
docker_container:
|
||||
name: pterodactyl_db
|
||||
image: mariadb:10.5
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
volumes:
|
||||
- "{{ data_dir }}/pterodactyl/db:/var/lib/mysql"
|
||||
networks:
|
||||
- name: pterodactyl
|
||||
env:
|
||||
MYSQL_DATABASE: "panel"
|
||||
MYSQL_USER: "pterodactyl"
|
||||
MYSQL_ROOT_PASSWORD: "{{ PTERODACTYL_MYSQL_ROOT_PASSWORD }}"
|
||||
MYSQL_PASSWORD: "{{ PTERODACTYL_MYSQL_PASSWORD }}"
|
||||
|
||||
- name: Create Pterodactyl Docker Container
|
||||
docker_container:
|
||||
name: pterodactyl
|
||||
image: ghcr.io/pterodactyl/panel:latest
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
networks:
|
||||
- name: pterodactyl
|
||||
- name: "{{ docker_network_name }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/pterodactyl/nginx:/etc/nginx/http.d"
|
||||
- "{{ data_dir }}/pterodactyl/logs:/app/storage/logs"
|
||||
- "{{ data_dir }}/pterodactyl/var:/app/var"
|
||||
env:
|
||||
APP_URL: "{{ PTERODACTYL_APP_URL }}"
|
||||
APP_ENVIRONMENT_ONLY: "false"
|
||||
APP_TIMEZONE: "{{ TZ }}"
|
||||
DB_PASSWORD: "{{ PTERODACTYL_MYSQL_PASSWORD }}"
|
||||
APP_ENV: "production"
|
||||
CACHE_DRIVER: "redis"
|
||||
SESSION_DRIVER: "redis"
|
||||
QUEUE_DRIVER: "redis"
|
||||
REDIS_HOST: "pterodactyl_redis"
|
||||
DB_HOST: "pterodactyl_db"
|
||||
TRUSTED_PROXIES: "*"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.panel.rule: Host(`{{ PTERODACTYL_APP_URL }}`)
|
||||
traefik.http.routers.panel.entrypoints: webSecure
|
||||
traefik.http.routers.panel.tls.certresolver: letsencrypt
|
||||
traefik.http.services.panel.loadbalancer.server.port: "80"
|
||||
@@ -1,43 +0,0 @@
|
||||
---
|
||||
- name: Deploy Romm
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: romm
|
||||
directories:
|
||||
- "{{ data_dir }}/romm"
|
||||
- "{{ data_dir }}/romm/igdb"
|
||||
- "{{ data_dir }}/romm/assets"
|
||||
- "{{ data_dir }}/romm/config"
|
||||
networks:
|
||||
- name: homelab
|
||||
image:
|
||||
name: rommapp/romm
|
||||
tag: latest
|
||||
volumes:
|
||||
- "{{ data_dir }}/romm/igdb:/romm/resources"
|
||||
- "{{ data_dir }}/romm/redis:/redis-data"
|
||||
- "{{ data_dir }}/romm/assets:/romm/assets"
|
||||
- "{{ data_dir }}/romm/config:/romm/config"
|
||||
- "{{ ROMM_LIBRARY_PATH }}:/romm/library"
|
||||
env:
|
||||
DB_HOST: mariadb
|
||||
DB_NAME: romm
|
||||
DB_USER: rommuser
|
||||
DB_PASSWD: romm
|
||||
ROMM_AUTH_SECRET_KEY: "{{ ROMM_AUTH_SECRET_KEY }}"
|
||||
IGDB_CLIENT_ID: "{{ ROMM_IGDB_CLIENT_ID }}"
|
||||
IGDB_CLIENT_SECRET: "{{ ROMM_IGDB_CLIENT_SECRET }}"
|
||||
OIDC_ENABLED: "{{ ROMM_OIDC_ENABLED }}"
|
||||
OIDC_PROVIDER: "{{ ROMM_OIDC_PROVIDER }}"
|
||||
OIDC_CLIENT_ID: "{{ ROMM_OIDC_CLIENT_ID }}"
|
||||
OIDC_CLIENT_SECRET: "{{ ROMM_OIDC_CLIENT_SECRET }}"
|
||||
OIDC_REDIRECT_URI: "{{ ROMM_OIDC_REDIRECT_URL }}"
|
||||
OIDC_CLAIM_ROLES: "{{ ROMM_OIDC_CLAIM_ROLES }}"
|
||||
OIDC_SERVER_APPLICATION_URL: "{{ ROMM_SERVER_APPLICATION_URL }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.emu.rule: Host(`emu.fntz.net`)
|
||||
traefik.http.routers.emu.entrypoints: webSecure
|
||||
traefik.http.routers.emu.tls.certresolver: letsencrypt
|
||||
traefik.http.services.emu.loadbalancer.server.port: "8080"
|
||||
@@ -1,51 +0,0 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/wings"
|
||||
- "{{ data_dir }}/wings/lib"
|
||||
|
||||
- name: Pull latest Wings Docker image
|
||||
docker_image:
|
||||
name: ghcr.io/pterodactyl/wings
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Wings Network
|
||||
docker_network:
|
||||
name: wings
|
||||
driver: bridge
|
||||
ipam_config:
|
||||
- subnet: "172.55.0.0/16"
|
||||
|
||||
- name: Create Wings Docker Container
|
||||
docker_container:
|
||||
name: pterodactyl_wings
|
||||
image: ghcr.io/pterodactyl/wings:latest
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
networks:
|
||||
- name: wings
|
||||
- name: "{{ docker_network_name }}"
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
- "/etc/pterodactyl:/etc/pterodactyl"
|
||||
- "{{ data_dir }}/wings/lib:{{ data_dir }}/wings/lib"
|
||||
- "{{ WINGS_CONTAINER_DIR }}:{{ WINGS_CONTAINER_DIR }}"
|
||||
- "/var/log/pterodactyl:/var/log/pterodactyl"
|
||||
- "/tmp/pterodactyl:/tmp/pterodactyl"
|
||||
env:
|
||||
TZ: "{{ TZ }}"
|
||||
WINGS_UID: "988"
|
||||
WINGS_GID: "988"
|
||||
WINGS_USERNAME: pterodactyl
|
||||
published_ports:
|
||||
- "2022:2022"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.wings.rule: Host(`{{ WINGS_URL }}`)
|
||||
traefik.http.routers.wings.entrypoints: webSecure
|
||||
traefik.http.routers.wings.tls.certresolver: letsencrypt
|
||||
traefik.http.services.wings.loadbalancer.server.port: "8080"
|
||||
@@ -1,14 +1,23 @@
|
||||
---
|
||||
- name: Deploy Gitea
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: gitea
|
||||
directories:
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/gitea"
|
||||
image:
|
||||
|
||||
- name: Pull latest Gitea Docker Image
|
||||
docker_image:
|
||||
name: docker.gitea.com/gitea
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Gitea Docker Container
|
||||
docker_container:
|
||||
name: gitea
|
||||
image: docker.gitea.com/gitea:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
volumes:
|
||||
@@ -17,7 +26,6 @@
|
||||
published_ports:
|
||||
- "2222:22"
|
||||
env:
|
||||
TZ: "{{ TZ }}"
|
||||
USER_UID: "1000"
|
||||
USER_GID: "1000"
|
||||
labels:
|
||||
@@ -0,0 +1,39 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/glance"
|
||||
- "{{ data_dir }}/glance/config"
|
||||
- "{{ data_dir }}/glance/assets"
|
||||
|
||||
- name: Pull latest Glance Docker Image
|
||||
docker_image:
|
||||
name: glanceapp/glance
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Glance Docker Container
|
||||
docker_container:
|
||||
name: glance
|
||||
image: glanceapp/glance
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
env:
|
||||
PIHOLE_TOKEN: "{{ GLANCE_PIHOLE_TOKEN }}"
|
||||
VIDEO_MACHINE: "{{ GLANCE_VIDEO_MACHINE }}"
|
||||
JELLYFIN_URL: "{{ GLANCE_JELLYFIN_URL }}"
|
||||
JELLYFIN_TOKEN: "{{ GLANCE_JELLYFIN_TOKEN }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/glance/config:/app/config"
|
||||
- "{{ data_dir }}/glance/assets:/app/assets"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.glance.rule: Host(`fntz.net`)
|
||||
traefik.http.routers.glance.entrypoints: webSecure
|
||||
traefik.http.routers.glance.tls.certresolver: letsencrypt
|
||||
traefik.http.services.glance.loadbalancer.server.port: "8080"
|
||||
@@ -0,0 +1,53 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/gluetun"
|
||||
|
||||
- name: Pull latest Gluetun Docker Image
|
||||
docker_image:
|
||||
name: qmcgaw/gluetun
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Deploy Gluetun Docker Container
|
||||
docker_container:
|
||||
name: gluetun
|
||||
image: qmcgaw/gluetun
|
||||
recreate: true
|
||||
capabilities:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
volumes:
|
||||
- "{{ data_dir }}/gluetun:/gluetun"
|
||||
networks:
|
||||
- name: homelab
|
||||
published_ports:
|
||||
- 8888:8888/tcp
|
||||
- 8388:8388/tcp
|
||||
- 8388:8388/udp
|
||||
env:
|
||||
VPN_SERVICE_PROVIDER: "{{ GLUETUN_VPN_SERVICE_PROVIDER }}"
|
||||
VPN_TYPE: "wireguard"
|
||||
WIREGUARD_PRIVATE_KEY: "{{ GLUETUN_WIREGUARD_PRIVATE_KEY }}"
|
||||
WIREGUARD_ADDRESSES: "{{ GLUETUN_WIREGUARD_ADDRESSES }}"
|
||||
SERVER_COUNTRIES: "{{ GLUETUN_SERVER_COUNTRIES }}"
|
||||
SERVER_CITIES: "{{ GLUETUN_SERVER_CITIES }}"
|
||||
SERVER_HOSTNAMES: "{{ GLUETUN_SERVER_HOSTNAMES }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
|
||||
traefik.http.routers.qbit.rule: Host(`qbit.fntz.net`)
|
||||
traefik.http.routers.qbit.service: qbit
|
||||
traefik.http.routers.qbit.entrypoints: webSecure
|
||||
traefik.http.routers.qbit.tls.certresolver: letsencrypt
|
||||
traefik.http.services.qbit.loadbalancer.server.port: "8090"
|
||||
|
||||
traefik.http.routers.jackett.rule: Host(`jackett.fntz.net`)
|
||||
traefik.http.routers.jackett.service: jackett
|
||||
traefik.http.routers.jackett.entrypoints: webSecure
|
||||
traefik.http.routers.jackett.tls.certresolver: letsencrypt
|
||||
traefik.http.services.jackett.loadbalancer.server.port: "9117"
|
||||
@@ -0,0 +1,95 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/helium"
|
||||
|
||||
- name: Clone latest services
|
||||
git:
|
||||
repo: git@git.alexav.gg:alex/helium-services.git
|
||||
dest: "{{ data_dir }}/helium"
|
||||
|
||||
- name: Build NGINX image
|
||||
docker_image:
|
||||
name: helium_nginx
|
||||
tag: "latest"
|
||||
build:
|
||||
args:
|
||||
SERVICES_HOSTNAME: "{{ HELIUM_BASE_URL }}"
|
||||
path: "{{ data_dir }}/helium/svc"
|
||||
dockerfile: "{{ data_dir }}/helium/svc/nginx/Dockerfile"
|
||||
source: build
|
||||
force_source: yes
|
||||
state: present
|
||||
|
||||
- name: Build Extension Proxy image
|
||||
docker_image:
|
||||
name: helium_ext_proxy
|
||||
tag: "latest"
|
||||
build:
|
||||
path: "{{ data_dir }}/helium/svc/extension-proxy"
|
||||
dockerfile: Dockerfile
|
||||
source: build
|
||||
force_source: yes
|
||||
state: present
|
||||
|
||||
- name: Build UBO image
|
||||
docker_image:
|
||||
name: helium_ubo
|
||||
tag: "latest"
|
||||
build:
|
||||
path: "{{ data_dir }}/helium/svc/ubo"
|
||||
dockerfile: Dockerfile
|
||||
source: build
|
||||
force_source: yes
|
||||
state: present
|
||||
|
||||
- name: Create Helium Network
|
||||
docker_network:
|
||||
name: helium
|
||||
|
||||
- name: Create NGINX Container
|
||||
docker_container:
|
||||
name: helium_nginx
|
||||
image: helium_nginx:latest
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
shm_size: "512M"
|
||||
networks:
|
||||
- name: helium
|
||||
- name: homelab
|
||||
mounts:
|
||||
- type: tmpfs
|
||||
target: /tmp
|
||||
tmpfs_size: 5G
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.helium.rule: Host(`helium.fntz.net`)
|
||||
traefik.http.routers.helium.entrypoints: webSecure
|
||||
traefik.http.routers.helium.tls.certresolver: letsencrypt
|
||||
traefik.http.services.helium.loadbalancer.server.port: "80"
|
||||
|
||||
- name: Create UBO Proxy Container
|
||||
docker_container:
|
||||
name: helium_ubo
|
||||
image: helium_ubo:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: helium
|
||||
env:
|
||||
UBO_PROXY_BASE_URL: "https://{{ HELIUM_BASE_URL }}/ubo"
|
||||
|
||||
- name: Create Extension Proxy Container
|
||||
docker_container:
|
||||
name: helium_ext_proxy
|
||||
image: helium_ext_proxy:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: helium
|
||||
env:
|
||||
HMAC_SECRET: "{{ HELIUM_EXT_HMAC_SECRET }}"
|
||||
PROXY_BASE_URL: "https://{{ HELIUM_BASE_URL }}/ext"
|
||||
@@ -0,0 +1,31 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/homeassistant"
|
||||
|
||||
- name: Pull HA Docker Image
|
||||
docker_image:
|
||||
name: ghcr.io/home-assistant/home-assistant:stable
|
||||
source: pull
|
||||
|
||||
- name: Deploy Home Assistant Container
|
||||
docker_container:
|
||||
name: home_assistant
|
||||
image: ghcr.io/home-assistant/home-assistant:stable
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
network_mode: host
|
||||
privileged: true
|
||||
volumes:
|
||||
- "{{ data_dir }}/homeassistant:/config"
|
||||
- "/etc/localtime:/etc/localtime"
|
||||
- "/run/dbus:/run/dbus:ro"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.ha.rule: Host(`ha.fntz.net`)
|
||||
traefik.http.routers.ha.entrypoints: webSecure
|
||||
traefik.http.routers.ha.tls.certresolver: letsencrypt
|
||||
traefik.http.services.ha.loadbalancer.server.url: "http://{{ TRAEFIK_HOST_IP }}:8123"
|
||||
@@ -0,0 +1,30 @@
|
||||
---
|
||||
- name: Create Folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/homebridge"
|
||||
|
||||
- name: Pull latest Homebridge Docker Image
|
||||
docker_image:
|
||||
name: homebridge/homebridge
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Homebridge Docker Container
|
||||
docker_container:
|
||||
name: homebridge
|
||||
image: homebridge/homebridge:latest
|
||||
restart_policy: unless-stopped
|
||||
network_mode: host
|
||||
recreate: true
|
||||
volumes:
|
||||
- "{{ data_dir }}/homebridge:/homebridge"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.bridge.rule: Host(`bridge.fntz.net`)
|
||||
traefik.http.routers.bridge.entrypoints: webSecure
|
||||
traefik.http.routers.bridge.tls.certresolver: letsencrypt
|
||||
traefik.http.services.bridge.loadbalancer.server.url: "http://{{ TRAEFIK_HOST_IP }}:8581"
|
||||
traefik.http.routers.bridge.middlewares: tinyauth
|
||||
@@ -0,0 +1,69 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/immich"
|
||||
- "{{ data_dir }}/immich/model-cache"
|
||||
- "{{ data_dir }}/immich/db"
|
||||
|
||||
- name: Create Immich Redis Docker Container
|
||||
docker_container:
|
||||
name: immich_redis
|
||||
image: docker.io/valkey/valkey:8-bookworm@sha256:ff21bc0f8194dc9c105b769aeabf9585fea6a8ed649c0781caeac5cb3c247884
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: immich
|
||||
|
||||
- name: Create Immich DB Docker Container
|
||||
docker_container:
|
||||
name: immich_postgres
|
||||
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
volumes:
|
||||
- "{{ data_dir }}/immich/db:/var/lib/postgresql/data"
|
||||
env:
|
||||
POSTGRES_PASSWORD: "{{ IMMICH_DB_PASSWORD }}"
|
||||
POSTGRES_USER: "{{ IMMICH_DB_USERNAME }}"
|
||||
POSTGRES_DB: "{{ IMMICH_DB_DATABASE_NAME }}"
|
||||
POSTGRES_INITDB_ARGS: "--data-checksums"
|
||||
networks:
|
||||
- name: immich
|
||||
|
||||
# - name: Create Immich ML Docker Container
|
||||
# docker_container:
|
||||
# name: immich_machine_learning
|
||||
# image: ghcr.io/immich-app/immich-machine-learning:release
|
||||
# restart_policy: unless-stopped
|
||||
# recreate: true
|
||||
# volumes:
|
||||
# - "{{ data_dir }}/immich/model-cache:/cache"
|
||||
# networks:
|
||||
# - name: immich
|
||||
|
||||
- name: Create Immich Server Docker Container
|
||||
docker_container:
|
||||
name: immich_server
|
||||
image: ghcr.io/immich-app/immich-server:release
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
- name: immich
|
||||
volumes:
|
||||
- "{{ IMMICH_UPLOAD_LOCATION }}:/usr/src/app/upload"
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
env:
|
||||
DB_HOSTNAME: "immich_postgres"
|
||||
REDIS_HOSTNAME: "immich_redis"
|
||||
DB_PASSWORD: "{{ IMMICH_DB_PASSWORD }}"
|
||||
DB_USERNAME: "{{ IMMICH_DB_USERNAME }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.img.rule: Host(`img.fntz.net`)
|
||||
traefik.http.routers.img.entrypoints: webSecure
|
||||
traefik.http.routers.img.tls.certresolver: letsencrypt
|
||||
traefik.http.services.img.loadbalancer.server.port: "2283"
|
||||
@@ -1,52 +0,0 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/garage"
|
||||
- "{{ data_dir }}/garage/meta"
|
||||
- "{{ data_dir }}/garage/data"
|
||||
|
||||
- name: Create Garage Configuration
|
||||
template:
|
||||
src: templates/garage/garage.toml.j2
|
||||
dest: "{{ data_dir }}/garage/garage.toml"
|
||||
|
||||
- name: Deploy Garage S3
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: garage
|
||||
image:
|
||||
name: dxflrs/garage
|
||||
tag: v2.3.0
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/garage/garage.toml:/etc/garage.toml"
|
||||
- "{{ data_dir }}/garage/meta:/var/lib/garage/meta"
|
||||
- "{{ data_dir }}/garage/data:/var/lib/garage/data"
|
||||
env:
|
||||
GARAGE_DEFAULT_ACCESS_KEY: "{{ GARAGE_DEFAULT_ACCESS_KEY }}"
|
||||
GARAGE_DEFAULT_SECRET_KEY: "{{ GARAGE_DEFAULT_SECRET_KEY }}"
|
||||
GARAGE_DEFAULT_BUCKET: "{{ GARAGE_DEFAULT_BUCKET }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.s3.rule: Host(`s3.citadel.fntz.net`)
|
||||
traefik.http.routers.s3.entrypoints: webSecure
|
||||
traefik.http.routers.s3.tls.certresolver: letsencrypt
|
||||
traefik.http.routers.s3.service: s3
|
||||
traefik.http.services.s3.loadbalancer.server.port: "3900"
|
||||
|
||||
traefik.http.routers.s3-web.rule: Host(`s3-web.citadel.fntz.net`)
|
||||
traefik.http.routers.s3-web.entrypoints: webSecure
|
||||
traefik.http.routers.s3-web.tls.certresolver: letsencrypt
|
||||
traefik.http.routers.s3-web.service: s3-web
|
||||
traefik.http.services.s3-web.loadbalancer.server.port: "3902"
|
||||
|
||||
traefik.http.routers.s3-admin.rule: Host(`s3-admin.citadel.fntz.net`)
|
||||
traefik.http.routers.s3-admin.entrypoints: webSecure
|
||||
traefik.http.routers.s3-admin.tls.certresolver: letsencrypt
|
||||
traefik.http.routers.s3-admin.service: s3-admin
|
||||
traefik.http.services.s3-admin.loadbalancer.server.port: "3903"
|
||||
@@ -1,41 +0,0 @@
|
||||
---
|
||||
- name: Deploy MariaDB Database
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: mariadb
|
||||
directories:
|
||||
- "{{ data_dir }}/db"
|
||||
- "{{ data_dir }}/db/import"
|
||||
image:
|
||||
name: mariadb
|
||||
tag: latest
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/db:/var/lib/mysql"
|
||||
- "{{ data_dir }}/db/etc:/etc/mysql"
|
||||
- "{{ data_dir }}/db/import:/mnt/import"
|
||||
env:
|
||||
MARIADB_USER: "{{ MARIADB_DB_USER }}"
|
||||
MARIADB_ROOT_PASSWORD: "{{ MARIADB_DB_PASSWORD }}"
|
||||
|
||||
- name: Deploy PHPMyAdmin
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: phpmyadmin
|
||||
image:
|
||||
name: phpmyadmin
|
||||
tag: latest
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
env:
|
||||
PMA_HOST: "{{ MARIADB_PMA_HOST }}"
|
||||
PMA_PORT: "{{ MARIADB_PMA_PORT }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.pma.rule: Host(`{{ MARIADB_PMA_URL }}`)
|
||||
traefik.http.routers.pma.entrypoints: webSecure
|
||||
traefik.http.routers.pma.tls.certresolver: letsencrypt
|
||||
traefik.http.services.pma.loadbalancer.server.port: "80"
|
||||
@@ -1,21 +0,0 @@
|
||||
---
|
||||
- name: Deploy Postgres
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: postgres
|
||||
image:
|
||||
name: postgres
|
||||
tag: 18-alpine
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
directories:
|
||||
- "{{ data_dir }}/postgres"
|
||||
- "{{ data_dir }}/postgres/data"
|
||||
- "{{ data_dir }}/postgres/import"
|
||||
volumes:
|
||||
- "{{ data_dir }}/postgres/data:/var/lib/postgresql/18/docker"
|
||||
- "{{ data_dir }}/postgres/import:/mnt/import"
|
||||
env:
|
||||
POSTGRES_USER: "{{ POSTGRES_USER }}"
|
||||
POSTGRES_PASSWORD: "{{ POSTGRES_PASSWORD }}"
|
||||
@@ -1,11 +0,0 @@
|
||||
---
|
||||
- name: Deploy Redis
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: redis
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
image:
|
||||
name: redis
|
||||
tag: latest
|
||||
@@ -1,26 +0,0 @@
|
||||
---
|
||||
- name: Create Gitea Runner Configuration
|
||||
template:
|
||||
src: templates/runner/gitea-runner.yaml.j2
|
||||
dest: "{{ data_dir }}/gitea/config.yaml"
|
||||
|
||||
- name: Deploy Gitea Runner
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: gitea-runner
|
||||
directories:
|
||||
- "{{ data_dir }}/gitea"
|
||||
image:
|
||||
name: docker.io/gitea/act_runner
|
||||
tag: nightly
|
||||
network_mode: host
|
||||
volumes:
|
||||
- "{{ data_dir }}/gitea/config.yaml:/config.yaml"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
env:
|
||||
CONFIG_FILE: "/config.yaml"
|
||||
GITEA_INSTANCE_URL: "{{ GITEA_INSTANCE_URL }}"
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ GITEA_RUNNER_REGISTRATION_TOKEN }}"
|
||||
GITEA_RUNNER_NAME: "runner"
|
||||
GITEA_RUNNER_LABELS: "runner:host"
|
||||
@@ -0,0 +1,28 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/jackett"
|
||||
|
||||
- name: Pull latest Jackett Docker Image
|
||||
docker_image:
|
||||
name: lscr.io/linuxserver/jackett
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Deploy Jackett Docker Container
|
||||
docker_container:
|
||||
name: jackett
|
||||
image: lscr.io/linuxserver/jackett
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
network_mode: "container:gluetun"
|
||||
volumes:
|
||||
- "{{ data_dir }}/jackett:/config"
|
||||
- "{{ media_path}}/Downloads:/downloads"
|
||||
env:
|
||||
PUID: "{{ PUID }}"
|
||||
PGID: "{{ PGID }}"
|
||||
TZ: "{{ TZ }}"
|
||||
@@ -0,0 +1,39 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/jellyfin"
|
||||
|
||||
- name: Pull latest Jellyfin Docker Image
|
||||
docker_image:
|
||||
name: lscr.io/linuxserver/jellyfin
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Jellyfin Docker Container
|
||||
docker_container:
|
||||
name: jellyfin
|
||||
image: lscr.io/linuxserver/jellyfin:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
published_ports:
|
||||
- 8096:8096
|
||||
volumes:
|
||||
- "{{ data_dir }}/jellyfin:/config"
|
||||
- "{{ JELLYFIN_TV_PATH }}:/data/tvshows"
|
||||
- "{{ JELLYFIN_MOVIE_PATH }}:/data/movies"
|
||||
- "{{ JELLYFIN_MUSIC_PATH }}:/data/music"
|
||||
env:
|
||||
PUID: "{{ PUID }}"
|
||||
PGID: "{{ PGID }}"
|
||||
TZ: "{{ TZ }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.jf.rule: Host(`jf.fntz.net`)
|
||||
traefik.http.routers.jf.entrypoints: webSecure
|
||||
traefik.http.routers.jf.tls.certresolver: letsencrypt
|
||||
traefik.http.services.jf.loadbalancer.server.port: "8096"
|
||||
@@ -0,0 +1,35 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/kavita"
|
||||
|
||||
- name: Pull latest Kavita Docker Image
|
||||
docker_image:
|
||||
name: lscr.io/linuxserver/kavita
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Deploy Kavita Docker Container
|
||||
docker_container:
|
||||
name: kavita
|
||||
image: lscr.io/linuxserver/kavita
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
volumes:
|
||||
- "{{ data_dir }}/kavita:/config"
|
||||
- "{{ media_path }}/Books:/books"
|
||||
env:
|
||||
PUID: "{{ PUID }}"
|
||||
PGID: "{{ PGID }}"
|
||||
TZ: "{{ TZ }}"
|
||||
networks:
|
||||
- name: homelab
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.read.rule: Host(`read.fntz.net`)
|
||||
traefik.http.routers.read.entrypoints: webSecure
|
||||
traefik.http.routers.read.tls.certresolver: letsencrypt
|
||||
traefik.http.services.read.loadbalancer.server.port: "5000"
|
||||
@@ -1,40 +0,0 @@
|
||||
---
|
||||
- name: Deploy AudioBookshelf
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: audiobookshelf_abs
|
||||
network_name: "abs"
|
||||
directories:
|
||||
- "{{ data_dir }}/audiobookshelf"
|
||||
- "{{ data_dir }}/audiobookshelf/config"
|
||||
- "{{ data_dir }}/audiobookshelf/metadata"
|
||||
image:
|
||||
name: ghcr.io/advplyr/audiobookshelf
|
||||
tag: latest
|
||||
networks:
|
||||
- name: homelab
|
||||
- name: abs
|
||||
volumes:
|
||||
- "{{ media_path }}/Books/Audiobooks:/audiobooks"
|
||||
- "{{ data_dir }}/audiobookshelf/config:/config"
|
||||
- "{{ data_dir }}/audiobookshelf/metadata:/metadata"
|
||||
env:
|
||||
TZ: "{{ TZ }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.audiobookshelf.rule: Host(`abooks.fntz.net`)
|
||||
traefik.http.routers.audiobookshelf.entrypoints: webSecure
|
||||
traefik.http.routers.audiobookshelf.tls.certresolver: letsencrypt
|
||||
traefik.http.services.audiobookshelf.loadbalancer.server.port: "80"
|
||||
|
||||
- name: Deploy abs-tract
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: audiobookshelf_abs-tract
|
||||
image:
|
||||
name: arranhs/abs-tract
|
||||
tag: latest
|
||||
networks:
|
||||
- name: "abs"
|
||||
@@ -1,26 +0,0 @@
|
||||
---
|
||||
- name: Deploy Ersatz
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: ersatztv
|
||||
directories:
|
||||
- "{{ data_dir }}/ersatz"
|
||||
image:
|
||||
name: ghcr.io/ersatztv/ersatztv
|
||||
tag: latest
|
||||
networks:
|
||||
- name: homelab
|
||||
published_ports:
|
||||
- "8409:8409"
|
||||
volumes:
|
||||
- "{{ data_dir }}/ersatz:/config"
|
||||
- "{{ media_path }}:/media"
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.iptv.rule: Host(`iptv.fntz.net`)
|
||||
traefik.http.routers.iptv.entrypoints: webSecure
|
||||
traefik.http.routers.iptv.tls.certresolver: letsencrypt
|
||||
traefik.http.services.iptv.loadbalancer.server.port: "8409"
|
||||
@@ -1,29 +0,0 @@
|
||||
---
|
||||
- name: Deploy Frigate
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: frigate
|
||||
directories:
|
||||
- "{{ data_dir }}/frigate"
|
||||
image:
|
||||
name: ghcr.io/blakeblackshear/frigate
|
||||
tag: stable
|
||||
privileged: true
|
||||
devices:
|
||||
- /dev/dri
|
||||
- /dev/kfd
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- "{{ data_dir }}/frigate:/config"
|
||||
- "{{ media_path }}/Cameras:/media/frigate"
|
||||
env:
|
||||
LIBVA_DRIVER_NAME: radeonsi
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.frigate.rule: Host(`nvr.fntz.net`)
|
||||
traefik.http.routers.frigate.entrypoints: webSecure
|
||||
traefik.http.routers.frigate.tls.certresolver: letsencrypt
|
||||
traefik.http.services.frigate.loadbalancer.server.port: "5000"
|
||||
@@ -1,61 +0,0 @@
|
||||
---
|
||||
- name: Deploy Immich DB
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: immich_postgres
|
||||
directories:
|
||||
- "{{ data_dir }}/immich"
|
||||
- "{{ data_dir }}/immich/model-cache"
|
||||
- "{{ data_dir }}/immich/db"
|
||||
image:
|
||||
name: ghcr.io/immich-app/postgres
|
||||
tag: 14-vectorchord0.4.3-pgvectors0.2.0
|
||||
volumes:
|
||||
- "{{ data_dir }}/immich/db:/var/lib/postgresql/data"
|
||||
env:
|
||||
POSTGRES_PASSWORD: "{{ IMMICH_DB_PASSWORD }}"
|
||||
POSTGRES_USER: "{{ IMMICH_DB_USERNAME }}"
|
||||
POSTGRES_DB: "{{ IMMICH_DB_DATABASE_NAME }}"
|
||||
POSTGRES_INITDB_ARGS: "--data-checksums"
|
||||
networks:
|
||||
- name: immich
|
||||
network_name: immich
|
||||
- name: Deploy Immich Redis
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: immich_redis
|
||||
image:
|
||||
name: docker.io/valkey/valkey
|
||||
tag: 8-bookworm
|
||||
networks:
|
||||
- name: immich
|
||||
- name: Deploy Immich Server
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: immich
|
||||
image:
|
||||
name: ghcr.io/immich-app/immich-server
|
||||
tag: v3.3.5
|
||||
networks:
|
||||
- name: homelab
|
||||
- name: immich
|
||||
volumes:
|
||||
- "{{ IMMICH_UPLOAD_LOCATION }}:/usr/src/app/upload"
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
env:
|
||||
PUID: "{{ PUID }}"
|
||||
PGID: "{{ PGID }}"
|
||||
DB_HOSTNAME: "immich_postgres"
|
||||
REDIS_HOSTNAME: "immich_redis"
|
||||
DB_PASSWORD: "{{ IMMICH_DB_PASSWORD }}"
|
||||
DB_USERNAME: "{{ IMMICH_DB_USERNAME }}"
|
||||
DB_DATABASE_NAME: "{{ IMMICH_DB_DATABASE_NAME }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.img.rule: Host(`img.fntz.net`)
|
||||
traefik.http.routers.img.entrypoints: webSecure
|
||||
traefik.http.routers.img.tls.certresolver: letsencrypt
|
||||
traefik.http.services.img.loadbalancer.server.port: "2283"
|
||||
@@ -1,51 +0,0 @@
|
||||
---
|
||||
- name: Deploy NC MariaDB
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: nextcloud_mariadb
|
||||
network_name: nextcloud
|
||||
directories:
|
||||
- "{{ data_dir }}/nextcloud"
|
||||
- "{{ data_dir }}/nextcloud/data"
|
||||
- "{{ data_dir }}/nextcloud/db"
|
||||
- "{{ data_dir }}/nextcloud/db/import"
|
||||
image:
|
||||
name: mariadb
|
||||
tag: latest
|
||||
networks:
|
||||
- name: "nextcloud"
|
||||
volumes:
|
||||
- "{{ data_dir }}/nextcloud/db:/var/lib/mysql"
|
||||
- "{{ data_dir }}/nextcloud/db/etc:/etc/mysql"
|
||||
- "{{ data_dir }}/nextcloud/db/import:/mnt/import"
|
||||
env:
|
||||
MARIADB_USER: "nextcloud"
|
||||
MARIADB_DATABASE: "nextcloud"
|
||||
MARIADB_PASSWORD: "{{ NEXTCLOUD_MYSQL_PASSWORD }}"
|
||||
MARIADB_ROOT_PASSWORD: "{{ NEXTCLOUD_MYSQL_PASSWORD }}"
|
||||
|
||||
- name: Deploy Nextcloud
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: "nextcloud"
|
||||
image:
|
||||
name: nextcloud
|
||||
tag: latest
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
- name: nextcloud
|
||||
volumes:
|
||||
- "{{ data_dir }}/nextcloud/data:/var/www/html"
|
||||
env:
|
||||
TZ: "{{ TZ }}"
|
||||
MYSQL_PASSWORD: "{{ NEXTCLOUD_MYSQL_PASSWORD }}"
|
||||
MYSQL_DATABASE: "nextcloud"
|
||||
MYSQL_USER: "nextcloud"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.nc.rule: Host(`{{ NEXTCLOUD_APP_URL }}`)
|
||||
traefik.http.routers.nc.entrypoints: webSecure
|
||||
traefik.http.routers.nc.tls.certresolver: letsencrypt
|
||||
traefik.http.services.nc.loadbalancer.server.port: "80"
|
||||
@@ -1,28 +0,0 @@
|
||||
---
|
||||
- name: Deploy Plex
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: plex
|
||||
image:
|
||||
name: lscr.io/linuxserver/plex
|
||||
tag: latest
|
||||
networks:
|
||||
- name: homelab
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
env:
|
||||
PUID: "1000"
|
||||
PGID: "1000"
|
||||
TZ: "{{ TZ }}"
|
||||
VERSION: "docker"
|
||||
PLEX_CLAIM: "{{ PLEX_CLAIM_TOKEN }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/plex:/config"
|
||||
- "{{ media_path }}:/media"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.plex.rule: Host(`tv.fntz.net`)
|
||||
traefik.http.routers.plex.entrypoints: webSecure
|
||||
traefik.http.routers.plex.tls.certresolver: letsencrypt
|
||||
traefik.http.services.plex.loadbalancer.server.port: "32400"
|
||||
@@ -1,66 +0,0 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/scrobbling"
|
||||
- "{{ data_dir }}/scrobbling/koito"
|
||||
- "{{ data_dir }}/scrobbling/multi-scrobbler"
|
||||
|
||||
- name: Create Scrobbler Configuration
|
||||
template:
|
||||
src: templates/scrobbling/lastfm.json.j2
|
||||
dest: "{{ data_dir }}/scrobbling/multi-scrobbler/lastfm.json"
|
||||
|
||||
- name: Create Scrobbler Client Configuration
|
||||
template:
|
||||
src: templates/scrobbling/koito.json.j2
|
||||
dest: "{{ data_dir }}/scrobbling/multi-scrobbler/koito.json"
|
||||
|
||||
- name: Deploy Kotio
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: scrobbling_koito
|
||||
network_name: scrobbling
|
||||
networks:
|
||||
- name: scrobbling
|
||||
- name: homelab
|
||||
image:
|
||||
name: gabehf/koito
|
||||
tag: latest
|
||||
env:
|
||||
KOITO_ALLOWED_HOSTS: koito.fntz.net
|
||||
volumes:
|
||||
- "{{ data_dir }}/scrobbling/koito:/etc/koito"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.kotio.rule: Host(`koito.fntz.net`)
|
||||
traefik.http.routers.kotio.entrypoints: webSecure
|
||||
traefik.http.routers.kotio.tls.certresolver: letsencrypt
|
||||
traefik.http.services.kotio.loadbalancer.server.port: "4110"
|
||||
|
||||
- name: Deploy Multi-Scrobbler
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: scrobbling_multi-scrobbler
|
||||
image:
|
||||
name: ghcr.io/foxxmd/multi-scrobbler
|
||||
tag: latest
|
||||
networks:
|
||||
- name: scrobbling
|
||||
- name: homelab
|
||||
volumes:
|
||||
- "{{ data_dir }}/scrobbling/multi-scrobbler:/config"
|
||||
env:
|
||||
KOITO_TOKEN: "{{ SCROBBLER_KOITO_TOKEN }}"
|
||||
KOITO_USER: "{{ SCROBBLER_KOITO_USER }}"
|
||||
KOITO_URL: "{{ SCROBBLER_KOITO_URL }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.scrobbler.rule: Host(`scrobbler.fntz.net`)
|
||||
traefik.http.routers.scrobbler.entrypoints: webSecure
|
||||
traefik.http.routers.scrobbler.tls.certresolver: letsencrypt
|
||||
traefik.http.services.scrobbler.loadbalancer.server.port: "9078"
|
||||
@@ -1,56 +0,0 @@
|
||||
# need to redeploy
|
||||
---
|
||||
- name: Deploy Radarr
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: servarr_radarr
|
||||
directories:
|
||||
- "{{ data_dir }}/servarr"
|
||||
- "{{ data_dir }}/servarr/sonarr_config"
|
||||
- "{{ data_dir }}/servarr/radarr_config"
|
||||
- "{{ data_dir }}/servarr/lidarr_config"
|
||||
image:
|
||||
name: lscr.io/linuxserver/radarr
|
||||
tag: latest
|
||||
volumes:
|
||||
- "{{ data_dir }}/servarr/radarr_config:/config"
|
||||
- "{{ media_path }}:/media"
|
||||
- "{{ media_path }}/Downloads:/downloads"
|
||||
networks:
|
||||
- name: homelab
|
||||
env:
|
||||
PUID: "1000"
|
||||
PGID: "1000"
|
||||
TZ: "{{ TZ }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.radarr.rule: Host(`radarr.fntz.net`)
|
||||
traefik.http.routers.radarr.entrypoints: webSecure
|
||||
traefik.http.routers.radarr.tls.certresolver: letsencrypt
|
||||
traefik.http.services.radarr.loadbalancer.server.port: "7878"
|
||||
|
||||
- name: Deploy Sonarr
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: servarr_sonarr
|
||||
image:
|
||||
name: lscr.io/linuxserver/sonarr
|
||||
tag: latest
|
||||
volumes:
|
||||
- "{{ data_dir }}/servarr/sonarr_config:/config"
|
||||
- "{{ media_path }}:/data"
|
||||
- "{{ media_path }}/Downloads:/downloads"
|
||||
env:
|
||||
PUID: "1000"
|
||||
PGID: "1000"
|
||||
TZ: "{{ TZ }}"
|
||||
networks:
|
||||
- name: homelab
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.sonarr.rule: Host(`sonarr.fntz.net`)
|
||||
traefik.http.routers.sonarr.entrypoints: webSecure
|
||||
traefik.http.routers.sonarr.tls.certresolver: letsencrypt
|
||||
traefik.http.services.sonarr.loadbalancer.server.port: "8989"
|
||||
@@ -1,43 +0,0 @@
|
||||
---
|
||||
- name: Deploy Weatherstar
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: weatherstar
|
||||
image:
|
||||
name: ghcr.io/netbymatt/ws4kp
|
||||
tag: latest
|
||||
networks:
|
||||
- name: homelab
|
||||
env:
|
||||
TZ: "{{ TZ }}"
|
||||
WSQS_latLonQuery: "Batavia, New York, USA"
|
||||
WSQS_hazards_checkbox: "true"
|
||||
WSQS_current_weather_checkbox: "true"
|
||||
WSQS_settings_mediaVolume_select: "0.75"
|
||||
WSQS_settings_scanLineMode_select: "thin"
|
||||
WSQS_settings_mediaPlaying_boolean: "true"
|
||||
WSQS_settings_wide_checkbox: "true"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.weatherstar.rule: Host(`weatherstar.fntz.net`)
|
||||
traefik.http.routers.weatherstar.entrypoints: webSecure
|
||||
traefik.http.routers.weatherstar.tls.certresolver: letsencrypt
|
||||
traefik.http.services.weatherstar.loadbalancer.server.port: "8080"
|
||||
|
||||
- name: Deploy WS4Channels
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: weatherstar_ws4channels
|
||||
image:
|
||||
name: ghcr.io/rice9797/ws4channels
|
||||
tag: latest
|
||||
networks:
|
||||
- name: homelab
|
||||
env:
|
||||
WS4KP_HOST: "weatherstar"
|
||||
WS4KP_PORT: "8080"
|
||||
ZIP_CODE: "14020"
|
||||
published_ports:
|
||||
- "9798:9798"
|
||||
@@ -0,0 +1,31 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/navidrome"
|
||||
|
||||
- name: Pull latest Navidrome Docker Image
|
||||
docker_image:
|
||||
name: deluan/navidrome
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Navidrome Docker Container
|
||||
docker_container:
|
||||
name: navidrome
|
||||
image: deluan/navidrome:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
- "{{ data_dir }}/navidrome:/data"
|
||||
- "{{ NAVIDROME_MUSIC_PATH }}:/music:ro"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.music.rule: Host(`music.fntz.net`)
|
||||
traefik.http.routers.music.entrypoints: webSecure
|
||||
traefik.http.routers.music.tls.certresolver: letsencrypt
|
||||
traefik.http.services.music.loadbalancer.server.port: "4533"
|
||||
@@ -0,0 +1,54 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/nextcloud"
|
||||
- "{{ data_dir }}/nextcloud/data"
|
||||
- "{{ data_dir }}/nextcloud/db"
|
||||
|
||||
- name: Create Nextcloud Docker Network
|
||||
docker_network:
|
||||
name: nextcloud
|
||||
|
||||
- name: Pull latest Nextcloud Docker Image
|
||||
docker_image:
|
||||
name: nextcloud
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Nextcloud DB Docker Container
|
||||
docker_container:
|
||||
name: nc_postgresql
|
||||
image: postgres:17-alpine
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: nextcloud
|
||||
volumes:
|
||||
- "{{ data_dir }}/nextcloud/db:/var/lib/postgresql/data"
|
||||
env:
|
||||
PGDATA: /var/lib/postgresql/data/pgdata
|
||||
POSTGRES_PASSWORD: "{{ NEXTCLOUD_POSTGRES_PASSWORD }}"
|
||||
POSTGRES_DATABASE: "{{ NEXTCLOUD_POSTGRES_DATABASE }}"
|
||||
POSTGRES_USER: "{{ NEXTCLOUD_POSTGRES_USER }}"
|
||||
POSTGRES_HOST: "{{ NEXTCLOUD_POSTGRES_HOST }}"
|
||||
|
||||
- name: Create Nextcloud Docker Container
|
||||
docker_container:
|
||||
name: nextcloud
|
||||
image: nextcloud
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
- name: nextcloud
|
||||
volumes:
|
||||
- "{{ data_dir }}/nextcloud/data:/var/www/html"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.nc.rule: Host(`{{ NEXTCLOUD_APP_URL }}`)
|
||||
traefik.http.routers.nc.entrypoints: webSecure
|
||||
traefik.http.routers.nc.tls.certresolver: letsencrypt
|
||||
traefik.http.services.nc.loadbalancer.server.port: "80"
|
||||
@@ -0,0 +1,23 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/nfl-proxy"
|
||||
|
||||
- name: "Clone latest NFL-Proxy"
|
||||
git:
|
||||
repo: "git@git.alexav.gg:alex/nfl-proxy.git"
|
||||
dest: "{{ data_dir }}/nfl-proxy"
|
||||
|
||||
- name: "Stop & remove existing PM2 containers"
|
||||
ignore_errors: yes
|
||||
shell: |
|
||||
/home/alex/.nvm/versions/node/v24.4.0/bin/pm2 delete "nfl-proxy"
|
||||
|
||||
- name: "Start new PM2 container"
|
||||
args:
|
||||
chdir: "{{ data_dir }}/nfl-proxy"
|
||||
shell: |
|
||||
/home/alex/.nvm/versions/node/v24.4.0/bin/pm2 start --name="nfl-proxy" "venv/bin/activate && venv/bin/python main.py"
|
||||
@@ -0,0 +1,36 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/ntfy"
|
||||
- "{{ data_dir }}/ntfy/cache"
|
||||
- "{{ data_dir }}/ntfy/data"
|
||||
|
||||
- name: Pull latest Ntfy Docker Image
|
||||
docker_image:
|
||||
name: binwiederhier/ntfy
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Ntfy Docker Container
|
||||
docker_container:
|
||||
name: ntfy
|
||||
image: binwiederhier/ntfy
|
||||
command: serve
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
- "{{ data_dir }}/ntfy/cache:/var/cache/ntfy"
|
||||
- "{{ data_dir }}/ntfy/data:/etc/ntfy"
|
||||
env:
|
||||
UPSTREAM_BASE_URL: "{{ NTFY_UPSTREAM_BASE_URL }}"
|
||||
BASE_URL: "{{ NTFY_BASE_URL }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.ntfy.rule: Host(`push.fntz.net`)
|
||||
traefik.http.routers.ntfy.entrypoints: webSecure
|
||||
traefik.http.routers.ntfy.tls.certresolver: letsencrypt
|
||||
@@ -1,25 +1,34 @@
|
||||
---
|
||||
- name: Deploy NZBGet
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: nzbget
|
||||
directories:
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/nzbget"
|
||||
image:
|
||||
|
||||
- name: Pull latest NZBGet Docker Image
|
||||
docker_image:
|
||||
name: lscr.io/linuxserver/nzbget
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create NZBGet Docker Container
|
||||
docker_container:
|
||||
name: nzbget
|
||||
image: lscr.io/linuxserver/nzbget:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
- "{{ data_dir }}/nzbget:/config"
|
||||
- "{{ media_path }}/Downloads:/downloads"
|
||||
- "{{ NZBGET_DOWNLOADS_PATH }}:/downloads"
|
||||
env:
|
||||
NZBGET_USER: "{{ NZBGET_USER }}"
|
||||
NZBGET_PASS: "{{ NZBGET_PASS }}"
|
||||
TZ: "{{ TZ }}"
|
||||
PUID: "1000"
|
||||
PGID: "1000"
|
||||
PUID: "{{ PUID }}"
|
||||
PGID: "{{ PGID }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.nzb.rule: Host(`nzb.fntz.net`)
|
||||
@@ -0,0 +1,36 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/obsidian"
|
||||
- "{{ data_dir }}/obsidian/data"
|
||||
- "{{ data_dir }}/obsidian/etc"
|
||||
|
||||
- name: Pull Docker Image
|
||||
docker_image:
|
||||
name: couchdb
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Docker Container
|
||||
docker_container:
|
||||
name: couchdb
|
||||
image: couchdb:latest
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
- "{{ data_dir }}/obsidian/data:/opt/couchdb/data"
|
||||
- "{{ data_dir }}/obsidian/etc:/opt/couchdb/etc/local.d"
|
||||
env:
|
||||
COUCHDB_USER: "{{ COUCHDB_USER }}"
|
||||
COUCHDB_PASSWORD: "{{ COUCHDB_PASSWORD }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.couch.rule: Host(`couch.fntz.net`)
|
||||
traefik.http.routers.couch.entrypoints: webSecure
|
||||
traefik.http.routers.couch.tls.certresolver: letsencrypt
|
||||
traefik.http.services.couch.loadbalancer.server.port: "5984"
|
||||
@@ -0,0 +1,93 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/owncloud"
|
||||
- "{{ data_dir }}/owncloud/data"
|
||||
- "{{ data_dir }}/owncloud/db"
|
||||
- "{{ data_dir }}/owncloud/redis"
|
||||
|
||||
- name: Create Owncloud Docker Network
|
||||
docker_network:
|
||||
name: owncloud
|
||||
|
||||
- name: Pull latest Owncloud Docker Image
|
||||
docker_image:
|
||||
name: owncloud/server
|
||||
tag: "10.15"
|
||||
source: pull
|
||||
|
||||
- name: Create Owncloud DB Docker Container
|
||||
docker_container:
|
||||
name: oc_database
|
||||
image: mariadb:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: owncloud
|
||||
volumes:
|
||||
- "{{ data_dir }}/owncloud/db:/var/lib/mysql"
|
||||
env:
|
||||
MYSQL_ROOT_PASSWORD: "{{ OWNCLOUD_DB_PASSWORD }}"
|
||||
MYSQL_DATABASE: "owncloud"
|
||||
MYSQL_USER: "owncloud"
|
||||
MYSQL_PASSWORD: "{{ OWNCLOUD_DB_PASSWORD }}"
|
||||
MARIADB_AUTO_UPGRADE: "1"
|
||||
command: "--max-allowed-packet=128M --innodb-log-file-size=64M"
|
||||
healthcheck:
|
||||
test: "CMD mysqladmin ping -u root --password={{ OWNCLOUD_DB_PASSWORD }}"
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
- name: Create Owncloud Redis Container
|
||||
docker_container:
|
||||
name: oc_redis
|
||||
image: redis:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: owncloud
|
||||
command: "--databases 1"
|
||||
healthcheck:
|
||||
test: CMD redis-cli ping
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
volumes:
|
||||
- "{{ data_dir }}/owncloud/redis:/data"
|
||||
|
||||
- name: Create Owncloud Docker Container
|
||||
docker_container:
|
||||
name: owncloud
|
||||
image: owncloud/server:10.15
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
- name: owncloud
|
||||
volumes:
|
||||
- "{{ data_dir }}/owncloud/data:/mnt/data"
|
||||
env:
|
||||
OWNCLOUD_DOMAIN: "{{ OWNCLOUD_APP_URL }}"
|
||||
OWNCLOUD_TRUSTED_DOMAINS: "{{ OWNCLOUD_APP_URL }}"
|
||||
OWNCLOUD_DB_TYPE: "mysql"
|
||||
OWNCLOUD_DB_NAME: "owncloud"
|
||||
OWNCLOUD_DB_USERNAME: "owncloud"
|
||||
OWNCLOUD_DB_PASSWORD: "{{ OWNCLOUD_DB_PASSWORD }}"
|
||||
OWNCLOUD_DB_HOST: "oc_database"
|
||||
OWNCLOUD_ADMIN_USERNAME: "{{ OWNCLOUD_ADMIN_USERNAME }}"
|
||||
OWNCLOUD_ADMIN_PASSWORD: "{{ OWNCLOUD_ADMIN_PASSWORD }}"
|
||||
OWNCLOUD_MYSQL_UTF8MB4: "true"
|
||||
OWNCLOUD_REDIS_ENBALED: "true"
|
||||
OWNCLOUD_REDIS_HOST: "oc_redis"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.nc.rule: Host(`{{ OWNCLOUD_APP_URL }}`)
|
||||
traefik.http.routers.nc.entrypoints: webSecure
|
||||
traefik.http.routers.nc.tls.certresolver: letsencrypt
|
||||
traefik.http.services.nc.loadbalancer.server.port: "8080"
|
||||
traefik.http.middlewares.limit.buffering.maxRequestBodyBytes: "1073741824"
|
||||
traefik.http.routers.nc.middlewares: "limit"
|
||||
@@ -0,0 +1,36 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/pihole"
|
||||
|
||||
- name: Pull latest PiHole Docker Image
|
||||
docker_image:
|
||||
name: pihole/pihole
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create PiHole Docker Container
|
||||
docker_container:
|
||||
name: pihole
|
||||
image: pihole/pihole:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
published_ports:
|
||||
- "{{ TRAEFIK_HOST_IP }}:53:53/tcp"
|
||||
- "{{ TRAEFIK_HOST_IP }}:53:53/udp"
|
||||
volumes:
|
||||
- "{{ data_dir }}/pihole:/etc/pihole"
|
||||
env:
|
||||
FTLCONF_webserver_api_password: "{{ PIHOLE_FTLCONF_WEBSERVER_API_PASSWORD }}"
|
||||
TZ: "{{ TZ }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.pihole.rule: Host(`pihole.fntz.net`)
|
||||
traefik.http.routers.pihole.entrypoints: webSecure
|
||||
traefik.http.routers.pihole.tls.certresolver: letsencrypt
|
||||
traefik.http.services.pihole.loadbalancer.server.port: "80"
|
||||
@@ -3,6 +3,7 @@
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: 999
|
||||
with_items:
|
||||
- "{{ data_dir }}/plausible"
|
||||
- "{{ data_dir }}/plausible/app"
|
||||
@@ -0,0 +1,32 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/plex"
|
||||
|
||||
- name: Pull latest Plex Docker Image
|
||||
docker_image:
|
||||
name: lscr.io/linuxserver/plex
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Deploy Plex Docker Container
|
||||
docker_container:
|
||||
name: plex
|
||||
image: lscr.io/linuxserver/plex
|
||||
network_mode: host
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
env:
|
||||
PUID: "{{ PUID }}"
|
||||
PGID: "{{ PGID }}"
|
||||
TZ: "{{ TZ }}"
|
||||
VERSION: "docker"
|
||||
PLEX_CLAIM: "{{ PLEX_CLAIM_TOKEN }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/plex:/config"
|
||||
- "{{ media_path }}:/media"
|
||||
@@ -1,20 +1,28 @@
|
||||
---
|
||||
- name: Deploy PocketID
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: pocketid
|
||||
directories:
|
||||
- name: Create Folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/pocketid"
|
||||
image:
|
||||
|
||||
- name: Pull latest PocketID Docker Image
|
||||
docker_image:
|
||||
name: ghcr.io/pocket-id/pocket-id
|
||||
tag: v2
|
||||
tag: v1
|
||||
source: pull
|
||||
|
||||
- name: Create PocketID Docker Container
|
||||
docker_container:
|
||||
name: pocketid
|
||||
image: ghcr.io/pocket-id/pocket-id:v1
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
- "{{ data_dir }}/pocketid:/app/data"
|
||||
env:
|
||||
ENCRYPTION_KEY: "{{ POCKETID_ENCRYPTION_KEY }}"
|
||||
APP_URL: "{{ POCKETID_APP_URL }}"
|
||||
TRUST_PROXY: "{{ POCKETID_TRUST_PROXY }}"
|
||||
PUID: "{{ PUID }}"
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/qbittorrent"
|
||||
|
||||
- name: Pull latest QBittorrent Docker Image
|
||||
docker_image:
|
||||
name: lscr.io/linuxserver/qbittorrent
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Deploy QBittorrent Docker Container
|
||||
docker_container:
|
||||
name: qbittorrent
|
||||
image: lscr.io/linuxserver/qbittorrent
|
||||
network_mode: "container:gluetun"
|
||||
recreate: true
|
||||
env:
|
||||
PUID: "{{ PUID }}"
|
||||
PGID: "{{ PGID }}"
|
||||
TZ: "{{ TZ }}"
|
||||
WEBUI_PORT: "8090"
|
||||
TORRENTING_PORT: "6861"
|
||||
@@ -0,0 +1,75 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/romm"
|
||||
- "{{ data_dir }}/romm/igdb"
|
||||
- "{{ data_dir }}/romm/assets"
|
||||
- "{{ data_dir }}/romm/config"
|
||||
- "{{ data_dir }}/romm/db"
|
||||
|
||||
- name: Pull latest Romm Docker Image
|
||||
docker_image:
|
||||
name: rommapp/romm
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Romm DB Docker Container
|
||||
docker_container:
|
||||
name: romm-db
|
||||
image: mariadb:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: romm
|
||||
volumes:
|
||||
- "{{ data_dir }}/romm/db:/var/lib/mysql"
|
||||
env:
|
||||
MARIADB_ROOT_PASSWORD: romm
|
||||
MARIADB_DATABASE: romm
|
||||
MARIADB_USER: romm-user
|
||||
MARIADB_PASSWORD: romm
|
||||
healthcheck:
|
||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
start_period: 30s
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
- name: Create Romm Docker Container
|
||||
docker_container:
|
||||
name: romm
|
||||
image: rommapp/romm:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
- name: romm
|
||||
volumes:
|
||||
- "{{ data_dir }}/romm/igdb:/romm/resources"
|
||||
- "{{ data_dir }}/romm/redis:/redis-data"
|
||||
- "{{ data_dir }}/romm/assets:/romm/assets"
|
||||
- "{{ data_dir }}/romm/config:/romm/config"
|
||||
- "{{ ROMM_LIBRARY_PATH }}:/romm/library"
|
||||
env:
|
||||
DB_HOST: romm-db
|
||||
DB_NAME: romm
|
||||
DB_USER: romm-user
|
||||
DB_PASSWD: romm
|
||||
AUTH_SECRET_KEY: "{{ ROMM_AUTH_SECRET_KEY }}"
|
||||
IGDB_CLIENT_ID: "{{ ROMM_IGDB_CLIENT_ID }}"
|
||||
IGDB_CLIENT_SECRET: "{{ ROMM_IGDB_CLIENT_SECRET }}"
|
||||
OIDC_ENABLED: "{{ ROMM_OIDC_ENABLED }}"
|
||||
OIDC_PROVIDER: "{{ ROMM_OIDC_PROVIDER }}"
|
||||
OIDC_CLIENT_ID: "{{ ROMM_OIDC_CLIENT_ID }}"
|
||||
OIDC_CLIENT_SECRET: "{{ ROMM_OIDC_CLIENT_SECRET }}"
|
||||
OIDC_REDIRECT_URL: "{{ ROMM_OIDC_REDIRECT_URL }}"
|
||||
SERVER_APPLICATION_URL: "{{ ROMM_SERVER_APPLICATION_URL }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.emu.rule: Host(`emu.fntz.net`)
|
||||
traefik.http.routers.emu.entrypoints: webSecure
|
||||
traefik.http.routers.emu.tls.certresolver: letsencrypt
|
||||
traefik.http.services.emu.loadbalancer.server.port: "8080"
|
||||
@@ -0,0 +1,95 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/servarr"
|
||||
- "{{ data_dir }}/servarr/sonarr_config"
|
||||
- "{{ data_dir }}/servarr/radarr_config"
|
||||
- "{{ data_dir }}/servarr/lidarr_config"
|
||||
|
||||
- name: Pull latest Radarr Docker Image
|
||||
docker_image:
|
||||
name: lscr.io/linuxserver/radarr
|
||||
tag: latest
|
||||
source: pull
|
||||
- name: Pull latest Sonarr Docker Image
|
||||
docker_image:
|
||||
name: lscr.io/linuxserver/sonarr
|
||||
tag: latest
|
||||
source: pull
|
||||
- name: Pull latest Lidarr Docker Image
|
||||
docker_image:
|
||||
name: lscr.io/linuxserver/lidarr
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Deploy Radarr Container
|
||||
docker_container:
|
||||
name: radarr
|
||||
image: lscr.io/linuxserver/radarr:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
volumes:
|
||||
- "{{ data_dir }}/servarr/radarr_config:/config"
|
||||
- "{{ SERVARR_MEDIA_PATH }}:/media"
|
||||
- "{{ NZBGET_DOWNLOADS_PATH }}:/downloads"
|
||||
networks:
|
||||
- name: homelab
|
||||
env:
|
||||
PUID: "{{ PUID }}"
|
||||
PGID: "{{ PGID }}"
|
||||
TZ: "{{ TZ }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.radarr.rule: Host(`radarr.fntz.net`)
|
||||
traefik.http.routers.radarr.entrypoints: webSecure
|
||||
traefik.http.routers.radarr.tls.certresolver: letsencrypt
|
||||
traefik.http.services.radarr.loadbalancer.server.port: "7878"
|
||||
|
||||
- name: Deploy Sonarr Container
|
||||
docker_container:
|
||||
name: sonarr
|
||||
image: lscr.io/linuxserver/sonarr:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
volumes:
|
||||
- "{{ data_dir }}/servarr/sonarr_config:/config"
|
||||
- "{{ SERVARR_MEDIA_PATH }}:/data"
|
||||
- "{{ NZBGET_DOWNLOADS_PATH }}:/downloads"
|
||||
env:
|
||||
PUID: "{{ PUID }}"
|
||||
PGID: "{{ PGID }}"
|
||||
TZ: "{{ TZ }}"
|
||||
networks:
|
||||
- name: homelab
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.sonarr.rule: Host(`sonarr.fntz.net`)
|
||||
traefik.http.routers.sonarr.entrypoints: webSecure
|
||||
traefik.http.routers.sonarr.tls.certresolver: letsencrypt
|
||||
traefik.http.services.sonarr.loadbalancer.server.port: "8989"
|
||||
|
||||
- name: Deploy Lidarr Container
|
||||
docker_container:
|
||||
name: lidarr
|
||||
image: lscr.io/linuxserver/lidarr:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
env:
|
||||
PUID: "{{ PUID }}"
|
||||
PGID: "{{ PGID }}"
|
||||
TZ: "{{ TZ }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/servarr/lidarr_config:/config"
|
||||
- "{{ SERVARR_MEDIA_PATH }}:/media"
|
||||
- "{{ NZBGET_DOWNLOADS_PATH }}:/downloads"
|
||||
networks:
|
||||
- name: homelab
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.lidarr.rule: Host(`lidarr.fntz.net`)
|
||||
traefik.http.routers.lidarr.entrypoints: webSecure
|
||||
traefik.http.routers.lidarr.tls.certresolver: letsencrypt
|
||||
traefik.http.services.lidarr.loadbalancer.server.port: "8686"
|
||||
@@ -0,0 +1,44 @@
|
||||
---
|
||||
- name: "Create file structure"
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/storage-api"
|
||||
- "{{ data_dir }}/storage-api/app"
|
||||
- "{{ data_dir }}/storage-api/files"
|
||||
|
||||
- name: "Clone latest Storage API"
|
||||
git:
|
||||
repo: git@git.alexav.gg:alex/storage-api.git
|
||||
dest: "{{ data_dir }}/storage-api/app"
|
||||
|
||||
- name: "Build Storage API Docker Image"
|
||||
docker_image:
|
||||
name: storage-api
|
||||
tag: "latest"
|
||||
build:
|
||||
path: "{{ data_dir }}/storage-api/app"
|
||||
dockerfile: Dockerfile
|
||||
source: build
|
||||
state: present
|
||||
|
||||
- name: Deploy Storage API Container
|
||||
docker_container:
|
||||
name: storage_api
|
||||
image: storage-api:latest
|
||||
recreate: true
|
||||
restart_policy: unless-stopped
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/storage-api/files:/app/files"
|
||||
env:
|
||||
TZ: "{{ TZ }}"
|
||||
TOKEN: "{{ API_ADMIN_KEY }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.storage.rule: Host(`storage.alexav.gg`)
|
||||
traefik.http.routers.storage.entrypoints: webSecure
|
||||
traefik.http.routers.storage.tls.certresolver: letsencrypt
|
||||
traefik.http.services.storage.loadbalancer.server.port: "3001"
|
||||
@@ -0,0 +1,34 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/tautulli"
|
||||
|
||||
- name: Pull latest Tautulli Docker Image
|
||||
docker_image:
|
||||
name: ghcr.io/tautulli/tautulli
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Tautulli Docker Container
|
||||
docker_container:
|
||||
name: tautulli
|
||||
image: ghcr.io/tautulli/tautulli
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
- "{{ data_dir }}/tautulli:/config"
|
||||
env:
|
||||
PUID: "{{ PUID }}"
|
||||
PGID: "{{ PGID }}"
|
||||
TZ: "{{ TZ }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.tt.rule: Host(`tt.fntz.net`)
|
||||
traefik.http.routers.tt.entrypoints: webSecure
|
||||
traefik.http.routers.tt.tls.certresolver: letsencrypt
|
||||
traefik.http.services.tt.loadbalancer.server.port: "8181"
|
||||
@@ -0,0 +1,35 @@
|
||||
---
|
||||
- name: Pull latest Tinyauth Docker Image
|
||||
docker_image:
|
||||
name: ghcr.io/steveiliop56/tinyauth
|
||||
tag: v3
|
||||
source: pull
|
||||
|
||||
- name: Create Tinyauth Docker Container
|
||||
docker_container:
|
||||
name: tinyauth
|
||||
image: ghcr.io/steveiliop56/tinyauth:v3
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
env:
|
||||
USERS: "{{ TINYAUTH_USERS }}"
|
||||
SECRET: "{{ TINYAUTH_SECRET }}"
|
||||
APP_URL: "{{ TINYAUTH_APP_URL }}"
|
||||
GENERIC_CLIENT_ID: "{{ TINYAUTH_GENERIC_CLIENT_ID }}"
|
||||
GENERIC_CLIENT_SECRET: "{{ TINYAUTH_GENERIC_CLIENT_SECRET }}"
|
||||
GENERIC_AUTH_URL: "{{ TINYAUTH_GENERIC_AUTH_URL }}"
|
||||
GENERIC_TOKEN_URL: "{{ TINYAUTH_GENERIC_TOKEN_URL }}"
|
||||
GENERIC_USER_URL: "{{ TINYAUTH_GENERIC_USER_URL }}"
|
||||
GENERIC_SCOPES: "{{ TINYAUTH_GENERIC_SCOPES }}"
|
||||
GENERIC_NAME: "{{ TINYAUTH_GENERIC_NAME }}"
|
||||
OAUTH_WHITELIST: "{{ TINYAUTH_OAUTH_WHITELIST }}"
|
||||
APP_TITLE: "{{ TINYAUTH_APP_TITLE }}"
|
||||
BACKGROUND_IMAGE: "{{ TINYAUTH_BACKGROUND_IMAGE }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.tinyauth.rule: Host(`auth.fntz.net`)
|
||||
traefik.http.routers.tinyauth.entrypoints: webSecure
|
||||
traefik.http.routers.tinyauth.tls.certresolver: letsencrypt
|
||||
traefik.http.middlewares.tinyauth.forwardauth.address: http://tinyauth:3000/api/auth/traefik
|
||||
@@ -1,14 +1,23 @@
|
||||
---
|
||||
- name: Deploy Uptime Kuma
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: uptime-kuma
|
||||
directories:
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/uptime-kuma"
|
||||
image:
|
||||
|
||||
- name: Pull latest Uptime Kuma Docker Image
|
||||
docker_image:
|
||||
name: louislam/uptime-kuma
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Uptime Kuma Docker Container
|
||||
docker_container:
|
||||
name: uptime-kuma
|
||||
image: louislam/uptime-kuma
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
@@ -1,27 +0,0 @@
|
||||
---
|
||||
- name: Deploy AdGuard Home
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: adguard
|
||||
directories:
|
||||
- "{{ data_dir }}/adguard"
|
||||
- "{{ data_dir }}/adguard/work"
|
||||
- "{{ data_dir }}/adguard/conf"
|
||||
image:
|
||||
name: adguard/adguardhome
|
||||
tag: latest
|
||||
volumes:
|
||||
- "{{ data_dir }}/adguard/work:/opt/adguardhome/work"
|
||||
- "{{ data_dir }}/adguard/conf:/opt/adguardhome/conf"
|
||||
published_ports:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
networks:
|
||||
- name: "homelab"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.adguard.rule: Host(`ag.fntz.net`)
|
||||
traefik.http.routers.adguard.entrypoints: webSecure
|
||||
traefik.http.routers.adguard.tls.certresolver: letsencrypt
|
||||
traefik.http.services.adguard.loadbalancer.server.port: "3000"
|
||||
@@ -1,58 +0,0 @@
|
||||
---
|
||||
- name: Deploy API Database
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: api_postgres
|
||||
network_name: api
|
||||
directories:
|
||||
- "{{ data_dir }}/api/db"
|
||||
image:
|
||||
name: postgres
|
||||
tag: "17"
|
||||
networks:
|
||||
- name: api
|
||||
volumes:
|
||||
- "{{ data_dir }}/api/db:/var/lib/postgresql/data"
|
||||
env:
|
||||
POSTGRES_USER: "api"
|
||||
POSTGRES_PASSWORD: "{{ API_POSTGRES_PASSWORD }}"
|
||||
PGDATA: "/var/lib/postgresql/data/pgdata"
|
||||
|
||||
- name: Deploy API Redis
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: api_redis
|
||||
networks:
|
||||
- name: api
|
||||
image:
|
||||
name: redis
|
||||
tag: latest
|
||||
|
||||
- name: Deploy API
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: api
|
||||
network_name: api
|
||||
networks:
|
||||
- name: api
|
||||
- name: tunnel
|
||||
image:
|
||||
name: git.alexav.gg/alex/api
|
||||
tag: latest
|
||||
env:
|
||||
NODE_ENV: "production"
|
||||
VERSION: "v4"
|
||||
REDIS_URL: "redis://api_redis:6379"
|
||||
ADMIN_KEY: "{{ API_ADMIN_KEY }}"
|
||||
DATABASE_URL: "{{ API_DATABASE_URL }}"
|
||||
LASTFM_API_KEY: "{{ API_LASTFM_API_KEY }}"
|
||||
STEAM_API_KEY: "{{ API_STEAM_API_KEY }}"
|
||||
JWT_KEY: "{{ API_JWT_KEY }}"
|
||||
DISCORD_PUBLIC_KEY: "{{ API_DISCORD_PUBLIC_KEY }}"
|
||||
DISCORD_APP_ID: "{{ API_DISCORD_APP_ID }}"
|
||||
DISCORD_BOT_TOKEN: "{{ API_DISCORD_BOT_TOKEN }}"
|
||||
TMDB_API_KEY: "{{ API_TMDB_TOKEN }}"
|
||||
STORAGE_KEY: "{{ API_STORAGE_KEY }}"
|
||||
@@ -1,38 +0,0 @@
|
||||
- name: Deploy Blog Backend
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: blog-backend
|
||||
image:
|
||||
name: git.alexav.gg/alex/blog
|
||||
tag: backend-latest
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
env:
|
||||
NODE_ENV: production
|
||||
SESSION_SECRET: "{{ BLOG_SESSION_SECRET }}"
|
||||
DATABASE_URL: file:/data/blog.db
|
||||
REDIS_URL: redis://redis:6379
|
||||
volumes:
|
||||
- "{{ data_dir }}/blog:/data"
|
||||
|
||||
- name: Deploy Blog Frontend
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: blog
|
||||
image:
|
||||
name: git.alexav.gg/alex/blog
|
||||
tag: frontend-latest
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
env:
|
||||
NODE_ENV: production
|
||||
PORT: "5174"
|
||||
BACKEND_ORIGIN: http://blog-backend:3000
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.blog.rule: Host(`blog.alexav.gg`)
|
||||
traefik.http.routers.blog.entrypoints: webSecure
|
||||
traefik.http.routers.blog.tls.certresolver: letsencrypt
|
||||
traefik.http.services.blog.loadbalancer.server.port: "5174"
|
||||
@@ -1,27 +0,0 @@
|
||||
---
|
||||
- name: Deploy CAdvisor
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: cadvisor
|
||||
image:
|
||||
name: ghcr.io/google/cadvisor
|
||||
tag: latest
|
||||
volumes:
|
||||
- "/:/rootfs:ro"
|
||||
- "/var/run:/var/run:ro"
|
||||
- "/sys:/sys:ro"
|
||||
- "/var/lib/docker/:/var/lib/docker:ro"
|
||||
- "/dev/disk:/dev/disk:ro"
|
||||
devices:
|
||||
- /dev/kmsg:/dev/kmsg
|
||||
privileged: true
|
||||
networks:
|
||||
- name: homelab
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.cadvisor.rule: Host(`cad.fntz.net`)
|
||||
traefik.http.routers.cadvisor.entrypoints: webSecure
|
||||
traefik.http.routers.cadvisor.tls.certresolver: letsencrypt
|
||||
traefik.http.services.cadvisor.loadbalancer.server.port: "8080"
|
||||
traefik.http.routers.cadvisor.middlewares: tinyauth
|
||||
@@ -1,16 +0,0 @@
|
||||
# test
|
||||
---
|
||||
- name: Deploy Cloudflared
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: cloudflared
|
||||
image:
|
||||
name: cloudflare/cloudflared
|
||||
tag: latest
|
||||
env:
|
||||
TUNNEL_TOKEN: "{{ CLOUDFLARED_TUNNEL_TOKEN }}"
|
||||
command: tunnel run
|
||||
network_name: "tunnel"
|
||||
networks:
|
||||
- name: "tunnel"
|
||||
@@ -1,33 +0,0 @@
|
||||
---
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/cup"
|
||||
|
||||
- name: Create Cup Config
|
||||
template:
|
||||
src: templates/cup/cup.json.j2
|
||||
dest: "{{ data_dir }}/cup/cup.json"
|
||||
|
||||
- name: Deploy Cup
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: cup
|
||||
command: -c /config/cup.json serve
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
- "{{ data_dir }}/cup/cup.json:/config/cup.json"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.cup.rule: Host(`cup.fntz.net`)
|
||||
traefik.http.routers.cup.entrypoints: webSecure
|
||||
traefik.http.routers.cup.tls.certresolver: letsencrypt
|
||||
traefik.http.services.cup.loadbalancer.server.port: "8000"
|
||||
image:
|
||||
name: ghcr.io/sergi0g/cup
|
||||
tag: latest
|
||||
@@ -1,25 +0,0 @@
|
||||
---
|
||||
- name: Deploy Wiki.js
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: docs
|
||||
image:
|
||||
name: ghcr.io/requarks/wiki
|
||||
tag: 2
|
||||
env:
|
||||
DB_TYPE: "postgres"
|
||||
DB_HOST: "{{ DOCS_DB_HOST }}"
|
||||
DB_PORT: "5432"
|
||||
DB_USER: "wikijs"
|
||||
DB_PASS: "wikijs"
|
||||
DB_NAME: "wikijs"
|
||||
networks:
|
||||
- name: homelab
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.docs.rule: Host(`docs.fntz.net`)
|
||||
traefik.http.routers.docs.entrypoints: webSecure
|
||||
traefik.http.routers.docs.tls.certresolver: letsencrypt
|
||||
traefik.http.services.docs.loadbalancer.server.port: "3000"
|
||||
traefik.http.routers.docs.middlewares: tinyauth
|
||||
@@ -1,28 +0,0 @@
|
||||
---
|
||||
- name: Deploy Duplicati
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: duplicati
|
||||
networks:
|
||||
- name: homelab
|
||||
directories:
|
||||
- "{{ data_dir }}/duplicati"
|
||||
- "{{ data_dir }}/duplicati/app"
|
||||
- "{{ data_dir }}/duplicati/backups"
|
||||
image:
|
||||
name: lscr.io/linuxserver/duplicati
|
||||
tag: latest
|
||||
volumes:
|
||||
- "{{ data_dir }}/duplicati/app:/config"
|
||||
- "{{ data_dir }}/duplicati/backups:/backups"
|
||||
- "/storage-pool/Share:/source"
|
||||
env:
|
||||
TZ: "{{ TZ }}"
|
||||
SETTINGS_ENCRYPTION_KEY: "{{ DUPLICATI_ENCRYPTION_KEY }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.duplicati.rule: Host(`backups.fntz.net`)
|
||||
traefik.http.routers.duplicati.entrypoints: webSecure
|
||||
traefik.http.routers.duplicati.tls.certresolver: letsencrypt
|
||||
traefik.http.services.duplicati.loadbalancer.server.port: "8200"
|
||||
@@ -1,33 +0,0 @@
|
||||
---
|
||||
- name: Deploy Glance
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: glance
|
||||
image:
|
||||
name: glanceapp/glance
|
||||
tag: latest
|
||||
directories:
|
||||
- "{{ data_dir }}/glance"
|
||||
- "{{ data_dir }}/glance/config"
|
||||
- "{{ data_dir }}/glance/assets"
|
||||
networks:
|
||||
- name: homelab
|
||||
env:
|
||||
ADGUARD_USERNAME: "{{ GLANCE_ADGUARD_USERNAME }}"
|
||||
ADGUARD_PASSWORD: "{{ GLANCE_ADGUARD_PASSWORD }}"
|
||||
VIDEO_MACHINE: "{{ GLANCE_VIDEO_MACHINE }}"
|
||||
STEAM_API_KEY: "{{ GLANCE_STEAM_API_KEY }}"
|
||||
NOW_PLAYING_VAL: "{{ GLANCE_NOW_PLAYING_VAL }}"
|
||||
IMMICH_KEY: "{{ GLANCE_IMMICH_API_KEY }}"
|
||||
AUDIOBOOKSHELF_KEY: "{{ GLANCE_AUDIOBOOKSHELF_KEY }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/glance/config:/app/config"
|
||||
- "{{ data_dir }}/glance/assets:/app/assets"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.glance.rule: Host(`fntz.net`)
|
||||
traefik.http.routers.glance.entrypoints: webSecure
|
||||
traefik.http.routers.glance.tls.certresolver: letsencrypt
|
||||
traefik.http.services.glance.loadbalancer.server.port: "8080"
|
||||
@@ -1,14 +0,0 @@
|
||||
---
|
||||
- name: Deploy Homebridge
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: homebridge
|
||||
directories:
|
||||
- "{{ data_dir }}/homebridge/homebridge"
|
||||
image:
|
||||
name: homebridge/homebridge
|
||||
tag: latest
|
||||
network_mode: host
|
||||
volumes:
|
||||
- "{{ data_dir }}/homebridge:/homebridge"
|
||||
@@ -1,22 +0,0 @@
|
||||
---
|
||||
- name: Deploy Ollama
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: ollama
|
||||
directories:
|
||||
- "{{ data_dir }}/ollama"
|
||||
image:
|
||||
name: ollama/ollama
|
||||
tag: latest
|
||||
volumes:
|
||||
- "{{ data_dir }}/ollama:/root/.ollama"
|
||||
devices:
|
||||
- "/dev/kfd"
|
||||
- "/dev/dri"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.ollama.rule: Host(`ollama.fntz.net`)
|
||||
traefik.http.routers.ollama.entrypoints: webSecure
|
||||
traefik.http.routers.ollama.tls.certresolver: letsencrypt
|
||||
traefik.http.services.ollama.loadbalancer.server.port: "11434"
|
||||
@@ -1,24 +0,0 @@
|
||||
---
|
||||
- name: Deploy Open-WebUI
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: owui
|
||||
directories:
|
||||
- "{{ data_dir }}/owui"
|
||||
image:
|
||||
name: ghcr.io/open-webui/open-webui
|
||||
tag: ollama
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
- "{{ data_dir }}/owui:/app/backend/data"
|
||||
devices:
|
||||
- "/dev/kfd"
|
||||
- "/dev/dri"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.owui.rule: Host(`owui.fntz.net`)
|
||||
traefik.http.routers.owui.entrypoints: webSecure
|
||||
traefik.http.routers.owui.tls.certresolver: letsencrypt
|
||||
traefik.http.services.owui.loadbalancer.server.port: "8080"
|
||||
@@ -1,32 +0,0 @@
|
||||
---
|
||||
- name: Deploy Storage API
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: storage-api
|
||||
directories:
|
||||
- "{{ data_dir }}/storage-api"
|
||||
- "{{ data_dir }}/storage-api/app"
|
||||
- "{{ data_dir }}/storage-api/files"
|
||||
image:
|
||||
name: storage-api
|
||||
tag: latest
|
||||
build:
|
||||
git:
|
||||
repo: git@git.alexav.gg:alex/storage-api.git
|
||||
dest: "{{ data_dir }}/storage-api/app"
|
||||
networks:
|
||||
- name: "{{ docker_network_name }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/storage-api/files:/app/files"
|
||||
env:
|
||||
TZ: "{{ TZ }}"
|
||||
SECRET: "{{ API_ADMIN_KEY }}"
|
||||
S3_KEY: "{{ API_S3_KEY }}"
|
||||
S3_KEY_ID: "{{ API_S3_KEY_ID }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.storage.rule: Host(`storage.alexav.gg`)
|
||||
traefik.http.routers.storage.entrypoints: webSecure
|
||||
traefik.http.routers.storage.tls.certresolver: letsencrypt
|
||||
traefik.http.services.storage.loadbalancer.server.port: "3001"
|
||||
@@ -1,23 +0,0 @@
|
||||
---
|
||||
- name: Deploy Subber
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: subber
|
||||
directories:
|
||||
- "{{ data_dir }}/subber"
|
||||
image:
|
||||
name: ghcr.io/azpha/subber
|
||||
tag: latest
|
||||
networks:
|
||||
- name: homelab
|
||||
env:
|
||||
BASE_URL: "https://subs.fntz.net"
|
||||
volumes:
|
||||
- "{{ data_dir }}/subber:/files"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.subber.rule: Host(`subs.fntz.net`)
|
||||
traefik.http.routers.subber.entrypoints: webSecure
|
||||
traefik.http.routers.subber.tls.certresolver: letsencrypt
|
||||
traefik.http.services.subber.loadbalancer.server.port: "3000"
|
||||
@@ -1,13 +0,0 @@
|
||||
---
|
||||
- name: Deploy Tools Frontend
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: tools
|
||||
image:
|
||||
name: git.alexav.gg/alex/tools
|
||||
tag: latest
|
||||
networks:
|
||||
- name: tunnel
|
||||
env:
|
||||
NODE_ENV: production
|
||||
@@ -1,13 +0,0 @@
|
||||
---
|
||||
- name: Deploy Website
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: website
|
||||
image:
|
||||
name: git.alexav.gg/alex/website
|
||||
tag: latest
|
||||
networks:
|
||||
- name: tunnel
|
||||
env:
|
||||
NODE_ENV: production
|
||||
@@ -1,14 +1,23 @@
|
||||
---
|
||||
- name: Deploy Vaultwarden
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: vaultwarden
|
||||
directories:
|
||||
- name: Create folder structure
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/vaultwarden"
|
||||
image:
|
||||
|
||||
- name: Pull latest Vaultwarden Docker Image
|
||||
docker_image:
|
||||
name: vaultwarden/server
|
||||
tag: latest
|
||||
source: pull
|
||||
|
||||
- name: Create Vaultwarden Docker Container
|
||||
docker_container:
|
||||
name: vaultwarden
|
||||
image: vaultwarden/server:latest
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: homelab
|
||||
volumes:
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/sergi0g/cup/main/cup.schema.json",
|
||||
"version": 3,
|
||||
"images": {
|
||||
"exclude": ["git.alexav.gg/alex/plex-webhook", "git.alexav.gg/alex/setup-ansible"]
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
metadata_dir = "/var/lib/garage/meta"
|
||||
data_dir = "/var/lib/garage/data"
|
||||
db_engine = "lmdb"
|
||||
metadata_auto_snapshot_interval = "6h"
|
||||
replication_factor = 1
|
||||
compression_level = 2
|
||||
|
||||
rpc_bind_addr = "[::]:3901"
|
||||
rpc_secret = "{{ GARAGE_RPC_SECRET }}"
|
||||
|
||||
[s3_api]
|
||||
s3_region = "garage"
|
||||
api_bind_addr = "[::]:3900"
|
||||
root_domain = ".s3.garage"
|
||||
|
||||
[s3_web]
|
||||
bind_addr = "[::]:3902"
|
||||
root_domain = ".web.garage"
|
||||
index = "index.html"
|
||||
|
||||
[admin]
|
||||
api_bind_addr = "[::]:3903"
|
||||
admin_token = "{{ GARAGE_ADMIN_TOKEN }}"
|
||||
@@ -1,29 +0,0 @@
|
||||
auth_enabled: false
|
||||
|
||||
server:
|
||||
http_listen_port: 3100
|
||||
|
||||
common:
|
||||
path_prefix: /loki
|
||||
storage:
|
||||
filesystem:
|
||||
chunks_directory: /loki/chunks
|
||||
rules_directory: /loki/rules
|
||||
replication_factor: 1
|
||||
ring:
|
||||
kvstore:
|
||||
store: inmemory
|
||||
|
||||
schema_config:
|
||||
configs:
|
||||
- from: 2020-10-24
|
||||
store: tsdb
|
||||
object_store: filesystem
|
||||
schema: v13
|
||||
index:
|
||||
prefix: index_
|
||||
period: 24h
|
||||
|
||||
storage_config:
|
||||
filesystem:
|
||||
directory: /loki/chunks
|
||||
@@ -1,14 +0,0 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["monitoring_prometheus:9090"]
|
||||
- job_name: "node-exporter"
|
||||
static_configs:
|
||||
- targets: ["172.16.0.44:9100"]
|
||||
- job_name: "cadvisor"
|
||||
static_configs:
|
||||
- targets: ["monitoring_cadvisor:8080"]
|
||||
@@ -1,63 +0,0 @@
|
||||
server:
|
||||
http_listen_port: 9080
|
||||
|
||||
positions:
|
||||
filename: /tmp/positions.yaml
|
||||
|
||||
clients:
|
||||
- url: http://monitoring_loki:3100/loki/api/v1/push
|
||||
|
||||
scrape_configs:
|
||||
- job_name: docker
|
||||
docker_sd_configs:
|
||||
- host: unix:///var/run/docker.sock
|
||||
refresh_interval: 5s
|
||||
relabel_configs:
|
||||
# Keep only running containers
|
||||
- source_labels: ['__meta_docker_container_id']
|
||||
target_label: container_id
|
||||
|
||||
# Container name (strips leading slash)
|
||||
- source_labels: ['__meta_docker_container_name']
|
||||
regex: '/(.+)'
|
||||
target_label: container_name
|
||||
|
||||
# Compose project name
|
||||
- source_labels: ['__meta_docker_container_label_com_docker_compose_project']
|
||||
target_label: compose_project
|
||||
|
||||
# Compose service name
|
||||
- source_labels: ['__meta_docker_container_label_com_docker_compose_service']
|
||||
target_label: compose_service
|
||||
|
||||
# Image name
|
||||
- source_labels: ['__meta_docker_container_image']
|
||||
target_label: image
|
||||
|
||||
# Custom labels - grab any label starting with "logging."
|
||||
# e.g. logging.env=production becomes env=production
|
||||
- regex: '__meta_docker_container_label_logging_(.+)'
|
||||
action: labelmap
|
||||
replacement: '$1'
|
||||
|
||||
# Drop containers with logging=disabled label
|
||||
- source_labels: ['__meta_docker_container_label_logging']
|
||||
regex: 'disabled'
|
||||
action: drop
|
||||
|
||||
pipeline_stages:
|
||||
# Docker JSON log format parsing
|
||||
- json:
|
||||
expressions:
|
||||
output: log
|
||||
stream: stream
|
||||
timestamp: time
|
||||
|
||||
# Use Docker's timestamp
|
||||
- timestamp:
|
||||
source: timestamp
|
||||
format: RFC3339Nano
|
||||
|
||||
# Output just the log line
|
||||
- output:
|
||||
source: output
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user