Merge branch 'canary' into feat/cloud

This commit is contained in:
Mauricio Siu
2024-10-03 13:39:06 -06:00
41 changed files with 901 additions and 506 deletions
@@ -0,0 +1,17 @@
services:
roundcubemail:
image: roundcube/roundcubemail:1.6.9-apache
volumes:
- ./www:/var/www/html
- ./db/sqlite:/var/roundcube/db
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
+24
View File
@@ -0,0 +1,24 @@
import {
type DomainSchema,
type Schema,
type Template,
generateRandomDomain,
} from "../utils";
export function generate(schema: Schema): Template {
const randomDomain = generateRandomDomain(schema);
const envs = [
"DEFAULT_HOST=tls://mail.example.com",
"SMTP_SERVER=tls://mail.example.com",
];
const domains: DomainSchema[] = [
{
host: randomDomain,
port: 80,
serviceName: "roundcubemail",
},
];
return { envs, domains };
}
+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: "https://github.com/roundcube/roundcubemail",
website: "https://roundcube.net/",
docs: "https://roundcube.net/about/",
},
tags: ["self-hosted", "email", "webmail"],
load: () => import("./roundcube/index").then((m) => m.generate),
},
];