go build
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
- 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