mirror of
				https://github.com/thib8956/nginx-proxy
				synced 2025-11-04 11:09:20 +00:00 
			
		
		
		
	ci: ensure all compose files are valid compose v2 + formatting
This commit is contained in:
		@@ -1,9 +1,12 @@
 | 
			
		||||
version: "2"
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  sut:
 | 
			
		||||
    image: nginxproxy/nginx-proxy:test
 | 
			
		||||
    volumes:
 | 
			
		||||
      - /var/run/docker.sock:/tmp/docker.sock:ro
 | 
			
		||||
      - ./custom-fallback.conf:/etc/nginx/conf.d/zzz-custom-fallback.conf:ro
 | 
			
		||||
 | 
			
		||||
  http-only:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,9 +1,12 @@
 | 
			
		||||
version: "2"
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  sut:
 | 
			
		||||
    image: nginxproxy/nginx-proxy:test
 | 
			
		||||
    volumes:
 | 
			
		||||
      - /var/run/docker.sock:/tmp/docker.sock:ro
 | 
			
		||||
      - ./nodefault.certs:/etc/nginx/certs:ro
 | 
			
		||||
 | 
			
		||||
  https-and-http:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
@@ -11,6 +14,7 @@ services:
 | 
			
		||||
    environment:
 | 
			
		||||
      WEB_PORTS: "81"
 | 
			
		||||
      VIRTUAL_HOST: https-and-http.nginx-proxy.test
 | 
			
		||||
 | 
			
		||||
  https-only:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
@@ -19,6 +23,7 @@ services:
 | 
			
		||||
      WEB_PORTS: "82"
 | 
			
		||||
      VIRTUAL_HOST: https-only.nginx-proxy.test
 | 
			
		||||
      HTTPS_METHOD: nohttp
 | 
			
		||||
 | 
			
		||||
  http-only:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
@@ -27,6 +32,7 @@ services:
 | 
			
		||||
      WEB_PORTS: "83"
 | 
			
		||||
      VIRTUAL_HOST: http-only.nginx-proxy.test
 | 
			
		||||
      HTTPS_METHOD: nohttps
 | 
			
		||||
 | 
			
		||||
  missing-cert:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,5 @@
 | 
			
		||||
version: "2"
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  sut:
 | 
			
		||||
    image: nginxproxy/nginx-proxy:test
 | 
			
		||||
@@ -6,6 +8,7 @@ services:
 | 
			
		||||
      - ./withdefault.certs:/etc/nginx/certs:ro
 | 
			
		||||
    environment:
 | 
			
		||||
      HTTPS_METHOD: redirect
 | 
			
		||||
 | 
			
		||||
  https-only:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,5 @@
 | 
			
		||||
version: "2"
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  sut:
 | 
			
		||||
    image: nginxproxy/nginx-proxy:test
 | 
			
		||||
@@ -6,6 +8,7 @@ services:
 | 
			
		||||
      - ./withdefault.certs:/etc/nginx/certs:ro
 | 
			
		||||
    environment:
 | 
			
		||||
      HTTPS_METHOD: nohttp
 | 
			
		||||
 | 
			
		||||
  https-only:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
@@ -13,6 +16,7 @@ services:
 | 
			
		||||
    environment:
 | 
			
		||||
      WEB_PORTS: "82"
 | 
			
		||||
      VIRTUAL_HOST: https-only.nginx-proxy.test
 | 
			
		||||
 | 
			
		||||
  missing-cert:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,5 @@
 | 
			
		||||
version: "2"
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  sut:
 | 
			
		||||
    image: nginxproxy/nginx-proxy:test
 | 
			
		||||
@@ -6,6 +8,7 @@ services:
 | 
			
		||||
      - ./withdefault.certs:/etc/nginx/certs:ro
 | 
			
		||||
    environment:
 | 
			
		||||
      HTTPS_METHOD: nohttp
 | 
			
		||||
 | 
			
		||||
  https-only:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,5 @@
 | 
			
		||||
version: "2"
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  sut:
 | 
			
		||||
    image: nginxproxy/nginx-proxy:test
 | 
			
		||||
@@ -5,6 +7,7 @@ services:
 | 
			
		||||
      - /var/run/docker.sock:/tmp/docker.sock:ro
 | 
			
		||||
    environment:
 | 
			
		||||
      HTTPS_METHOD: redirect
 | 
			
		||||
 | 
			
		||||
  http-only:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,5 @@
 | 
			
		||||
version: "2"
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  sut:
 | 
			
		||||
    image: nginxproxy/nginx-proxy:test
 | 
			
		||||
@@ -5,6 +7,7 @@ services:
 | 
			
		||||
      - /var/run/docker.sock:/tmp/docker.sock:ro
 | 
			
		||||
    environment:
 | 
			
		||||
      HTTPS_METHOD: nohttps
 | 
			
		||||
 | 
			
		||||
  http-only:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,9 +1,12 @@
 | 
			
		||||
version: "2"
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  sut:
 | 
			
		||||
    image: nginxproxy/nginx-proxy:test
 | 
			
		||||
    volumes:
 | 
			
		||||
      - /var/run/docker.sock:/tmp/docker.sock:ro
 | 
			
		||||
      - ./withdefault.certs:/etc/nginx/certs:ro
 | 
			
		||||
 | 
			
		||||
  https-and-http:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
@@ -11,6 +14,7 @@ services:
 | 
			
		||||
    environment:
 | 
			
		||||
      WEB_PORTS: "81"
 | 
			
		||||
      VIRTUAL_HOST: https-and-http.nginx-proxy.test
 | 
			
		||||
 | 
			
		||||
  https-only:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
@@ -19,6 +23,7 @@ services:
 | 
			
		||||
      WEB_PORTS: "82"
 | 
			
		||||
      VIRTUAL_HOST: https-only.nginx-proxy.test
 | 
			
		||||
      HTTPS_METHOD: nohttp
 | 
			
		||||
 | 
			
		||||
  http-only:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
@@ -27,6 +32,7 @@ services:
 | 
			
		||||
      WEB_PORTS: "83"
 | 
			
		||||
      VIRTUAL_HOST: http-only.nginx-proxy.test
 | 
			
		||||
      HTTPS_METHOD: nohttps
 | 
			
		||||
 | 
			
		||||
  missing-cert:
 | 
			
		||||
    image: web
 | 
			
		||||
    expose:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user