manual init

This commit is contained in:
peskyadmin 2025-07-24 18:09:10 -05:00
parent 7022ce4873
commit 4550a279de

View File

@ -1,8 +1,8 @@
services:
{{service}}-ts:
esphome-ts:
image: tailscale/tailscale:latest
hostname: {{service}}
container_name: {{service}}-ts
hostname: esphome
container_name: esphome-ts
environment:
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}}
- TS_STATE_DIR=/var/lib/tailscale
@ -15,7 +15,18 @@ services:
- net_admin
- sys_module
restart: unless-stopped
{{service-compose}}
network_mode: service:{{service}}-ts
esphome:
container_name: esphome
image: ghcr.io/esphome/esphome
volumes:
- /path/to/esphome/config:/config
- /etc/localtime:/etc/localtime:ro
restart: always
privileged: true
network_mode: host
environment:
- USERNAME=test
- PASSWORD=ChangeMe
network_mode: service:esphome-ts
depends_on:
- {{service}}-ts
- esphome-ts