summaryrefslogtreecommitdiffstats
path: root/.examples
diff options
context:
space:
mode:
authorLejo <Lejo_1@web.de>2021-12-10 10:53:51 +0100
committerGitHub <noreply@github.com>2021-12-10 09:53:51 +0000
commit3619c0caac0cd3846ac7a6a722fdc092116967c5 (patch)
tree776272f4049586f6f0301956e9b1bb392de15980 /.examples
parent5a189c719de104a886994f95489e8524d71e36b2 (diff)
Update Nginx-Proxy Docker repository (#1644)
Signed-off-by: Lejo1 <Lejo_1@web.de>
Diffstat (limited to '.examples')
-rw-r--r--.examples/README.md2
-rw-r--r--.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml10
-rw-r--r--.examples/docker-compose/with-nginx-proxy/mariadb/apache/proxy/Dockerfile2
-rw-r--r--.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml10
-rw-r--r--.examples/docker-compose/with-nginx-proxy/mariadb/fpm/proxy/Dockerfile2
-rw-r--r--.examples/docker-compose/with-nginx-proxy/postgres/apache/docker-compose.yml10
-rw-r--r--.examples/docker-compose/with-nginx-proxy/postgres/apache/proxy/Dockerfile2
-rw-r--r--.examples/docker-compose/with-nginx-proxy/postgres/fpm/docker-compose.yml8
-rw-r--r--.examples/docker-compose/with-nginx-proxy/postgres/fpm/proxy/Dockerfile2
9 files changed, 20 insertions, 28 deletions
diff --git a/.examples/README.md b/.examples/README.md
index 40f1300d..6358bc34 100644
--- a/.examples/README.md
+++ b/.examples/README.md
@@ -91,7 +91,7 @@ If you want to update your installation to a newer version of nextcloud, repeat
The nginx proxy adds a proxy layer between nextcloud and the internet. The proxy is designed to serve multiple sites on the same host machine.
The advantage in adding this layer is the ability to add a container for [Let's Encrypt](https://letsencrypt.org/) certificate handling.
-This combination of the [jwilder/nginx-proxy](https://github.com/jwilder/nginx-proxy) and [jrcs/docker-letsencrypt-nginx-proxy-companion](https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion) containers creates a fully automated https encryption of the nextcloud installation without worrying about certificate generation, validation or renewal.
+This combination of the [nginxproxy/nginx-proxy](https://github.com/nginx-proxy/nginx-proxy) and [nginxproxy/acme-companion](https://github.com/nginx-proxy/acme-companion) containers creates a fully automated https encryption of the nextcloud installation without worrying about certificate generation, validation or renewal.
**This setup only works with a valid domain name on a server that is reachable from the internet.**
diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml
index 4a717ebd..504f3021 100644
--- a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml
+++ b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml
@@ -52,8 +52,6 @@ services:
ports:
- 80:80
- 443:443
- labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
@@ -63,13 +61,13 @@ services:
- proxy-tier
letsencrypt-companion:
- image: jrcs/letsencrypt-nginx-proxy-companion
+ image: nginxproxy/acme-companion
restart: always
+ volumes_from:
+ - proxy
volumes:
- - certs:/etc/nginx/certs
+ - certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh
- - vhost.d:/etc/nginx/vhost.d
- - html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier
diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/proxy/Dockerfile b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/proxy/Dockerfile
index 242c84e1..46fc7e26 100644
--- a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/proxy/Dockerfile
+++ b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/proxy/Dockerfile
@@ -1,3 +1,3 @@
-FROM jwilder/nginx-proxy:alpine
+FROM nginxproxy/nginx-proxy:alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf
diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml
index 0fdcc20f..8f6b7f1a 100644
--- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml
+++ b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml
@@ -61,8 +61,6 @@ services:
ports:
- 80:80
- 443:443
- labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
@@ -72,13 +70,13 @@ services:
- proxy-tier
letsencrypt-companion:
- image: jrcs/letsencrypt-nginx-proxy-companion
+ image: nginxproxy/acme-companion
restart: always
+ volumes_from:
+ - proxy
volumes:
- - certs:/etc/nginx/certs
+ - certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh
- - vhost.d:/etc/nginx/vhost.d
- - html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier
diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/proxy/Dockerfile b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/proxy/Dockerfile
index 242c84e1..46fc7e26 100644
--- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/proxy/Dockerfile
+++ b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/proxy/Dockerfile
@@ -1,3 +1,3 @@
-FROM jwilder/nginx-proxy:alpine
+FROM nginxproxy/nginx-proxy:alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf
diff --git a/.examples/docker-compose/with-nginx-proxy/postgres/apache/docker-compose.yml b/.examples/docker-compose/with-nginx-proxy/postgres/apache/docker-compose.yml
index 0185f090..d662a1a8 100644
--- a/.examples/docker-compose/with-nginx-proxy/postgres/apache/docker-compose.yml
+++ b/.examples/docker-compose/with-nginx-proxy/postgres/apache/docker-compose.yml
@@ -49,8 +49,6 @@ services:
ports:
- 80:80
- 443:443
- labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
@@ -60,13 +58,13 @@ services:
- proxy-tier
letsencrypt-companion:
- image: jrcs/letsencrypt-nginx-proxy-companion
+ image: nginxproxy/acme-companion
restart: always
+ volumes_from:
+ - proxy
volumes:
- - certs:/etc/nginx/certs
+ - certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh
- - vhost.d:/etc/nginx/vhost.d
- - html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier
diff --git a/.examples/docker-compose/with-nginx-proxy/postgres/apache/proxy/Dockerfile b/.examples/docker-compose/with-nginx-proxy/postgres/apache/proxy/Dockerfile
index 242c84e1..46fc7e26 100644
--- a/.examples/docker-compose/with-nginx-proxy/postgres/apache/proxy/Dockerfile
+++ b/.examples/docker-compose/with-nginx-proxy/postgres/apache/proxy/Dockerfile
@@ -1,3 +1,3 @@
-FROM jwilder/nginx-proxy:alpine
+FROM nginxproxy/nginx-proxy:alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf
diff --git a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/docker-compose.yml b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/docker-compose.yml
index 6e411741..25d0bc07 100644
--- a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/docker-compose.yml
+++ b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/docker-compose.yml
@@ -58,8 +58,6 @@ services:
ports:
- 80:80
- 443:443
- labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
@@ -71,11 +69,11 @@ services:
letsencrypt-companion:
image: nginxproxy/acme-companion
restart: always
+ volumes_from:
+ - proxy
volumes:
- - certs:/etc/nginx/certs
+ - certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh
- - vhost.d:/etc/nginx/vhost.d
- - html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier
diff --git a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/proxy/Dockerfile b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/proxy/Dockerfile
index 242c84e1..46fc7e26 100644
--- a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/proxy/Dockerfile
+++ b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/proxy/Dockerfile
@@ -1,3 +1,3 @@
-FROM jwilder/nginx-proxy:alpine
+FROM nginxproxy/nginx-proxy:alpine
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf