No description
Find a file
2022-06-24 18:05:04 +02:00
.gitignore Add boilerplate code 2020-08-23 21:54:16 +02:00
app.py Add routing for entities handlers 2022-06-24 18:05:04 +02:00
auth.py Add authentication 2020-08-23 22:07:20 +02:00
docker-compose.yml Adapt service name in docker-compose 2020-08-23 21:55:16 +02:00
Dockerfile Add boilerplate code 2020-08-23 21:54:16 +02:00
dotenv.template Add boilerplate code 2020-08-23 21:54:16 +02:00
gitmgr.py Add git pull with cooldown interval 2021-02-19 17:01:51 +01:00
OAS3.yml Add endpoints to upload/download application/sepa for members 2020-12-22 14:37:45 +01:00
README.md Add Git configuration variables to README 2021-02-19 17:01:44 +01:00
requirements.txt Add GitPython requirement 2021-02-11 20:58:17 +01:00
test.py Add boilerplate code 2020-08-23 21:54:16 +02:00
test.sh Add boilerplate code 2020-08-23 21:54:16 +02:00
util.py Add boilerplate code 2020-08-23 21:54:16 +02:00

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"}
  • GIT_ORIGIN: URL for the origin Git repository, including the user name
  • GIT_PASSWORD: The git password for the user encoded in the origin URL
  • GIT_PULL_INTV: Time interval between automated pull operations (default: 30s)
  • GIT_WC_PATH: Set a path for the working copy. Will create a temporary checkout if not provided.