Skip to content

The most useful web application to perform labs and tests in a container environment!

Notifications You must be signed in to change notification settings

teymurgahramanov/app22

Repository files navigation

App22

Most useful dummy Web application and API for your lab.

With App22 you can easily test:

  • Request headers
  • Database failover and replication
  • API Gateway and Load Balancer
  • Environment variables
  • Prometheus scraping

Usage

Docker

$ docker run --name app22 -p 5000:5000 teymurgahramanov/app22:latest

Source

$ git clone https://github.com/teymurgahramanov/app22
$ pip install -r requirements.txt
$ python app.py

Configuration

Use environment variables or config.ini

Environment variables:

  • DB_ENGINE
    mysql, postgresql
  • DB_ENDPOINT
    Example: localhost:3306
  • DB_NAME
  • DB_USERNAME
  • DB_PASSWORD