https://github.com/simongino/file-share
A self-learning document management program
https://github.com/simongino/file-share
fastapi file-manager file-server python
Last synced: over 1 year ago
JSON representation
A self-learning document management program
- Host: GitHub
- URL: https://github.com/simongino/file-share
- Owner: SimonGino
- Created: 2024-06-05T05:37:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-09T08:39:53.000Z (almost 2 years ago)
- Last Synced: 2025-02-02T14:15:03.783Z (over 1 year ago)
- Topics: fastapi, file-manager, file-server, python
- Language: Python
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 文件服务器
本项目作为学习FastApi框架学习项目。
## requirements.txt
```sh
pip install pipreqs
```
```shell
pipreqs . --force
```
## Docker镜像打包和运行
```sh
docker-compose up --build
```
```sh
docker-compose up --d
```
## .env环境
| Key | Value | description |
| ---------- | --------- | ------------ |
| redis_host | localhost | 主机 |
| redis_port | 6379 | 端口 |
| redis_db | 0 | 数据库的编号 |