Commit Graph
7 Commits
Author SHA1 Message Date
siujamo ece2af988b feat(caddy): add configurable S3 addressing style
- Add S3_ADDRESSING_STYLE env var for S3-compatible endpoints
- Set addressing style and region via aws configure set
- Region now persists in aws config rather than process env var
2026-09-02 15:13:33 +08:00
zihluwang 8931598794 refactor(caddy): modularise deployment init
Split the monolithic init-caddy.sh into four ordered, idempotent
setup scripts for the Caddy deployment environment:

- install-base-deps: install required apt packages
- install-aws-cli: bootstrap AWS CLI v2
- install-caddy: fetch binary, create caddy:caddy, register systemd unit
- prepare-caddy-cicd: create bot deploy user + SSH, hand over web root
  with ACLs, write site Caddyfile and start the service
- Make the web root overridable via WEB_ROOT (default /var/www)
2026-09-02 13:47:00 +08:00
siujamo ece62675b4 feat(caddy): add deployment initialisation script
- Install base dependencies and aws-cli for S3 downloads
- Create caddy and bot system users with dedicated homes
- Configure web root with SGID and POSIX ACL inheritance
- Generate Caddyfile config and a sample index page
- Enable and start Caddy via systemd
2026-09-02 11:21:21 +08:00
siujamo a660ea3898 feat(scripts): add cross-platform tosutil installers
- Add Windows PowerShell installer with SHA256 verification and PATH setup
- Add macOS installer with arch detection and quarantine removal
- Enhance Linux installer with amd64/arm64 architecture detection
- Rename macOS migrate_remote.sh to migrate-remote.sh
2026-08-21 10:37:30 +08:00
siujamo c59ec779de feat(scripts): enhance tosutil installer with env var guidance and doc link
- Download and verify tosutil binary via SHA256 checksum
- Install to /usr/local/bin with root:root 755 permissions
- Add post-installation instructions utilising environment variables
- Include reference link to official Volcengine documentation
2026-08-21 10:23:48 +08:00
siujamo 59f25f23d7 refactor(scripts): move debian scripts under linux dir
- Moved upgrade-gitlab.sh from Debian/ to Linux/Debian/
- Moved import-pubkeys-from-github.sh from Debian/ to Linux/
2026-08-21 10:14:36 +08:00
Siu Jam Oh 54ebd4cc75 Add Linux/install-tosutil.sh 2026-08-21 10:11:41 +08:00