Skip to content

Commit

Permalink
feat: separate api and process versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri-go committed Dec 22, 2023
1 parent 5908f41 commit 8baa97b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 18 deletions.
12 changes: 8 additions & 4 deletions docker/.env.mainnet.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ NETWORK=mainnet
PASSPHRASE=""

# Service Versions #
CHRONOS_APP_VERSION=v1.12.1
EVENTPROVIDER_APP_VERSION=v1.12.2
EXCHANGE_APP_VERSION=v1.12.2
EXPLORER_APP_VERSION=v1.12.2
CHRONOS_PROCESS_VERSION=v1.12.69
CHRONOS_API_VERSION=v1.12.69
EVENTPROVIDER_PROCESS_VERSION=v1.12.67
EVENTPROVIDER_API_VERSION=v1.12.67
EXCHANGE_PROCESS_VERSION=v1.12.67
EXCHANGE_API_VERSION=v1.12.71
EXPLORER_PROCESS_VERSION=v1.12.66
EXPLORER_API_VERSION=v1.12.66
WEB3GW_APP_VERSION=v1.12.0

#MONGO LIMITS
Expand Down
14 changes: 9 additions & 5 deletions docker/.env.testnet.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ NETWORK=testnet
PASSPHRASE=""

# Service Versions #
CHRONOS_APP_VERSION=v1.12.0
EVENTPROVIDER_APP_VERSION=v1.12.0
EXCHANGE_APP_VERSION=v1.12.2
EXPLORER_APP_VERSION=v1.12.2
WEB3GW_APP_VERSION=v1.12.0
CHRONOS_PROCESS_VERSION=v1.12.45
CHRONOS_API_VERSION=v1.12.45
EVENTPROVIDER_PROCESS_VERSION=v1.12.67
EVENTPROVIDER_API_VERSION=v1.12.67
EXCHANGE_PROCESS_VERSION=v1.12.71
EXCHANGE_API_VERSION=v1.12.71
EXPLORER_PROCESS_VERSION=v1.12.67
EXPLORER_API_VERSION=v1.12.67
WEB3GW_APP_VERSION=v1.12.46-rc.0

#MONGO LIMITS
MONGO_RAM_LIMIT=32G
Expand Down
12 changes: 6 additions & 6 deletions docker/addons/docker-compose.dex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.9'
services:
indexer-chronos-process:
container_name: indexer-chronos-process
image: public.ecr.aws/l9h3g6c6/injective-indexer:${CHRONOS_APP_VERSION}
image: public.ecr.aws/l9h3g6c6/injective-indexer:${CHRONOS_PROCESS_VERSION}
pull_policy: always
restart: always
command: injective-indexer chronos-process
Expand Down Expand Up @@ -71,7 +71,7 @@ services:

indexer-chronos-api:
container_name: indexer-chronos-api
image: public.ecr.aws/l9h3g6c6/injective-indexer:${CHRONOS_APP_VERSION}
image: public.ecr.aws/l9h3g6c6/injective-indexer:${CHRONOS_API_VERSION}
pull_policy: always
restart: always
command: injective-indexer chronos-api
Expand Down Expand Up @@ -127,7 +127,7 @@ services:

indexer-explorer-process:
container_name: indexer-explorer-process
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EXPLORER_APP_VERSION}
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EXPLORER_PROCESS_VERSION}
restart: always
command: injective-indexer explorer-process
logging:
Expand Down Expand Up @@ -185,7 +185,7 @@ services:

indexer-explorer-api:
container_name: indexer-explorer-api
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EXPLORER_APP_VERSION}
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EXPLORER_API_VERSION}
restart: always
command: injective-indexer explorer-api
logging:
Expand Down Expand Up @@ -240,7 +240,7 @@ services:

indexer-eventprovider-process:
container_name: indexer-eventprovider-process
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EVENTPROVIDER_APP_VERSION}
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EVENTPROVIDER_PROCESS_VERSION}
pull_policy: always
restart: always
command: injective-indexer eventprovider-process
Expand Down Expand Up @@ -292,7 +292,7 @@ services:

indexer-eventprovider-api:
container_name: indexer-eventprovider-api
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EVENTPROVIDER_APP_VERSION}
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EVENTPROVIDER_API_VERSION}
pull_policy: always
restart: always
command: injective-indexer eventprovider-api
Expand Down
6 changes: 3 additions & 3 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ services:

indexer-exchange-import:
container_name: indexer-exchange-import
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EXCHANGE_APP_VERSION}
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EXCHANGE_IMPORT_VERSION}
pull_policy: always
command: injective-indexer exchange-import
logging:
Expand Down Expand Up @@ -123,7 +123,7 @@ services:

indexer-exchange-process:
container_name: indexer-exchange-process
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EXCHANGE_APP_VERSION}
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EXCHANGE_PROCESS_VERSION}
pull_policy: always
restart: always
command: injective-indexer exchange-process
Expand Down Expand Up @@ -194,7 +194,7 @@ services:

indexer-exchange-api:
container_name: indexer-exchange-api
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EXCHANGE_APP_VERSION}
image: public.ecr.aws/l9h3g6c6/injective-indexer:${EXCHANGE_API_VERSION}
pull_policy: always
restart: always
command: injective-indexer exchange-api
Expand Down

0 comments on commit 8baa97b

Please sign in to comment.