Skip to content

Commit

Permalink
Unquote port integers as this is now a parse error in Docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
felddy committed Apr 26, 2021
1 parent 6a11d94 commit 9938f67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ docker run cisagov/example:0.0.1
environment:
- ECHO_MESSAGE="Hello from docker-compose"
ports:
- target: "8080"
published: "8080"
- target: 8080
published: 8080
protocol: tcp
```
Expand Down Expand Up @@ -86,8 +86,8 @@ environment variables. See the
environment:
- ECHO_MESSAGE="Hello from docker-compose"
ports:
- target: "8080"
published: "8080"
- target: 8080
published: 8080
protocol: tcp
secrets:
- source: quote_txt
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ services:
environment:
- ECHO_MESSAGE=Hello World from docker-compose!
ports:
- target: "8080"
published: "8080"
- target: 8080
published: 8080
protocol: tcp
mode: host
secrets:
Expand Down

0 comments on commit 9938f67

Please sign in to comment.