| 
									
										
										
										
											2023-07-19 05:31:06 +00:00
										 |  |  | version: "3.5"
 | 
					
						
							|  |  |  | services:
 | 
					
						
							|  |  |  |   sshwifty:
 | 
					
						
							| 
									
										
										
										
											2024-01-08 15:51:11 +00:00
										 |  |  |     image: niruix/sshwifty:0.3.6-beta-release
 | 
					
						
							| 
									
										
										
										
											2023-07-19 05:31:06 +00:00
										 |  |  |     restart: unless-stopped
 | 
					
						
							|  |  |  |     container_name: sshwifty
 | 
					
						
							|  |  |  |     privileged: true
 | 
					
						
							|  |  |  |     ports:
 | 
					
						
							|  |  |  |       - ${APP_PORT}:8182
 | 
					
						
							|  |  |  |     networks:
 | 
					
						
							|  |  |  |       - tipi_main_network
 | 
					
						
							|  |  |  |     labels:
 | 
					
						
							|  |  |  |       # Main
 | 
					
						
							|  |  |  |       traefik.enable: true
 | 
					
						
							|  |  |  |       traefik.http.middlewares.sshwifty-web-redirect.redirectscheme.scheme: https
 | 
					
						
							| 
									
										
										
										
											2023-08-13 21:25:15 +00:00
										 |  |  |       traefik.http.services.sshwifty.loadbalancer.server.port: 8182
 | 
					
						
							| 
									
										
										
										
											2023-07-19 05:31:06 +00:00
										 |  |  |       # Web
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty-insecure.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty-insecure.service: sshwifty
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty-insecure.middlewares: sshwifty-web-redirect
 | 
					
						
							|  |  |  |       # Websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty.service: sshwifty
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty.tls.certresolver: myresolver
 | 
					
						
							|  |  |  |       # Local domain
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty-local-insecure.rule: Host(`sshwifty.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty-local-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty-local-insecure.service: sshwifty
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty-local-insecure.middlewares: sshwifty-web-redirect
 | 
					
						
							|  |  |  |       # Local domain secure
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty-local.rule: Host(`sshwifty.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty-local.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty-local.service: sshwifty
 | 
					
						
							|  |  |  |       traefik.http.routers.sshwifty-local.tls: true
 |