mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 00:16:49 +00:00
fix: update esphome service volume mapping to use named volume
This commit is contained in:
+4
-2
@@ -1,14 +1,16 @@
|
|||||||
|
volume:
|
||||||
|
esphome_config: {}
|
||||||
|
|
||||||
services:
|
services:
|
||||||
esphome:
|
esphome:
|
||||||
container_name: esphome
|
container_name: esphome
|
||||||
image: ghcr.io/esphome/esphome
|
image: ghcr.io/esphome/esphome
|
||||||
user: "0:0"
|
|
||||||
environment:
|
environment:
|
||||||
- USERNAME=${DATABASE__USERNAME}
|
- USERNAME=${DATABASE__USERNAME}
|
||||||
- PASSWORD=${DATABASE__PASSWORD}
|
- PASSWORD=${DATABASE__PASSWORD}
|
||||||
- TZ=${TZ:-UTC}
|
- TZ=${TZ:-UTC}
|
||||||
volumes:
|
volumes:
|
||||||
- /var/data/esphome/config:/config
|
- esphome_config:/config
|
||||||
restart: always
|
restart: always
|
||||||
privileged: true
|
privileged: true
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
|||||||
Reference in New Issue
Block a user