Skip to content

Commit d023918

Browse files
committed
add explicit port mapping
1 parent 2d99a7b commit d023918

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build-container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ jobs:
8181

8282
- name: Build and push Docker image
8383
run: |
84-
dotnet publish --os linux --arch x64 -c Release -p:ContainerRepository=${{ env.image_repository_name }} -p:ContainerRegistry=ghcr.io -p:ContainerImageTags=latest -p:ContainerPort=8080
84+
dotnet publish --os linux --arch x64 -c Release -p:ContainerRepository=${{ env.image_repository_name }} -p:ContainerRegistry=ghcr.io -p:ContainerImageTags=latest -p:ContainerPort=80

config/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ env:
2222
servers:
2323
web:
2424
- 5.78.128.205
25+
options:
26+
publish:
27+
- "80:8080"
2528
# job:
2629
# hosts:
2730
# - 192.168.0.1

0 commit comments

Comments
 (0)