docs: add docker compose quickstart
This commit is contained in:
12
README.md
12
README.md
@@ -236,7 +236,17 @@ The application automatically selects the appropriate database strategy:
|
||||
|
||||
## 🐳 Docker Development
|
||||
|
||||
### **Build and Run**
|
||||
### **Docker Compose Quickstart**
|
||||
|
||||
```bash
|
||||
docker compose up --build
|
||||
```
|
||||
|
||||
- Serves the production build at [http://localhost:8080](http://localhost:8080)
|
||||
- Spins up CouchDB at [http://localhost:5984](http://localhost:5984) using credentials from `.env`
|
||||
- Applies CORS settings from `couchdb-config/cors.ini` (update the allowed `origins` for custom domains)
|
||||
|
||||
### **Manual Build and Run**
|
||||
|
||||
```bash
|
||||
# Build Docker image
|
||||
|
||||
Reference in New Issue
Block a user