feat: add roundcube template

This commit is contained in:
seppulcro
2024-09-17 19:57:54 +01:00
committed by seppulcro
parent 66a4e86209
commit 869e58739f
4 changed files with 61 additions and 0 deletions
@@ -0,0 +1,20 @@
version: '2'
services:
roundcubemail:
image: roundcube/roundcubemail:latest
container_name: roundcubemail
volumes:
- ./www:/var/www/html
- ./db/sqlite:/var/roundcube/db
ports:
- '9002:80'
environment:
- ROUNDCUBEMAIL_DB_TYPE=sqlite
- ROUNDCUBEMAIL_SKIN=elastic
- ROUNDCUBEMAIL_DEFAULT_HOST=${DEFAULT_HOST}
- ROUNDCUBEMAIL_SMTP_SERVER=${SMTP_SERVER}
networks:
- dokploy-network
networks:
dokploy-network:
external: true
+11
View File
@@ -0,0 +1,11 @@
import type { Schema, Template } from "../utils";
export function generate(schema: Schema): Template {
const envs = [
"DEFAULT_HOST=tls://mail.example.com",
"SMTP_SERVER=tls://mail.example.com",
];
return { envs };
}
+15
View File
@@ -497,4 +497,19 @@ export const templates: TemplateData[] = [
tags: ["self-hosted", "storage"],
load: () => import("./gitea/index").then((m) => m.generate),
},
{
id: "roundcube",
name: "Roundcube",
version: "1.6.9",
description:"Free and open source webmail software for the masses, written in PHP.",
logo:"roundcube.svg",
links:{
github:"",
website:"",
docs:"",
},
tags:["self-hosted","mail","webmail"],
load: () => import("./roundcube/index").then((m) => m.generate),
}
];