From 125e5d023935d1237f9c6df1adcfdf9f20ad0ed9 Mon Sep 17 00:00:00 2001 From: Mattias Persson Date: Mon, 25 Dec 2023 11:41:48 +0100 Subject: [PATCH] update docker-compose --- compose-dev.yml | 15 +++++++++++++++ docker-compose.yml | 5 ++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100755 compose-dev.yml 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