stefanzweifel / screeenly

📸 Screenshot as a Service
https://secure.screeenly.com
MIT License
492 stars 102 forks source link

Default API key #334

Open wackazong opened 4 years ago

wackazong commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

Yes, that would be cool. Thanks for listening.

zeynabghasempoor commented 3 years ago

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