Skip to content

Commit

Permalink
Make ports exposed in docker compose configurable (#2858)
Browse files Browse the repository at this point in the history
  • Loading branch information
relud authored Dec 19, 2023
1 parent a8345b1 commit 6fbc6d4
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
- db
- redis-cache
ports:
- "8000:8000"
- "${EXPOSE_TECKEN_PORT:-8000}:8000"
links:
- db
- fakesentry
Expand Down Expand Up @@ -62,7 +62,7 @@ services:
extends:
service: base
ports:
- "8000:8000"
- "${EXPOSE_TECKEN_PORT:-8000}:8000"
links:
- db
- redis-cache
Expand Down Expand Up @@ -108,15 +108,15 @@ services:
environment:
- LOCALSTACK_HOST=localstack
ports:
- "4566:4566"
- "${EXPOSE_LOCALSTACK_PORT:-4566}:4566"

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

# https://hub.docker.com/r/mozilla/oidc-testprovider
Expand All @@ -125,14 +125,10 @@ services:
context: docker/images/oidcprovider
image: local/tecken_oidcprovider
ports:
- "8080:8080"
- "${EXPOSE_OIDC_PORT:-8080}:8080"

# https://hub.docker.com/r/hopsoft/graphite-statsd/
statsd:
image: hopsoft/graphite-statsd:latest
ports:
- "8081:80"
- "2003-2004:2003-2004"
- "2023-2024:2023-2024"
- "8125:8125/udp"
- "8126:8126"
- "${EXPOSE_GRAFANA_PORT:-8081}:80"

0 comments on commit 6fbc6d4

Please sign in to comment.