Skip to content

Commit

Permalink
feat(lemmy): add deferation sync tool; seed from programming.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dr460nf1r3 committed Dec 16, 2024
1 parent 11528ef commit c6713cb
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions docker-compose/all-in-one/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ services:
delay: 120s

# Makes world content available for our Lemmy instance
lemmy_seeder:
lemmy_lcs:
image: nowsci/lcs:20241201065204
container_name: lemmy_lcs
environment:
Expand All @@ -119,16 +119,28 @@ services:
NSFW: false
POST_COUNT: 50
REMOTE_INSTANCES: '[ "beehaw.org", "lemmy.world", "lemmy.ml", "sh.itjust.works",
"lemmy.one" ]'
"lemmy.one", "programming.dev" ]'
SECONDS_AFTER_COMMUNITY_ADD: 17
restart: unless-stopped

# Lemmy deferation sync (has only latest tag)
lemmy_lds:
image: nowsci/lds:latest
container_name: lemmy_lds
environment:
LOCAL_PASSWORD: ${LOCAL_PASSWORD:-?err}
LOCAL_URL: https://lemmy.garudalinux.org
LOCAL_USERNAME: ${LOCAL_USERNAME:-?err}
MINUTES_BETWEEN_RUNS: 1440
REMOTE_INSTANCES: '[ "lemmy.world", "lemmy.one" ]'
restart: unless-stopped

# Automated container updates
watchtower:
image: containrrr/watchtower:1.7.1
container_name: watchtower
command: --cleanup matterbridge wikijs privatebin vaultwarden thelounge syncserver
lemmy_seeder
lemmy_lcs lemmy_lds
volumes: [/var/run/docker.sock:/var/run/docker.sock]
restart: always
volumes:
Expand Down

0 comments on commit c6713cb

Please sign in to comment.