-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
31 lines (31 loc) · 915 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
ts-app:
image: tailscale/tailscale:latest
hostname: omnivore-label-bot
container_name: ts-app
environment:
- TS_AUTHKEY=${TS_AUTHKEY}
- 'TS_EXTRA_ARGS=--advertise-tags=tag:container --reset'
- TS_SERVE_CONFIG=/var/lib/tailscale/config/app.json
- TS_STATE_DIR=/var/lib/tailscale
- TS_USERSPACE=false
volumes:
- /volume1/docker/omnivore-label-bot/ts-app:/var/lib/tailscale
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
restart: unless-stopped
app:
image: kirioxx/omnivore-label-bot:main
restart: unless-stopped
depends_on:
- ts-app
environment:
- PORT=3000
- REDISHOST=192.168.0.80
- REDISPORT=6379
- OMNIVORE_API_KEY=${OMNIVORE_API_KEY}
- OMNIVORE_USER_ID=${OMNIVORE_USER_ID}
- MISTRAL_API_KEY=${MISTRAL_API_KEY}
network_mode: service:ts-app