feat: add Docker deployment for third-party infrastructure#150
Open
Rau1CS wants to merge 1 commit intoConway-Research:mainfrom
Open
feat: add Docker deployment for third-party infrastructure#150Rau1CS wants to merge 1 commit intoConway-Research:mainfrom
Rau1CS wants to merge 1 commit intoConway-Research:mainfrom
Conversation
Add Dockerfile, docker-compose.yml, and .dockerignore to enable running the automaton on any server or cloud provider with Docker. - Multi-stage build: build with pnpm + native deps, slim runtime - Non-root user with pre-created .automaton dir for volume permissions - Persistent named volume for wallet, database, config, and skills - TTY support for interactive setup wizard on first run - Graceful shutdown via SIGTERM - Add .claude/ to .gitignore Co-Authored-By: Claude Opus 4.6 <[email protected]>
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.
Summary
Dockerfilewith multi-stage build (pnpm + native deps for better-sqlite3, slim runtime with git)docker-compose.ymlwith persistent named volume for~/.automaton/, TTY for interactive setup wizard, andrestart: unless-stopped.dockerignoreto exclude build artifacts, secrets, and.git/README.md.claude/to.gitignoreautomatonuser with pre-created.automatondirectory for correct volume permissionsindex.tsEnables running the automaton on any VPS or cloud provider (Hetzner, DigitalOcean, Railway, Fly.io, etc.) with three commands:
git clone https://github.com/Conway-Research/automaton.git cd automaton docker compose up -dImage size: 144MB content / 666MB total.
Test plan
docker compose build)--versionand--helpwork inside container.automatondirectory has correct ownership (automaton:automaton)🤖 Generated with Claude Code