Skip to content

Commit

Permalink
fix(actions): ssl volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocroh committed May 16, 2024
1 parent 05743b0 commit 74f2cd4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,10 @@ jobs:
sudo docker rm bolhadev-nginx || true
sudo docker rm bolhadev-chat || true
sudo docker run -d -p 4000:4000 -p 4001:4001 --name bolhadev-chat --network internal ${{ vars.DOCKER_REPO }}/bolhadev-chat:latest
sudo docker run -d -p 80:80 --name bolhadev-nginx -v /var/www/certbot:/var/www/certbot -v /etc/letsencrypt/live/api.bolhadev.chat:/etc/nginx/ssl/ -v /etc/letsencrypt/ssl/privkey.pem:/etc/nginx/ssl/privkey.pem --network internal ${{ vars.DOCKER_REPO }}/bolhadev-nginx:latest
sudo docker run -d -p 80:80 \
--name bolhadev-nginx \
-v /var/www/certbot:/var/www/certbot \
-v /etc/letsencrypt/ssl/fullchain.pem:/etc/nginx/ssl/fullchain.pem \
-v /etc/letsencrypt/ssl/privkey.pem:/etc/nginx/ssl/privkey.pem \
--network internal \
${{ vars.DOCKER_REPO }}/bolhadev-nginx:latest

0 comments on commit 74f2cd4

Please sign in to comment.