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

Default API key #334

Open
wackazong opened this issue Jun 3, 2020 · 3 comments
Open

Default API key #334

wackazong opened this issue Jun 3, 2020 · 3 comments

Comments

@wackazong
Copy link

I use screenly internally in a docker setup and I am the only one using it. It would be great to be able to define an API key as environment variable in the docker compose file. The you would not need to create a user manually.

@stefanzweifel
Copy link
Owner

Thanks for the idea. I will keep it in mind, next time I'm working on this project.

How the app is currently structured, it is required that a user exists in the database. But I think we could add a single-use-mode, where a User is created once and the API key is passed by an environment variable.

@wackazong
Copy link
Author

Yes, that would be cool. Thanks for listening.

@zeynabghasempoor
Copy link

Hello
I get this error when I use this api:
Trying to get property 'path' of non-object
why??

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

No branches or pull requests

3 participants