Compare commits

..

No commits in common. "7d05189ecd0bb3c41d2a05af6581e299ac0de934" and "b9b69a4482d85bb6ca525ed845ca096d5f0d422c" have entirely different histories.

9 changed files with 98 additions and 162 deletions

View file

@ -4,17 +4,14 @@ Available at [comfycamp.space](https://comfycamp.space).
## Ports ## Ports
| Number | Protocol | Service | Public URL | | Number | Service | Public URL |
| --- | --- | --- | --- | | --- | --- | --- |
| 3000 | | Mastodon | [m.comfycamp.space](https://m.comfycamp.space) | | 3000 | Mastodon | [m.comfycamp.space](https://m.comfycamp.space) |
| 3001 | | Mastodon streaming | | | 3001 | Mastodon streaming | |
| 3002 | | Vaultwarden | | | 3002 | Vaultwarden | |
| 3003 | | Minio console | | | 3003 | Minio console | |
| 3004 | | Forgejo | [git.comfycamp.space](https://git.comfycamp.space) | | 3004 | Forgejo | [git.comfycamp.space](https://git.comfycamp.space) |
| 3005 | | Synapse | | | 3005 | Synapse | |
| 3006 | | Comfycamp | [comfycamp.space](https://comfycamp.space) | | 8022 | Forgejo SSH | |
| 3478 | tcp/udp | Coturn | | | 8448 | Synapse/Haproxy | |
| 8022 | | Forgejo SSH | | | 9000 | Minio | |
| 8448 | | Synapse/Haproxy | |
| 9000 | | Minio | |
| 49152 - 65535 | udp | Coturn | |

View file

@ -1,7 +0,0 @@
---
- hosts: webservers
roles:
- name: comfycamp
postgresql_password: "{{ comfycamp_postgresql_password }}"
jwt_secret: "{{ comfycamp_jwt_secret }}"
secret_key_base: "{{ comfycamp_secret_key_base }}"

View file

@ -8,4 +8,3 @@
vaultwarden: "{{ vaultwarden_postgresql_password }}" vaultwarden: "{{ vaultwarden_postgresql_password }}"
forgejo: "{{ forgejo_postgresql_password }}" forgejo: "{{ forgejo_postgresql_password }}"
matrix-synapse: "{{ synapse_postgresql_password }}" matrix-synapse: "{{ synapse_postgresql_password }}"
comfycamp: "{{ comfycamp_postgresql_password }}"

View file

@ -1,27 +0,0 @@
- name: Create comfycamp config dir
become: true
ansible.builtin.file:
path: /etc/comfycamp
state: directory
owner: root
group: root
mode: 1770
- name: Copy comfycamp config
become: true
ansible.builtin.template:
src: comfycamp.env
dest: /etc/comfycamp/.env
owner: root
group: root
mode: '0660'
- name: Create comfycamp container
become: true
community.docker.docker_container:
name: comfycamp
image: git.comfycamp.space/lumin/comfycamp:v1.1.7
env_file: /etc/comfycamp/.env
networks:
- name: postgresql
ports:
- 127.0.0.1:3006:4000
restart_policy: unless-stopped

View file

@ -1,10 +0,0 @@
PHX_HOST=comfycamp.space
DATABASE_URL=postgres://{{ postgresql_user }}:{{ postgresql_password }}@postgresql:5432/comfycamp
SECRET_KEY_BASE={{ secret_key_base }}
SMTP_RELAY=comfycamp.space
SMTP_USERNAME=admin@comfycamp.space
SMTP_PASSWORD={{ smtp_password }}
SMTP_SSL=true
SMTP_TLS=always
SMTP_PORT=465
JWT_SECRET={{ jwt_secret }}

View file

@ -1,5 +0,0 @@
postgresql_user: comfycamp
postgresql_password:
smtp_password:
jwt_secret:
secret_key_base:

View file

@ -151,7 +151,7 @@ external-ip={{ external_ip }}
# Uncomment to run TURN server in 'normal' 'moderate' verbose mode. # Uncomment to run TURN server in 'normal' 'moderate' verbose mode.
# By default the verbose mode is off. # By default the verbose mode is off.
#verbose verbose
# Uncomment to run TURN server in 'extra' verbose mode. # Uncomment to run TURN server in 'extra' verbose mode.
# This mode is very annoying and produces lots of output. # This mode is very annoying and produces lots of output.
@ -638,7 +638,7 @@ syslog
# don't let the relay ever try to connect to private IP address ranges within your network (if any) # don't let the relay ever try to connect to private IP address ranges within your network (if any)
# given the turn server is likely behind your firewall, remember to include any privileged public IPs too. # given the turn server is likely behind your firewall, remember to include any privileged public IPs too.
denied-peer-ip=10.0.0.0-10.255.255.255 #denied-peer-ip=10.0.0.0-10.255.255.255
denied-peer-ip=192.168.0.0-192.168.255.255 denied-peer-ip=192.168.0.0-192.168.255.255
denied-peer-ip=172.16.0.0-172.31.255.255 denied-peer-ip=172.16.0.0-172.31.255.255

View file

@ -70,7 +70,7 @@ frontend matrix-federation
backend comfycamp backend comfycamp
mode http mode http
server green 127.0.0.1:3006 check server green 127.0.0.1:8080 check
backend mastodon backend mastodon
mode http mode http

View file

@ -1,96 +1,85 @@
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
63343761613930653938356262623436643464393561623536613262636539373936393535616432 36313839333930356436636439383062646133343337303337633863363966396266393733386663
6237316564613462613061353465613939666134633961640a316436353566353339626266373161 3532363631376634643637323134363061646538653830640a303238303764326135316165333438
63666530323933613361613033623134383433336634343661303537316336366632316337356430 63343938653836393839303636613861326435646161626339656439373739303739383531313965
3164303839376564320a356664363932383965303564616264646633643162616330346538336433 3239613664643539320a613530323764366330616434666266626161626633353136323133653134
32313039616332363966393730653738306433323730656434653335356265316233633261616534 33333734356433623061643339643530323730623062373066633961636566616463313137393935
39323439353562343631336430646238336232663062373965636266353862323230363563636634 34333365363931396562396134643038303930383961636564383334366161633864396434373938
39376363376431326362386561393234656462653363383962363862376430636462306161656338 35343535373361306231356433353338373461343131623161346635363737616233653736363161
37396338356138383334396664666238613834633861656533356631643338323937656462313761 63363138333232366131616666373666646365353533383435316139323533363235653130646362
64316363653366613165646337336537336132333631396439356262323034353265663334353033 38386664646532323334313336336262376534363064393632353665623165646231356165303938
66663939323533373836343365643762383737306566396430323762373235663765623238356231 30373639333835383461346131356364663866666161306663323363656366366466646535613837
61336232636663353764336139653931343064623566373435653836396434316431303065373332 32323266626463343066663465653837653966316136666235666162393363636438303431663037
65353838333265666431643130313939323331643064393662663739363430363636356231643838 36666239656366346664376337333339646464616466626436653765393334333865656266356461
35613336383334326533616637613839656161303664313761356533373538303964396231386430 38653266313934666537323637653165343666343630363863333534623065346566353135633038
62306364646337356265666432323464343265613233343162313031353665306332306437656437 66653235343363306563303661616662366132323663633638646437663833366133653631613666
33613834643839353639646637646433326665366530616362386130613734383937303933653463 30343735346364613063343663633934386266366266353538643435393239393263343562323864
33333336316534616266663035363834336430303965623936653363373465663332393333646135 33313631356463333733383132623030323631633262643064353631313565636138613430633462
61643766626339616632343739376633393335383535313463313434333336323134376437366637 39323331303236643632613362643665663163373333306436376365376563343439343238613431
66656336663634316631616233663964646263626337626261373032386131363330653035373034 65376639636234646630623737313562363237366638356364303630656138393931393532366333
63303035333434343839666534343563653761353064343035323634646564663236363365313366 35376131643630313766373565343462656238316231623034623761366665653934376233383162
66336434313866633432393030656235383466376435373061616663663863306239656235653037 35316538613231633436666237666464393033303165373130396535343033646461363230666234
65366361616366326163383733623666613065316463353863663365653530636432303932313235 61626333646438613732636538383936316561333539666236643939396561373633383130653265
35656432333833363934666164326634646631346137663731613737313564333836393632323839 38353736663261303862613935373830633933633361663731616632316462303732643936366437
36386563666465616561343961376266623533316461366431366433663330363932656231373434 34316136343264616331383665343837333230666132376163646530636637623863306236393031
64623530373164323436393636383862373936633938646565616536383865616165623132383635 37343631643464313238303365626265366637326564613663316163343465353330373233633837
30393262386438343634313937313865643832353939316539646662383166323966336231653139 37383739313239386136656132323937373561313239353665333465303939643866306132663335
30363535323363353263613633373231623866646338656538383163613731643631623061366363 64333432663837306135393434666135663038383065386535393736323131393434383231383962
32656332616433383463373334356538613365383632336532333939333863633033333339333265 32626365666162663762386235323035373933656465643636633563333562336331303061353138
30336135373539353633393532363965663765353734366665336537393435616233306533373430 39636263656339633435353231653430306233323232316238326334646462303630646262323136
34666236386430613831643836626136396233306634383561316664633831336535653562326338 35396161363635336331626661626561343531383032393363336463393735653430656530323832
34666336343963616666343937653665666634653332353839373531383231393863316130353365 30333765376366663466363536383364353366663961616462343566356535633566373166626233
61383465326564646333303861616337656636643032623732383565396331663430356139323835 31373665653864626365353466333163353764376331386463653334643438636134313330663132
65396333666436643236353531353732373537306365323566366437653331616661316463393064 36663162643230333936623063326264323434656135636537636437626431303462616235306264
32653736333037313438653432666237336435646565343239613434643437396535646532356538 37663461656461636632316664653830396134643965646261323232323936313366346432336236
62643962353637313363376665376634346136633036366662303434613437326233613634373463 36386333303364363834313530323730376661383837336235633762353336616561386431316632
65336266343631663639343031653761323665353734346565303065656132653265383634386665 66643861303966646266393533666439623539663334386532336138663038613161353130623066
31666634303565363963336266653561343166333634383835383839616438363434373765396462 64346235616464386466386335353862633164623832323435613932666639343136356133396432
34656364663564346430323436623636663034613936613831393634346262356137646364633537 62303963326634623436343163363136646232616137613534326631663433323938383662633031
62643634366639663763613030653339626633373433346437613833643337303831613738356665 35613464303235313964656463366661353336396437653436616336376234346266336337366330
34653237393231636665666233663833656436356163393163316439373532313664326336386563 30386463643462333432303530626134373932316136633537383938396439643331663766396232
30383661616433663264613065343430393230373037363966383866353636316337656166373034 33353261323034666364323537313566393037636337386162613564353865386438656633623262
33316232393834326163613230653830383064653831633936303939643331396535373633646532 31623435653536646464353035316431313664653837316233616362306632653931653265643166
31303232626132353830316261353131636637343538363662343530396339646535653231343038 64663338323764376537313333656665653965636264626335333336633163303232363539323163
34393333393839356538343838663330323961656233663466326132326363396131393964633639 65303334663832306365633465393634663461376631653034353963366434306539656639386138
34306534653766343039363862373366613731303137613533636230306463366434663862633938 37333336613836313333366239393539306364333634316430643862326562636466393764356361
37353334313562646563366339386330333462646533666561613536653434306135616464383436 32353033326161343961303439336139373132366633363734336166383565336530616665356432
30633735636665346233623361373133623663663836323536396561346333383530386564613663 32613034333731303962333266623263363366633638343530313030366438636433666465333038
30376639653330636161616462376462336238613235363762356232623863666638316561383034 66366266373635616233323239666264626433643936636432663537666662646131373736363838
63323330626331623032363035646263396438336466356265656430366338336266663463616334 37313636323763366339333462373736656339323937376266383239313736373763616666363262
61626163656133613562373432393066323839303333343261616564343761303130303064373265 66386364396237373537653133363861643762353735373636326433343931623563613837363533
39633862656139383966636333613632376261323364633264343434353765346331313761356533 37333939623264363435643464396261656563616263626263626362343630653833306162396531
66346662656261623161356332393733313862666330663666326463366230653435373032393461 61313133386663636339653632613231363862623766653235376163646133383733383136386538
36333935393236343164323862346265303630373561613164663038653665313265613133303638 62373737333763313862626263343235343239663132623632333562393530643431653937643866
31353038386537313064623838346262363266313763636661626535663337393235333635366462 34383731663065346561363565393562386565643331333032616562393038343230326134626161
35663565666661373131323138393034613236373530333034636330353364623536643635626137 65626338306336626636666562623531313533666635323834303933363465316132623864356332
39376634643230353466383664626565333137616330393030663338633931646535343266636537 39616561313633626164663935356334373664396635336162316462653233386434353639396563
30363937396133333862396130393338306133626133663436303933313661356566323861316239 39363264666264393537323637366365353633396131373131653535313738353030393566646337
33653433643438303565663263326362633039656433663333623565313235303630383466353862 31326633653833356630613134366266646264303735656136393335363162386632353062343863
37303937646430626163353634323861613437336137346335636666633939396637633864353261 65663966303463623534303734336431353330636564303762343133393266623837633939356664
65343831373735326435633461346436613732346639363338306133343332336239376539626137 64303563663666666636343931326663396133373736656465356463306439343637336362663865
30633332353238323335363832643630373737613964666632333431366133663761316134303238 38656263393432383461646534343962626264363862653732626562393330656663393665373636
31363165366637363933393835666636623430303832356563653738316364316635313434643434 38663765363133336466626339303036346236316631643366393137303939303165653334356239
31336539323833386165343365383833383634643830323435393062373636646337333737323063 66343162393134386666373438363836366133306465666166313334386235303964356462393738
30663435656165393331633166633738373963346161323137333035363766393539343635306330 66393833306531646431396332396666383537663361396638373863633738336363613061336130
62323638636663373134313064623564656332386531396663653832316435633665316235616438 63393965313539383761653233326365313030366232353161353631303131336663316162363534
31323766326164663736626333633031653865626566616464396231366639303338633835363163 64333137376238666632306265616133376362613431363839623330383734373465613739643861
30353032353237363966363836653839393833373361383266666631356561303762356362613266 30343766333065666435656462353565303164633532313230356663353433393861626166303035
39386161313236323431303237646164663431663730343164363766386433383631303230613462 32616531346238386231366136653036326366356463323866643266616139396431313363636637
61613063653661396662313734383431303039393566306533376531363164653231316234623236 63313965623465376235353433323038653638663066666563326465643735306336353261376234
32373333346332383663383433353234663565386361356333656634643539616230623162323939 62636435613031353235646434333730396238653634613631306161346263373333386535653366
36646163303130323932326237346664346433623466396661323437626263353437336665636334 39313561313039316261336435663764623433363666333263333232383436386532626530336439
35376633386532313830346661666365623566376161316430613139333430363732396665666437 62343634623634623765356334356561386333323263303562383934396333643566626130343730
30356362613638366138326431643332386534653963316362656538363739653036356535353763 38653230623631623465646164333035353466363330633734636538383232663935313439303163
38643635333136386536613663653133623339613330666263636362623165356339383735393162 38626533313137363863633934663038373062356261636230363962346634363566323361326338
38633234333932343234613565373264363839323130363730323436306638306634356266653731 65646535303037623031663532386637386364343665343436356564666665613930396464306466
30333238313361616338666334656130656639393830383633363035393131343863373162336464 64303765633032393433663639616530343466353666373966373166326635396131356466623961
35386134656339306266633438636333333439336535306238393962376134633064376637383064 65633332366334666330613162626336303938353030346131363664663731623366356233643261
32633565646230346533636339653466396338663936313734626265373232306230346434626533 35306138356330656131363162343738373630663531303230383361306465326437636330646331
38613539646334303661633365643562613266303735666663356366383539666564616231366264 66386239376333353537383865633639653261636462396561396633336337383739626162646164
66323533613131646631333864343238316166643631323633623339313861306163623363663034 64623336623837306533303465323330376639616630666239666432343964353636343731366162
30656530316639646662653438636131393338323931386533313163393530633835623663353861 64613931343930356661313664336233623934306664643838623233376666656465393361343332
30396665326539333964333333313833663762373463313930623033386362376135623732663330 33343037363135376136313935373032343738633562663237323763373037613836333236623934
64323232613338353237303932623637353963633735636131356238623130616537366233303932 32303362313062636536613064653730383333613937346565333534386664326637636132333738
34626565353963386533393936333636666337323737623738663537616464333032373930363761 37333963646436633736646639323039343230613538643139313531353635663137666662623434
31303035623636633537633739316135396661326330653366666562633835326565663563653662 66333561393832396634
66643634346263336530303936393030313063623962306664613465636630613265363834613766
39383130313031636437343662393932633033393638323664376265343765666465326238616634
38366433306232313461346661396230636164383932383031653631663164383462633132363330
30333237383435346566336463353439663932653036323736316630366465323734616435343737
66613935323434306334323733313838356635396166616133633036343330656665333535373030
36306632346239333832616434373361303465663232393732636338663764386666356335663734
64376230666339363763373637333033663232323466356538653738393931316337653566336664
61653931626464623935663630613262366633383934393535303565343239383139386461613237
34363735306136323338643731316336343866373032343964376630663765383334653262333532
62313136326562353463623161353538336436663330303361333763353365623333383830353736
353834646363363865643138663131653333