| 
									
										
										
										
											2023-06-12 19:19:04 +00:00
										 |  |  | version: "3.9"
 | 
					
						
							| 
									
										
										
										
											2023-06-12 12:23:17 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | services:
 | 
					
						
							| 
									
										
										
										
											2023-06-12 19:19:04 +00:00
										 |  |  |   firefly-iii-data-importer:
 | 
					
						
							| 
									
										
										
										
											2023-06-20 18:16:15 +00:00
										 |  |  |     image: fireflyiii/data-importer:version-1
 | 
					
						
							| 
									
										
										
										
											2023-06-12 19:19:04 +00:00
										 |  |  |     container_name: firefly-iii-data-importer
 | 
					
						
							| 
									
										
										
										
											2023-06-12 12:23:17 +00:00
										 |  |  |     restart: unless-stopped
 | 
					
						
							|  |  |  |     ports:
 | 
					
						
							|  |  |  |       - ${APP_PORT}:8080
 | 
					
						
							|  |  |  |     environment:
 | 
					
						
							|  |  |  |       - FIREFLY_III_URL=${FIREFLY_III_URL}
 | 
					
						
							|  |  |  |       - FIREFLY_III_ACCESS_TOKEN=${FIREFLY_III_ACCESS_TOKEN}
 | 
					
						
							|  |  |  |       - FIREFLY_III_CLIENT_ID=${FIREFLY_III_CLIENT_ID}
 | 
					
						
							|  |  |  |       - TZ=${TZ}
 | 
					
						
							|  |  |  |       - TRUSTED_PROXIES=**
 | 
					
						
							|  |  |  |       - VERIFY_TLS_SECURITY=false
 | 
					
						
							|  |  |  |       - APP_ENV=local
 | 
					
						
							|  |  |  |       - APP_DEBUG=false
 | 
					
						
							|  |  |  |       - LOG_CHANNEL=stack
 | 
					
						
							|  |  |  |       - LOG_LEVEL=info
 | 
					
						
							|  |  |  |     networks:
 | 
					
						
							|  |  |  |       - tipi_main_network
 | 
					
						
							|  |  |  |     labels:
 | 
					
						
							|  |  |  |       # Main
 | 
					
						
							|  |  |  |       traefik.enable: true
 | 
					
						
							| 
									
										
										
										
											2023-06-12 19:19:04 +00:00
										 |  |  |       traefik.http.middlewares.firefly-iii-importer-web-redirect.redirectscheme.scheme: https
 | 
					
						
							|  |  |  |       traefik.http.services.firefly-iii-importer.loadbalancer.server.port: 8080
 | 
					
						
							| 
									
										
										
										
											2023-06-12 12:23:17 +00:00
										 |  |  |       # Web
 | 
					
						
							| 
									
										
										
										
											2023-06-12 19:19:04 +00:00
										 |  |  |       traefik.http.routers.firefly-iii-importer-insecure.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.firefly-iii-importer-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.firefly-iii-importer-insecure.service: firefly-iii-importer
 | 
					
						
							|  |  |  |       traefik.http.routers.firefly-iii-importer-insecure.middlewares: firefly-iii-importer-web-redirect
 | 
					
						
							| 
									
										
										
										
											2023-06-12 12:23:17 +00:00
										 |  |  |       # Websecure
 | 
					
						
							| 
									
										
										
										
											2023-06-12 19:19:04 +00:00
										 |  |  |       traefik.http.routers.firefly-iii-importer.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.firefly-iii-importer.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.firefly-iii-importer.service: firefly-iii-importer
 | 
					
						
							|  |  |  |       traefik.http.routers.firefly-iii-importer.tls.certresolver: myresolver
 | 
					
						
							| 
									
										
										
										
											2023-06-12 12:23:17 +00:00
										 |  |  |       # Local domain
 | 
					
						
							| 
									
										
										
										
											2023-06-12 19:19:04 +00:00
										 |  |  |       traefik.http.routers.firefly-iii-importer-local-insecure.rule: Host(`firefly-iii-data-importer.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.firefly-iii-importer-local-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.firefly-iii-importer-local-insecure.service: firefly-iii-importer
 | 
					
						
							|  |  |  |       traefik.http.routers.firefly-iii-importer-local-insecure.middlewares: firefly-iii-importer-web-redirect
 | 
					
						
							| 
									
										
										
										
											2023-06-12 12:23:17 +00:00
										 |  |  |       # Local domain secure
 | 
					
						
							| 
									
										
										
										
											2023-06-12 19:19:04 +00:00
										 |  |  |       traefik.http.routers.firefly-iii-importer-local.rule: Host(`firefly-iii-data-importer.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.firefly-iii-importer-local.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.firefly-iii-importer-local.service: firefly-iii-importer
 | 
					
						
							|  |  |  |       traefik.http.routers.firefly-iii-importer-local.tls: true
 |