https://github.com/pottava/http-something-wrong
An endpoint for checking error situations.
https://github.com/pottava/http-something-wrong
docker golang webapp
Last synced: 3 months ago
JSON representation
An endpoint for checking error situations.
- Host: GitHub
- URL: https://github.com/pottava/http-something-wrong
- Owner: pottava
- Created: 2017-09-01T15:28:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-11-01T16:24:16.000Z (over 2 years ago)
- Last Synced: 2025-02-14T18:20:56.729Z (5 months ago)
- Topics: docker, golang, webapp
- Language: Go
- Homepage: https://hub.docker.com/r/pottava/http-sw/
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HTTP-Something-Wrong
[](https://github.com/pottava/http-something-wrong/actions)
[gcr.io/pottava/errs](https://gcr.io/pottava/errs/)
Supported tags and respective `Dockerfile` links:
・v1.1 ([Dockerfile](https://github.com/pottava/http-something-wrong/blob/master/Dockerfile))## Usage
### 1. Set environment variables
Environment Variables | Description |
------------------------- | ------------------------------------------------- |
ACCESS_LOG | Send access logs to /dev/stdout. (default: true) |
CONTENT_ENCODING | Compress response data if the request allows. (default: true) |### 2. Run the application
```bash
$ docker run -d --rm -p 8080:8080 gcr.io/pottava/errs:v1.1
$ open http://localhost:8080
```