docs: update GitHub repo URL and improve security docs formatting

Update the GitHub repository URL in release.js to point to the correct organization.
Improve formatting in SECURITY.md by adding newlines before code blocks and fixing YAML indentation for better readability.
Implement non root user for running BentoPDF
This commit is contained in:
abdullahalam123 committed 2025-10-25 15:05:36 +05:30
1 parent e89dd5e116
commit da6610fa65
2 files changed
+10 -6

No files matched your search

+9 -5
View File
@@ -14,12 +14,14 @@ BentoPDF now uses nginx-unprivileged for enhanced security. This follows the Pri
### Usage
#### Default Configuration (nginx-unprivileged)
```bash
docker build -t bentopdf .
docker run -p 8080:8080 bentopdf
```
#### Simple Mode
```bash
# Build with simple mode enabled
docker build --build-arg SIMPLE_MODE=true -t bentopdf-simple .
@@ -29,6 +31,7 @@ docker run -p 8080:8080 bentopdf-simple
```
#### Kubernetes Example
```yaml
apiVersion: apps/v1
kind: Deployment
@@ -42,13 +45,14 @@ spec:
runAsUser: 2000
runAsGroup: 2000
containers:
- name: bentopdf
image: bentopdf:latest
ports:
- containerPort: 8080
- name: bentopdf
image: bentopdf:latest
ports:
- containerPort: 8080
```
#### Docker Compose Example
```yaml
version: '3.8'
services:
@@ -59,7 +63,7 @@ services:
args:
SIMPLE_MODE: false
ports:
- "8080:8080"
- '8080:8080'
security_opt:
- no-new-privileges:true
```