This is a minimal web application, useful during demos & trainings to understand how environment variables work and how to expose a web application into the Internet.
If you find it useful, enjoy!
ENVIRONMENT contain the environment name that is simply shown in the root
page of the applicationCOLOR is used as the color of the textDATABASE_URL is the connection string to a PostgreSQL databaseQUERY is the SQL query usedLISTEN_ADDRESS is the endpoint where we should listen for HTTP requests/ show a simple page with the desired color and environment/.well-known/check check if we can connect to PostgreSQL/tx execute the query in QUERY/metrics Prometheus metrics endpointContent type
Image
Digest
Size
8.5 MB
Last updated
over 5 years ago
docker pull leonardoce/minimal-app