Skip to content

Commit

Permalink
fix: 🐛 restroom http port on make run
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-cristino committed Oct 23, 2023
1 parent 596fb4c commit 5af4d91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ run: ORACLE_TYPE ?= common
run: ORACLE_NAME ?= zenswarm-oracle
run: ## Run the oracle container [ORACLE_NAME, ORACLE_TYPE]
@[ -d logger ] || mkdir logger
ORACLE_NAME=${ORACLE_NAME} PORT=${PORT} HOST=${HOST} ORACLE_TYPE=${ORACLE_TYPE} SECRETS=${SECRET} docker compose -p ${ORACLE_NAME} up
ORACLE_NAME=${ORACLE_NAME} PORT=${PORT} HTTP_PORT=${PORT} HOST=${HOST} ORACLE_TYPE=${ORACLE_TYPE} SECRETS=${SECRET} docker compose -p ${ORACLE_NAME} up

kill: ## Stop the oracle container
@docker compose down
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
environment:
- LOGGER_DIR=/var/logger
- HOST=${HOST:-0.0.0.0}
- HTTP_PORT=${HTTP_PORT}
- SUBSCRIPTION_FILE=/var/secrets/subscriptions.json
ports:
- ${PORT}:3000

0 comments on commit 5af4d91

Please sign in to comment.