From 7816e63ecaa0daf22054be399925a7cb2eec9b92 Mon Sep 17 00:00:00 2001 From: fidalgoLXXVI Date: Fri, 26 Jan 2024 12:56:06 +0100 Subject: [PATCH] Pormenores de docker --- .github/workflows/release.yml | 4 ++-- README.md | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37e36d0a..c2097fc4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -122,7 +122,7 @@ jobs: user: ${{ secrets.DEPLOY_USER }} key: ${{ secrets.DEPLOY_KEY }} command: | - wget https://raw.githubusercontent.com/arquisoft/wiq_es2c/master/docker-compose.yml - wget https://raw.githubusercontent.com/arquisoft/wiq_es2c/master/docker-compose-deploy.override.yml + wget https://raw.githubusercontent.com/arquisoft/wiq_es2c/master/docker-compose.yml -O docker-compose.yml + wget https://raw.githubusercontent.com/arquisoft/wiq_es2c/master/.env -O .env docker compose down docker compose --profile prod up -d diff --git a/README.md b/README.md index e848eff9..17d57fad 100644 --- a/README.md +++ b/README.md @@ -100,8 +100,9 @@ deploy: user: ${{ secrets.DEPLOY_USER }} key: ${{ secrets.DEPLOY_KEY }} command: | - wget https://raw.githubusercontent.com/arquisoft/wiq_es2c/master/docker-compose-deploy.yml -O docker-compose.yml - docker compose down --volumes + wget https://raw.githubusercontent.com/arquisoft/wiq_es2c/master/docker-compose.yml -O docker-compose.yml + wget https://raw.githubusercontent.com/arquisoft/wiq_es2c/master/.env -O .env + docker compose down docker compose --profile prod up -d ```