mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Merge pull request #925 from mohabgabber/canary
Added onedev docker compose
This commit is contained in:
commit
3830f6c4ee
BIN
apps/dokploy/public/templates/onedev.png
Normal file
BIN
apps/dokploy/public/templates/onedev.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
12
apps/dokploy/templates/onedev/docker-compose.yml
Normal file
12
apps/dokploy/templates/onedev/docker-compose.yml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
services:
|
||||
onedev:
|
||||
image: 1dev/server:11.6.6
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
- "onedev-data:/opt/onedev"
|
||||
|
||||
volumes:
|
||||
onedev-data:
|
22
apps/dokploy/templates/onedev/index.ts
Normal file
22
apps/dokploy/templates/onedev/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 randomDomain = generateRandomDomain(schema);
|
||||
|
||||
const domains: DomainSchema[] = [
|
||||
{
|
||||
host: randomDomain,
|
||||
port: 6610,
|
||||
serviceName: "onedev",
|
||||
},
|
||||
];
|
||||
|
||||
return {
|
||||
domains,
|
||||
};
|
||||
}
|
@ -1136,4 +1136,19 @@ export const templates: TemplateData[] = [
|
||||
tags: ["search", "analytics"],
|
||||
load: () => import("./elastic-search/index").then((m) => m.generate),
|
||||
},
|
||||
{
|
||||
id: "onedev",
|
||||
name: "OneDev",
|
||||
version: "11.6.6",
|
||||
description:
|
||||
"Git server with CI/CD, kanban, and packages. Seamless integration. Unparalleled experience.",
|
||||
logo: "onedev.png",
|
||||
links: {
|
||||
github: "https://github.com/theonedev/onedev/",
|
||||
website: "https://onedev.io/",
|
||||
docs: "https://docs.onedev.io/",
|
||||
},
|
||||
tags: ["self-hosted", "development"],
|
||||
load: () => import("./onedev/index").then((m) => m.generate),
|
||||
},
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user