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
2025-10-25 15:05:36 +05:30
parent e89dd5e116
commit da6610fa65
2 changed files with 10 additions and 6 deletions

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
```

View File

@@ -91,7 +91,7 @@ function main() {
console.log(`🎉 Release v${newVersion} complete!`);
console.log(`📦 Docker image: bentopdf/bentopdf:${newVersion}`);
console.log(
`🏷️ GitHub release: https://github.com/AltuisticIsopod/bentopdf/releases/tag/${tagName}`
`🏷️ GitHub release: https://github.com/alam00000/bentopdf/releases/tag/${tagName}`
);
}