mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-06 12:12:16 +00:00
feat: add roundcube template
This commit is contained in:
@@ -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
|
||||
@@ -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 };
|
||||
}
|
||||
@@ -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),
|
||||
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user