From bb83497bc06b314ff8bc310b43785c90a9fad4ba Mon Sep 17 00:00:00 2001 From: Palo palo Date: Fri, 29 Nov 2024 05:05:02 +0100 Subject: [PATCH] Added nginx --- nginx/run.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 nginx/run.sh diff --git a/nginx/run.sh b/nginx/run.sh new file mode 100755 index 0000000..82beae8 --- /dev/null +++ b/nginx/run.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +docker run --rm \ + --name nginx \ + --network unitservices \ + --publish 80:80/tcp \ + --publish 443:443/tcp \ + --volume $DATA/common:/etc/nginx/common:ro \ + --volume $DATA/conf.d:/etc/nginx/conf.d:ro \ + --volume $DATA/unit.abbiamoundominio.org:/var/www/unit.abbiamoundominio.org:ro \ + --volume $DATA/wiki.unit.abbiamoundominio.org:/var/www/wiki.unit.abbiamoundominio.org:ro \ + --volume $DATA/oldwiki:/var/www/oldwiki:ro \ + --volume /etc/letsencrypt:/etc/letsencrypt:ro \ + --volume /var/www/letsencrypt:/var/www/letsencrypt:ro \ + nginx