https://github.com/a0s/nginx-with-env
Just official nginx with envs
https://github.com/a0s/nginx-with-env
Last synced: 5 months ago
JSON representation
Just official nginx with envs
- Host: GitHub
- URL: https://github.com/a0s/nginx-with-env
- Owner: a0s
- Created: 2021-08-01T11:28:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-03T17:32:06.000Z (almost 5 years ago)
- Last Synced: 2025-01-06T02:12:12.108Z (over 1 year ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
See "Using environment variables in nginx configuration" at [official nginx image page](https://hub.docker.com/_/nginx)
How to use
----------
```shell
docker run --rm -e NGINX_PORT=7777 -p 8080:7777 nginx-with-env:1.21.1-alpine
```