diff --git a/.examples/docker-compose/insecure/mariadb/fpm/docker-compose.yml b/.examples/docker-compose/insecure/mariadb/fpm/docker-compose.yml index e293a92c..d555d29e 100644 --- a/.examples/docker-compose/insecure/mariadb/fpm/docker-compose.yml +++ b/.examples/docker-compose/insecure/mariadb/fpm/docker-compose.yml @@ -33,12 +33,13 @@ services: - redis web: - build: ./web + image: nginx:alpine restart: always ports: - 127.0.0.1:8080:80 volumes: - nextcloud:/var/www/html:z,ro + - ./nginx.conf:/etc/nginx/nginx.conf depends_on: - app diff --git a/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf b/.examples/docker-compose/insecure/mariadb/fpm/nginx.conf similarity index 100% rename from .examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf rename to .examples/docker-compose/insecure/mariadb/fpm/nginx.conf diff --git a/.examples/docker-compose/insecure/mariadb/fpm/web/Dockerfile b/.examples/docker-compose/insecure/mariadb/fpm/web/Dockerfile deleted file mode 100644 index 9e620aff..00000000 --- a/.examples/docker-compose/insecure/mariadb/fpm/web/Dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM nginx:alpine - -COPY nginx.conf /etc/nginx/nginx.conf diff --git a/.examples/docker-compose/insecure/postgres/fpm/docker-compose.yml b/.examples/docker-compose/insecure/postgres/fpm/docker-compose.yml index 97343ad9..3b6beec4 100644 --- a/.examples/docker-compose/insecure/postgres/fpm/docker-compose.yml +++ b/.examples/docker-compose/insecure/postgres/fpm/docker-compose.yml @@ -28,12 +28,13 @@ services: - redis web: - build: ./web + image: nginx:alpine restart: always ports: - 127.0.0.1:8080:80 volumes: - nextcloud:/var/www/html:z,ro + - ./nginx.conf:/etc/nginx/nginx.conf depends_on: - app diff --git a/.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf b/.examples/docker-compose/insecure/postgres/fpm/nginx.conf similarity index 100% rename from .examples/docker-compose/insecure/postgres/fpm/web/nginx.conf rename to .examples/docker-compose/insecure/postgres/fpm/nginx.conf diff --git a/.examples/docker-compose/insecure/postgres/fpm/web/Dockerfile b/.examples/docker-compose/insecure/postgres/fpm/web/Dockerfile deleted file mode 100644 index 9e620aff..00000000 --- a/.examples/docker-compose/insecure/postgres/fpm/web/Dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM nginx:alpine - -COPY nginx.conf /etc/nginx/nginx.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 94196e9f..a127ba0e 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 @@ -33,10 +33,11 @@ services: - redis web: - build: ./web + image: nginx:alpine restart: always volumes: - nextcloud:/var/www/html:z,ro + - ./nginx.conf:/etc/nginx/nginx.conf environment: - VIRTUAL_HOST= - LETSENCRYPT_HOST= diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/nginx.conf similarity index 100% rename from .examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf rename to .examples/docker-compose/with-nginx-proxy/mariadb/fpm/nginx.conf diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/Dockerfile b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/Dockerfile deleted file mode 100644 index 9e620aff..00000000 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/Dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM nginx:alpine - -COPY nginx.conf /etc/nginx/nginx.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 008d74af..6ac36a1f 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 @@ -28,10 +28,11 @@ services: - redis web: - build: ./web + image: nginx:alpine restart: always volumes: - nextcloud:/var/www/html:z,ro + - ./nginx.conf:/etc/nginx/nginx.conf environment: - VIRTUAL_HOST= - LETSENCRYPT_HOST= diff --git a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/nginx.conf similarity index 100% rename from .examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf rename to .examples/docker-compose/with-nginx-proxy/postgres/fpm/nginx.conf diff --git a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/Dockerfile b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/Dockerfile deleted file mode 100644 index 9e620aff..00000000 --- a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/Dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM nginx:alpine - -COPY nginx.conf /etc/nginx/nginx.conf