Repository navigation
v1.7.0: one-command install with Docker, setup scripts for Mac and Linux - #48
Merged
Merged
Conversation
- docker compose up -d runs the whole journal with no Python or Node on the machine. The database, its backups, uploads and the update-check cache live in the journal-data volume; both ports bind to 127.0.0.1; both containers run as non-root users; secrets and databases never enter an image. - setup.sh and launch.sh mirror setup.bat and launch.bat. Ctrl+C stops both servers and the dev server stays on 127.0.0.1. - The update notice shows Docker update steps inside the container. - CI builds the images, imports the sample statement and checks the data survives a restart. - README quick start rewritten around the two options. ChatGPT-reviewed (1 pass). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two ways to install, both one step:
docker compose up -d, then open http://localhost:3010. No Python or Node needed.setup.bat/launch.baton Windows (unchanged), and newsetup.sh/launch.shfor Mac and Linux.Docker details
/data, kept in thejournal-datavolume.git pull+docker compose up -d --buildnever touches it.docker-compose.yml, so aDATABASE_PATHleft inbackend/.envfrom a local install cannot move trades into the disposable container layer.127.0.0.1(the journal has no login). Backend runs as uid 10001, frontend onnginx-unprivileged..dockerignorekeeps.env,.env.*, databases, uploads andnode_modulesout of every image.backend/.envis optional (env_file required: false, Compose 2.24+).install: "docker"in/api/update).Tested
down+up, backup command copies database and uploads.backend/.env(DATABASE_PATH=/tmp/x.db) is ignored;backend/.env.localdoes not reach the image.setup.shandlaunch.shon clean Debian (Python 3.12, distro Node): setup runs twice safely, both servers answer, Ctrl+C on the process group stops both.Not tested: macOS itself (scripts avoid bash 4 features), Docker on Apple Silicon.
ChatGPT-reviewed (1 pass, 6 findings, all fixed).
🤖 Generated with Claude Code