From: Vincent Vanwaelscappel Date: Thu, 26 Sep 2024 07:32:47 +0000 (+0200) Subject: wip #7073 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=HEAD;p=docker-template-nginxproxy.git wip #7073 @1 --- 75e1c67ebb94108f67756a3610ba89aedaa9c3ff diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/deployment.xml b/.idea/deployment.xml new file mode 100644 index 0000000..b5e6e5c --- /dev/null +++ b/.idea/deployment.xml @@ -0,0 +1,413 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/docker-template-nginxproxy.iml b/.idea/docker-template-nginxproxy.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/docker-template-nginxproxy.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..b55992f --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + Abstraction issuesJava + + + Android Lint + + + Class metricsJava + + + Code StylePHP + + + Code maturity issuesJava + + + Code style issuesJava + + + CoffeeScript + + + Concurrency annotation issuesJava + + + Control flow issuesJava + + + Cucumber + + + DOM issuesJavaScript + + + Declaration redundancyJava + + + DeclarationGroovy + + + Django + + + General + + + GeneralCoffeeScript + + + GeneralJavaScript + + + Google Web Toolkit issues + + + Groovy + + + Initialization issuesJava + + + Internationalization issues + + + Internationalization issuesJava + + + J2ME issuesJava + + + JPA issues + + + Java + + + Java language level issuesJava + + + Java language level migration aidsJava + + + JavaScript + + + Javadoc issuesJava + + + Memory issuesJava + + + Method metricsJava + + + PHP + + + Packaging issuesJava + + + Performance issuesJava + + + Plugin DevKit + + + Portability issuesJava + + + Probable bugsCoffeeScript + + + Probable bugsGroovy + + + Probable bugsJava + + + Probable bugsJavaScript + + + RELAX NG + + + SQL + + + Security issuesJava + + + Serialization issuesJava + + + Spring + + + Spring CoreSpring + + + Struts + + + Struts 2Struts + + + Threading issuesGroovy + + + Threading issuesJava + + + Visibility issuesJava + + + XMLSpring CoreSpring + + + + + Android + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..a76fb32 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/config/custom_proxy_settings.conf b/config/custom_proxy_settings.conf new file mode 100644 index 0000000..3ba4978 --- /dev/null +++ b/config/custom_proxy_settings.conf @@ -0,0 +1 @@ +client_max_body_size 4g; \ No newline at end of file diff --git a/config/timeout.conf b/config/timeout.conf new file mode 100644 index 0000000..dfa34ac --- /dev/null +++ b/config/timeout.conf @@ -0,0 +1,4 @@ +proxy_connect_timeout 600; +proxy_send_timeout 600; +proxy_read_timeout 600; +send_timeout 600; \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..2b6e182 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,40 @@ +version: '2' +services: + nginx-proxy: + image: nginxproxy/nginx-proxy + container_name: nginx-proxy + networks: + - nginxproxy + - fluidbook-hosting-loadbalancer + ports: + - "80:80" + - "443:443" + volumes: + - /var/run/docker.sock:/tmp/docker.sock:ro + - /docker/nginxproxy/config/timeout.conf:/etc/nginx/conf.d/timeout.conf:ro + - /docker/nginxproxy/config/custom_proxy_settings.conf:/etc/nginx/conf.d/custom_proxy_settings.conf:ro + - /docker/nginxproxy/vhosts:/etc/nginx/vhost.d + - /docker/nginxproxy/html:/usr/share/nginx/html + - /docker/nginxproxy/certs:/etc/nginx/certs + restart: unless-stopped + + acme-companion: + image: nginxproxy/acme-companion + container_name: nginx-proxy-acme + networks: + - nginxproxy + environment: + - DEFAULT_EMAIL=vincent@cubedesigners.com + volumes_from: + - nginx-proxy + volumes: + - /docker/nginxproxy/certs:/etc/nginx/certs:rw + - /docker/nginxproxy/acme:/etc/acme.sh + - /var/run/docker.sock:/var/run/docker.sock:ro +networks: + nginxproxy: + external: + name: nginxproxy + fluidbook-hosting-loadbalancer: + external: + name: fluidbook-hosting-loadbalancer \ No newline at end of file diff --git a/update b/update new file mode 100644 index 0000000..0ff11c2 --- /dev/null +++ b/update @@ -0,0 +1,6 @@ +#!/bin/sh +docker network create nginxproxy +cd /docker/nginxproxy +docker compose pull +docker compose down -v +docker compose up -d \ No newline at end of file