From 26a66e0ef0ed1728dded640b8c959d1996c7dd29 Mon Sep 17 00:00:00 2001 From: Simon Alling Date: Wed, 28 May 2025 22:39:25 +0200 Subject: [PATCH 1/3] compose.yaml build --- compose.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 compose.yaml diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..0be9a28 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,14 @@ +services: + userscript-proxy: + build: + context: . + dockerfile: Dockerfile + container_name: userscript-proxy + ports: + - "8080:8080" + volumes: + - mitmproxy-ca:/root/.mitmproxy + restart: always + +volumes: + mitmproxy-ca: From 9d3248204cf96c4405d2f62fda296235769449b9 Mon Sep 17 00:00:00 2001 From: Simon Alling Date: Sun, 22 Jun 2025 15:58:56 +0200 Subject: [PATCH 2/3] compose production --- compose-production.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 compose-production.yaml diff --git a/compose-production.yaml b/compose-production.yaml new file mode 100644 index 0000000..88f520b --- /dev/null +++ b/compose-production.yaml @@ -0,0 +1,19 @@ +services: + userscript-proxy: + image: alling/userscript-proxy:1.1.0 + container_name: userscript-proxy + command: + - --userscripts-dir + - /my-userscripts + - --rules + - /my-rules/ignore.txt + ports: + - "8080:8080" + volumes: + - mitmproxy-ca:/root/.mitmproxy + - /absolute/path/to/my/userscripts/:/my-userscripts # Modify the part before the ':'! + - /absolute/path/to/my/rules/:/my-rules # Modify the part before the ':'! + restart: always + +volumes: + mitmproxy-ca: From f34267492477915464632969a6c8091c68e083e3 Mon Sep 17 00:00:00 2001 From: Simon Alling Date: Sun, 22 Jun 2025 17:01:18 +0200 Subject: [PATCH 3/3] volumes --- compose.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compose.yaml b/compose.yaml index 0be9a28..1909693 100644 --- a/compose.yaml +++ b/compose.yaml @@ -8,6 +8,8 @@ services: - "8080:8080" volumes: - mitmproxy-ca:/root/.mitmproxy + - ./default-userscripts/:/my-userscripts + - ./default-rules/:/my-rules restart: always volumes: