Skip to content

Commit

Permalink
changes docker-compose file name on the server to docker-compose-serv…
Browse files Browse the repository at this point in the history
…er.yml
  • Loading branch information
LorenaH84 committed Jun 16, 2024
1 parent de5c8ec commit 8ecad93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docker-compose-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8ecad93

Please sign in to comment.