Skip to content

Commit

Permalink
Remove port bindings from docker-compose files since we are using host
Browse files Browse the repository at this point in the history
networkindetermine which issuer to use.g

Signed-off-by: joshvanl <[email protected]>
  • Loading branch information
JoshVanL committed Jul 31, 2023
1 parent 976f863 commit e6bfe7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# We run in network_mode: "host" so `localhost` is the same for both the host
# and containers. This is required as the mock server uses the SNI hostname to
# build the issuer URL.
version: '3'
services:
mock-oauth2-server:
Expand All @@ -9,5 +12,3 @@ services:
- PORT=8085
- LOG_LEVEL=DEBUG
- 'JSON_CONFIG={"interactiveLogin":false,"httpServer":{"type":"NettyWrapper","ssl":{}},"tokenCallbacks":[{"issuerId":"issuer1","tokenExpiry":120,"requestMappings":[{"requestParam":"scope","match":"openid","claims":{"sub":"foo","aud":["pulsar"]}}]}]}'
ports:
- "8085:8085"
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ services:
condition: service_healthy
bookie:
condition: service_started
ports:
- "6650:6650"
- "8080:8080"
command: bash -c "bin/apply-config-from-env.py conf/broker.conf && exec bin/pulsar broker"

volumes:
Expand Down

0 comments on commit e6bfe7a

Please sign in to comment.