Commit Graph

30 Commits

Author SHA1 Message Date
cyph3rasi 35a495fc10 Slim Docker runtime image 2026-03-07 23:16:30 -08:00
cyph3rasi a3a5b83f04 Smooth admin-triggered updates 2026-03-07 22:29:49 -08:00
cyph3rasi 1b0b3d8d52 Fix federation flows and add versioned updater 2026-03-07 21:55:55 -08:00
cyph3rasi 588307d21e Support www redirects in Docker install 2026-03-07 20:11:40 -08:00
cyph3rasi 7422e01a22 Auto-select proxyless localhost port 2026-03-07 17:48:14 -08:00
cyph3rasi 7faf536311 Use PORT as proxyless host port 2026-03-07 17:46:03 -08:00
cyph3rasi bc4bce950a Clarify proxyless installer port output 2026-03-07 17:40:54 -08:00
cyph3rasi cfc9718f0f Add proxyless install mode for existing reverse proxies 2026-03-07 17:36:41 -08:00
cyph3rasi 409d32127d Fix uninstall confirmation prompt 2026-03-07 17:17:26 -08:00
cyph3rasi 0a54a3229a Add Docker uninstall script 2026-03-07 17:16:25 -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 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 7bbf3df194 chore: trigger fresh docker build 2026-02-01 04:35:25 +01:00
Christomatt 70c3eaf192 docs: remove image uploads section from install docs 2026-02-01 04:03:12 +01:00
Christomatt 5f97d11f1a docs: remove S3 from install flow, add as optional section 2026-02-01 03:56:29 +01:00
Christomatt e8d4e5673c docs: S3 storage is optional, not required 2026-02-01 03:44:09 +01:00
Christomatt 9b22b2a944 docs: remove AI-assisted setup wizard mentions 2026-02-01 03:24:43 +01:00
Christomatt e75cbf3724 Move ALL dependencies to production deps, remove devDependencies entirely 2026-01-31 07:42:26 +01:00
Christomatt 15a837ac82 Fix Docker: copy node_modules to runner stage for migrations 2026-01-31 07:41:21 +01:00
Christomatt 7228edb995 Fix Docker: move drizzle-kit to dependencies, fix healthcheck IPv6 issue 2026-01-31 07:21:51 +01:00
Christomatt 99da98f811 Fix: install drizzle-kit locally (not just globally) 2026-01-31 06:58:51 +01:00
Christomatt 82f8d77abe Fix migrations - include schema.ts and use npm run db:push 2026-01-31 06:52:05 +01:00
Christomatt c512ecea80 Fix Docker migrations - install pg driver and improve entrypoint 2026-01-31 06:27:36 +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 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
Christomatt df5b61f42a Add Docker deployment setup with health check endpoint
- Add multi-stage Dockerfile with standalone Next.js output
- Add docker-compose.yml with Caddy reverse proxy
- Add nginx configs for local and SSL setups
- Add Caddyfile for automatic HTTPS
- Add docker-entrypoint.sh for runtime config
- Add .env.example and .dockerignore
- Add comprehensive Docker README
- Add /api/health endpoint for container health checks
- Configure next.config.ts for standalone output
2026-01-31 03:53:19 +01:00