This commit is contained in:
parent
13ba9ccb8e
commit
dfa67246b5
@ -31,7 +31,7 @@ services:
|
|||||||
locale: en-US
|
locale: en-US
|
||||||
region: PT
|
region: PT
|
||||||
healthcheck:
|
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
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 2
|
retries: 2
|
||||||
|
@ -7,17 +7,25 @@ services:
|
|||||||
container_name: tailscale
|
container_name: tailscale
|
||||||
image: tailscale/tailscale
|
image: tailscale/tailscale
|
||||||
command: tailscaled
|
command: tailscaled
|
||||||
restart: unless-stopped
|
restart: ${RST_MODE-unless-stopped}
|
||||||
network_mode: host
|
network_mode: host
|
||||||
privileged: true
|
privileged: ${PRIVILEGED-true}
|
||||||
volumes:
|
volumes:
|
||||||
- /dev/net/tun:/dev/net/tun
|
- /dev/net/tun:/dev/net/tun
|
||||||
- /var/lib:/var/lib
|
- /var/lib:/var/lib
|
||||||
labels:
|
labels:
|
||||||
- com.centurylinklabs.watchtower.enable=true
|
- com.centurylinklabs.watchtower.enable=${AutoUpdate-true}
|
||||||
```
|
```
|
||||||
|
|
||||||
Then to login, from the terminal send:
|
Then to login, from the terminal send:
|
||||||
```
|
```
|
||||||
docker exec tailscaled tailscale up
|
docker exec tailscaled tailscale up
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Environments:
|
||||||
|
|
||||||
|
```
|
||||||
|
PRIVILEGED=true
|
||||||
|
AutoUpdate=true
|
||||||
|
RST_MODE=unless-stopped
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user