mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
feat: Add numerous new blueprint templates for various applications
This commit is contained in:
22
blueprints/stirling/docker-compose.yml
Normal file
22
blueprints/stirling/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
stirling-pdf:
|
||||
image: frooodle/s-pdf:latest
|
||||
ports:
|
||||
- 8080
|
||||
volumes:
|
||||
- stirling_pdf_trainingdata:/usr/share/tessdata
|
||||
- stirling_pdf_extraconfigs:/configs
|
||||
- stirling_pdf_customfiles:/customFiles/
|
||||
- stirling_pdf_logs:/logs/
|
||||
- stirling_pdf_pipeline:/pipeline/
|
||||
environment:
|
||||
- DOCKER_ENABLE_SECURITY=false
|
||||
- INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false
|
||||
- LANGS=en_GB
|
||||
|
||||
volumes:
|
||||
stirling_pdf_trainingdata:
|
||||
stirling_pdf_extraconfigs:
|
||||
stirling_pdf_customfiles:
|
||||
stirling_pdf_logs:
|
||||
stirling_pdf_pipeline:
|
||||
22
blueprints/stirling/index.ts
Normal file
22
blueprints/stirling/index.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import {
|
||||
type DomainSchema,
|
||||
type Schema,
|
||||
type Template,
|
||||
generateRandomDomain,
|
||||
} from "../utils";
|
||||
|
||||
export function generate(schema: Schema): Template {
|
||||
const mainDomain = generateRandomDomain(schema);
|
||||
|
||||
const domains: DomainSchema[] = [
|
||||
{
|
||||
host: mainDomain,
|
||||
port: 8080,
|
||||
serviceName: "stirling-pdf",
|
||||
},
|
||||
];
|
||||
|
||||
return {
|
||||
domains,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user