Docker
nginx-proxy-manager: Cloudflare 인증서 갱신 오류
nginx-proxy-manager: Cloudflare 인증서 갱신 오류
2024.09.09`docker` 기반의 `nginx-proxy-manager` 컨테이너 사용 중, `Cloudflare`을 통한 인증서 갱신의 오류가 발생한 경우 Renewal configuration file /etc/letsencrypt/renewal/npm-28.conf (cert: npm-28) produced an unexpected error: 'Namespace' object has no attribute 'dns_cloudflare_credentials'. Skipping. 1. 컨테이너 접근docker exec -itu root nginx-proxy-manager /bin/bash 2. `certbot` 확인pip3 list | grep certbotcertbot (2.11.0)기본 `certbot`만 ..
postgres primary/replica
postgres primary/replica
2024.09.08docker를 이용하여 postgresql의 primary replica 설정할 수 있다. docker-compose.yml 설정services: postgres-primary: image: postgres:16.1 container_name: postgres-primary restart: always ports: - 15432:5432 environment: - POSTGRES_USER=아이디 입력 - POSTGRES_PASSWORD=비밀번호 입력 - TZ=Asia/Seoul volumes: - ./data/primary:/var/lib/postgresql/data postgres-replica: image: pos..