#!/bin/bash
# Wrapper: proxy egress + start Trend Break server (python .venv).
export HOME=/home/hatch
export http_proxy=http://hatch-egress-proxy:3128
export https_proxy=http://hatch-egress-proxy:3128
export HTTP_PROXY=http://hatch-egress-proxy:3128
export HTTPS_PROXY=http://hatch-egress-proxy:3128
export no_proxy="localhost,127.0.0.1,::1,[::1]"
export NO_PROXY="$no_proxy"
export PORT=8090
cd /home/hatch/workspace/trend_break
exec /home/hatch/workspace/trend_break/.venv/bin/python server.py
