Commit graph

85 commits

Author SHA1 Message Date
b12f 0d039dcf06
Merge pull request 'Enable maintenance page for mastodon' (#17) from mastodon-maintenance-redirect into main
Reviewed-on: pub-solar/infra#17
Reviewed-by: b12f <hello@benjaminbaedorf.eu>
2023-10-27 23:51:53 +02:00
teutat3s b70cd17bc9
feat: enable maintenance page for mastodon 2023-10-27 23:49:51 +02:00
b12f 5316212877
Merge pull request 'Update DNS TTLs to 60 seconds for maintenance' (#16) from maintenance-dns-ttl into main
Reviewed-on: pub-solar/infra#16
Reviewed-by: b12f <hello@benjaminbaedorf.eu>
2023-10-27 23:18:57 +02:00
teutat3s 85541c0933
Update DNS TTLs to 60 seconds for maintenance 2023-10-27 23:16:31 +02:00
b12f 6e46fc406e
Merge pull request 'docs: get list of keycloak users' email addresses' (#15) from add-docs-keycloak-email into main
Reviewed-on: pub-solar/infra#15
Reviewed-by: b12f <hello@benjaminbaedorf.eu>
2023-10-27 22:58:20 +02:00
b12f af5611ef45
Merge branch 'main' into add-docs-keycloak-email 2023-10-27 22:56:39 +02:00
teutat3s 3f7679886d
docs: get list of keycloak users' email addresses 2023-10-27 20:50:46 +02:00
Akshay Mankar 5f3f18767e
Merge pull request 'Move DNS to A records, add nachtigall and remove stale tf state' (#14) from nachtigall into main
Reviewed-on: pub-solar/infra#14
Reviewed-by: teutat3s <teutates@mailbox.org>
2023-10-27 20:44:35 +02:00
Akshay Mankar 6f3ef13269
terraform: Delete local state 2023-10-22 16:38:40 +02:00
Akshay Mankar 6ad7d22245
terraform: Add DNS entries for nachtigall 2023-10-22 16:38:40 +02:00
teutat3s 0309c75f2a
terraform: convert DNS CNAME to A records 2023-10-22 16:37:14 +02:00
b12f 795026f5ad
Merge pull request 'Update mastodon to version 4.2.0' (#13) from bump-mastodon-4.2.0 into main
Reviewed-on: pub-solar/infra#13
Reviewed-by: b12f <hello@benjaminbaedorf.eu>
2023-10-13 11:26:07 +02:00
teutat3s ea0c662cab
docs (mastodon): Add missing --detach flag
Also fix a leftover backslash
2023-10-09 18:57:00 +02:00
teutat3s 9021c7a3eb
mastodon: update version 4.1.4 -> 4.2.0 2023-10-09 18:55:37 +02:00
b12f a6da6713bb
Merge pull request 'chore: bump flake inputs' (#12) from feat/bump-flake-inputs into main
Reviewed-on: pub-solar/infra#12
Reviewed-by: b12f <hello@benjaminbaedorf.eu>
2023-09-13 13:29:06 +02:00
teutat3s da7381df93
chore: bump flake inputs
• Updated input 'devshell':
    'github:numtide/devshell/5143ea68647c4cf5227e4ad2100db6671fc4c369' (2023-05-09)
  → 'github:numtide/devshell/f6aec2e8b1cdddcab10ce7fc2eac66886e3deaad' (2023-09-11)
• Updated input 'flake-utils':
    'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11)
  → 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/f91ee3065de91a3531329a674a45ddcb3467a650' (2023-05-24)
  → 'github:nixos/nixpkgs/3a2786eea085f040a66ecde1bc3ddc7099f6dbeb' (2023-09-11)
• Updated input 'nixpkgs-2205':
    'github:nixos/nixpkgs/50fc86b75d2744e1ab3837ef74b53f103a9b55a0' (2023-04-27)
  → 'github:nixos/nixpkgs/380be19fbd2d9079f677978361792cb25e8a3635' (2023-05-31)
• Updated input 'tritonshell-module':
    'git+https://git.greenbaum.cloud/dev/tritonshell?ref=main&rev=d227038987158fa894872868f25bbf911c9cb8d1' (2023-05-16)
  → 'git+https://git.greenbaum.cloud/dev/tritonshell?ref=main&rev=7891ae2febb8dda09df8841a2dc1296851b05e47' (2023-09-07)
2023-09-13 13:08:51 +02:00
b12f 463d525add
Merge pull request 'feat: update collabora DNS to flora-6' (#11) from collabora into main
Reviewed-on: pub-solar/infra#11
Reviewed-by: teutat3s <teutates@mailbox.org>
2023-09-13 11:10:54 +02:00
Benjamin Bädorf d3e62155be
feat: update collabora DNS to flora-6 2023-09-13 10:26:41 +02:00
teutat3s 107809454b
Merge pull request 'Mastodon updates, more docs' (#10) from mastodon-updates into main
Reviewed-on: pub-solar/infra#10
Reviewed-by: Akshay Mankar <axeman@noreply.git.pub.solar>
2023-07-21 12:32:21 +02:00
teutat3s a6d3dbb76d
Init docs 2023-07-21 12:31:20 +02:00
teutat3s d78c5a88f9
Add backups to gitignore 2023-07-21 11:51:28 +02:00
teutat3s d91b216b4c
mastodon: 4.1.2 -> 4.1.4, update docs with how to
upgrade caddy and elasticsearch containers
2023-07-21 11:50:44 +02:00
teutat3s 873783ca77
flake: update devshell inputs, bump flake.lock 2023-07-21 11:49:31 +02:00
teutat3s b965b25546
Fix links git.b12f.io -> git.pub.solar 2023-07-21 11:48:58 +02:00
teutat3s c9863a68b2
Merge pull request 'terraform DNS updates' (#9) from dns-updates into main
Reviewed-on: pub-solar/infra#9
Reviewed-by: hensoko <hensoko@gssws.de>
2023-05-14 15:13:53 +02:00
teutat3s d42a8edcf4
Merge pull request 'Bump mastodon to version 4.1.2' (#8) from mastodon-4-1-1 into main
Reviewed-on: pub-solar/infra#8
Reviewed-by: hensoko <hensoko@gssws.de>
2023-05-14 15:13:42 +02:00
teutat3s 5ec6c1b74e
Merge pull request 'mastodon: fix sign_up route, redirect to sign_in' (#7) from fix/mastodon-sign-up-route into main
Reviewed-on: pub-solar/infra#7
Reviewed-by: hensoko <hensoko@gssws.de>
2023-05-14 15:13:30 +02:00
teutat3s 8bf1a72bc4
terraform: add state to version control 2023-05-13 17:07:16 +02:00
teutat3s 012b25e5d4
dns: add stream.pub.solar for owncast instance 2023-05-13 16:55:50 +02:00
teutat3s e266d528f3
dns: add records for Nextcloud Talk backend 2023-05-13 16:55:07 +02:00
teutat3s 295924760e
mastodon: 4.1.1 -> 4.1.2
https://github.com/mastodon/mastodon/releases/tag/v4.1.2
2023-04-21 23:22:20 +02:00
teutat3s 1e5e09fd7d
Bump mastodon to version 4.1.1 2023-03-26 12:55:23 +02:00
teutat3s b06e8ae556
Merge pull request 'Update 'www/caddy/Caddyfile'' (#6) from caddy-redirect-satzung into main
Reviewed-on: pub-solar/infra#6
Reviewed-by: teutat3s <teutates@mailbox.org>
2023-03-15 11:44:21 +01:00
teutat3s 0b547d0ee4
mastodon: fix sign_up route, redirect to sign_in 2023-03-15 11:42:16 +01:00
teutat3s a1e2db0d3b
pub.solar now lives on flora-6
359a82a28e/hosts/flora-6/caddy.nix (L19)
2023-02-27 20:30:53 +01:00
hensoko a3e50d8b5e Update 'www/caddy/Caddyfile'
redirect pub.solar/satzung to pub.solar nextcloud
2023-02-26 21:56:26 +01:00
teutat3s deb4215fe7 Merge pull request 'Add factorio dns entry' (#5) from feature/factorio-dns into main
Reviewed-on: pub-solar/infra#5
Reviewed-by: teutat3s <teutates@mailbox.org>
2023-02-26 21:00:01 +01:00
Benjamin Bädorf 4a1f01c22e
Add factorio dns entry 2023-02-26 20:58:41 +01:00
b12f 61d7d6070a Merge pull request 'Update mastodon to v4.1.0' (#3) from mastodon/update-4.1.0 into main
Reviewed-on: pub-solar/infra#3
Reviewed-by: b12f <hello@benjaminbaedorf.eu>
2023-02-24 20:49:27 +01:00
b12f 9731b69cbb Merge pull request 'flora-6: init list.pub.solar mail DNS records' (#2) from dns/add-list-mail-records into main
Reviewed-on: pub-solar/infra#2
Reviewed-by: b12f <hello@benjaminbaedorf.eu>
2023-02-24 20:49:05 +01:00
teutat3s 47d0644065 Merge pull request 'Pin terraform version in flake' (#4) from fix/pin-terraform into main
Reviewed-on: pub-solar/infra#4
Reviewed-by: teutat3s <teutates@mailbox.org>
2023-02-24 20:46:19 +01:00
Benjamin Bädorf cf3a3da6c4
Pin terraform version in flake 2023-02-24 20:42:55 +01:00
teutat3s 6e14bc910c
mastodon: bump version to v4.1.0
Bump elasticsearch to 7.17.9

caddy: comment out access logging for mastodon
2023-02-19 19:04:57 +01:00
teutat3s 8079825ec5
Add .envrc for mastodon, setting correct triton
profile
2023-02-19 19:04:57 +01:00
teutat3s f3dd7be010
dns: add list.pub.solar to the SPF TXT record
for pub.solar, allowing flora-6 to send mails on behalf of
admins@pub.solar
2023-02-08 19:46:30 +01:00
teutat3s 132ceeecb0
dns: use new SPF record for greenbaum MX 2023-02-08 12:56:50 +01:00
teutat3s 9ee9345192
Fix DMARC policy for list.pub.solar
Our _dmarc TXT record by default protects all subdomains, so an
adversary can't send mails on behalf of any subdomains (p=reject, p
stands for policy). We add a _dmarc.list TXT record with the same policy
to allow sending mails via list.pub.solar's postfix.
See https://dmarcly.com/blog/how-dmarc-works-with-subdomains-dmarc-sp-tag
for more context
2023-02-03 13:08:56 +01:00
teutat3s db234cdb5b
flora-6: init list.pub.solar mail DNS records
- TXT spf record
- A record because mail servers don't like CNAME
- MX record for subdomain list.pub.solar
2023-02-02 22:50:34 +01:00
teutat3s e54844ef52
dns: add ci and list records to pub.solar 2023-01-31 21:42:17 +01:00
teutat3s 6c62589dd8
Update DNS records
The pub.solar website and www record now live on flora-6

mail.greenbaum.cloud -> mx2.greenbaum.cloud

Remove non-functional mail, imap and smtp records.
mx2.greenbaum.cloud is responsible for mails as per MX record

Namecheap likes to add the root dot to DNS records, let's follow its preference
2023-01-21 23:20:30 +01:00