No description
![]()
Some checks are pending
Build and Push Docker Image to GHCR / build-and-push (push) Waiting to run
|
||
---|---|---|
.devcontainer | ||
.github/workflows | ||
static | ||
templates | ||
.dockerignore | ||
.gitignore | ||
app.py | ||
cache.py | ||
cors.py | ||
Dockerfile | ||
filters.py | ||
ip.py | ||
limit.py | ||
README.md | ||
requirements.txt | ||
serve.py | ||
user_agent.txt |
LiteY
軽量な掲示板です
デバッグの開始
依存関係をインストールします
pip install -r requirements.txt
データベースを起動します
docker run --detach \
--name litey-mongo-debug \
--volume litey-mongo-debug:/data/db \
--publish 3001:27017 \
mongo
docker run --detach \
--name litey-redis-debug \
--volume litey-redis-debug:/data/db \
--publish 3002:6379 \
redis
サーバーを起動します
MONGO_URI=mongodb://127.0.0.1:3001/ REDIS_URI=redis://127.0.0.1:3002/ fastapi dev --host 0.0.0.0 --port 3000
デプロイ
今すぐデプロイ!