- GitHub Actions를 심플하게 재구성 (불필요한 테스트 로그 제거) - SSL 자동 설정 (Let's Encrypt) - 프록시 라우팅 업데이트: /api/ → 18000, /rb8001/ → 8001 - 배포 경로: /opt/robeing-nginx 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
542 B
YAML
22 lines
542 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
nginx:
|
|
image: nginx:alpine
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./default.conf:/etc/nginx/conf.d/default.conf:ro
|
|
- ./ssl:/etc/nginx/ssl:ro
|
|
restart: always
|
|
depends_on:
|
|
- certbot
|
|
|
|
certbot:
|
|
image: certbot/certbot:latest
|
|
volumes:
|
|
- ./ssl:/etc/letsencrypt
|
|
- ./certbot-webroot:/var/www/certbot
|
|
command: certonly --webroot --webroot-path=/var/www/certbot --email admin@ro-being.com --agree-tos --no-eff-email -d ro-being.com
|
|
restart: "no" |