From d9c511a6e9490fb25e049118d6bbf434ebe17e93 Mon Sep 17 00:00:00 2001 From: Kammerlo Date: Wed, 29 May 2024 09:31:48 +0200 Subject: [PATCH] chore: adjusted token registry port to not disturb any process at port 8080, so switched to 8091 --- Dockerfile | 2 +- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e71f0f4c..709e5abd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 &&\ diff --git a/docker-compose.yml b/docker-compose.yml index 071730df..7aa36289 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 @@ -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}