From 8ecad93dec36c75851f8d4390285f649f0e3a1a7 Mon Sep 17 00:00:00 2001 From: Lorena Hendrix Date: Sun, 16 Jun 2024 12:23:19 +0200 Subject: [PATCH] changes docker-compose file name on the server to docker-compose-server.yml --- .github/workflows/deploy.yml | 4 ++-- docker-compose-deploy.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9a2ef8a..9f14459 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -50,7 +50,7 @@ jobs: - name: Pull and Run Containers run: | ssh ${{ env.SSH_USER }}@${{ env.SSH_HOST }} "cd ${{ env.WORKDIR }} && \ - docker compose -f docker-compose-deploy.yml pull && \ - docker compose -f docker-compose-deploy.yml up -d" + docker compose -f docker-compose-server.yml pull && \ + docker compose -f docker-compose-server.yml up -d" - name: Cleanup run: rm -rf ~/.ssh \ No newline at end of file diff --git a/docker-compose-deploy.yml b/docker-compose-deploy.yml index c3055e7..04da512 100644 --- a/docker-compose-deploy.yml +++ b/docker-compose-deploy.yml @@ -21,7 +21,7 @@ services: - genie - streamlit volumes: - - /path/to/host/certificates:/etc/letsencrypt/live/app.batterymodel.com:ro + - /etc/letsencrypt/live/app.batterymodel.com:/etc/letsencrypt/live/app.batterymodel.com:ro command: /bin/bash -c "/renew-certs.sh && nginx -g 'daemon off;'" streamlit: