Commit Graph

14 Commits

Author SHA1 Message Date
cyph3rasi 1b0b3d8d52 Fix federation flows and add versioned updater 2026-03-07 21:55:55 -08:00
cyph3rasi afa732503c Fix Docker healthcheck port interpolation 2026-03-07 17:13:53 -08:00
cyph3rasi 70e6b6fdf6 Remove shared storage and restore user-owned uploads 2026-03-07 17:03:50 -08:00
cyph3rasi 180164f7d2 Align Docker install and publish workflow 2026-03-07 16:27:50 -08:00
cyph3rasi ae2c34df6c Add installer, CI, ARM build and test updates
Introduce a one‑line Docker installer and environment examples, add CI and docker validation workflows, and update docs and tests.

Key changes:
- Add docker/install.sh installer that bootstraps /opt/synapsis, downloads compose files, optionally installs Docker, and generates secrets.
- Add top-level .env.example and docker/.env.example entries for shared storage and local development.
- Add GitHub Actions CI (ci.yml) with type checks, targeted vitest runs, build and docker-compose validation.
- Update existing docker workflow to set up QEMU and build multi‑arch images (amd64, arm64).
- Update README and docker/README to use the installer, point to the new repo, adjust local setup instructions, and note shared S3 env vars.
- Update docker-compose comments and include shared S3 env variables and defaults.
- Update .gitignore to ignore site-work mirrors.
- Tests: expand supported bot source types (add brave_news, youtube), increase POST_MAX_LENGTH from 400 to 600, add minimal user handle in mention handler tests, and add mocks & test adjustments in scheduler tests to keep them unit-scoped.

These changes simplify installation, add CI coverage (including Docker config validation), enable multi‑arch builds, and align tests with expanded bot source/validation behavior.
2026-03-07 16:11:37 -08:00
Christomatt a686db38b0 Docker hardening + first-run fixes 2026-02-05 02:49:34 +01:00
Christomatt 38ddbf8bc1 feat: Introduce runtime configuration for domain and enhance S3 storage settings with public base URL and Contabo support. 2026-02-03 01:27:46 +01:00
Christomatt 91d122ca3a fix: update docker-compose.yml for flat directory structure
- Change Caddyfile mount from ./docker/Caddyfile to ./Caddyfile
- Change caddy-entrypoint.sh mount from ./scripts/ to ./
- Update quick start instructions to download all files to root
- Matches the actual curl commands in install docs
2026-02-01 18:52:56 +01:00
Christomatt bdb05a95f6 chore: consolidate .env.example to docker folder only
- Remove root .env.example (now only in docker/ folder)
- Update .gitignore to not track root .env.example
- Keep docker/.env.example as single source of truth
2026-02-01 18:37:32 +01:00
Christomatt 9b22b2a944 docs: remove AI-assisted setup wizard mentions 2026-02-01 03:24:43 +01:00
Christomatt a8252a1809 Fix docker-compose healthcheck: use 127.0.0.1 instead of localhost 2026-01-31 07:44:43 +01:00
Christomatt bf9f0a3335 Fix Docker image to include drizzle-kit and auto-run migrations on startup 2026-01-31 05:00:59 +01:00
Christomatt fd9687be78 Add database migration service to docker-compose 2026-01-31 04:58:49 +01:00
Christomatt 2a9c91d623 feat: Add GitHub Container Registry (GHCR) support with automated builds
- Add GitHub Actions workflow to build and push Docker images to GHCR
- Create root-level docker-compose.yml using pre-built ghcr.io/cyph3rasi/synapsis:latest image
- Update docker/README.md with new simplified installation instructions
- Update main README.md with quick start Docker instructions
- Users can now deploy without cloning: just download compose file + Caddyfile + .env
- Supports automatic tagging: latest, semver, sha, branch names
- Multi-platform builds: linux/amd64, linux/arm64
- Includes SBOM generation for security tracking
2026-01-31 04:11:14 +01:00