Skip to content

Commit

Permalink
RA-87: DOcker files with api/indexer building removed
Browse files Browse the repository at this point in the history
  • Loading branch information
mlinnik committed May 8, 2024
1 parent cf45a72 commit ade7ac3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 54 deletions.
6 changes: 3 additions & 3 deletions .env.IntegrationTest
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ CARDANO_NODE_DB=./node/db
CARDANO_CONFIG=./config/${NETWORK}

## Api env
API_DOCKER_IMAGE_TAG="main"
API_DOCKER_IMAGE_TAG=main
API_SPRING_PROFILES_ACTIVE=dev
# staging, h2, test. Additional profiles: mempool (if mempool should be activated)
API_PORT=8081
Expand All @@ -48,12 +48,12 @@ GENESIS_ALONZO_PATH=/config/${NETWORK}/alonzo-genesis.json
GENESIS_CONWAY_PATH=/config/${NETWORK}/conway-genesis.json

## Yaci Indexer env
INDEXER_DOCKER_IMAGE_TAG="main"
INDEXER_DOCKER_IMAGE_TAG=main
YACI_SPRING_PROFILES=h2
# database profiles: h2, h2-testData, postgres
INDEXER_NODE_PORT=3001
MEMPOOL_ENABLED=false
# Haven't implemented yet
# Hasn't implemented yet
INITIAL_BALANCE_CALCULATION_BLOCK=0

## Devkit env
Expand Down
6 changes: 3 additions & 3 deletions .env.docker-compose
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ CARDANO_NODE_DB=./node/db
CARDANO_CONFIG=./config/${NETWORK}

## Api env
API_DOCKER_IMAGE_TAG="main"
API_DOCKER_IMAGE_TAG=main
API_SPRING_PROFILES_ACTIVE=dev
# staging, h2, test. Additional profiles: mempool (if mempool should be activated)
API_PORT=8080
Expand All @@ -47,10 +47,10 @@ GENESIS_ALONZO_PATH=/config/${NETWORK}/alonzo-genesis.json
GENESIS_CONWAY_PATH=/config/${NETWORK}/conway-genesis.json

## Yaci Indexer env
INDEXER_DOCKER_IMAGE_TAG="main"
INDEXER_DOCKER_IMAGE_TAG=main
YACI_SPRING_PROFILES=postgres
# database profiles: h2, h2-testData, postgres
INDEXER_NODE_PORT=3001
MEMPOOL_ENABLED=false
# Haven't implemented yet
# Hasn't implemented yet
INITIAL_BALANCE_CALCULATION_BLOCK=0
6 changes: 3 additions & 3 deletions .env.h2
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ CARDANO_NODE_DB=./node/db
CARDANO_CONFIG=./config/${NETWORK}

## Api env
API_DOCKER_IMAGE_TAG="main"
API_DOCKER_IMAGE_TAG=main
API_SPRING_PROFILES_ACTIVE=h2
# staging, h2, test. Additional profiles: mempool (if mempool should be activated)
API_PORT=8080
Expand All @@ -52,10 +52,10 @@ GENESIS_ALONZO_PATH=./config/${NETWORK}/alonzo-genesis.json
GENESIS_CONWAY_PATH=./config/${NETWORK}/conway-genesis.json

## Yaci Indexer env
INDEXER_DOCKER_IMAGE_TAG="main"
INDEXER_DOCKER_IMAGE_TAG=main
YACI_SPRING_PROFILES=h2
# database profiles: h2, h2-testData, postgres
INDEXER_NODE_PORT=3001
MEMPOOL_ENABLED=false
# Haven't implemented yet
# Hasn't implemented yet
INITIAL_BALANCE_CALCULATION_BLOCK=0
18 changes: 0 additions & 18 deletions api/Dockerfile

This file was deleted.

9 changes: 0 additions & 9 deletions docker-api-indexer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ services:

api:
image: cardanofoundation/cardano-rosetta-java-api:${API_DOCKER_IMAGE_TAG}
build:
context: ./
dockerfile: ./api/Dockerfile
args:
NETWORK: ${NETWORK}
platform: linux/amd64
ports:
- ${API_PORT}:${API_PORT}
environment:
Expand Down Expand Up @@ -45,9 +39,6 @@ services:

yaci-indexer:
image: cardanofoundation/cardano-rosetta-java-indexer:${INDEXER_DOCKER_IMAGE_TAG}
build:
context: ./
dockerfile: ./yaci-indexer/Dockerfile
environment:
YACI_SPRING_PROFILES: ${YACI_SPRING_PROFILES}
DB_HOST: ${DB_HOST}
Expand Down
18 changes: 0 additions & 18 deletions yaci-indexer/Dockerfile

This file was deleted.

0 comments on commit ade7ac3

Please sign in to comment.