File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,13 +72,17 @@ Supported platforms:
7272
7373### Docker
7474
75- To run HomeBlaze on port 9800 via Docker, create a ` HomeBlaze ` directory in your ` C: ` drive and run:
75+ To run HomeBlaze on port 9800 via Docker, create a ` HomeBlaze ` directory in your ` C: ` drive or your home directory and run:
7676
7777```
78- docker run -d --restart unless-stopped -v C:/HomeBlaze:/app/Config --name homeblaze -p 9800:80 ghcr.io/ricosuter/homeblaze:main
78+ // Windows
79+ docker run -d --restart unless-stopped -v C:/HomeBlaze:/app/Config --name homeblaze -p 9800:8080 ghcr.io/ricosuter/homeblaze:main
80+
81+ // Linux
82+ docker run -d --restart unless-stopped -v /home/myuser/homeblaze:/app/Config --name homeblaze -p 9800:8080 ghcr.io/ricosuter/homeblaze:main
7983```
8084
81- All configuration and state history files are now written to your ` C:/HomeBlaze ` directory.
85+ All configuration and state history files are now written to the configured directory.
8286
8387To get the latest version, delete the docker instance and pull the latest version with:
8488
@@ -106,7 +110,7 @@ services:
106110 - Storage__Container=...
107111 - Storage__ConnectionString=...
108112 ports:
109- - 9800:80
113+ - 9800:8080
110114```
111115
112116Initial run:
@@ -135,7 +139,7 @@ services:
135139 restart: always
136140 privileged: true
137141 ports:
138- - 9800:80
142+ - 9800:8080
139143```
140144
141145** Support UDP**
Original file line number Diff line number Diff line change 11# Stage 1: Base image
22FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
33WORKDIR /app
4- EXPOSE 80
5- EXPOSE 443
4+ EXPOSE 8080
65
76# Stage 2: Build stage
87FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0 AS build
You can’t perform that action at this time.
0 commit comments