Skip to content

victor-rds/docker-lufi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and Push

Tags 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

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 : will be generated on the first run)
  • MAX_FILE_SIZE : maximum file size of an uploaded file in bytes (default : 10000000000)
  • CONTACT : Lufi isntance contact (default : [email protected])
  • REPORT : URL or an email address to receive file reports (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))

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

Ports

  • 8081

Usage

Simple launch

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

URI access : http://localhost: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 \
    victorrds/lufi

URI access : http://localhost:8181/lufi

Contributing

Any contributions are very welcome !

Releases

No releases published

Packages

No packages published

Languages

  • Perl 84.7%
  • Dockerfile 8.8%
  • Shell 6.5%