Update templates/compose/tailscale.yaml
Co-authored-by: ShadowArcanist <162910371+ShadowArcanist@users.noreply.github.com>
This commit is contained in:
parent
ce5f40afd8
commit
2237707263
1 changed files with 12 additions and 1 deletions
|
|
@ -29,4 +29,15 @@ services:
|
|||
image: nginx:latest
|
||||
depends_on:
|
||||
- tailscale-client
|
||||
network_mode: 'service:tailscale-nginx'
|
||||
network_mode: 'service:tailscale-client'
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- curl
|
||||
- '-f'
|
||||
- 'http://localhost:80/'
|
||||
- '-o'
|
||||
- /dev/null
|
||||
interval: 20s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
|
|
|||
Loading…
Reference in a new issue