 d713238b5c
			
		
	
	
		d713238b5c
		
			
		
	
	
	
	
		
			
			* feat(actual-budget): change config to support local domain * feat(adguard): change config to support local domain * feat(autobrr): change config to support local domain * feat(barrage): change config to support local domain * feat(bazarr): change config to support local domain * feat(booksonic): change config to support local domain * feat(bookstack): change config to support local domain * feat(calibre-web): change config to support local domain * feat(chatgpt-ui): change config to support local domain * feat(chatpad): change config to support local domain * feat(code-server): change config to support local domain * feat(codex-docs): change config to support local domain * feat(dailytxt): change config to support local domain * feat(dashdot): change config to support local domain * feat(deemix): change config to support local domain * feat(deluge): change config to support local domain * feat(dokuwiki): change config to support local domain * feat(dozzle): change config to support local domain * feat(duplicati): change config to support local domain * feat(emulatorjs): change config to support local domain * feat(excalidraw): change config to support local domain * feat(filebrowser): change config to support local domain * feat(filestash): change config to support local domain * feat(firefly-iii): change config to support local domain * feat(fireshare): change config to support local domain * feat(flatnotes): change config to support local domain * feat(freshrss): change config to support local domain * feat(ghost): change config to support local domain * feat(gitea): change config to support local domain * feat(gotify): change config to support local domain * feat(gotosocial): change config to support local domain * feat(grafana): change config to support local domain * feat(grav): change config to support local domain * feat(grocy): change config to support local domain
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| version: "3.7"
 | |
| services:
 | |
|   booksonic:
 | |
|     image: lscr.io/linuxserver/booksonic-air:2201.1.0
 | |
|     container_name: booksonic
 | |
|     environment:
 | |
|       - PUID=1000
 | |
|       - PGID=1000
 | |
|       - TZ=${TZ}
 | |
|       - CONTEXT_PATH={APP_PROTOCOL:-http}://${APP_DOMAIN}
 | |
|     volumes:
 | |
|       - ${APP_DATA_DIR}/config:/config
 | |
|       - ${ROOT_FOLDER_HOST}/media/data/books/spoken:/audiobooks
 | |
|       - ${ROOT_FOLDER_HOST}/media/data/podcasts:/podcasts
 | |
|     ports:
 | |
|       - ${APP_PORT}:4040
 | |
|     restart: unless-stopped
 | |
|     networks:
 | |
|       - tipi_main_network
 | |
|     labels:
 | |
|       # Main
 | |
|       traefik.enable: true
 | |
|       traefik.http.middlewares.booksonic-web-redirect.redirectscheme.scheme: https
 | |
|       traefik.http.services.booksonic.loadbalancer.server.port: 4040
 | |
|       # Web
 | |
|       traefik.http.routers.booksonic-insecure.rule: Host(`${APP_DOMAIN}`)
 | |
|       traefik.http.routers.booksonic-insecure.entrypoints: web
 | |
|       traefik.http.routers.booksonic-insecure.service: booksonic
 | |
|       traefik.http.routers.booksonic-insecure.middlewares: booksonic-web-redirect
 | |
|       # Websecure
 | |
|       traefik.http.routers.booksonic.rule: Host(`${APP_DOMAIN}`)
 | |
|       traefik.http.routers.booksonic.entrypoints: websecure
 | |
|       traefik.http.routers.booksonic.service: booksonic
 | |
|       traefik.http.routers.booksonic.tls.certresolver: myresolver
 | |
|       # Local domain
 | |
|       traefik.http.routers.booksonic-local-insecure.rule: Host(`booksonic.${LOCAL_DOMAIN}`)
 | |
|       traefik.http.routers.booksonic-local-insecure.entrypoints: web
 | |
|       traefik.http.routers.booksonic-local-insecure.service: booksonic
 | |
|       traefik.http.routers.booksonic-local-insecure.middlewares: booksonic-web-redirect
 | |
|       # Local domain secure
 | |
|       traefik.http.routers.booksonic-local.rule: Host(`booksonic.${LOCAL_DOMAIN}`)
 | |
|       traefik.http.routers.booksonic-local.entrypoints: websecure
 | |
|       traefik.http.routers.booksonic-local.service: booksonic
 | |
|       traefik.http.routers.booksonic-local.tls: true
 |