Can't get Overseerr to apply themes
Hey there guys,
I've been trying to finally get the last theme applied. I'm using Docker Mods for Sonarr/Radarr/Lidarr/Sab and that works great.
However, I can't get Overseerr to apply any theme. I've followed the instructions from https://docs.theme-park.dev/setup/#caddy-docker-image, as I'm using Caddy as a Docker container. I've built the caddy2-filter image and adjusted my Caddyfile, which (currently) looks like this:
{
order filter after encode
}
my.domain.com {
reverse_proxy 192.168.178.24:5055
# header_up -Accept-Encoding
filter {
content_type text/html.*
search_pattern </head>
replacement "<link rel='stylesheet' type='text/css' href='https://theme-park.dev/css/base/overseerr/hotpink.css'></head>"
}
}
So far so good. Caddy container spins up and Overseerr is reachable. However, without the theme.
Also, if I uncomment this line # header_up -Accept-Encoding the Caddy container won't start anymore.
Can anybody point me to the right direction please?
Best wishes!
Hi. Sorry I've never used Caddy before. The docs were added by a community member. Though I know it works with NGINX if you're willing to switch. I recommend https://github.com/linuxserver/docker-swag
Can you try </body> instead of the head.
search_pattern </body>
replacement "<link rel='stylesheet' type='text/css' href='https://theme-park.dev/css/base/overseerr/hotpink.css'></body>"
managed to get it to work with caddy. the reason why your caddy failed to launch after adding that adding up is, that it's expected as part of the reverse_proxy setting.
relevant lines:
reverse_proxy overseerr:5055 {
header_up -Accept-Encoding
}
filter {
content_type text/html.*
search_pattern </head>
replacement "<link rel='stylesheet' type='text/css' href='https://theme-park.dev/css/base/overseerr/aquamarine.css'></head>"
}