Skip to main content

LemmySchedule

version: "3.7"

services:
  redis:
    image: redis
    hostname: redis
    command: redis-server --save 60 1 --loglevel warning # make Redis dump the contents to disk and restore them on start
    volumes:
      - redis_data:/data
  lemmy_schedule:
    image: ghcr.io/rikudousage/lemmy-schedule:latest
    ports:
      - "8000:80" # replace 8000 with the port you want your app to run on
    environment:
      APP_SECRET: xxxxxxxxxxxxxxxxxxxx # actually create the secret, don't just use this value
      DEFAULT_INSTANCE: lemmy.ml
    volumes:
      - /srv/path/LemmySchedule/volumes/lemmy-schedule-cache:/opt/runtime-cache
      - /srv/path/LemmySchedule/volumes/lemmy-schedule-uploads:/opt/uploaded-files
    depends_on:
      - redis

volumes:
  redis_data: