mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2025-08-14 19:04:00 +08:00

* feat: add postgresql db supports * change: change mysql conn str create way * fix: Modify the default alembic migration file to meet multi-database support * Update settings and lint * update models * Simplify database config * Simplify the get db method * Update create db url * Updated model type adaptation * Update sql scripts * Fix models type * Adaptation to postgresql code generation * Update README.md * Fix alembic file template * Update docker scripts
5 lines
96 B
Docker
5 lines
96 B
Docker
# Docker
|
|
DOCKER_MYSQL_MAP_PORT=13306
|
|
DOCKER_POSTGRES_MAP_PORT=15432
|
|
DOCKER_REDIS_MAP_PORT=16379
|