Skip to content

Commit 2c24d7a

Browse files
authored
Refactor service configurations to use Docker configs for serve.json (#183)
* Refactor service configurations to use Docker configs for serve.json - Removed individual serve.json files from services: portracker, posterizarr, prowlarr, qbittorrent, radarr, resilio-sync, searxng, slink, sonarr, speedtest-tracker, stirlingpdf, subtrackr, swingmx, tandoor, tautulli, technitium, traefik, uptime-kuma, vaultwarden, and wallos. - Added Docker configs for serve.json in respective docker-compose.yml files for each service. - Updated configurations to include AllowFunnel settings and ensure HTTPS is enabled on port 443. * Remove deprecated funnel and serve example configurations; update docker-compose to use new serve.json config
1 parent f3ae4b7 commit 2c24d7a

File tree

170 files changed

+1010
-1417
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+1010
-1417
lines changed

funnel-serve/funnel-example.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

funnel-serve/serve-example.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

services/adguardhome/config/serve.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

services/adguardhome/docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
configs:
2+
ts-serve:
3+
content: |
4+
{"TCP":{"443":{"HTTPS":true}},
5+
"Web":{"$${TS_CERT_DOMAIN}:443":
6+
{"Handlers":{"/":
7+
{"Proxy":"http://127.0.0.1:80"}}}},
8+
"AllowFunnel":{"$${TS_CERT_DOMAIN}:443":false}}
9+
110
services:
211
# Make sure you have updated/checked the .env file with the correct variables.
312
# All the ${ xx } need to be defined there.
@@ -14,6 +23,9 @@ services:
1423
- TS_ENABLE_HEALTH_CHECK=true # Enable healthcheck endpoint: "/healthz"
1524
- TS_LOCAL_ADDR_PORT=127.0.0.1:41234 # The <addr>:<port> for the healthz endpoint
1625
#- TS_ACCEPT_DNS=true # Uncomment when using MagicDNS
26+
configs:
27+
- source: ts-serve
28+
target: /config/serve.json
1729
volumes:
1830
- ./config:/config # Config folder used to store Tailscale files - you may need to change the path
1931
- ./ts/state:/var/lib/tailscale # Tailscale requirement - you may need to change the path

services/audiobookshelf/config/serve.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

services/audiobookshelf/docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
configs:
2+
ts-serve:
3+
content: |
4+
{"TCP":{"443":{"HTTPS":true}},
5+
"Web":{"$${TS_CERT_DOMAIN}:443":
6+
{"Handlers":{"/":
7+
{"Proxy":"http://127.0.0.1:80"}}}},
8+
"AllowFunnel":{"$${TS_CERT_DOMAIN}:443":false}}
9+
110
services:
211
# Make sure you have updated/checked the .env file with the correct variables.
312
# All the ${ xx } need to be defined there.
@@ -14,6 +23,9 @@ services:
1423
- TS_ENABLE_HEALTH_CHECK=true # Enable healthcheck endpoint: "/healthz"
1524
- TS_LOCAL_ADDR_PORT=127.0.0.1:41234 # The <addr>:<port> for the healthz endpoint
1625
#- TS_ACCEPT_DNS=true # Uncomment when using MagicDNS
26+
configs:
27+
- source: ts-serve
28+
target: /config/serve.json
1729
volumes:
1830
- ./config:/config # Config folder used to store Tailscale files - you may need to change the path
1931
- ./ts/state:/var/lib/tailscale # Tailscale requirement - you may need to change the path

services/bazarr/config/serve.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

services/bazarr/docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
configs:
2+
ts-serve:
3+
content: |
4+
{"TCP":{"443":{"HTTPS":true}},
5+
"Web":{"$${TS_CERT_DOMAIN}:443":
6+
{"Handlers":{"/":
7+
{"Proxy":"http://127.0.0.1:6767"}}}},
8+
"AllowFunnel":{"$${TS_CERT_DOMAIN}:443":false}}
9+
110
services:
211
# Make sure you have updated/checked the .env file with the correct variables.
312
# All the ${ xx } need to be defined there.
@@ -14,6 +23,9 @@ services:
1423
- TS_ENABLE_HEALTH_CHECK=true # Enable healthcheck endpoint: "/healthz"
1524
- TS_LOCAL_ADDR_PORT=127.0.0.1:41234 # The <addr>:<port> for the healthz endpoint
1625
#- TS_ACCEPT_DNS=true # Uncomment when using MagicDNS
26+
configs:
27+
- source: ts-serve
28+
target: /config/serve.json
1729
volumes:
1830
- ./config:/config # Config folder used to store Tailscale files - you may need to change the path
1931
- ./ts/state:/var/lib/tailscale # Tailscale requirement - you may need to change the path

services/bentopdf/config/serve.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

services/bentopdf/docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
configs:
2+
ts-serve:
3+
content: |
4+
{"TCP":{"443":{"HTTPS":true}},
5+
"Web":{"$${TS_CERT_DOMAIN}:443":
6+
{"Handlers":{"/":
7+
{"Proxy":"http://127.0.0.1:8080"}}}},
8+
"AllowFunnel":{"$${TS_CERT_DOMAIN}:443":false}}
9+
110
services:
211
# Make sure you have updated/checked the .env file with the correct variables.
312
# All the ${ xx } need to be defined there.
@@ -14,6 +23,9 @@ services:
1423
- TS_ENABLE_HEALTH_CHECK=true # Enable healthcheck endpoint: "/healthz"
1524
- TS_LOCAL_ADDR_PORT=127.0.0.1:41234 # The <addr>:<port> for the healthz endpoint
1625
#- TS_ACCEPT_DNS=true # Uncomment when using MagicDNS
26+
configs:
27+
- source: ts-serve
28+
target: /config/serve.json
1729
volumes:
1830
- ./config:/config # Config folder used to store Tailscale files - you may need to change the path
1931
- ./ts/state:/var/lib/tailscale # Tailscale requirement - you may need to change the path

0 commit comments

Comments
 (0)