Skip to content

Commit d399861

Browse files
committed
2024-04-02 missing port-mapping quotes - master branch - PR 1 of 2
Following on from discussion in #761, this adds quotes to port mappings as recommended in docker-compose [documentation](https://docs.docker.com/compose/compose-file/05-services/#short-syntax-3): > HOST:CONTAINER should always be specified as a (quoted) string, to avoid conflicts with [yaml base-60 float](https://yaml.org/type/float.html) Signed-off-by: Phill Kelley <[email protected]>
1 parent 7a05f32 commit d399861

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.templates/dashmachine/service.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ dashmachine:
44
volumes:
55
- ./volumes/dashmachine/user_data:/dashmachine/dashmachine/user_data
66
ports:
7-
- 5000:5000
7+
- "5000:5000"
88
restart: unless-stopped
99

.templates/heimdall/service.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ heimdall:
88
volumes:
99
- ./volumes/heimdall/config:/config
1010
ports:
11-
- 8882:80
12-
- 8883:443
11+
- "8882:80"
12+
- "8883:443"
1313
restart: unless-stopped
1414

0 commit comments

Comments
 (0)