expose locally for face local access
parent
10eec6df13
commit
f73fb4dd85
|
@ -7,6 +7,7 @@ up () {
|
||||||
podman network create pew-net || true
|
podman network create pew-net || true
|
||||||
|
|
||||||
# main nginx container
|
# main nginx container
|
||||||
|
# for local access hard-code IP in /etc/hosts and use browser addon to force redirect to 8443
|
||||||
podman create \
|
podman create \
|
||||||
--name nginx \
|
--name nginx \
|
||||||
--env PUID=1000 \
|
--env PUID=1000 \
|
||||||
|
@ -22,7 +23,7 @@ up () {
|
||||||
--volume /bigdata/k8s-config/nginx/ssl.conf:/config/nginx/ssl.conf:ro \
|
--volume /bigdata/k8s-config/nginx/ssl.conf:/config/nginx/ssl.conf:ro \
|
||||||
--volume /bigdata/k8s-config/nginx/site-confs:/config/nginx/site-confs:ro \
|
--volume /bigdata/k8s-config/nginx/site-confs:/config/nginx/site-confs:ro \
|
||||||
--publish 127.0.0.1:8080:80 \
|
--publish 127.0.0.1:8080:80 \
|
||||||
--publish 127.0.0.1:8443:443 \
|
--publish 8443:443 \
|
||||||
--network pew-net \
|
--network pew-net \
|
||||||
linuxserver/swag:1.10.1-ls29
|
linuxserver/swag:1.10.1-ls29
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue