Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

xataz/docker-lufi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

This image is build and push with drone.io, a circle-ci like self-hosted. If you don't trust, you can build yourself.

Tag available

Description

What is lufi ?

Lufi means Let's Upload that FIle.

It stores files and allows you to download them.

Is that all? No. All the files are encrypted by the browser! It means that your files never leave your computer unencrypted. The administrator of the Lufi instance you use will not be able to see what is in your file, neither will your network administrator, or your ISP.

This image does not contain root processes

BUILD IMAGE

docker build -t xataz/lufi github.com/xataz/docker-lufi.git#master

Configuration

Environments

  • UID : choose uid for launching lufi (default : 991)
  • GID : choose gid for launching lufi (default : 991)
  • WEBROOT : webroot of lufi (default : /)
  • SECRET : random string used to encrypt cookies (default : 0423bab3aea2d87d5eedd9a4e8173618)
  • MAX_FILE_SIZE : maximum file size of an uploaded file in bytes (default : 10000000000)
  • CONTACT : lufi contact (default : [email protected])
  • DEFAULT_DELAY : default time limit for files in days (default : 1 (0 for unlimited))
  • MAX_DELAY : number of days after which the files will be deleted (default : 0 for unlimited)
  • THEME : theme for lufi (default : default)
  • ALLOW_PWD_ON_FILES : enable download password (default : 1 (0 => disable, 1 => enable))

Tips : you can use the following command to generate SECRET. date +%s | md5sum | head -c 32

Volumes

  • /usr/lufi/lufi.conf : lufi's configuration file is here
  • /usr/lufi/data : lufi's database is here
  • /usr/lufi/files : Location of uploaded files
  • /themes : Location of themes

Ports

  • 8081

Usage

Simple launch

docker run -d -p 8081:8081 xataz/lufi

URI access : http://XX.XX.XX.XX:8081

Advanced launch

docker run -d -p 8181:8081 \
    -v /docker/config/lufi/data:/usr/lufi/data \
    -v /docker/data/lufi:/usr/lufi/files \
    -e UID=1001 \
    -e GID=1001 \
    -e WEBROOT=/lufi \
    -e SECRET=$(date +%s | md5sum | head -c 32) \
    -e [email protected] \
    -e MAX_FILE_SIZE=250000000 \
    xataz/lufi

URI access : http://XX.XX.XX.XX:8181/lufi

Contributing

Any contributions are very welcome !

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •