certified

This commit is contained in:
peskyadmin
2025-06-01 12:19:25 -04:00
parent 7b54261cb4
commit bb3c4c0347
3 changed files with 45 additions and 33 deletions

View File

@@ -1,10 +1,10 @@
services:
{{service}}-ts:
searchxng-ts:
image: tailscale/tailscale:latest
hostname: {{service}}
container_name: {{service}}-ts
hostname: searchxng
container_name: searchxng-ts
environment:
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}}
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}} # <------- Replace with your Tailscale auth key
- TS_STATE_DIR=/var/lib/tailscale
- TS_SERVE_CONFIG=/config/serve.json
volumes:
@@ -15,7 +15,17 @@ services:
- net_admin
- sys_module
restart: unless-stopped
{{service-compose}}
network_mode: service:{{service}}-ts
searxng:
image: searxng/searxng
container_name: searxng
# ports:
# - "${PORT}:8080"
volumes:
- ./searxng:/etc/searxng
environment:
- BASE_URL=https://searchxng.{{YOUR_TAILNET_DOMAIN}}.ts.net/ # <------- Replace with your Tailscale domain ie https://searchxng.tail123456.ts.net/
- INSTANCE_NAME=my-instance
restart: unless-stopped
network_mode: service:searchxng-ts
depends_on:
- {{service}}-ts
- searchxng-ts