Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 5e2847c

Browse files
author
Andreas Amstutz
committed
fix port '80' is already in use
If the voting app is deployed using production params, the result service fails to deploy as port 80 already is taken by vote service Steps to reproduce: voting-app$ docker-app render --parameters-files voting-app.dockerapp/parameters/production.yml | docker stack deploy --compose-file - voting Signed-off-by: Andreas Amstutz <andreasamstutz@gmail.com>
1 parent 3603491 commit 5e2847c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/voting-app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ vote:
169169
170170
# Result.
171171
result:
172-
port: 80
172+
port: 81
173173
replicas: 5
174174
```
175175

examples/voting-app/voting-app.dockerapp/parameters/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ vote:
55

66
# Result.
77
result:
8-
port: 80
8+
port: 81
99
replicas: 5

0 commit comments

Comments
 (0)