initialize project
Docker setup for the server, postgres and redis
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# thePlug - plugger/proxy Barese
|
||||
|
||||
icona di una presa della spina idk
|
||||
|
||||
## Architettura
|
||||
|
||||
```
|
||||
FastAPI + PostgreSQL + Redis
|
||||
```
|
||||
|
||||
## Docker
|
||||
|
||||
1. Copy env template and customize values.
|
||||
2. Build and start all services.
|
||||
3. Open the API docs.
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
docker compose up --build -d
|
||||
curl http://localhost:8000/
|
||||
```
|
||||
|
||||
FastAPI docs: `http://localhost:8000/docs`
|
||||
Reference in New Issue
Block a user