This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # 사주데이 cron 셋업 + 백업 적용 (Contabo VPS) | |
| # 1회 실행. system cron + cron-daily.sh 배포. | |
| set -euo pipefail | |
| echo "================================================" | |
| echo "🕐 사주데이 cron 셋업" | |
| echo "================================================" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| email admin@sajuday.co.kr | |
| } | |
| # 사주데이 (닥터사주 fortuneday는 Vercel 그대로 운영 — 여기 X) | |
| sajuday.co.kr, | |
| www.sajuday.co.kr { | |
| reverse_proxy saju-platform:3000 | |
| encode gzip | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| caddy: | |
| image: caddy:2-alpine | |
| container_name: caddy | |
| restart: unless-stopped | |
| ports: | |
| - "80:80" | |
| - "443:443" | |
| volumes: | |
| - ./Caddyfile:/etc/caddy/Caddyfile:ro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # 사주데이 Contabo VPS 초기 셋업 (Ubuntu 24.04) | |
| # 1회 실행. Docker + Caddy + Watchtower + 방화벽 + 디렉토리 구조. | |
| # | |
| # 실행: | |
| # curl -fsSL https://raw.githubusercontent.com/mrcoree/sajuday-platform/main/scripts/setup-contabo.sh | bash | |
| set -euo pipefail | |
| echo "================================================" |