Inital commit

This commit is contained in:
CyberRex
2026-08-19 13:55:59 +09:00
commit d61554d8b9
735 changed files with 86553 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
Setup with Docker Compose :whale:
================================================================
The Compose environment builds Misskey with Node.js 22 and starts the app,
MongoDB 4.4, and Redis 7 as separate services.
From the repository root, run:
``` console
$ docker compose up --build
```
Open http://localhost:3000 after the `app` service becomes healthy.
MongoDB data is stored in the `mongodb-data` named volume.
Run the full test suite against the Compose databases with:
``` console
$ docker compose run --rm app npm test
```
To stop the services without deleting the database:
``` console
$ docker compose down
```
To also delete the local MongoDB data, explicitly remove the volume:
``` console
$ docker compose down --volumes
```
The supplied `docker/default.yml` is intended only for local verification.
Use your own `.config/default.yml` and secrets for a real deployment.