Commit Graph

4 Commits

Author SHA1 Message Date
HashWarlock
3c4f74a337 chore: update docker-compose and entrypoint script for directory structure changes
- Changed CLAWDBOT_STATE_DIR and CLAWDBOT_WORKSPACE_DIR paths from /data to /home/node for improved organization.
- Updated GATEWAY_BIND default value from loopback to lan for broader accessibility.
- Adjusted volume mappings in docker-compose for consistency with new directory structure.
- Modified entrypoint script to reflect updated directory paths and ensure proper setup.
2026-01-26 22:26:08 -06:00
HashWarlock
acf7491094 chore: update docker-compose and entrypoint script for improved configuration
- Updated web UI access URL format in docker-compose file.
- Added GATEWAY_BIND environment variable for flexible gateway binding.
- Modified entrypoint script to use GATEWAY_BIND variable and ensure proper directory setup and permissions.
- Changed user context for executing the entrypoint script for Phala CVM deployment.
2026-01-26 21:09:28 -06:00
HashWarlock
018328b59d fix(docker): clean orphaned session locks on gateway restart
Gateway SIGUSR1 restart keeps PID=1 alive but clears in-memory lock state,
leaving .lock files that appear valid but are orphaned. This causes session
file lock timeouts when new agent sessions try to acquire the same locks.

Solution: On container start, clean all session lock files since they're
guaranteed orphaned (new process state). Lock files are safe to remove on
startup because the gateway hasn't started any agent sessions yet.

Fixes session lock timeout errors after gateway restarts in Docker.
2026-01-26 19:36:41 -06:00
HashWarlock
b02fb9364d feat(docker): add Phala Cloud CVM deployment support
- Add docker-compose.phala.yml for Phala Cloud deployment

- Add docker-entrypoint-phala.sh for auto-configuration

- Auto-configure Redpill provider on first boot

- Auto-configure Telegram/Discord channels from env vars

- Support gateway auth (token/password) modes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 18:15:04 -06:00