Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 713 Bytes

README.md

File metadata and controls

54 lines (37 loc) · 713 Bytes

Golang Backend for File Manager

How to build

go build

How to start

Normal start

./filemanager-go path-to-web-root

Readonly mode

./filemanager-go -readonly path-to-web-root

Set upload limit

./filemanager-go -limit 50000000

Use external preview generator

./filemanager-go -preview http://localhost:3201/preview path-to-web-root

Other ways of configuration

  • config.yml in the app's folder
uploadlimit: 10000000
root: ./
server:
    port: :80
readonly: false
preview: ""
  • env vars
APP_ROOT=/files APP_UPLOADLIMIT=300000 filemanager-go