update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sthope 2022-08-07 11:51:26 +02:00
parent 13ba9ccb8e
commit dfa67246b5
2 changed files with 13 additions and 5 deletions

View File

@ -31,7 +31,7 @@ services:
locale: en-US
region: PT
healthcheck:
test: wget -nv --tries=1 --spider http://127.0.0.1:${PORT_INVIDIOUS-3000}/api/v1/comments/jNQXAC9IVRw || exit 1
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1
interval: 30s
timeout: 5s
retries: 2

View File

@ -7,17 +7,25 @@ services:
container_name: tailscale
image: tailscale/tailscale
command: tailscaled
restart: unless-stopped
restart: ${RST_MODE-unless-stopped}
network_mode: host
privileged: true
privileged: ${PRIVILEGED-true}
volumes:
- /dev/net/tun:/dev/net/tun
- /var/lib:/var/lib
labels:
- com.centurylinklabs.watchtower.enable=true
- com.centurylinklabs.watchtower.enable=${AutoUpdate-true}
```
Then to login, from the terminal send:
```
docker exec tailscaled tailscale up
```
```
Environments:
```
PRIVILEGED=true
AutoUpdate=true
RST_MODE=unless-stopped
```