[READ-ONLY] Mirror of https://github.com/mrgnw/svelte-docker-tailscale. Run svelte apps in docker with Tailscale
0

Configure Feed

Select the types of activity you want to include in your feed.

Improve config formatting and add domain environment variable support

Co-authored-by: mrgnw <2504532+mrgnw@users.noreply.github.com>

+17 -5
+1 -1
README.md
··· 47 47 - Project name: directory name 48 48 - Network name: `${COMPOSE_PROJECT_NAME}-network` 49 49 - Hostname: `${COMPOSE_PROJECT_NAME}` 50 - - Domain: `${COMPOSE_PROJECT_NAME}.$TAILNET` 50 + - Domain: `${TS_CERT_DOMAIN:-localhost}` (defaults to localhost) 51 51 - Tailscale port: 4164 (override with TS_PORT if running multiple instances) 52 52 - Svelte port: 5173 (internal only) 53 53
+16 -4
compose.yml
··· 1 1 configs: 2 2 tailscale-serve: 3 3 content: | 4 - {"TCP":{"443":{"HTTPS":true}}, 5 - "Web":{"localhost:443": 6 - {"Handlers":{"/": 7 - {"Proxy":"http://127.0.0.1:5173"}}}}} 4 + { 5 + "TCP": { 6 + "443": { 7 + "HTTPS": true 8 + } 9 + }, 10 + "Web": { 11 + "$${TS_CERT_DOMAIN:-localhost}:443": { 12 + "Handlers": { 13 + "/": { 14 + "Proxy": "http://127.0.0.1:5173" 15 + } 16 + } 17 + } 18 + } 19 + } 8 20 9 21 services: 10 22 tailscale: