返回 Skill 列表
extension
分类: 开发与工程无需 API Key

docker-compose-dev

使用Docker Compose在本地运行mjr.wtf(SQLite),包括迁移、日志和拆除。

person作者: jakexiaohubgithub

Quick start (SQLite via compose)

  1. Create env file:
cp .env.example .env
# set AUTH_TOKENS (preferred) or AUTH_TOKEN
  1. Create the persistent data directory:
mkdir -p data
  1. Start services (Docker Compose runs migrations automatically on startup via docker-entrypoint.sh):
make docker-compose-up
  1. Verify health:
curl http://localhost:8080/health
curl http://localhost:8080/ready

Useful ops

make docker-compose-logs
make docker-compose-ps
make docker-compose-down