You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Stefan Haun b161d0d7e9
Show git head in health infos
2 years ago
.gitignore Add boilerplate code 3 years ago
Dockerfile Add boilerplate code 3 years ago
OAS3.yml Add endpoints to upload/download application/sepa for members 2 years ago
README.md Add Git configuration variables to README 2 years ago
app.py Show git head in health infos 2 years ago
auth.py Add authentication 3 years ago
docker-compose.yml Adapt service name in docker-compose 3 years ago
dotenv.template Add boilerplate code 3 years ago
gitmgr.py Add git pull with cooldown interval 2 years ago
requirements.txt Add GitPython requirement 2 years ago
test.py Add boilerplate code 3 years ago
test.sh Add boilerplate code 3 years ago
util.py Add boilerplate code 3 years ago

README.md

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.