Added nginx

This commit is contained in:
palo 2024-11-29 05:05:02 +01:00
parent 3bb6520ce6
commit bb83497bc0

15
nginx/run.sh Executable file
View File

@ -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