generated from DAM/ts-TEMPLATE
done
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
services:
|
||||
{{service}}-ts:
|
||||
smokeping-ts:
|
||||
image: tailscale/tailscale:latest
|
||||
hostname: {{service}}
|
||||
container_name: {{service}}-ts
|
||||
hostname: smokeping
|
||||
container_name: smokeping-ts
|
||||
environment:
|
||||
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}}
|
||||
- TS_STATE_DIR=/var/lib/tailscale
|
||||
@@ -15,7 +15,22 @@ services:
|
||||
- net_admin
|
||||
- sys_module
|
||||
restart: unless-stopped
|
||||
{{service-compose}}
|
||||
network_mode: service:{{service}}-ts
|
||||
smokeping:
|
||||
image: lscr.io/linuxserver/smokeping:latest
|
||||
container_name: smokeping
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- MASTER_URL=http://127.0.0.1:80/smokeping/ #optional
|
||||
- SHARED_SECRET=password #optional
|
||||
- CACHE_DIR=/tmp #optional
|
||||
volumes:
|
||||
- ./smokeping/config:/config
|
||||
- ./smokeping/data:/data
|
||||
# ports:
|
||||
# - 80:80
|
||||
restart: unless-stopped
|
||||
network_mode: service:smokeping-ts
|
||||
depends_on:
|
||||
- {{service}}-ts
|
||||
- smokeping-ts
|
||||
Reference in New Issue
Block a user