Skip to content

aplbrain/pennsieve-env-var-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

pennsieve-env-var-test

This application is a minimal Docker-based test for environment variable injection in a Pennsieve app.

When the container starts, it prints any environment variables whose names start with test, case-insensitively. For example, variables such as TEST_ONE, test_value, and TeStTwo will all be included in the output.

If no matching environment variables are present, the container prints:

No environment variables found with names starting with 'test'.

Build

docker build -t pennsieve-env-var-test .

Run

Example with matching variables:

docker run --rm -e TEST_ONE=hello -e TeStTwo=world -e OTHER=nope pennsieve-env-var-test

Example with no matching variables:

docker run --rm -e OTHER=nope pennsieve-env-var-test

About

Simple example to test setting environment variables through a Pennsieve application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors