You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This compose file already uses the published GHCR image by default. `latest` is fine for trying the project quickly, but for production deployments you should pin `FOCUS_COMPASS_IMAGE` to a concrete release tag.
60
+
61
+
If you prefer not to use Compose, you can run the same image directly:
The server will be available at `ws://localhost:8080`.
@@ -173,6 +219,34 @@ Server outputs logs like:
173
219
2. **Add Redis** - For scaling to multiple instances.
174
220
3. **Configure Auth** - Protect access to documents.
175
221
4. **Backup** - Regularly backup the SQLite database.
222
+
5. **Pin Docker versions** - Use a fixed image tag (`:0.0.1`) for production instead of `:latest`.
223
+
224
+
Resource limits are intentionally not encoded in the default compose file, because support differs across runtimes and Compose implementations. Set CPU/memory limits in the platform that actually runs the container.
225
+
226
+
## Docker Publishing
227
+
228
+
This repository includes a GitHub Actions workflow at `.github/workflows/publish-docker.yml` that publishes images to GHCR.
229
+
230
+
Main branch pushes publish mutable development tags:
After the first publish, check the package visibility in GHCR. GitHub's container registry defaults new packages to private until you explicitly make them public.
0 commit comments