Skip to content

Commit 35333cc

Browse files
committed
chore(immortalis): cleanup, drop unused Lemmy instance
1 parent 0cbc2d6 commit 35333cc

File tree

14 files changed

+21
-146
lines changed

14 files changed

+21
-146
lines changed

β€Ž.editorconfigβ€Ž

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
max_line_length = 120
10+
trim_trailing_whitespace = true
11+
12+
[*.md]
13+
indent_size = unset
14+
tab_width = unset
15+
trim_trailing_whitespace = false
16+
17+
[*.lock]
18+
# These are auto-generated, so lets not touch them
19+
indent_size = unset

β€Ž.nixd.jsonβ€Ž

Lines changed: 0 additions & 10 deletions
This file was deleted.

β€Ž.nixd.nixβ€Ž

Lines changed: 0 additions & 10 deletions
This file was deleted.

β€Žassets/dummy.jsonβ€Ž

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
"monitoring_channel": "-10000000",
88
"updates_channel": "-10000000"
99
},
10-
"lemmy": {
11-
"database": "abcdefghijklmnop",
12-
"smtp_password": "abcdefghijklmnop"
13-
},
1410
"matrix": {
1511
"db_string": "abcdefg:abcdefg"
1612
},

β€Ždocker-compose/all-in-one/docker-compose.ymlβ€Ž

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -103,49 +103,11 @@ services:
103103
restart_policy:
104104
condition: always
105105
delay: 120s
106-
107-
# Makes world content available for our Lemmy instance
108-
lemmy_lcs:
109-
image: nowsci/lcs:latest
110-
container_name: lemmy_lcs
111-
environment:
112-
COMMUNITY_COUNT: 100
113-
COMMUNITY_SORT_METHODS: '[ "TopAll", "TopDay" ]'
114-
COMMUNITY_TYPE: All
115-
LOCAL_URL: https://lemmy.garudalinux.org
116-
LOCAL_USERNAME: ${LOCAL_USERNAME:-?err}
117-
LOCAL_PASSWORD: ${LOCAL_PASSWORD:-?err}
118-
MINUTES_BETWEEN_RUNS: 240
119-
NSFW: false
120-
POST_COUNT: 100
121-
REMOTE_INSTANCES:
122-
'[ "beehaw.org", "lemmy.world", "lemmy.ml", "sh.itjust.works",
123-
"lemmy.one", "programming.dev" ]'
124-
SECONDS_AFTER_COMMUNITY_ADD: 17
125-
TRACKER_FILE: /app/logs/tracker.log
126-
volumes:
127-
- ./lemmy_lcs:/app/logs
128-
restart: unless-stopped
129-
130-
# Lemmy deferation sync (has only latest tag)
131-
lemmy_lds:
132-
image: nowsci/lds:latest
133-
container_name: lemmy_lds
134-
environment:
135-
LOCAL_PASSWORD: ${LOCAL_PASSWORD:-?err}
136-
LOCAL_URL: https://lemmy.garudalinux.org
137-
LOCAL_USERNAME: ${LOCAL_USERNAME:-?err}
138-
MINUTES_BETWEEN_RUNS: 1440
139-
REMOTE_INSTANCES: '[ "lemmy.world", "lemmy.one" ]'
140-
restart: unless-stopped
141-
142106
# Automated container updates
143107
watchtower:
144108
image: containrrr/watchtower:1.7.1
145109
container_name: watchtower
146-
command:
147-
--cleanup matterbridge wikijs privatebin vaultwarden thelounge syncserver
148-
lemmy_lcs lemmy_lds
110+
command: --cleanup matterbridge wikijs privatebin vaultwarden thelounge syncserver
149111
volumes: [/var/run/docker.sock:/var/run/docker.sock]
150112
restart: always
151113
volumes:

β€Ždocs/src/SUMMARY.mdβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
- [docker-proxied](./nixos-containers/docker-proxied.md)
2020
- [forum](./nixos-containers/forum.md)
2121
- [github-runner](./nixos-containers/github-runner.md)
22-
- [lemmy](./nixos-containers/lemmy.md)
2322
- [mastodon](./nixos-containers/mastodon.md)
2423
- [mongodb](./nixos-containers/mongodb.md)
2524
- [postgres](./nixos-containers/postgres.md)

β€Ždocs/src/hosts/immortalis.mdβ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ docker-proxied container systemd-nspawn nixos 24.11 10.0.5.110…
2424
forum container systemd-nspawn nixos 24.11 10.0.5.70…
2525
github-runner container systemd-nspawn nixos 24.11 10.0.5.130…
2626
iso-runner container systemd-nspawn nixos 24.11 10.0.5.40…
27-
lemmy container systemd-nspawn nixos 24.11 10.0.5.120…
2827
mastodon container systemd-nspawn nixos 24.11 10.0.5.80…
2928
mongodb container systemd-nspawn nixos 24.11 10.0.5.60…
3029
postgres container systemd-nspawn nixos 24.11 10.0.5.50…
@@ -37,7 +36,7 @@ We are seeing:
3736
- 1 reverse proxy serving all the websites and services (`web-front`)
3837
- 2 Docker dedicated nspawn containers (`docker` & `docker-proxied`)
3938
- 3 Chaotic-AUR builders ( `chaotic-v4`, `github-runner` )
40-
- 6 app dedicated containers (`forum`, `lemmy`, `mastodon`, `mongodb` & `postgres`)
39+
- 5 app dedicated containers (`forum`, `mastodon`, `mongodb` & `postgres`)
4140

4241
### Connecting to the server
4342

β€Ždocs/src/important-links.mdβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ This is a collection of important links when working with the infrastructure:
4040
- [Discourse](https://forum.garudalinux.org)
4141
- [Chaotic-AUR](https://aur.chaotic.cx)
4242
- [Firefox syncserver](https://ffsync.garudalinux.org)
43-
- [Lemmy](https://lemmy.garudalinux.org)
4443
- [Lingva](https://lingva.garudalinux.org)
4544
- [Mastodon](https://social.garudalinux.org)
4645
- [Nextcloud](https://cloud.garudalinux.org)

β€Ždocs/src/nixos-containers/lemmy.mdβ€Ž

Lines changed: 0 additions & 11 deletions
This file was deleted.

β€Ždocs/src/nixos-containers/postgres.mdβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
This container houses our Postgres database. Multiple services access it:
66

7-
- Lemmy
87
- Mastodon
98
- Matrix
109
- Matrix bridges

0 commit comments

Comments
Β (0)