mirror of
https://github.com/status-im/infra-inventory.git
synced 2026-08-27 10:01:15 +00:00
master
Infra Inventory
This repository contains a Python Flask application to create a web page showing all the Application hosted by IFT.
Development
Installation
python -m venv .venv
source .venv/bin/activate
poetry install
Run
Setup all the environment variables listed in .env.example and make sure to have access to a Consul instance at the host and port specified in the environment variables. Create the associated client in Keycloak to have the Authentication working.
# Consul configuration
CONSUL_HOST=consul.example.com
CONSUL_PORT=8500
CONSUL_SCHEME=https
CONSUL_TOKEN=your-consul-acl-token
# Refresh configuration (in seconds)
REFRESH_INTERVAL=3600
PORT=5000
LOG_LEVEL=INFO
SECRET_KEY=SomeSecrets
OAUTH_CLIENT_ID=inventory-app
OAUTH_CLIENT_SECRET=Something
OAUTH_ISSUER="http://keycloak.example.org"
OAUTH_SCOPE="openid profile email roles"
./run.py
Description
Web Application to list all hosted websites
https://inventory.infra.status.im
79 KiB
Languages
HTML
65.9%
Python
34.1%