mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-07 20:45:17 +00:00
Merge branch 'canary' into canary
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
version: '3.3'
|
||||
services:
|
||||
alist:
|
||||
image: xhofe/alist:v3.41.0
|
||||
volumes:
|
||||
- alist-data:/opt/alist/data
|
||||
environment:
|
||||
- PUID=0
|
||||
- PGID=0
|
||||
- UMASK=022
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
alist-data:
|
||||
@@ -0,0 +1,22 @@
|
||||
import {
|
||||
type DomainSchema,
|
||||
type Schema,
|
||||
type Template,
|
||||
generateRandomDomain,
|
||||
} from "../utils";
|
||||
|
||||
export function generate(schema: Schema): Template {
|
||||
const mainDomain = generateRandomDomain(schema);
|
||||
|
||||
const domains: DomainSchema[] = [
|
||||
{
|
||||
host: mainDomain,
|
||||
port: 5244,
|
||||
serviceName: "alist",
|
||||
},
|
||||
];
|
||||
|
||||
return {
|
||||
domains,
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
services:
|
||||
server:
|
||||
image: ghcr.io/spacedriveapp/spacedrive/server:latest
|
||||
ports:
|
||||
- 8080
|
||||
environment:
|
||||
- SD_AUTH=${SD_USERNAME}:${SD_PASSWORD}
|
||||
volumes:
|
||||
- /var/spacedrive:/var/spacedrive
|
||||
@@ -0,0 +1,31 @@
|
||||
import {
|
||||
type DomainSchema,
|
||||
type Schema,
|
||||
type Template,
|
||||
generateRandomDomain,
|
||||
generatePassword,
|
||||
} from "../utils";
|
||||
|
||||
export function generate(schema: Schema): Template {
|
||||
const randomDomain = generateRandomDomain(schema);
|
||||
const secretKey = generatePassword();
|
||||
const randomUsername = "admin"; // Default username
|
||||
|
||||
const domains: DomainSchema[] = [
|
||||
{
|
||||
host: randomDomain,
|
||||
port: 8080,
|
||||
serviceName: "server",
|
||||
},
|
||||
];
|
||||
|
||||
const envs = [
|
||||
`SD_USERNAME=${randomUsername}`,
|
||||
`SD_PASSWORD=${secretKey}`,
|
||||
];
|
||||
|
||||
return {
|
||||
envs,
|
||||
domains,
|
||||
};
|
||||
}
|
||||
@@ -538,7 +538,7 @@ export const templates: TemplateData[] = [
|
||||
website: "https://filebrowser.org/",
|
||||
docs: "https://filebrowser.org/",
|
||||
},
|
||||
tags: ["file", "manager"],
|
||||
tags: ["file-manager","storage"],
|
||||
load: () => import("./filebrowser/index").then((m) => m.generate),
|
||||
},
|
||||
{
|
||||
@@ -834,7 +834,7 @@ export const templates: TemplateData[] = [
|
||||
website: "https://nextcloud.com/",
|
||||
docs: "https://docs.nextcloud.com/",
|
||||
},
|
||||
tags: ["file", "sync"],
|
||||
tags: ["file-manager", "sync"],
|
||||
load: () => import("./nextcloud-aio/index").then((m) => m.generate),
|
||||
},
|
||||
{
|
||||
@@ -1355,5 +1355,34 @@ export const templates: TemplateData[] = [
|
||||
},
|
||||
tags: ["finance", "self-hosted"],
|
||||
load: () => import("./maybe/index").then((m) => m.generate),
|
||||
},
|
||||
{
|
||||
id: "spacedrive",
|
||||
name: "Spacedrive",
|
||||
version: "latest",
|
||||
description:
|
||||
"Spacedrive is a cross-platform file manager. It connects your devices together to help you organize files from anywhere. powered by a virtual distributed filesystem (VDFS) written in Rust. Organize files across many devices in one place.",
|
||||
links: {
|
||||
github: "https://github.com/spacedriveapp/spacedrive",
|
||||
website: "https://spacedrive.com/",
|
||||
docs: "https://www.spacedrive.com/docs/product/getting-started/introduction",
|
||||
},
|
||||
logo: "spacedrive.png",
|
||||
tags: ["file-manager", "vdfs", "storage"],
|
||||
},
|
||||
{
|
||||
id: "alist",
|
||||
name: "AList",
|
||||
version: "v3.41.0",
|
||||
description:
|
||||
"🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs.",
|
||||
logo: "alist.svg",
|
||||
links: {
|
||||
github: "https://github.com/AlistGo/alist",
|
||||
website: "https://alist.nn.ci",
|
||||
docs: "https://alist.nn.ci/guide/install/docker.html",
|
||||
},
|
||||
tags: ["file", "webdav", "storage"],
|
||||
load: () => import("./alist/index").then((m) => m.generate),
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user