fix(docker): add dockfile and small fixes (#38)
* fix(docker): add dockfile and small fixes * chore(readme): small fixes
This commit is contained in:
parent
c8a3f911e8
commit
b0d1cdccfc
11 changed files with 126 additions and 36 deletions
21
configs/docker.yml
Normal file
21
configs/docker.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
fs:
|
||||
root: "/quickshare/root"
|
||||
opensLimit: 128
|
||||
openTTL: 60 # 1 min
|
||||
secrets:
|
||||
tokenSecret: ""
|
||||
server:
|
||||
debug: false
|
||||
host: "0.0.0.0"
|
||||
port: 8686
|
||||
readTimeout: 2000
|
||||
writerTimeout: 86400000 # 1 day
|
||||
maxHeaderBytes: 512
|
||||
publicPath: "/quickshare/public"
|
||||
users:
|
||||
enableAuth: true
|
||||
defaultAdmin: ""
|
||||
defaultAdminPwd: ""
|
||||
cookieTTL: 604800 # 1 week
|
||||
cookieSecure: false
|
||||
cookieHttpOnly: true
|
Loading…
Add table
Add a link
Reference in a new issue