mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 16:36:00 +00:00
fix: update esphome service to use networks instead of host mode
This commit is contained in:
+3
-1
@@ -9,11 +9,13 @@ services:
|
|||||||
- USERNAME=${DATABASE__USERNAME}
|
- USERNAME=${DATABASE__USERNAME}
|
||||||
- PASSWORD=${DATABASE__PASSWORD}
|
- PASSWORD=${DATABASE__PASSWORD}
|
||||||
- TZ=${TZ:-UTC}
|
- TZ=${TZ:-UTC}
|
||||||
|
- DOMAIN=${DOMAIN}
|
||||||
volumes:
|
volumes:
|
||||||
- esphome_config:/config
|
- esphome_config:/config
|
||||||
restart: always
|
restart: always
|
||||||
privileged: true
|
privileged: true
|
||||||
network_mode: host
|
networks:
|
||||||
|
- traefik-public
|
||||||
deploy:
|
deploy:
|
||||||
# placement:
|
# placement:
|
||||||
# constraints:
|
# constraints:
|
||||||
|
|||||||
Reference in New Issue
Block a user