Try to get services up and running

This commit is contained in:
Raphaël Numbus
2026-01-09 08:15:10 +01:00
parent 99e4c5d0c1
commit 2e1ba1c0ff
5 changed files with 30 additions and 19 deletions
@@ -19,13 +19,13 @@ in
image: ghcr.io/home-assistant/home-assistant:latest
container_name: home-assistant
networks:
hass_frontend:
hass_backend:
home-assistant_frontend:
home-assistant_backend:
volumes:
- ${config_dir_1}:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
# --- hass devices --- #
# --- home-assistant devices --- #
labels:
- traefik.enable=true
- traefik.http.services.home-assistant.loadbalancer.server.port=8123
@@ -41,15 +41,15 @@ in
container_name: mqtt
user: 1000:1000
networks:
hass_backend:
home-assistant_backend:
volumes:
- ${config_dir_2}:/mosquitto
restart: unless-stopped
networks:
hass_backend:
home-assistant_backend:
external: true
hass_frontend:
home-assistant_frontend:
external: true
'';
systemd.services.${container_name} = {