Add Scaleway Deployment Configuration #1

Merged
Damien merged 13 commits from scaleway-deployment into main 2025-11-19 14:42:07 +00:00
Owner

Scaleway Deployment Setup

This PR adds comprehensive deployment configuration for hosting the notebook site on Scaleway at notebook.arnodo.fr.

What's Included

Deployment Methods

Two complete deployment options are provided:

  1. Object Storage (Recommended to start)

    • S3-compatible static hosting
    • ~€1-2/month cost
    • No maintenance required
    • Configuration in .gitea/workflows/deploy.yml
  2. Docker Instance (For advanced needs)

    • Full Nginx control
    • ~€10/month cost
    • Custom configurations possible
    • Configuration in .gitea/workflows/deploy-docker.yml

Documentation Files

  • docs/SCALEWAY_DEPLOYMENT.md - Complete Object Storage setup guide
  • docs/SCALEWAY_DEPLOYMENT_DOCKER.md - Docker instance deployment guide
  • docs/DEPLOYMENT_COMPARISON.md - Comparison and decision guide
  • scripts/setup-scaleway.sh - Automated setup script

Quick Start

  1. Create Scaleway resources:

    chmod +x scripts/setup-scaleway.sh
    ./scripts/setup-scaleway.sh
    
  2. Add Gitea secrets:

    • SCW_ACCESS_KEY
    • SCW_SECRET_KEY
    • SCW_BUCKET_NAME
  3. Configure DNS:

    notebook.arnodo.fr CNAME notebook-arnodo-fr.s3-website.fr-par.scw.cloud.
    
  4. Merge and push - Deployment will happen automatically!

For Docker Instance

Follow the detailed guide in docs/SCALEWAY_DEPLOYMENT_DOCKER.md

What Changes

  • Adds Gitea Actions workflow for automated deployment
  • Comprehensive setup documentation
  • Automated setup scripts
  • Cost analysis and comparison
  • Security best practices
  • Monitoring recommendations

Migration Strategy

This deployment can run in parallel with your current GitHub Pages setup:

  1. Test on Scaleway first
  2. Switch DNS when confident
  3. Keep GitHub Pages as backup initially

Cost Estimate

  • Object Storage: €1-2/month
  • Docker Instance: €10/month
  • Current (GitHub Pages): Free

Next Steps After Merge

  1. Choose deployment method (see docs/DEPLOYMENT_COMPARISON.md)
  2. Run setup script or manual configuration
  3. Add repository secrets
  4. Configure DNS
  5. Push to main branch to deploy
  6. Monitor first deployment

Files Added

.gitea/workflows/deploy.yml
docs/SCALEWAY_DEPLOYMENT.md
docs/SCALEWAY_DEPLOYMENT_DOCKER.md
docs/DEPLOYMENT_COMPARISON.md
scripts/setup-scaleway.sh

Testing Notes

  • No changes to existing content
  • All changes are additive (new files only)
  • GitHub Pages workflow unchanged
  • Can be tested without affecting current deployment

Recommended: Start with Object Storage method for simplicity and low cost. Upgrade to Docker instance later if needed.

# Scaleway Deployment Setup This PR adds comprehensive deployment configuration for hosting the notebook site on Scaleway at `notebook.arnodo.fr`. ## What's Included ### Deployment Methods Two complete deployment options are provided: 1. **Object Storage** (Recommended to start) - S3-compatible static hosting - ~€1-2/month cost - No maintenance required - Configuration in `.gitea/workflows/deploy.yml` 2. **Docker Instance** (For advanced needs) - Full Nginx control - ~€10/month cost - Custom configurations possible - Configuration in `.gitea/workflows/deploy-docker.yml` ### Documentation Files - `docs/SCALEWAY_DEPLOYMENT.md` - Complete Object Storage setup guide - `docs/SCALEWAY_DEPLOYMENT_DOCKER.md` - Docker instance deployment guide - `docs/DEPLOYMENT_COMPARISON.md` - Comparison and decision guide - `scripts/setup-scaleway.sh` - Automated setup script ## Quick Start ### For Object Storage (Recommended) 1. **Create Scaleway resources**: ```bash chmod +x scripts/setup-scaleway.sh ./scripts/setup-scaleway.sh ``` 2. **Add Gitea secrets**: - `SCW_ACCESS_KEY` - `SCW_SECRET_KEY` - `SCW_BUCKET_NAME` 3. **Configure DNS**: ``` notebook.arnodo.fr CNAME notebook-arnodo-fr.s3-website.fr-par.scw.cloud. ``` 4. **Merge and push** - Deployment will happen automatically! ### For Docker Instance Follow the detailed guide in `docs/SCALEWAY_DEPLOYMENT_DOCKER.md` ## What Changes - ✅ Adds Gitea Actions workflow for automated deployment - ✅ Comprehensive setup documentation - ✅ Automated setup scripts - ✅ Cost analysis and comparison - ✅ Security best practices - ✅ Monitoring recommendations ## Migration Strategy This deployment can run **in parallel** with your current GitHub Pages setup: 1. Test on Scaleway first 2. Switch DNS when confident 3. Keep GitHub Pages as backup initially ## Cost Estimate - **Object Storage**: €1-2/month - **Docker Instance**: €10/month - **Current (GitHub Pages)**: Free ## Next Steps After Merge 1. Choose deployment method (see `docs/DEPLOYMENT_COMPARISON.md`) 2. Run setup script or manual configuration 3. Add repository secrets 4. Configure DNS 5. Push to main branch to deploy 6. Monitor first deployment ## Files Added ``` .gitea/workflows/deploy.yml docs/SCALEWAY_DEPLOYMENT.md docs/SCALEWAY_DEPLOYMENT_DOCKER.md docs/DEPLOYMENT_COMPARISON.md scripts/setup-scaleway.sh ``` ## Testing Notes - No changes to existing content - All changes are additive (new files only) - GitHub Pages workflow unchanged - Can be tested without affecting current deployment --- **Recommended**: Start with Object Storage method for simplicity and low cost. Upgrade to Docker instance later if needed.
Damien added 5 commits 2025-11-19 11:58:05 +00:00
Damien added 1 commit 2025-11-19 11:58:36 +00:00
Damien added 1 commit 2025-11-19 12:51:25 +00:00
Damien added 1 commit 2025-11-19 12:51:40 +00:00
Damien added 1 commit 2025-11-19 12:52:09 +00:00
Damien added 1 commit 2025-11-19 12:52:22 +00:00
Damien added 1 commit 2025-11-19 12:52:56 +00:00
Damien added 1 commit 2025-11-19 12:53:39 +00:00
Damien added 1 commit 2025-11-19 14:36:10 +00:00
Deploy website to Scaleway Object Storage
Some checks failed
Deploy to Scaleway / build-and-deploy (pull_request) Has been cancelled
5460352a9b
Use Scaleway CLI and replace s3cmd. Add CDN cache purge (optional).
Remove GitHub Pages workflow.
Damien self-assigned this 2025-11-19 14:39:37 +00:00
Damien merged commit 19cb762723 into main 2025-11-19 14:42:07 +00:00
Damien deleted branch scaleway-deployment 2025-11-19 14:53:39 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Damien/Notebook#1