generated from DAM/ts-TEMPLATE
certified
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user