ihexxa / quickshare

Quick and simple file sharing between different devices, built with Go, React and Typescript.
https://ihexxa.github.io/quickshare.site
GNU Lesser General Public License v3.0
506 stars 32 forks source link

how to disable predefined users #122

Closed WLun001 closed 2 years ago

WLun001 commented 2 years ago

https://github.com/ihexxa/quickshare/blob/65da92aece7ac78a493b19d07d8a02c7ccbdb54d/configs/docker.yml#L32

WLun001 commented 2 years ago

or how to edit default docker.yml config

WLun001 commented 2 years ago

found out able to achieve it with volume mount

-v ./my-config.yml:/quickshare/docker.yml

but need to provide full config, seems like not merging with default config https://github.com/ihexxa/quickshare/blob/65da92aece7ac78a493b19d07d8a02c7ccbdb54d/cmd/start/main.go#L25

ihexxa commented 2 years ago

Let me check the config merging part. The configuration part is not so friendly currently, I'll improve it at some time.