change the line export const apiURL = process.env.WEB_UI_API_URL || 'http://${host}:4000'; to export const apiURL = 'https://bobarrapi.xyz.com'; (PLease use ` instead of ' for the URL)
docker-compose build web
cd to some other place e.g. /opt and run the setup script for bobarr curl -o- https://raw.githubusercontent.com/iam4x/bobarr/master/scripts/install.sh | bash
Stop bobar ./bobarr.sh stop
include Caddy-Docker-Proxy in the docker-compose.yml for api and web https://github.com/lucaslorentz/caddy-docker-proxy
Hi everybody,
just a quick guide to get bobarr running via reverse Proxy.
bobarr.xyz.com | bobarrapi.xyz.com
git clone https://github.com/iam4x/bobarr.git
cd bobarr
nano packages/web/utils/api-url.ts
const apiURL = process.env.WEB_UI_API_URL || 'http://${host}:4000';
toexport const apiURL = 'https://bobarrapi.xyz.com';
(PLease use ` instead of ' for the URL)docker-compose build web
curl -o- https://raw.githubusercontent.com/iam4x/bobarr/master/scripts/install.sh | bash
./bobarr.sh stop
https://github.com/lucaslorentz/caddy-docker-proxy