Skip to content

Commit

Permalink
docker-compose.yaml: only forward to 127.0.0.1 on host
Browse files Browse the repository at this point in the history
  • Loading branch information
zbleness committed Aug 5, 2024
1 parent c8cc54b commit 45d7752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ services:
context: ..
command: ["python", "-m", "src", "--host", "0.0.0.0", "--vault-url", "http://vault:8200"]
ports:
- "8300:8300"
- "127.0.0.1:8300:8300"
vault:
image: "hashicorp/vault"
ports:
- "8200:8200"
- "127.0.0.1:8200:8200"

0 comments on commit 45d7752

Please sign in to comment.