Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.57 KB

File metadata and controls

57 lines (42 loc) · 1.57 KB

Docker Deployment

Tide Commander includes a multi-stage Dockerfile for containerized deployment.

Building the Image

docker build -t tide-commander .

Running

docker run -p 5174:5174 \
  -v ~/.local/share/tide-commander:/root/.local/share/tide-commander \
  tide-commander

With Authentication

docker run -p 5174:5174 \
  -e AUTH_TOKEN=your-secret-token \
  -v ~/.local/share/tide-commander:/root/.local/share/tide-commander \
  tide-commander

Listen on All Interfaces

docker run -p 5174:5174 \
  -e LISTEN_ALL_INTERFACES=1 \
  -v ~/.local/share/tide-commander:/root/.local/share/tide-commander \
  tide-commander

Important Notes

  • The container needs claude CLI accessible inside for agent processes to work. You may need to mount the Claude binary and its dependencies, or install it in the image.
  • Custom 3D models are stored in ~/.tide-commander/custom-models/ - mount this volume if you use custom models.
  • The production build serves the frontend from the same port (5174) as the API.

Environment Variables

Variable Default Description
PORT 5174 Server port
NODE_ENV production Set by the Dockerfile
LISTEN_ALL_INTERFACES (unset) Set to 1 to listen on 0.0.0.0
AUTH_TOKEN (unset) Token for authentication

Volumes

Path Purpose
/root/.local/share/tide-commander Agent state, buildings, skills, snapshots, secrets
/root/.tide-commander/custom-models Custom 3D model files (if used)