| 
									
										
										
										
											2024-01-29 18:40:30 +00:00
										 |  |  | version: '3'
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | services:
 | 
					
						
							|  |  |  |   maintainerr:
 | 
					
						
							| 
									
										
										
										
											2024-02-11 02:35:40 +00:00
										 |  |  |     image: ghcr.io/jorenn92/maintainerr:2.0.2 # or jorenn92/maintainerr:1.7.1
 | 
					
						
							| 
									
										
										
										
											2024-01-29 18:40:30 +00:00
										 |  |  |     container_name: maintainerr
 | 
					
						
							|  |  |  | #    user: 1000:1000 # only use this with release 2.0 and up
 | 
					
						
							|  |  |  |     volumes:
 | 
					
						
							|  |  |  |       - ${APP_DATA_DIR}/data/config:/opt/data
 | 
					
						
							|  |  |  |     environment:
 | 
					
						
							|  |  |  |       - TZ=${TZ}
 | 
					
						
							|  |  |  | #      - DEBUG=true # uncomment to enable verbose logs
 | 
					
						
							|  |  |  |     ports:
 | 
					
						
							| 
									
										
										
										
											2024-02-08 07:31:45 +00:00
										 |  |  |       - ${APP_PORT}:6246
 | 
					
						
							| 
									
										
										
										
											2024-01-29 18:40:30 +00:00
										 |  |  |     restart: unless-stopped
 | 
					
						
							|  |  |  |     networks:
 | 
					
						
							|  |  |  |       - tipi_main_network
 | 
					
						
							|  |  |  |     labels:
 | 
					
						
							|  |  |  |       # Main
 | 
					
						
							|  |  |  |       traefik.enable: true
 | 
					
						
							|  |  |  |       traefik.http.middlewares.maintainerr-web-redirect.redirectscheme.scheme: https
 | 
					
						
							| 
									
										
										
										
											2024-02-08 07:31:45 +00:00
										 |  |  |       traefik.http.services.maintainerr.loadbalancer.server.port: 6246
 | 
					
						
							| 
									
										
										
										
											2024-01-29 18:40:30 +00:00
										 |  |  |       # Web
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr-insecure.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr-insecure.service: maintainerr
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr-insecure.middlewares: maintainerr-web-redirect
 | 
					
						
							|  |  |  |       # Websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr.service: maintainerr
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr.tls.certresolver: myresolver
 | 
					
						
							|  |  |  |       # Local domain
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr-local-insecure.rule: Host(`maintainerr.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr-local-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr-local-insecure.service: maintainerr
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr-local-insecure.middlewares: maintainerr-web-redirect
 | 
					
						
							|  |  |  |       # Local domain secure
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr-local.rule: Host(`maintainerr.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr-local.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr-local.service: maintainerr
 | 
					
						
							|  |  |  |       traefik.http.routers.maintainerr-local.tls: true
 |