fix(raspberry_pi): isolate z2m to own compose dir, fix port conflict
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
raspberry_pi_docker_base: /opt/docker
|
||||
raspberry_pi_mosquitto_config_dir: "{{ raspberry_pi_docker_base }}/config/mosquitto"
|
||||
raspberry_pi_z2m_config_dir: "{{ raspberry_pi_docker_base }}/config/zigbee2mqtt"
|
||||
raspberry_pi_compose_dir: "{{ raspberry_pi_docker_base }}/compose"
|
||||
raspberry_pi_compose_dir: "{{ raspberry_pi_docker_base }}/compose/zigbee2mqtt"
|
||||
raspberry_pi_mosquitto_version: "2"
|
||||
raspberry_pi_z2m_version: "2"
|
||||
|
||||
@@ -18,7 +18,7 @@ services:
|
||||
depends_on:
|
||||
- mosquitto
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 8081:8080
|
||||
volumes:
|
||||
- {{ raspberry_pi_z2m_config_dir }}/data:/app/data
|
||||
- {{ raspberry_pi_z2m_config_dir }}/configuration.yaml:/app/data/configuration.yaml
|
||||
|
||||
Reference in New Issue
Block a user