pub / ktistec-tweaks

Tweaks for the ActivityPub server ktistec
git clone https://src.jayvii.de/pub/ktistec-tweaks.git
Home | Log | Files | Exports | Refs | Submodules | README | RSS

docker-compose.yaml (849B)


      1 services:
      2 
      3   # ktistec: https://github.com/toddsundsted/ktistec
      4   ktistec:
      5     
      6     # Use pre-built image: https://github.com/toddsundsted/ktistec/pkgs/container/ktistec
      7     image: ghcr.io/toddsundsted/ktistec:latest
      8     # Or build it yourself (it is really easy and only takes a few minutes!)
      9     #build: ./ktistec/
     10 
     11     # container name
     12     container_name: ktistec
     13 
     14     # always restart upon failures
     15     restart: unless-stopped
     16 
     17     # bind to local port 3000
     18     ports:
     19       - 3000:3000
     20 
     21     # mount volumes for db and uploads so they survive restarts
     22     # mount volume for backups (optional)
     23     volumes:
     24       - /var/www/ktistec/db:/db
     25       - /var/www/ktistec/uploads:/uploads
     26       - /var/www/ktistec/backups:/backups
     27 
     28     environment:
     29       - LIBRETRANSLATE_API_KEY="${LIBRETRANSLATE_API_KEY:-}"
     30       - DEEPL_API_KEY="${DEEPL_API_KEY:-}"