Skip to content

Commit

Permalink
only expose needed ports from the e2e test containers
Browse files Browse the repository at this point in the history
Issue: BB-496
  • Loading branch information
Kerkesni committed Feb 10, 2025
1 parent b3637fc commit 2fb26b8
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/dockerfiles/e2e/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ services:
profiles: ['s3c']
build:
context: ../sproxyd
ports:
- 8181
user: 0:0
privileged: true
healthcheck:
Expand All @@ -16,9 +14,10 @@ services:
metadata:
profiles: ['s3c']
image: ${METADATA_IMAGE}
network_mode: host
depends_on:
- sproxyd
ports:
- 9000:9000
environment:
SPROXYD: sproxyd:8181
volumes:
Expand All @@ -35,11 +34,12 @@ services:
context: ../cloudserver
depends_on:
- metadata
ports:
- 8000:8000
environment:
S3DATA: file
S3METADATA: scality
S3VAULT: mem
BUCKETD_BOOTSTRAP: localhost:9000
S3_CONFIG_FILE: /conf/config.json
REMOTE_MANAGEMENT_DISABLE: 1
command: yarn start
Expand All @@ -52,11 +52,14 @@ services:
redis:
profiles: ['s3c']
image: ${REDIS_IMAGE}
network_mode: host
ports:
- 6379:6379
kafka:
profiles: ['s3c']
image: ${KAFKA_IMAGE}
network_mode: host
ports:
- 9092:9092
- 2181:2181
environment:
ADVERTISED_HOST: "localhost"
ADVERTISED_PORT: 9092

0 comments on commit 2fb26b8

Please sign in to comment.