init commit

This commit is contained in:
2025-08-12 21:02:23 +09:00
parent a64b348631
commit 29aca4e7e9
37 changed files with 1318 additions and 176 deletions

29
Makefile Normal file
View File

@@ -0,0 +1,29 @@
SHELL := /bin/bash
.PHONY: up down logs build stop restart botsh dbsh migrate
up:
docker compose up -d
down:
docker compose down
build:
docker compose build --pull
logs:
docker compose logs -f --tail=200
stop:
docker compose stop
restart: down up
botsh:
docker compose exec bot bash || true
dbsh:
docker compose exec db bash || true
migrate:
docker compose run --rm bot alembic upgrade head