Skip to content

Commit

Permalink
update metadata service compose
Browse files Browse the repository at this point in the history
  • Loading branch information
XxRoloxX committed Oct 12, 2024
1 parent 4ddf2c6 commit d673a14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ services:
container_name: cluster-metadata-service-mongodb
image: mongo
ports:
- ${CLUSTER_METADATA_MONGODB_PORT}:27017
- ${CLUSTER_METADATA_MONGODB_PORT-27017}:27017
volumes:
- db-metadata-data:/data/db
environment:
Expand All @@ -211,7 +211,7 @@ services:
container_name: cluster-metadata-service-mongo-express
image: mongo-express
ports:
- ${CLUSTER_METADATA_MONGO_EXPRESS_PORT}:8081
- ${CLUSTER_METADATA_MONGO_EXPRESS_PORT:-8081}:8081
environment:
ME_CONFIG_MONGODB_SERVER: ${CLUSTER_METADATA_MONGODB_HOST}
ME_CONFIG_MONGODB_ADMINUSERNAME: ${CLUSTER_METADATA_MONGODB_USER}
Expand All @@ -226,7 +226,7 @@ services:
context: ./go
dockerfile: ./docker/cluster_metadata/Dockerfile
ports:
- ${CLUSTER_METADATA_HTTP_PORT}:${CLUSTER_METADATA_HTTP_PORT}
- ${CLUSTER_METADATA_HTTP_PORT:-8092}:${CLUSTER_METADATA_HTTP_PORT:-8092}
environment:
HTTP_PORT: ${CLUSTER_METADATA_HTTP_PORT}
METADATADB_USER: ${CLUSTER_METADATA_MONGODB_USER}
Expand Down

0 comments on commit d673a14

Please sign in to comment.