An open API service indexing awesome lists of open source software.

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!

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.