added dependency between services to prioritize startup sequence

This commit is contained in:
Alexander Kolotov 2020-05-26 22:42:18 +03:00
parent d6e39f34af
commit d5e7e06788
3 changed files with 30 additions and 0 deletions

@ -42,6 +42,9 @@ services:
cpus: 0.1
mem_limit: 500m
image: poanetwork/tokenbridge-oracle:latest
depends_on:
- redis
- rabbit
env_file: ./.env
environment:
- NODE_ENV=production
@ -55,6 +58,9 @@ services:
cpus: 0.1
mem_limit: 500m
image: poanetwork/tokenbridge-oracle:latest
depends_on:
- redis
- rabbit
env_file: ./.env
environment:
- NODE_ENV=production
@ -68,6 +74,9 @@ services:
cpus: 0.1
mem_limit: 500m
image: poanetwork/tokenbridge-oracle:latest
depends_on:
- redis
- rabbit
env_file: ./.env
environment:
- NODE_ENV=production
@ -80,6 +89,9 @@ services:
cpus: 0.1
mem_limit: 500m
image: poanetwork/tokenbridge-oracle:latest
depends_on:
- redis
- rabbit
env_file: ./.env
environment:
- NODE_ENV=production

@ -38,6 +38,9 @@ services:
cpus: 0.1
mem_limit: 500m
image: poanetwork/tokenbridge-oracle:latest
depends_on:
- redis
- rabbit
env_file: ./.env
environment:
- NODE_ENV=production

@ -33,6 +33,9 @@ services:
cpus: 0.1
mem_limit: 500m
image: poanetwork/tokenbridge-oracle:latest
depends_on:
- redis
- rabbit
env_file: ./.env
environment:
- NODE_ENV=production
@ -46,6 +49,9 @@ services:
cpus: 0.1
mem_limit: 500m
image: poanetwork/tokenbridge-oracle:latest
depends_on:
- redis
- rabbit
env_file: ./.env
environment:
- NODE_ENV=production
@ -59,6 +65,9 @@ services:
cpus: 0.1
mem_limit: 500m
image: poanetwork/tokenbridge-oracle:latest
depends_on:
- redis
- rabbit
env_file: ./.env
environment:
- NODE_ENV=production
@ -72,6 +81,9 @@ services:
cpus: 0.1
mem_limit: 500m
image: poanetwork/tokenbridge-oracle:latest
depends_on:
- redis
- rabbit
env_file: ./.env
environment:
- NODE_ENV=production
@ -85,6 +97,9 @@ services:
cpus: 0.1
mem_limit: 500m
image: poanetwork/tokenbridge-oracle:latest
depends_on:
- redis
- rabbit
env_file: ./.env
environment:
- NODE_ENV=production