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 c65da35 commit d90714f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 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,7 +14,6 @@ services:
metadata:
profiles: ['s3c']
image: ${METADATA_IMAGE}
network_mode: host
depends_on:
- sproxyd
environment:
Expand All @@ -35,11 +32,13 @@ services:
context: ../cloudserver
depends_on:
- metadata
ports:
- 8000:8000
environment:
S3DATA: file
S3METADATA: scality
S3VAULT: mem
BUCKETD_BOOTSTRAP: localhost:9000
BUCKETD_BOOTSTRAP: metadata:9000
S3_CONFIG_FILE: /conf/config.json
REMOTE_MANAGEMENT_DISABLE: 1
command: yarn start
Expand All @@ -52,11 +51,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 d90714f

Please sign in to comment.