Minimal container for testing container orchestration and hosting setups. You can run it like follows:
docker pull ghcr.io/data5tream/web-test-container:latest
docker run --rm -p 8080:8080 ghcr.io/data5tream/web-test-container:latest
Configuration
Configuration can be done via environment variables:
CONTAINER_NAME- Name of the container, defaults toWebTestContainerLOG_LEVEL- Log level, defaults toinfo
Endpoints
- / - Returns the value of the CONTAINER_NAME environment variable or WebTestContainer
- /ping - Pong
- /status/
- Returns the status code provided in the path - /headers - Returns all headers received by the server