Skip to content

Match the self-hosting compose to hosted shards and move the guide to the docs - #317

Merged
max-tet merged 4 commits into
mainfrom
selfhost-docs
Nov 19, 2026
Merged

max-tet merged 4 commits into
mainfrom
selfhost-docs

Conversation

@ClaydeCode

@ClaydeCode ClaydeCode commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Closes #134, closes #197, closes #300.

What changes

docker-compose.yml now matches what hosted shards run (core v41), apart from what only makes sense there:

before now (= hosted v41)
Traefik v3.6 v2.11.50. Hosted shards stay on v2.11 (CONCEPTS.md, Rejected alternatives); under v3 the dashboard HostRegexp changes meaning
web interface web-terminal 0.37.4 at the root, Sundial 0.1.0 behind a flag Sundial 0.2.0 only; the web-terminal container is gone
stop grace shard_core 30s, postgres none 120s / 30s
shard_core mounts /sys/fs/cgroup and /proc/pressure, read by the resource metrics and the pause tier
postgres_data named volume declared, unused removed

Deliberately different from hosted:

  • no Azure credentials (commented placeholders, plus the LEGO_AZURE_BYPASS_DEPRECATION the azure provider needs on v2.11.50)
  • no telemetry
  • no image pruning (core default off; hosted turns it on, and it runs docker image prune -fa host-wide)
  • FREESHARD_EMAIL__ENABLED=false, fixed, since mail goes through the controller (Self-hosters cannot switch mail off: the self-hosting compose does not map email.enabled #300)
  • every rollout flag on: Sundial, the OIDC provider and the pause tier (FREESHARD_SUNDIAL__ENABLED, FREESHARD_OIDC__ENABLED, FREESHARD_APPS__LIFECYCLE__PAUSE_ENABLED), fixed, not configurable

.env.template: realistic FREESHARD_DIR example, comments that say what each value is for. Only the four required variables.

README.md: the hosting section is replaced by a link to the complete guide at docs.freeshard.net/self_hosting/ (FreeshardBase/documentation#23). Its content moved there, updated: docker compose instead of docker-compose, pairing command without -it, download commands, prerequisites, configuration table, updating and uninstalling (#134, #197).

agents.md, CONCEPTS.md: Traefik v2.11 instead of v3; the email switch is set in the compose.

Not in this PR

Checks

  • docker compose config passes with the template .env.
  • Staged before the review commits b27c6fa and ec12152 (Sundial only, all rollout flags on), which were not re-staged; docker compose config passes on it.
  • Staged with the PR's own compose and snapshot image (317-merge, local mode with DISABLE_SSL=true), 2026-11-19:

Merge order

documentation#23 first or together: the README links the new docs page.

🤖 Generated with Claude Code

ClaydeCode and others added 2 commits November 19, 2026 08:21
The repository's compose had drifted from what hosted shards run (core v41): Traefik v3.6 instead of v2.11.50, older web-terminal and Sundial pins, shorter stop grace periods, no cgroup and PSI mounts (resource metrics and the pause tier read them), image pruning off, and a dead postgres_data volume.

It now matches v41 except for what is hosted-only: no Azure credentials (left as commented placeholders, with the lego bypass the azure provider needs), no telemetry. Two settings become .env variables: EMAIL_ENABLED, default false, because a self-hosted shard cannot send mail (#300), and PRUNE_IMAGES, default true as on hosted shards, because pruning is host-wide and a shared host may want it off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README's hosting section was the only install guide and had gone stale (#134, #197). The complete guide now lives on the documentation site; the README links there. agents.md and CONCEPTS.md now name Traefik v2.11, which the compose pins, and the email switch the compose maps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ClaydeCode added a commit to FreeshardBase/documentation that referenced this pull request Nov 19, 2026
The README now only links here (FreeshardBase/freeshard#317), so the page carries the full instructions: getting the files, a local test, a server deployment, certificates, a configuration table, the owner's email address, what still comes from Freeshard, backups, updating and uninstalling. Commands and variables match the compose file of that PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread docker-compose.yml Resolved
ClaydeCode and others added 2 commits November 19, 2026 11:28
…mpose

Pruning stays off (core default), mail is fixed off since it needs the
controller, Sundial is the only web interface, and the pause and OIDC
rollout flags fall back to the core defaults.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Self-hosted shards get Sundial, the OIDC provider and the pause tier
without opting in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@max-tet
max-tet merged commit 3a1425d into main Nov 19, 2026
7 checks passed
@max-tet
max-tet deleted the selfhost-docs branch November 19, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants