From 55267a12e2610798ffaa5a760a16b8ab3f02412e Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Fri, 7 Oct 2022 03:17:20 +0200 Subject: [PATCH] fix --- .gitignore | 2 +- deploy/egommerce-stack.yml | 2 +- deploy/stack-start.sh | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 1e8f546..4ad0cd6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .idea/ -deploy/*.local.yml +*.local.yml diff --git a/deploy/egommerce-stack.yml b/deploy/egommerce-stack.yml index 383e45e..24b7755 100644 --- a/deploy/egommerce-stack.yml +++ b/deploy/egommerce-stack.yml @@ -26,7 +26,7 @@ services: - postgres_network basket_svc: - image: egommerce_basket:latest + image: git.pbiernat.dev/egommerce/basket-svc:latest # fixme :stable environment: - DATABASE_URL=postgres://PROD_BASKET_USER:PROD_PASS@postgres_svc:5432/PROD_DATABASE networks: diff --git a/deploy/stack-start.sh b/deploy/stack-start.sh index 5ca1605..06e132d 100644 --- a/deploy/stack-start.sh +++ b/deploy/stack-start.sh @@ -1,10 +1,10 @@ #!/bin/sh -# FIX paths... +# RUN FORM REPO ROOT DIR echo "Starting egommerce stack..." docker stack deploy --with-registry-auth \ - --compose-file deployments/egommerce-stack.yml \ - --compose-file deployments/egommerce-stack.dev.yml \ - --compose-file deployments/egommerce-stack.dev.local.yml \ + --compose-file deploy/egommerce-stack.yml \ + --compose-file deploy/egommerce-stack.dev.yml \ + --compose-file deploy/egommerce-stack.dev.local.yml \ egommerce echo "Done."