Fix Traefik

This commit is contained in:
Corbin 2025-04-03 00:11:16 -04:00
parent 05c74ec949
commit 901eb7cf07
Signed by: coredotbin
GPG Key ID: B03E030E4322E9D5
3 changed files with 28 additions and 23 deletions

View File

@ -3,11 +3,12 @@ services:
image: traefik
container_name: traefik
ports:
- 80
- 443
- 80:80
- 443:443
command:
- --api.dashboard=false
# Providers
- --providers.docker
- --providers.docker.exposedByDefault=false

View File

@ -4,3 +4,7 @@ services:
container_name: nginx
volumes:
- /var/media/nginx/html:/usr/share/nginx/html:ro
labels:
- traefik.enable=true
- "traefik.http.routers.nginx.rule=Host(`{{ domain_name }}`)"
- traefik.http.services.nginx.loadbalancer.server.port=80

View File

@ -1,22 +1,22 @@
$ANSIBLE_VAULT;1.1;AES256
64353662646335633331636539363935316531356565306432336563373636633135366163313837
3934303363343739303238373939646134613232666332640a363930373562623638383965393961
35376164376265333361633839343963383865653837323339353936313061623837633262396565
3165306166643334650a356137666239316561336461323862663335653336666434383832323463
37633032343030613862316239363361336131366434623863353835346536366530303633333730
37386234383532343232366633313839636132316436333765393065393538363933643739656439
32616331663033343233323633396530376437663964646163326237636161323831646265386662
66353438386538666539386335313738353266366562393562613366353430356531386438323530
31353938653339396130386131376238313762343065326638323531633635633132323330643563
62363362366436393763666538656634633535613635393831316666326434373166653461386464
37636536313266316566656236343131656661366337653064303235346262303461303364666630
65666638353466383965613931363632663230303263356661383834373231623334643636633764
35333766313834633633346134343833613866373339303662313337326230336538623762373162
34613731376263373961313563343534393232623237376639393939383766363939336234373561
32666335396261393563353234323761353732313239303161363435643634626633353433383034
65616661383564323065613464316662383635633666363030343031386136336562326537623861
30376165373939393464386366343734633339383936386365343230616234643533366237353530
30366663336162633131326161366232646437316330323034343661643862653563633363343932
30663666316533356361666365633936313436336530616235666330633937313731636230623835
39396135383563393330633438373530636163616363623530613863656262383939613439613965
6165
39383733343466343536343634656663336364373738383237383234643661313962333735643734
3135633130313165663866626130633438303831613463650a343961393136653132363031633639
66636338643734303135393536633366613032643736666338643231643661313632326631363764
3362383437636139330a393934346164636666616239393334346136343663643234623137313035
30346132343933303936386435336131356662363665613465346263653735373163656565313536
30623063303765396337616533353338363530343265346461313164616661663137313336656639
34643338633730633237643930363334633066643266646165636466646666353433383866656538
64313561353561333537656633643733333165373863356139303566626361316436353962356563
62356235626165353237313831326362643532343666346439323738666437656338663738666630
64353036636161616437303063303462356339343631663164326663363237643239396464613634
36336166623432613365393934623066623334643661356138373333366330646366626538323632
39396638313030343030333034636437656266323463633935343232623766366230396231393263
30353731633665636261643564633234383936316631303465383034613035306130336630363436
32663962326531636632363437663563663032326466343336336262656134646234383133643832
64616463346632326362653032643436346163623465373563353930636561646532616538326138
34303563363836386266663561663233373766373432653635343639643139613038336333653937
62666531363735383136383737346162373262393464383039306135383132653037636265393434
38346162316665653531643835386463386563616231613763626664653838316664356264346635
35303839326236653962313262623533316465333632653237613735656233303463636230663334
31616233626363636132623831653032326233343532326239343733336531613366363462303433
3037