https://github.com/ieee0824/nginx-apoptosis-docker
This is a Docker image that runs nginx. However, it will die in 24 hours!
https://github.com/ieee0824/nginx-apoptosis-docker
docker nginx
Last synced: 2 months ago
JSON representation
This is a Docker image that runs nginx. However, it will die in 24 hours!
- Host: GitHub
- URL: https://github.com/ieee0824/nginx-apoptosis-docker
- Owner: ieee0824
- Created: 2017-10-06T08:12:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-07T03:37:27.000Z (over 8 years ago)
- Last Synced: 2025-10-07T19:06:07.757Z (9 months ago)
- Topics: docker, nginx
- Language: Rust
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nginx-apoptosis-docker
This is a Docker image that runs nginx. However, it will die in 24 hours.
## build docker image
```
$ docker build -t nginx-apoptosis-docker .
```
## run
```
$ docker run -d -v /host/path/nginx.conf:/etc/nginx/nginx.conf:ro --name foo-nginx nginx-apoptosis-docker
```
## set ttl
```
$ docker run -d -v /host/path/nginx.conf:/etc/nginx/nginx.conf:ro --name foo-nginx -e TTL=100 nginx-apoptosis-docker
```
default ttl is 86164 sec.