346 lines
18 KiB
YAML
346 lines
18 KiB
YAML
---
|
|
services_root: "{{ './services' | realpath }}"
|
|
service_template: "{{ service_config[service].template | default(service) }}"
|
|
service_path: "{{ services_root }}/{{ service_template }}"
|
|
|
|
services: "{{ service_config | keys | list }}"
|
|
|
|
remote_services_root: /var/services
|
|
remote_service_path: "{{ remote_services_root }}/{{ service }}"
|
|
|
|
compose_version: "3.7"
|
|
ingress_network: traefik
|
|
|
|
database_mysql_host: "{{ swarm_host_address }}"
|
|
|
|
services_to_restart: []
|
|
|
|
service_config:
|
|
traefik:
|
|
ovh_endpoint: ovh-eu
|
|
ovh_application_key: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
30373131373061356637613064356462383064343336633335663830666330363763666631303962
|
|
3739306161336635326133623864623737303836656166380a633332376335623234353739373939
|
|
36646538333139323365386434666664333161396461636130336338373337393163653439316364
|
|
3362396431373838380a636334306362333139623731343061633636393335346563303330656230
|
|
37613366613338643065356234306333393134323866363132616532643136313734
|
|
ovh_application_secret: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
63613637353337636239326538623466623133353137323261656434393734616430656236313563
|
|
6635343434303037623233373930646531373038636437610a623763393363336163353834626334
|
|
65313064626162623138303436383639363261323235356531366562336132353831323133623232
|
|
3564386138353734340a656166616566623833383530363831346433623032383266306436316637
|
|
36613436626463613635373437333836646163626663653134326632356430646230663732323962
|
|
6537636439303866636636303961376138343536333466303736
|
|
ovh_consumer_key: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
39323462633866363837323161313133383438316338303937316335333736366337316636353562
|
|
3162653032646365363863363835393964326262356531350a616264663663383164613162396237
|
|
31663662363064623566313530396533633931303635396335633533346662373663353230343038
|
|
6136356234336235370a646666363933616233643737626264656438333030653433303336326230
|
|
34303333393266646430663239623962306261343062643935616139366132666133656265643434
|
|
3932356533663161616332626135613461373432373766333730
|
|
|
|
traefik_token: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
66623665393638313039616464613563316437386566396238623937363238626535633937633536
|
|
6236653135363566333636633961343766323138633737610a346666636430303031373333376565
|
|
62643038666134386631306139613835623830346139356163376438643261646366386437343064
|
|
3365363639663862660a616239366130326538396431393537623964396530393531363665353361
|
|
65343938646438366264353837316263643634373639346334303939663732383832353439313330
|
|
3466323034336339626239633763393832383435623632386632
|
|
dashboard_users:
|
|
- name: kadet
|
|
password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
35343061303630633064316236623032356663366661393931656562366336666364663133333432
|
|
6134663564396439313530353236393966313864353064380a613064363562393537313933366534
|
|
39366134613939653532306139383362633539616339356637623666303638653230393036356231
|
|
3634346265616162370a653132663638633234663432343839666531363734376433343836316137
|
|
35353236333161636466383462343234323461623233643339653739623932666637386633626330
|
|
6366666637366362663865313661306137383931613565663564
|
|
gitea:
|
|
gitea_version: 1.21.11
|
|
database:
|
|
name: gitea
|
|
user: gitea
|
|
password: "{{ mysql_user_passwords['gitea'] }}"
|
|
|
|
marcel:
|
|
template: wordpress
|
|
|
|
traefik_routing_rule: Host(`marcelchefmonsieur.kadet.net`)
|
|
|
|
wordpress_db_name: marcelchefmonsieur
|
|
wordpress_db_user: marcelchefmonsieur
|
|
|
|
legacy:
|
|
www_data_users: ["{{ ansible_user }}"]
|
|
|
|
wipe-stg:
|
|
template: wipe
|
|
|
|
wipe_sentry:
|
|
dsn: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
37373037643735313937633061623864653063363563623636373466363161353963373037633432
|
|
3432336433623437643432616134333362333337636634340a336435383133336361353963636364
|
|
61666665383165386437646566316463326361373733303033383861363935363630313962376561
|
|
6339366132633866320a386561303865663864643135383134653831636434643366333761643937
|
|
38383630303562633265646436376135323632333965393031653662386363656439323434666335
|
|
30306436383137663066376130646465333634353064393465666466353266616239616465303464
|
|
31373063316264646437663433386331353130363733373432383031306130333639336462373363
|
|
63396139383038626335383239363364313439663462633632396532623637613461313036356164
|
|
3533
|
|
rate: 0.5
|
|
wipe_host: wipe.stg.kadet.net
|
|
wipe_database:
|
|
name: wipe-stg
|
|
user: wipe-stg
|
|
password: "{{ mysql_user_passwords['wipe-stg'] }}"
|
|
wipe_app_key: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
30306566363866333062336664383663643432386536396630363136636464643831633966333839
|
|
6538383236363132346639363634366164353231636163320a633136336434386230323962356132
|
|
34313763633238333132396264613836646632613438366666393038393836633231663666353635
|
|
3164633461356431370a383834626262613838363961346132316330663838366335666565333739
|
|
33323335636233376563383331663732303863383761343739393039633662386565613962663165
|
|
62643132313336356365313465353263626565616434633963343764653330316566613633633638
|
|
623838613832393239343036396439383561
|
|
wipe_mail:
|
|
host: email-smtp.eu-north-1.amazonaws.com
|
|
from: "WIPE#stg <no-reply@wipozaekranem.pl>"
|
|
encryption: "ssl"
|
|
port: 465
|
|
user: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
35653139656238636639306433643664643666646138373936383333346635363534633139383566
|
|
6435313461643962393065303561653462613234343661660a633437333762356466323663333364
|
|
63663262643633343766356266646264323266363232333434323564306362303265326464393334
|
|
3366663433353237370a656265643735616333383266643563663166353836383531633264613339
|
|
31613538386266656232306234636330396438666231333134663664643031663363
|
|
password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
31336564626238616639653164363764643239643231336531333632363061663564303539336530
|
|
3930613638303833343663666139306534656635643234620a313163663130333962333638306430
|
|
35316131363938623266656137373363653432303332666430326165353937346439633161353336
|
|
3132313431613938360a343731353134366666316161393431356335326635353335393032663930
|
|
63303132333565363364363731393064373530386135343264646131666462343631643136636533
|
|
3531333236373430353538666337626332373836376632393561
|
|
wipe:
|
|
traefik_routing_rule: Host(`wipe.kadet.net`, `wipozaekranem.pl`)
|
|
|
|
wipe_version: "2023.1.6"
|
|
wipe_mail:
|
|
host: email-smtp.eu-north-1.amazonaws.com
|
|
from: "WIPE <no-reply@wipozaekranem.pl>"
|
|
encryption: "ssl"
|
|
port: 465
|
|
user: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
35653139656238636639306433643664643666646138373936383333346635363534633139383566
|
|
6435313461643962393065303561653462613234343661660a633437333762356466323663333364
|
|
63663262643633343766356266646264323266363232333434323564306362303265326464393334
|
|
3366663433353237370a656265643735616333383266643563663166353836383531633264613339
|
|
31613538386266656232306234636330396438666231333134663664643031663363
|
|
password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
31336564626238616639653164363764643239643231336531333632363061663564303539336530
|
|
3930613638303833343663666139306534656635643234620a313163663130333962333638306430
|
|
35316131363938623266656137373363653432303332666430326165353937346439633161353336
|
|
3132313431613938360a343731353134366666316161393431356335326635353335393032663930
|
|
63303132333565363364363731393064373530386135343264646131666462343631643136636533
|
|
3531333236373430353538666337626332373836376632393561
|
|
wipe_database:
|
|
name: wipe
|
|
user: wipe
|
|
password: "{{ mysql_user_passwords['wipe'] }}"
|
|
wipe_sentry:
|
|
dsn: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
37373037643735313937633061623864653063363563623636373466363161353963373037633432
|
|
3432336433623437643432616134333362333337636634340a336435383133336361353963636364
|
|
61666665383165386437646566316463326361373733303033383861363935363630313962376561
|
|
6339366132633866320a386561303865663864643135383134653831636434643366333761643937
|
|
38383630303562633265646436376135323632333965393031653662386363656439323434666335
|
|
30306436383137663066376130646465333634353064393465666466353266616239616465303464
|
|
31373063316264646437663433386331353130363733373432383031306130333639336462373363
|
|
63396139383038626335383239363364313439663462633632396532623637613461313036356164
|
|
3533
|
|
rate: 0.05
|
|
|
|
wipe_app_key: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
30306566363866333062336664383663643432386536396630363136636464643831633966333839
|
|
6538383236363132346639363634366164353231636163320a633136336434386230323962356132
|
|
34313763633238333132396264613836646632613438366666393038393836633231663666353635
|
|
3164633461356431370a383834626262613838363961346132316330663838366335666565333739
|
|
33323335636233376563383331663732303863383761343739393039633662386565613962663165
|
|
62643132313336356365313465353263626565616434633963343764653330316566613633633638
|
|
623838613832393239343036396439383561
|
|
cojedzie:
|
|
cojedzie_version: "2023.1.5"
|
|
cojedzie_gtm: GTM-TQNX386
|
|
|
|
cojedzie_database:
|
|
name: cojedzie
|
|
user: cojedzie
|
|
password: "{{ mysql_user_passwords['cojedzie'] }}"
|
|
|
|
cojedzie-next:
|
|
template: cojedzie@next
|
|
|
|
cojedzie_version: next
|
|
cojedzie_domain: next.cojedzie.pl
|
|
cojedzie_image_base: registry.kadet.net/cojedzie
|
|
|
|
cojedzie_maptiler: 1gwEkcI3lbNcEb0MOoOu
|
|
cojedzie_mercure_jwt_key: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
63343966303066626336623630636330363437646133393865303933613337336362343638363862
|
|
6438346633663334626136353033663536633937623239660a303032306564323462626638616534
|
|
39373765623739623134336332326537613338353936376434353263616630393062613365613638
|
|
3739383365353837310a613931333264386365663730646163383639383563313066643438326465
|
|
30633666343736323539326133626664356462356466323366633738613436636535353963663536
|
|
3837383838613130646365633232613530303863393866613830
|
|
|
|
cojedzie_database:
|
|
name: cojedzie-next
|
|
user: cojedzie-next
|
|
password: "{{ mysql_user_passwords['cojedzie-next'] }}"
|
|
|
|
sentry_environment: next
|
|
sentry_sample_rate_front: 0.01
|
|
sentry_sample_rate_api: 0.01
|
|
|
|
registry:
|
|
registry_users:
|
|
- "{{ swarm_registry_user }}"
|
|
- name: kadet
|
|
password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
62613965333632643231306232323064306439313330353830663132393137633632613839656463
|
|
6335356336383632313765393634356563393066316261660a643762366532623735626430636634
|
|
35333465663730383033313762353539323663613038366531626163336430663062313466626137
|
|
6330386139356263390a663366633232346637346233653261373330343864613262313465336432
|
|
31366633323433653632366633376533343764343565653737633837383330323630313433323836
|
|
6530363533656439663631636532363864373666343163376632
|
|
- name: sobak
|
|
password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
31366430636665333631346565353666646333616436383062663261316537616566373334663061
|
|
3430376431363333613032643135646336333537633931640a656238613566656632626662343661
|
|
30313766313337663534323631333266633464623364613261613865326235306564616635613237
|
|
3861393364356136350a393433613066663535333934636664613164653139323166343030633566
|
|
36343734666637336665316231636631313633336331306633386665616337363166646132366133
|
|
6166376237646566656166386631303732633831323961363038
|
|
- name: andrzej
|
|
password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
31363166663163363363663939306336336363383038376434616434306465623365313734383963
|
|
3166643832663764636535323365363861346530346336340a656461303331646662663561373534
|
|
36646666626461396635643764663237356636333165636565646434656530366238383765356234
|
|
6361376166366438640a323166363063373033356466633839316433613566643734633930363766
|
|
30633736373161383238303262393635393436393637323639366135323530316666623030343633
|
|
6131663563663936316632373565363566343364613666363366
|
|
- name: github-actions
|
|
password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
30643365613763383464393263636165373331636139626137376231646536336339613861376631
|
|
3538383539346566626330326365666164313531336132300a616434623133396665373565353130
|
|
33366163633136653666343363653464333136626262396337376563623839316536666161373230
|
|
6562323935356463620a626664313863383730656137383833313766656461386337646531643864
|
|
61353763393838326561366330653562343133363534656335326332643632643065663437316139
|
|
6435376534383463346639656261383632323639373930333961
|
|
registry_storage:
|
|
s3:
|
|
accesskey: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
62343638373430393732616566373062633161316565646161613739363364346266663461386134
|
|
6662356631333130323835386365393864633332643064360a313738373234323336376434663234
|
|
66666137653065383762303365643663303365376662663931316430346331373538323963353263
|
|
3961663835393334370a613137316433396637316437616662356364626535626166333930356139
|
|
36323930633662363664663064346239386230616537353332356338653463356365
|
|
secretkey: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
62386333363935343736626233333035373534316636303063313039633764653162643761393431
|
|
6137393061623538346562623731373937643361353839620a356662373131623263636663626334
|
|
35353435613763346139613931316537626434363462646139366539636139336161623463343433
|
|
6563656236663563650a313965336364323134336531373135666162663232623261313362663363
|
|
36363165623231616331613165626563383038613534303465646530303132623930
|
|
region: eu-central-003
|
|
regionendpoint: https://s3.eu-central-003.backblazeb2.com
|
|
bucket: kadet-docker
|
|
portainer:
|
|
portainer_version: 2.20.3
|
|
system: {}
|
|
echo: {}
|
|
management:
|
|
api_server_vault_password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
38376138373336636630386339653761646333313238386365653365623335383035643231643162
|
|
3936353164363934633939306462346262666438346262310a313366353766303833373734383032
|
|
38643039376636633762653838623565376236653061633734626262616530313734366231326632
|
|
6530373935323033360a613236366135656436306330306162636661313963613466656163316139
|
|
32333032613461633834396261623166656365666364393761326438366536306237373661303834
|
|
3339396235393636346666346365306463643430373639613762
|
|
api_server_users:
|
|
- token: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
66663262646661623837363865366463323034376436303738353165306464623933393464666433
|
|
6632356435323463303436333561333030383163646630350a613831303734336234623366313931
|
|
39623963653466326239376163313033313139653332343738306634623036666464326131633532
|
|
3730643635373436380a396662643061653664653366356137366538653431373361383236336362
|
|
34366665636631373165346338343962613266643036386532326461633766633632373932383663
|
|
32363837663436663131306238616536623637376137393134623565353436663864333666346231
|
|
38333435346561306163666533373166363739636533383335663435363431643566383930366163
|
|
31363565343065313631
|
|
allowed_services: ["wipe-stg"]
|
|
- token: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
63383730313833366236396464323866376165366462386231363564343832366565386434313265
|
|
6430656635653234623862346563313035306366363634620a373332653463336135633239313839
|
|
38356330363439343935636636376464316666303866323761313733343264383631376539376136
|
|
3238316131666238650a346461353436393663646537363532386665383631353837633635373637
|
|
31313335306331643763363266316335383262336437363562663062656136356165643964333830
|
|
35666438646265333535656639636462313138393461633937306235316666663031616462366631
|
|
65616339303364343737383065626665323766613035313563613131376661333336313437653037
|
|
65366633306635343662
|
|
allowed_services: ["echo"]
|
|
- token: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
31613736666563373031616530643138343036333339663837653732343635303334396534666661
|
|
3963656435393335623438343065666636653633343164350a393237333034383932346463656337
|
|
61346666383035373230646233373636663635383563663466393438643339346363383139353765
|
|
3535316366623639350a663737666366396439343932636262313939633234363065336331643833
|
|
32333863313763363535343236613563306236383431313663616438303033366636666238396535
|
|
3134623165653432316664623939376631333861626332653165
|
|
allowed_services: ["cojedzie-next"]
|
|
- token: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
64613263316636313262356435316666356539396430313030653462303961366632653732383538
|
|
3430386132356537303134353065636334346433613561640a303937306165613364633931626330
|
|
37373864656366386636626637636136333538646465646365393539393461626633343334313964
|
|
3734386437643239360a656236613063636632633439633664666637343232646362346438363238
|
|
38373734636562383737373962616536636366396331313835613637333563636264313064353534
|
|
32616135306433393631383764326566336531623333616338326637363930336535353265623865
|
|
30663666626663366436326662393036633232383832356634313665663661373130323037386531
|
|
64666630383063306533336634373234313862383066396238336136666165643862346436663539
|
|
3665
|
|
allowed_services: ["cojedzie"]
|
|
|
|
keylighter:
|
|
keylighter_version: latest
|
|
keylighter_app_secret: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
63303033343833663565393866636164383062343661376230363032306530393066363138343837
|
|
6661633433663738333631396637646365643864643734380a343631616632393939373964396330
|
|
30653930323261333333666362323632303539666633636434663265623836396438323132323565
|
|
6366333138333465340a376431363939366164316163633030616130653465613532323765306339
|
|
30653966353632333164306262363031626137373761636166663533366231336637383334316637
|
|
3463613562343766613666666264646433353731313334336130
|
|
|
|
www_data_users:
|
|
- vagrant
|