Skip to content
Merged
Prev Previous commit
Next Next commit
Improve deploy sequence
  • Loading branch information
ivanl committed Nov 12, 2021
commit f52d3225579d7534013e734be01234d7f3f1941b
11 changes: 10 additions & 1 deletion proxy/docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ services:
POSTGRES_USER: neon-proxy
POSTGRES_PASSWORD: neon-proxy-pass
hostname: postgres
depends_on:
evm_loader:
condition: service_completed_successfully
healthcheck:
test: [ CMD-SHELL, "pg_isready" ]
interval: 15s
timeout: 10s
retries: 7
start_period: 15s
expose:
- "5432"
networks:
Expand All @@ -61,7 +70,7 @@ services:
hostname: proxy
depends_on:
postgres:
condition: service_started
condition: service_healthy
evm_loader:
condition: service_completed_successfully
ports:
Expand Down