DB, Collections, Search

This commit is contained in:
Stefan Hardegger
2025-11-21 07:53:37 +01:00
parent c8eb6237c4
commit 8a03edbb88
67 changed files with 17703 additions and 103 deletions

35
docker/ssl/README.md Normal file
View File

@@ -0,0 +1,35 @@
# SSL Certificates
This directory should contain SSL certificates for HTTPS.
## Development
For local development, you can generate self-signed certificates:
```bash
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
-keyout key.pem -out cert.pem \
-subj "/C=US/ST=State/L=City/O=Organization/CN=localhost"
```
## Production
For production, use certificates from a trusted Certificate Authority like:
- Let's Encrypt (recommended, free)
- Your domain provider
- Commercial CA
### Let's Encrypt with Certbot
```bash
sudo certbot certonly --standalone -d yourdomain.com
sudo cp /etc/letsencrypt/live/yourdomain.com/fullchain.pem ./cert.pem
sudo cp /etc/letsencrypt/live/yourdomain.com/privkey.pem ./key.pem
```
## Required Files
- `cert.pem` - SSL certificate
- `key.pem` - Private key
**Important:** Never commit real SSL certificates to version control!