diff --git a/.gitignore b/.gitignore index f8298bd..db903f8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,10 +2,10 @@ * # But not these directories; this allows us to look inside them -!*/ +# !*/ # But not these files -!**/README.md +!README.md !.gitignore !**/.env.example !**/Dockerfile @@ -25,6 +25,5 @@ # Homeassistant !**/homeassistant/config/configuration.yaml - # Perplexica !**/config.toml \ No newline at end of file diff --git a/caddy/Caddyfile b/caddy/Caddyfile index c7087d6..cdb0b15 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -34,7 +34,7 @@ # Import service-specific Caddyfiles import /etc/caddy/services/*.caddy -mini1.docker.local { +docker.local { reverse_proxy 192.168.178.230:55556 } diff --git a/caddy/services/ddns-updater.caddy b/caddy/services/ddns-updater.caddy index 17d8185..9898e7e 100644 --- a/caddy/services/ddns-updater.caddy +++ b/caddy/services/ddns-updater.caddy @@ -1,6 +1,6 @@ # External # Internal -ddns.mini1.docker.local { +ddns.docker.local { reverse_proxy 192.168.178.230:55555 } \ No newline at end of file diff --git a/caddy/services/dockge.caddy b/caddy/services/dockge.caddy index be29f44..2fef4f1 100644 --- a/caddy/services/dockge.caddy +++ b/caddy/services/dockge.caddy @@ -1,6 +1,6 @@ # External # Internal -dockge.mini1.docker.local { +dockge.docker.local { reverse_proxy 192.168.178.230:5001 } \ No newline at end of file diff --git a/caddy/services/doozle.caddy b/caddy/services/doozle.caddy index 052a392..6fc71ac 100644 --- a/caddy/services/doozle.caddy +++ b/caddy/services/doozle.caddy @@ -1,6 +1,6 @@ # External # Internal -doozle.mini1.docker.local { +doozle.docker.local { reverse_proxy 192.168.178.230:60345 } \ No newline at end of file diff --git a/caddy/services/homeassistant.caddy b/caddy/services/homeassistant.caddy index 305293c..0818e58 100644 --- a/caddy/services/homeassistant.caddy +++ b/caddy/services/homeassistant.caddy @@ -5,6 +5,10 @@ ha.mixel.cloud { # Internal -ha.mini1.docker.local { +ha.docker.local { reverse_proxy 192.168.178.230:8123 +} + +nodered.docker.local { + reverse_proxy 192.168.178.230:1880 } \ No newline at end of file diff --git a/caddy/services/perplexica.caddy b/caddy/services/perplexica.caddy index c5bf3c4..f6859a3 100644 --- a/caddy/services/perplexica.caddy +++ b/caddy/services/perplexica.caddy @@ -4,6 +4,6 @@ aisearch.mixel.cloud { } # Internal -aisearch.mini1.docker.local { +aisearch.docker.local { reverse_proxy 192.168.178.230:3000 } \ No newline at end of file diff --git a/caddy/services/planka.caddy b/caddy/services/planka.caddy index a33f5ff..3aa4633 100644 --- a/caddy/services/planka.caddy +++ b/caddy/services/planka.caddy @@ -4,6 +4,6 @@ planka.mixel.cloud { } # Internal -planka.mini1.docker.local { +planka.docker.local { reverse_proxy 192.168.178.230:9631 } diff --git a/homeassistant/compose.yml b/homeassistant/compose.yml index dcbbf15..4bc8e8d 100644 --- a/homeassistant/compose.yml +++ b/homeassistant/compose.yml @@ -8,4 +8,18 @@ services: - /run/dbus:/run/dbus:ro restart: unless-stopped privileged: true - network_mode: host \ No newline at end of file + network_mode: host + nodered: + container_name: nodered + image: nodered/node-red + ports: + - 1880:1880 + volumes: + - ./nodered:/data + depends_on: + - homeassistant + #- mosquitto + environment: + - TZ=Europe/Berlin + user: node-red + restart: unless-stopped \ No newline at end of file diff --git a/homeassistant/homeassistant/config/configuration.yaml b/homeassistant/homeassistant/config/configuration.yaml index 0c996a3..7c7c045 100644 --- a/homeassistant/homeassistant/config/configuration.yaml +++ b/homeassistant/homeassistant/config/configuration.yaml @@ -13,6 +13,7 @@ scene: !include scenes.yaml # Reverse proxy configuration http: + base_url: https://ha.mixel.cloud use_x_forwarded_for: true trusted_proxies: - 192.168.178.0/24 # Local IP diff --git a/vscode-server/compose.yml b/vscode-server/compose.yml index 600c91b..008940f 100644 --- a/vscode-server/compose.yml +++ b/vscode-server/compose.yml @@ -13,8 +13,22 @@ services: volumes: - ../:/workspace - ./vscode-server/config:/config + - db:/volumes ports: - 8443:8443 restart: unless-stopped env_file: - .env + networks: + - networks + server: + image: postgres:latest + networks: + - networks + +volumes: + db: + +networks: + networks: + \ No newline at end of file