diff --git a/compose-dev.yml b/compose-dev.yml new file mode 100755 index 00000000..c2c120da --- /dev/null +++ b/compose-dev.yml @@ -0,0 +1,15 @@ +version: '3' +services: + ha-fusion: + container_name: ha-fusion + build: . + volumes: + - ~/Developer/ha-fusion/data:/app/data + network_mode: bridge + ports: + - 5050:5050 + environment: + TZ: Europe/Stockholm + HASS_URL: http://192.168.1.241:8123 + restart: always +# cd ~/Developer/ha-fusion && docker-compose up -d --build ha-fusion diff --git a/docker-compose.yml b/docker-compose.yml index c2c120da..a6b4bd2f 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,9 +2,9 @@ version: '3' services: ha-fusion: container_name: ha-fusion - build: . + image: ghcr.io/matt8707/ha-fusion volumes: - - ~/Developer/ha-fusion/data:/app/data + - /path/to/ha-fusion:/app/data network_mode: bridge ports: - 5050:5050 @@ -12,4 +12,3 @@ services: TZ: Europe/Stockholm HASS_URL: http://192.168.1.241:8123 restart: always -# cd ~/Developer/ha-fusion && docker-compose up -d --build ha-fusion