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."