Sign inSign up

schklom/wikiless

By schklom

•Updated 4 months ago

Image
0

50K+

schklom/wikiless repository overview

Docker Pulls Docker Stars
dockeri.co

Original repo: https://codeberg.org/orenom/Wikiless⁠ My automated repo: https://github.com/schklom/Mirror-workflows/tree/Wikiless⁠

A GitHub action (https://github.com/schklom/Mirror-workflows/blob/main/.github/workflows/Sync%2Bbuild%2Bpush%Wikiless.yml⁠) automates checking the original repository for changes every day, and if it finds any then it mirrors the repository, and builds an image.

Contrary to what the original repo's docker-compose.yml file suggests, the following will work

services:
  wikiless:
    image: schklom/wikiless
    container_name: wikiless
    hostname: wikiless
    # ENVIRONMENT COPIED FROM config.js
    environment:
      DOMAIN: 127.0.0.1 # Default 127.0.0.1 - Or for example 'wikiless.org' or '127.0.0.1:1337'. Remember to add port here if needed.
      THEME: dark # Default '' -'' or 'dark'
      HTTP_ADDR: 0.0.0.0 # Default 127.0.0.1 Bind Wikiless to a specific IP address.
      # NONSSL_PORT:  # Default 8080
      # HTTPS_ENABLED: 'false' # Default 'false'
      SSL_PORT:  # Default 8088
      # CERT_DIR:  # Default '' - For example '/home/wikiless/letsencrypt/live/wikiless.org'. No trailing slash.
      # REDIRECT_HTTP_TO_HTTPS:  # Default 'false' - If true, HTTP requests will be redirected to HTTPS.
      REDIS_URL: 'redis://wikiless_redis:6379' # Default 'redis://127.0.0.1:6379'
      # REDIS_PASSWORD: 
      # TRUST_PROXY: 'true' # Default 'false'
      # TRUST_PROXY_ADDRESS:  # Default 127.0.0.1
      # WIKIPAGE_CACHE_EXPIRATION:  # Default (60 * 60 * 1) - 1 hour
      # wikimedia_useragent:  # Default 'Wikiless media proxy bot (https://codeberg.org/orenom/Wikiless)'
      # CACHE_CONTROL:  # Default 'true' - Wikiless can automatically remove the cached media files from the server.
      CACHE_CONTROL_INTERVAL: dark # Default 24 - sets the interval for often the cache directory is emptied (in hours).
    ports:
      - 8080:8080
    depends_on:
      wikiless_redis:
        condition: service_started
    networks:
      wikiless_redis:
  
  wikiless_redis:
    image: redis:alpine
    container_name: wikiless_redis
    hostname: wikiless_redis
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /some-path/wikiless_redis:/data
    networks:
      wikiless_redis:
  
networks:
  wikiless_redis:

Tag summary

Content type

Image

Digest

sha256:26b05619b…

Size

52.7 MB

Last updated

4 months ago

docker pull schklom/wikiless