| 
									
										
										
										
											2023-06-10 15:29:03 +00:00
										 |  |  | version: "3.9"
 | 
					
						
							| 
									
										
										
										
											2023-04-20 10:05:43 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | services:
 | 
					
						
							|  |  |  |   kanboard:
 | 
					
						
							|  |  |  |     container_name: kanboard
 | 
					
						
							| 
									
										
										
										
											2024-02-11 02:35:03 +00:00
										 |  |  |     image: kanboard/kanboard:v1.2.35
 | 
					
						
							| 
									
										
										
										
											2023-04-20 10:05:43 +00:00
										 |  |  |     environment:
 | 
					
						
							| 
									
										
										
										
											2023-04-20 14:00:58 +00:00
										 |  |  |       - PLUGIN_INSTALLER=${PLUGIN_INSTALLER}
 | 
					
						
							| 
									
										
										
										
											2023-04-20 10:05:43 +00:00
										 |  |  |     ports:
 | 
					
						
							|  |  |  |       - ${APP_PORT}:80
 | 
					
						
							|  |  |  |     restart: unless-stopped
 | 
					
						
							|  |  |  |     volumes:
 | 
					
						
							|  |  |  |       - ${APP_DATA_DIR}/data/kanboard_data:/var/www/app/data
 | 
					
						
							|  |  |  |       - ${APP_DATA_DIR}/data/kanboard_plugins:/var/www/app/plugins
 | 
					
						
							|  |  |  |     networks:
 | 
					
						
							|  |  |  |       - tipi_main_network
 | 
					
						
							|  |  |  |     labels:
 | 
					
						
							| 
									
										
										
										
											2023-06-10 15:29:03 +00:00
										 |  |  |       # Main
 | 
					
						
							|  |  |  |       traefik.enable: true
 | 
					
						
							|  |  |  |       traefik.http.middlewares.kanboard-web-redirect.redirectscheme.scheme: https
 | 
					
						
							|  |  |  |       traefik.http.services.kanboard.loadbalancer.server.port: 80
 | 
					
						
							|  |  |  |       # Web
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard-insecure.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard-insecure.service: kanboard
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard-insecure.middlewares: kanboard-web-redirect
 | 
					
						
							|  |  |  |       # Websecure
 | 
					
						
							| 
									
										
										
										
											2023-04-20 18:56:06 +00:00
										 |  |  |       traefik.http.routers.kanboard.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard.service: kanboard
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard.tls.certresolver: myresolver
 | 
					
						
							| 
									
										
										
										
											2023-06-10 15:29:03 +00:00
										 |  |  |       # Local domain
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard-local-insecure.rule: Host(`kanboard.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard-local-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard-local-insecure.service: kanboard
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard-local-insecure.middlewares: kanboard-web-redirect
 | 
					
						
							|  |  |  |       # Local domain secure
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard-local.rule: Host(`kanboard.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard-local.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard-local.service: kanboard
 | 
					
						
							|  |  |  |       traefik.http.routers.kanboard-local.tls: true
 |