| 
									
										
										
										
											2023-06-10 15:29:03 +00:00
										 |  |  | version: "3.7"
 | 
					
						
							| 
									
										
										
										
											2022-07-28 17:46:12 +00:00
										 |  |  | services:
 | 
					
						
							|  |  |  |   homarr:
 | 
					
						
							|  |  |  |     container_name: homarr
 | 
					
						
							| 
									
										
										
										
											2024-02-11 02:35:27 +00:00
										 |  |  |     image: ghcr.io/ajnart/homarr:0.14.6
 | 
					
						
							| 
									
										
										
										
											2022-07-28 17:46:12 +00:00
										 |  |  |     restart: unless-stopped
 | 
					
						
							|  |  |  |     volumes:
 | 
					
						
							|  |  |  |       - ${APP_DATA_DIR}/data/config:/app/data/configs
 | 
					
						
							| 
									
										
										
										
											2023-02-21 18:46:03 +00:00
										 |  |  |       - ${APP_DATA_DIR}/data/icons:/app/public/icons
 | 
					
						
							| 
									
										
										
										
											2023-11-17 20:15:54 +00:00
										 |  |  |       - ${APP_DATA_DIR}/data/dashboard:/data
 | 
					
						
							| 
									
										
										
										
											2022-08-24 08:27:08 +00:00
										 |  |  |       - /var/run/docker.sock:/var/run/docker.sock
 | 
					
						
							| 
									
										
										
										
											2023-02-21 18:46:03 +00:00
										 |  |  |     environment:
 | 
					
						
							| 
									
										
										
										
											2023-02-21 20:25:36 +00:00
										 |  |  |       - PASSWORD=${HOMARR_PASSWORD}
 | 
					
						
							| 
									
										
										
										
											2023-02-21 18:46:03 +00:00
										 |  |  |       - PGID=1000
 | 
					
						
							|  |  |  |       - TZ=${TZ}
 | 
					
						
							| 
									
										
										
										
											2022-07-28 17:46:12 +00:00
										 |  |  |     ports:
 | 
					
						
							|  |  |  |       - ${APP_PORT}:7575
 | 
					
						
							|  |  |  |     networks:
 | 
					
						
							|  |  |  |       - tipi_main_network
 | 
					
						
							| 
									
										
										
										
											2022-11-11 19:33:58 +00:00
										 |  |  |     labels:
 | 
					
						
							| 
									
										
										
										
											2023-06-10 15:29:03 +00:00
										 |  |  |       # Main
 | 
					
						
							|  |  |  |       traefik.enable: true
 | 
					
						
							|  |  |  |       traefik.http.middlewares.homarr-web-redirect.redirectscheme.scheme: https
 | 
					
						
							|  |  |  |       traefik.http.services.homarr.loadbalancer.server.port: 7575
 | 
					
						
							|  |  |  |       # Web
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr-insecure.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr-insecure.service: homarr
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr-insecure.middlewares: homarr-web-redirect
 | 
					
						
							|  |  |  |       # Websecure
 | 
					
						
							| 
									
										
										
										
											2022-11-11 19:33:58 +00:00
										 |  |  |       traefik.http.routers.homarr.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr.service: homarr
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr.tls.certresolver: myresolver
 | 
					
						
							| 
									
										
										
										
											2023-06-10 15:29:03 +00:00
										 |  |  |       # Local domain
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr-local-insecure.rule: Host(`homarr.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr-local-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr-local-insecure.service: homarr
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr-local-insecure.middlewares: homarr-web-redirect
 | 
					
						
							|  |  |  |       # Local domain secure
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr-local.rule: Host(`homarr.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr-local.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr-local.service: homarr
 | 
					
						
							|  |  |  |       traefik.http.routers.homarr-local.tls: true
 |