Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File store init #20

Open
nampereira opened this issue Sep 6, 2021 · 3 comments
Open

File store init #20

nampereira opened this issue Sep 6, 2021 · 3 comments

Comments

@nampereira
Copy link
Contributor

nampereira commented Sep 6, 2021

  1. On store container build set these global settings:
    -Auto create user home dir while adding new user (true)
    -instance name (ARENA Store)
    -branding directory path (/arena-store/frontend/arena-branding)

  2. Generate filestore admin in init (write to secrets).

  3. Delete previous store db.

@mwfarb
Copy link
Contributor

mwfarb commented Sep 7, 2021

For [1], looks like you can write a script at docker load time to push those settings via filebrowser api, and then you can leave the filebrowser docker hub image alone.

https://github.com/filebrowser/filebrowser/blob/master/http/settings.go#L35

PUT "https://{$HOSTNAME}/storemng/api/settings". I'm using GET to get the default user perms/options.

@mwfarb
Copy link
Contributor

mwfarb commented Sep 7, 2021

@mwfarb
Copy link
Contributor

mwfarb commented Sep 15, 2021

Calculating secure inline script hash for CSP and public folder for permanent share at #23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants