mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat: vaultwarden template
This commit is contained in:
@@ -218,7 +218,6 @@ export const templates: TemplateData[] = [
|
|||||||
version: "v1.5.6",
|
version: "v1.5.6",
|
||||||
description:
|
description:
|
||||||
"Documenso is the open source alternative to DocuSign for signing documents digitally",
|
"Documenso is the open source alternative to DocuSign for signing documents digitally",
|
||||||
|
|
||||||
links: {
|
links: {
|
||||||
github: "https://github.com/documenso/documenso",
|
github: "https://github.com/documenso/documenso",
|
||||||
website: "https://documenso.com/",
|
website: "https://documenso.com/",
|
||||||
@@ -593,7 +592,7 @@ export const templates: TemplateData[] = [
|
|||||||
version: "0.4.1",
|
version: "0.4.1",
|
||||||
description:
|
description:
|
||||||
"Docmost, an open-source collaborative wiki and documentation software.",
|
"Docmost, an open-source collaborative wiki and documentation software.",
|
||||||
logo: "",
|
logo: "docmost.png",
|
||||||
links: {
|
links: {
|
||||||
github: "https://github.com/docmost/docmost",
|
github: "https://github.com/docmost/docmost",
|
||||||
website: "https://docmost.com/",
|
website: "https://docmost.com/",
|
||||||
@@ -602,4 +601,19 @@ export const templates: TemplateData[] = [
|
|||||||
tags: ["self-hosted", "open-source", "manager"],
|
tags: ["self-hosted", "open-source", "manager"],
|
||||||
load: () => import("./docmost/index").then((m) => m.generate),
|
load: () => import("./docmost/index").then((m) => m.generate),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: "vaultwarden",
|
||||||
|
name: "Vaultwarden",
|
||||||
|
version: "1.32.3",
|
||||||
|
description:
|
||||||
|
"Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs",
|
||||||
|
logo: "vaultwarden.png",
|
||||||
|
links: {
|
||||||
|
github: "https://github.com/dani-garcia/vaultwarden",
|
||||||
|
website: "",
|
||||||
|
docs: "https://github.com/dani-garcia/vaultwarden/wiki",
|
||||||
|
},
|
||||||
|
tags: ["open-source"],
|
||||||
|
load: () => import("./vaultwarden/index").then((m) => m.generate),
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
14
apps/dokploy/templates/vaultwarden/docker-compose.yml
Normal file
14
apps/dokploy/templates/vaultwarden/docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
services:
|
||||||
|
vaultwarden:
|
||||||
|
image: vaultwarden/server:1.32.3
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
DOMAIN: ${DOMAIN}
|
||||||
|
SIGNUPS_ALLOWED: ${SIGNUPS_ALLOWED}
|
||||||
|
volumes:
|
||||||
|
- vaultwarden:/data
|
||||||
|
ports:
|
||||||
|
- 11001:80
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
vaultwarden:
|
||||||
28
apps/dokploy/templates/vaultwarden/index.ts
Normal file
28
apps/dokploy/templates/vaultwarden/index.ts
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
import {
|
||||||
|
type DomainSchema,
|
||||||
|
type Schema,
|
||||||
|
type Template,
|
||||||
|
generateRandomDomain,
|
||||||
|
} from "../utils";
|
||||||
|
|
||||||
|
export function generate(schema: Schema): Template {
|
||||||
|
const domains: DomainSchema[] = [
|
||||||
|
{
|
||||||
|
host: generateRandomDomain(schema),
|
||||||
|
port: 80,
|
||||||
|
serviceName: "vaultwarden",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
const envs = [
|
||||||
|
"# Deactivate this with 'false' after you have created your account so that no strangers can register",
|
||||||
|
"SIGNUPS_ALLOWED=true",
|
||||||
|
"# required when using a reverse proxy; your domain; vaultwarden needs to know it's https to work properly with attachments",
|
||||||
|
"DOMAIN=https://vaultwarden.example.com",
|
||||||
|
];
|
||||||
|
|
||||||
|
return {
|
||||||
|
domains,
|
||||||
|
envs,
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user