Skip to content

Commit

Permalink
build: certbot을 서버에서 별도로 제어하기 위해 certbot 관련 설정 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
minjungw00 committed Nov 17, 2024
1 parent e9bd779 commit 01f8886
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ jobs:
run: |
docker-compose up -d --build
# 3. 인증서 갱신 및 Nginx 재시작
- name: Renew SSL Certificates
run: |
./renew_certificates.sh
# 4. Clean up Old Images
# 3. Clean up Old Images
- name: Remove Dangling Images
run: docker image prune -f
14 changes: 1 addition & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,10 @@ services:
- "443:443"
volumes:
- ./client/dist:/usr/share/nginx/html
- ./certbot/www:/var/www/certbot
- certbot-etc:/etc/letsencrypt:ro
- /etc/letsencrypt:/etc/letsencrypt:ro
depends_on:
- frontend
- backend
- certbot

certbot:
image: certbot/certbot
volumes:
- certbot-etc:/etc/letsencrypt
- ./certbot/www:/var/www/certbot
command: certonly --webroot --webroot-path=/var/www/certbot --email [email protected] --agree-tos --no-eff-email -d nocta.site -d www.nocta.site

volumes:
certbot-etc:

networks:
app-network:
Expand Down
4 changes: 0 additions & 4 deletions renew_certificates.sh

This file was deleted.

0 comments on commit 01f8886

Please sign in to comment.