Skip to content

Commit

Permalink
bug-1884408: Make ports exposed in docker compose configurable (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
relud committed Mar 8, 2024
1 parent 412f898 commit 4677fc6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -54,3 +54,4 @@ target/
/fakes3_root/
docker-compose.override.yml
my.env
.env
10 changes: 5 additions & 5 deletions docker-compose.yml
Expand Up @@ -93,7 +93,7 @@ services:
- docker/config/local_dev.env
- my.env
ports:
- "8000:8000"
- "${EXPOSE_ANTENNA_PORT:-8000}:8000"
command: web
links:
- fakesentry
Expand All @@ -115,7 +115,7 @@ services:
- start
- --host-port=0.0.0.0:${PUBSUB_PORT:-5010}
ports:
- 5010:5010
- "${EXPOSE_PUBSUB_EMULATOR_PORT:-5010}:5010"

# https://hub.docker.com/r/localstack/localstack/
# localstack running a fake S3 and SQS
Expand All @@ -127,22 +127,22 @@ services:
- HOSTNAME=localstack
- HOSTNAME_EXTERNAL=localstack
ports:
- "4566:4566"
- "${EXPOSE_LOCALSTACK_PORT:-4566}:4566"

# https://hub.docker.com/r/kamon/grafana_graphite/
# username: admin, password: admin
statsd:
image: kamon/grafana_graphite
ports:
- "9000:3000" # grafana port
- "${EXPOSE_GRAFANA_PORT:-9000}:3000"

# https://github.com/willkg/kent
fakesentry:
build:
context: docker/images/fakesentry
image: local/antenna_fakesentry
ports:
- "8090:8090"
- "${EXPOSE_SENTRY_PORT:-8090}:8090"
command: run --host 0.0.0.0 --port 8090

# https://github.com/fsouza/fake-gcs-server
Expand Down

0 comments on commit 4677fc6

Please sign in to comment.