- Run
cp .env.example .env - Fill in all variables in the
.envfile if needed - Run
docker compose -f compose-dev.yml up - Run
docker exec -it blog_api_dev uv run alembic upgrade headto apply all migrations - Go to
http://localhost:8001/docs
- Run
cp .env.example .env - Fill in all variables in the
.envfile with production ones - Run
docker compose -f compose.yml up -d - Run
docker exec -it blog_api_dev uv run alembic upgrade headto apply all migrations - Go to
http://localhost:8001/docs