refactor: update Traefik labels for betterbahn service configuration
This commit is contained in:
		
							parent
							
								
									714fa5590a
								
							
						
					
					
						commit
						4de14772ce
					
				
					 2 changed files with 9 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -9,20 +9,22 @@ services:
 | 
			
		|||
    labels:
 | 
			
		||||
      - "traefik.enable=true"
 | 
			
		||||
      - "traefik.docker.network=dokploy-network"
 | 
			
		||||
 | 
			
		||||
      - "traefik.http.services.betterbahn-app.loadbalancer.server.port=3000" # set port the container listenes to
 | 
			
		||||
      - "traefik.http.services.betterbahn-app.loadbalancer.server.scheme=http"
 | 
			
		||||
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-web.rule=Host(`${PUBLIC_DOMAIN}`)"
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-web.service=betterbahn-app"
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-web.entrypoints=web"
 | 
			
		||||
      - "traefik.http.services.betterbahn-app-web.loadbalancer.server.port=3000"
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-web.service=betterbahn-app-web"
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-web.middlewares=redirect-to-https@file"
 | 
			
		||||
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-websecure.entrypoints=websecure"
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-websecure.service=betterbahn-app"
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-websecure.rule=Host(`${PUBLIC_DOMAIN}`)"
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-websecure.tls=true"
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-websecure.tls.certresolver=hetzner"
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-websecure.tls.domains[0].main=${TLS_DOMAIN}"
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-websecure.middlewares=secHeaders@file,autodetectContenttype@file,authentikProd@file"
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-websecure.service=betterbahn-app-websecure"
 | 
			
		||||
      - "traefik.http.services.betterbahn-app-websecure.loadbalancer.server.port=3000" # set port the container listenes to
 | 
			
		||||
      - "traefik.http.services.betterbahn-app-websecure.loadbalancer.server.scheme=http"
 | 
			
		||||
      - "traefik.http.routers.betterbahn-app-websecure.middlewares=secHeaders@file, autodetectContenttype@file, authentikProd@file"
 | 
			
		||||
 | 
			
		||||
networks:
 | 
			
		||||
  dokploy-network:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								src
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								src
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1 +1 @@
 | 
			
		|||
Subproject commit 50753fe30070fe67397b62c5f5f860fbcbfdf1e1
 | 
			
		||||
Subproject commit 1551f347590edefb007a66b1fd126cca4821d167
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue