From 7a55863a6e8f32d591458c86fcb5eb504e7d0190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Placzy=C5=84ski?= Date: Wed, 21 Feb 2024 09:24:11 +0100 Subject: [PATCH] [#224] Rename docker-compose file to support Cardano stack only In preparation for a more modular and environment-specific docker-compose setup, the existing docker-compose configuration has been renamed to `docker-compose.node+dbsync.yml`. This change marks a pre-step towards introducing separate docker-compose files for each environment, aiming to streamline development processes and improve clarity. --- ...ompose.dev.yml => docker-compose.node+dbsync.yml} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename scripts/govtool/{docker-compose.dev.yml => docker-compose.node+dbsync.yml} (86%) diff --git a/scripts/govtool/docker-compose.dev.yml b/scripts/govtool/docker-compose.node+dbsync.yml similarity index 86% rename from scripts/govtool/docker-compose.dev.yml rename to scripts/govtool/docker-compose.node+dbsync.yml index fe68dc95e..bcd8ba8c4 100644 --- a/scripts/govtool/docker-compose.dev.yml +++ b/scripts/govtool/docker-compose.node+dbsync.yml @@ -15,10 +15,10 @@ # * ./dev-postgres_user # # USAGE: -# docker compose --file docker-compose.dev.yml up --detach -# docker compose --file docker-compose.dev.yml down --remove-orphans -# docker compose --file docker-compose.dev.yml logs --follow --timestamps cardano-node -# docker compose --file docker-compose.dev.yml logs --follow --timestamps cardano-db-sync +# docker compose --file docker-compose.node+dbsync.yml up --detach +# docker compose --file docker-compose.node+dbsync.yml down --remove-orphans +# docker compose --file docker-compose.node+dbsync.yml logs --follow --timestamps cardano-node +# docker compose --file docker-compose.node+dbsync.yml logs --follow --timestamps cardano-db-sync # docker-compose run postgres psql version: "3.9" @@ -56,9 +56,9 @@ services: restart: on-failure healthcheck: test: ["CMD-SHELL", "curl -f 127.0.0.1:12788 || exit 1"] - interval: 60s + interval: 10s timeout: 10s - retries: 5 + retries: 10 cardano-db-sync: image: ghcr.io/intersectmbo/cardano-db-sync:sancho-4-0-0-fix-config