Getting started

Pre-requisites

Install with docker-compose

Sample docker-compose.yml

version: '2.0'

services:
  redis:
    image: redis:latest
    volumes:
      - ./redis:/data

  web:
    image: jaekr/magikfiles:latest
    ports: 
      - ${port}:80
    volumes:
      - ./data:/usr/src/app/f
    environment:
      - HOSTNAME
      - FILELIMIT
      - UPLIMIT
      - REDISURL=redis://redis/
    depends_on:
      - redis

networks:
  default:
    driver: bridge

Sample .env file

HOSTNAME=magikfiles.domain.tld
FILELIMIT=10
UPLIMIT=50
REDISURL=redis://redis/

Run:

docker-compose up -d

Your magikfiles instance should be accessible at http://magikfiles.domain.tld
However, it is recommended to run magikfiles through a reverse proxy such as Nginx or a router such as Traefik.
As now, Magikfiles can’t handle SSL in standalone mode.