유령

콘텐츠 기반 비즈니스를 창출하고 공유하며 성장시키는 전문 출판 플랫폼.

Access Ghost 관리자

URL: https://<server-ip>/ghost

초기 설정 완료: 관리자 사용자 생성 및 사이트 구성.

Docker Compose를 통해 Ghost 관리하기

cd /root/ghost
docker compose ps        # 실행 중인 컨테이너 보기
docker compose up -d     # Ghost 시작
docker compose down      # Ghost 중지
docker compose restart   # Ghost 재시작

인증 정보 및 구성

/root/ghost/.env 및 /root/ghost/docker-compose.yml에 저장됩니다.

이메일 설정

주석 해제 mail 섹션 /root/ghost/docker-compose.yml.

컨테이너 재시작:

cd /root/ghost; docker compose restart

SMTP 접근 권한이 부여되었는지 확인하십시오.

Gmail 앱 비밀번호 사용 예시:

mail__transport: SMTP
mail__options__host: smtp.gmail.com
mail__options__port: 465
mail__options__secure: true
mail__options__auth__user: [email protected]
mail__options__auth__pass: your-app-password

도메인 및 SSL

도메인을 서버 IP로 연결하십시오.

업데이트 /root/ghost/docker-compose.yml URL을 도메인으로 (url: https://your-domain).

컨테이너 재시작:

cd /root/ghost; docker compose restart

Certbot SSL의 경우:

apt install -y certbot python3-certbot-nginx
certbot certonly --nginx --non-interactive --agree-tos --email <your-email> -d <your-domain>

SSL 경로를 교체하십시오 /etc/nginx/sites-enabled/ghost.

# 예시
ssl_certificate /etc/letsencrypt/live/your-domain/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/your-domain/privkey.pem;

Nginx 재시작:

nginx -t && systemctl nginx 재시작

 

신청 세부사항