Compare commits

..

2 commits

Author SHA1 Message Date
dd44e6666c pdf 2025-08-02 22:38:11 -06:00
680c2ba170 env 2025-08-02 22:22:29 -06:00
3 changed files with 64 additions and 1 deletions

View file

@ -3,7 +3,9 @@ services:
image: ghcr.io/tailscale/golink:main image: ghcr.io/tailscale/golink:main
container_name: golink container_name: golink
restart: unless-stopped restart: unless-stopped
environment:
- TS_AUTHKEY
volumes: volumes:
- 'data:/home/nonroot' - data:/home/nonroot
volumes: volumes:
data: data:

View file

@ -0,0 +1,58 @@
services:
ts-pdf:
image: tailscale/tailscale:latest
container_name: ts-pdf
network_mode: service:ts-mealie
depends_on:
- ts-pdf
restart: unless-stopped
hostname: ${TS_HOSTNAME}
environment:
- TS_AUTHKEY
- TS_EXTRA_ARGS
- TS_SERVE_CONFIG=/ts/serve.json
volumes:
- tailscale:/var/lib/tailscale
devices:
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
configs:
- source: ts-config
target: /ts/serve.json
stirling-pdf:
image: docker.stirlingpdf.com/stirlingtools/stirling-pdf:latest
volumes:
- pdf-data:/usr/share/tessdata
- pdf-data:/configs
- pdf-data:/customFiles/
- pdf-data:/logs/
- pdf-data:/pipeline/
environment:
- DISABLE_ADDITIONAL_FEATURES=false
volumes:
pdf-data:
tailscale:
configs:
ts-config:
content: |
{
"TCP": {
"443": {
"HTTPS": true
}
},
"Web": {
"$${TS_CERT_DOMAIN}:443": {
"Handlers": {
"/": {
"Proxy": "http://127.0.0.1:8080"
}
}
}
},
"AllowFunnel": {
"$${TS_CERT_DOMAIN}:443": ${TS_ALLOW_FUNNEL:-false}
}
}

3
stirlingpdf/example.env Normal file
View file

@ -0,0 +1,3 @@
TS_HOSTNAME=stirlingpdf
TS_AUTHKEY=tskey-client-nnn-nnn
TS_EXTRA_ARGS=--advertise-tags=tag:container