개발일기
Certbot doesn't know how to automatically configure the web server on this system 에러 해결하기 본문
photocard backend server 개발일기
Certbot doesn't know how to automatically configure the web server on this system 에러 해결하기
한둥둥 2024. 3. 21. 21:19Certbot doesn't know how to automatically configure the web server on this system. However, it can still get a certificate for you. Please run "certbot certonly" to do so. You'll need to manually configure your web server to use the resulting certificate.
certbot:
image: certbot/certbot
restart: unless-stopped
volumes:
- ./data/certbot/conf:/etc/letsencrypt
- ./data/certbot/www:/var/www/certbot
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot certonly; sleep 12h & wait $${!}; done;'"
docker-compose.yml 파일에다가 entrypoint에다가 "/bin/sh -c 'trap exit TERM; while :; do certbot certonly; sleep 12h & wait $${!}; done;'" 추가해주었다.
'photocard backend server 개발일기' 카테고리의 다른 글
JPA Cascade 사용하기 위한 정리 (1) | 2024.05.01 |
---|---|
Spring Junit5 통한 테스트 코드 작성 (6) | 2024.04.05 |
OCI gitlab ci/cd spring boot backend적용 일기 (0) | 2024.03.06 |
Photocard GitLab 구축일기 (0) | 2024.03.02 |
Spring Security 란? (Photocard 적용전 스터디) (0) | 2023.11.23 |