From 9425fc0d755efb3c0ccafced54e68fc55608d6ef Mon Sep 17 00:00:00 2001 From: Jay Date: Sun, 12 Oct 2025 14:30:05 +0200 Subject: [PATCH] Add proxyscotch service compose file --- templates/compose/proxyscotch.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 templates/compose/proxyscotch.yaml diff --git a/templates/compose/proxyscotch.yaml b/templates/compose/proxyscotch.yaml new file mode 100644 index 000000000..93f5e20c6 --- /dev/null +++ b/templates/compose/proxyscotch.yaml @@ -0,0 +1,19 @@ +# documentation: https://github.com/hoppscotch/proxyscotch +# slogan: A simple proxy server created for https://hoppscotch.io - CORS proxy +# tags: proxy,hoppscotch,cors +# logo: svgs/hoppscotch.png +# port: 9159 + +# NOTE IF YOU USE HOPPSCOTCH +# REMEMBER TO SET THE VITE_PROXYSCOTCH_ACCESS_TOKEN IN YOUR HOPPSCOTCH ENV +# It should be set to the same as PROXYSCOTCH_TOKEN + +services: + proxyscotch: + image: hoppscotch/proxyscotch:latest + environment: + - SERVICE_URL_PROXYSCOTCH_9159 + - PROXYSCOTCH_TOKEN=${SERVICE_PASSWORD_TOKEN} + - PROXYSCOTCH_ALLOWED_ORIGINS=${ALLOWED_ORIGINS:-*} + - PROXYSCOTCH_BANNED_OUTPUTS=${BANNED_OUTPUTS} + - PROXYSCOTCH_BANNED_DESTS=${BANNED_DESTS}