Skip to content

Commit

Permalink
chore: adjusted token registry port to not disturb any process at por…
Browse files Browse the repository at this point in the history
…t 8080, so switched to 8091
  • Loading branch information
Kammerlo committed May 29, 2024
1 parent eac552a commit d9c511a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ WORKDIR /src
FROM ubuntu-nodejs as background
ARG NETWORK=mainnet
# using local token registry as default
ARG METADATA_SERVER_URI="localhost:8080"
ARG METADATA_SERVER_URI="localhost:8091"
RUN apt-get update -y && apt-get install lsb-release -y
RUN curl --proto '=https' --tlsv1.2 -sSf -L https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - &&\
echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list &&\
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ services:
- "postgres"
environment:
- LOGGER_MIN_SEVERITY=${LOGGER_MIN_SEVERITY:-info}
- METADATA_SERVER_URI=${METADATA_SERVER_URI:-https://tokens.cardano.org}
- METADATA_SERVER_URI=${METADATA_SERVER_URI:-http://localhost:8091}
restart: on-failure
secrets:
- postgres_db
Expand Down Expand Up @@ -147,7 +147,7 @@ services:
context: .
target: token-registry
ports:
- ${TOKEN_REGISTRY_PORT:-8080}:8080
- ${TOKEN_REGISTRY_PORT:-8091}:8080
environment:
- TOKEN_METADATA_SYNC_JOB=true
- POSTGRES_PORT=${POSTGRES_PORT:-5432}
Expand Down

0 comments on commit d9c511a

Please sign in to comment.