right, docker.io/
This commit is contained in:
4
serve.sh
4
serve.sh
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
WEB_CONTAINER="gentoo_binhost_server"
|
WEB_CONTAINER="gentoo_binhost_server"
|
||||||
WEB_PORT="8080"
|
WEB_PORT="8089"
|
||||||
VOLUME_NAME="binpkgs"
|
VOLUME_NAME="binpkgs"
|
||||||
|
|
||||||
podman volume inspect "$VOLUME_NAME" >/dev/null 2>&1 || podman volume create "$VOLUME_NAME"
|
podman volume inspect "$VOLUME_NAME" >/dev/null 2>&1 || podman volume create "$VOLUME_NAME"
|
||||||
@@ -13,7 +13,7 @@ if ! podman container exists "$WEB_CONTAINER"; then
|
|||||||
--restart always \
|
--restart always \
|
||||||
-p "$WEB_PORT":80 \
|
-p "$WEB_PORT":80 \
|
||||||
-v "$VOLUME_NAME":/usr/share/nginx/html:ro \
|
-v "$VOLUME_NAME":/usr/share/nginx/html:ro \
|
||||||
nginx:alpine \
|
docker.io/nginx:alpine \
|
||||||
/bin/sh -c '
|
/bin/sh -c '
|
||||||
echo "server {
|
echo "server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|||||||
Reference in New Issue
Block a user