Add authentication

This commit is contained in:
Stefan Haun 2020-08-23 22:07:20 +02:00
parent 57c4a7767d
commit 08da7a23f4
3 changed files with 44 additions and 2 deletions

View file

@ -1,3 +1,12 @@
# Entities Service
Query and manipulate the Netz39 entities database.
## Running the Service
### Configuration
The service is configured via the following environment variables:
* `PORT`: Service port. defaults to 8080
* `AUTH`: Authentication tokens, defaults to None. Example Configuration : `AUTH={"token_1": "user_1", "token_2": "user_2"}`