mirror of
				https://github.com/samply/bridgehead.git
				synced 2025-11-04 08:20:17 +01:00 
			
		
		
		
	Don't expose bridgehead http(s) services by default.
This commit is contained in:
		@@ -8,12 +8,14 @@ services:
 | 
			
		||||
      - --entrypoints.web.address=:80
 | 
			
		||||
      - --entrypoints.websecure.address=:443
 | 
			
		||||
      - --providers.docker=true
 | 
			
		||||
      - --providers.docker.exposedbydefault=false
 | 
			
		||||
      - --providers.file.directory=/configuration/
 | 
			
		||||
      - --api.dashboard=true
 | 
			
		||||
      - --accesslog=true
 | 
			
		||||
      - --entrypoints.web.http.redirections.entrypoint.to=websecure
 | 
			
		||||
      - --entrypoints.web.http.redirections.entrypoint.scheme=https
 | 
			
		||||
    labels:
 | 
			
		||||
      - "traefik.enable=true"
 | 
			
		||||
      - "traefik.http.routers.dashboard.rule=PathPrefix(`/api`) || PathPrefix(`/dashboard`)"
 | 
			
		||||
      - "traefik.http.routers.dashboard.entrypoints=websecure"
 | 
			
		||||
      - "traefik.http.routers.dashboard.service=api@internal"
 | 
			
		||||
@@ -82,8 +84,6 @@ services:
 | 
			
		||||
    depends_on:
 | 
			
		||||
      - "beam-proxy"
 | 
			
		||||
      - "blaze"
 | 
			
		||||
    labels:
 | 
			
		||||
      - "traefik.enable=false"
 | 
			
		||||
 | 
			
		||||
  beam-proxy:
 | 
			
		||||
    image: "samply/beam-proxy:develop"
 | 
			
		||||
@@ -101,8 +101,6 @@ services:
 | 
			
		||||
      TLS_CA_CERTIFICATES_DIR: /conf/trusted-ca-certs
 | 
			
		||||
    secrets:
 | 
			
		||||
      - proxy.pem
 | 
			
		||||
    labels:
 | 
			
		||||
      - "traefik.enable=false"
 | 
			
		||||
    depends_on:
 | 
			
		||||
      - "forward_proxy"
 | 
			
		||||
    volumes:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user