2019-09-01 21:37:44 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
docker run \
|
|
|
|
--name nginx \
|
|
|
|
--detach \
|
|
|
|
--restart unless-stopped \
|
|
|
|
--env PUID=1000 \
|
|
|
|
--env PGID=1000 \
|
|
|
|
--env EMAIL=sysadmin@seaturtle.pw \
|
|
|
|
--env URL=seaturtle.pw \
|
|
|
|
--env ONLY_SUBDOMAINS=true \
|
|
|
|
--env SUBDOMAINS=madone \
|
2020-01-16 20:14:03 -05:00
|
|
|
--env EXTRA_DOMAINS=paul.walko.org,paul.walko.org,walko.org,www.walko.org \
|
2019-09-01 21:37:44 -04:00
|
|
|
--env VALIDATION=html \
|
|
|
|
--env TZ=US/Eastern \
|
2019-09-08 16:23:30 -04:00
|
|
|
--volume $PWD/nginx-config:/config:rw \
|
2019-09-01 21:37:44 -04:00
|
|
|
--volume $PWD/nginx.conf:/config/nginx/nginx.conf:ro \
|
|
|
|
--volume $PWD/site-confs:/config/nginx/site-confs:ro \
|
2019-09-02 01:14:31 -04:00
|
|
|
--volume $HOME/files:/files-docker:ro \
|
2019-09-01 21:37:44 -04:00
|
|
|
--publish 51.159.29.122:80:80 \
|
|
|
|
--publish 51.159.29.122:443:443 \
|
|
|
|
--publish [2001:bc8:6005:19:208:a2ff:fe0c:917c]:80:80 \
|
|
|
|
--publish [2001:bc8:6005:19:208:a2ff:fe0c:917c]:443:443 \
|
2020-04-26 11:58:50 -04:00
|
|
|
linuxserver/letsencrypt:1.3.0-ls110
|