File tree 2 files changed +10
-7
lines changed
2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -72,13 +72,17 @@ Supported platforms:
72
72
73
73
### Docker
74
74
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:
76
76
77
77
```
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
79
83
```
80
84
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.
82
86
83
87
To get the latest version, delete the docker instance and pull the latest version with:
84
88
@@ -106,7 +110,7 @@ services:
106
110
- Storage__Container=...
107
111
- Storage__ConnectionString=...
108
112
ports:
109
- - 9800:80
113
+ - 9800:8080
110
114
```
111
115
112
116
Initial run:
@@ -135,7 +139,7 @@ services:
135
139
restart: always
136
140
privileged: true
137
141
ports:
138
- - 9800:80
142
+ - 9800:8080
139
143
```
140
144
141
145
** Support UDP**
Original file line number Diff line number Diff line change 1
1
# Stage 1: Base image
2
2
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
3
3
WORKDIR /app
4
- EXPOSE 80
5
- EXPOSE 443
4
+ EXPOSE 8080
6
5
7
6
# Stage 2: Build stage
8
7
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0 AS build
You can’t perform that action at this time.
0 commit comments