manual init

This commit is contained in:
peskyadmin 2025-04-14 20:21:56 -05:00
parent 2c6eb14303
commit 59e5d56570

View File

@ -1,8 +1,8 @@
services: services:
{{service}}-ts: grafana-ts:
image: tailscale/tailscale:latest image: tailscale/tailscale:latest
hostname: {{service}} hostname: grafana
container_name: {{service}}-ts container_name: grafana-ts
environment: environment:
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}} - TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}}
- TS_STATE_DIR=/var/lib/tailscale - TS_STATE_DIR=/var/lib/tailscale
@ -15,7 +15,14 @@ services:
- net_admin - net_admin
- sys_module - sys_module
restart: unless-stopped restart: unless-stopped
{{service-compose}} grafana:
network_mode: service:{{service}}-ts image: grafana/grafana-oss # Optionally grafana/grafana-enterprise
container_name: grafana
restart: unless-stopped
# ports:
# - 3000:3000
volumes:
- ./grafana:/var/lib/grafana
network_mode: service:grafana-ts
depends_on: depends_on:
- {{service}}-ts - grafana-ts