diff --git a/apps/dokploy/public/templates/linkstack.svg b/apps/dokploy/public/templates/linkstack.svg deleted file mode 100644 index 775632d2..00000000 --- a/apps/dokploy/public/templates/linkstack.svg +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/apps/dokploy/templates/linkstack/docker-compose.yml b/apps/dokploy/templates/linkstack/docker-compose.yml deleted file mode 100644 index 2f54bf74..00000000 --- a/apps/dokploy/templates/linkstack/docker-compose.yml +++ /dev/null @@ -1,49 +0,0 @@ -version: "3.8" - -services: - linkstack: - image: linkstackorg/linkstack:latest - networks: - - dokploy-network - volumes: - - linkstack_data:/htdocs - environment: - - TZ=UTC - - SERVER_ADMIN=${LINKSTACK_SERVER_ADMIN} - - LOG_LEVEL=info - - PHP_MEMORY_LIMIT=256M - - UPLOAD_MAX_FILESIZE=8M - - DB_CONNECTION=mysql - - DB_HOST=mysql - - DB_PORT=3306 - - DB_DATABASE=${MYSQL_DATABASE} - - DB_USERNAME=${MYSQL_USER} - - DB_PASSWORD=${MYSQL_PASSWORD} - - FORCE_HTTPS=true - - APP_URL=https://${LINKSTACK_HOST} - depends_on: - mysql: - condition: service_healthy - restart: unless-stopped - - mysql: - image: mysql:8 - networks: - - dokploy-network - volumes: - - mysql_data:/var/lib/mysql - environment: - - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} - - MYSQL_DATABASE=${MYSQL_DATABASE} - - MYSQL_USER=${MYSQL_USER} - - MYSQL_PASSWORD=${MYSQL_PASSWORD} - healthcheck: - test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u${MYSQL_USER}", "-p${MYSQL_PASSWORD}"] - interval: 10s - timeout: 5s - retries: 5 - restart: unless-stopped - -volumes: - linkstack_data: - mysql_data: \ No newline at end of file diff --git a/apps/dokploy/templates/linkstack/index.ts b/apps/dokploy/templates/linkstack/index.ts deleted file mode 100644 index af0858d6..00000000 --- a/apps/dokploy/templates/linkstack/index.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { - type DomainSchema, - type Schema, - type Template, - generatePassword, - generateRandomDomain, -} from "../utils"; - -export function generate(schema: Schema): Template { - const mainDomain = generateRandomDomain(schema); - const mysqlRootPassword = generatePassword(); - const mysqlPassword = generatePassword(); - const mysqlUser = "linkstack"; - const mysqlDatabase = "linkstack"; - - const domains: DomainSchema[] = [ - { - host: mainDomain, - port: 443, - serviceName: "linkstack", - }, - ]; - - const envs = [ - `LINKSTACK_HOST=${mainDomain}`, - `LINKSTACK_SERVER_ADMIN=admin@example.com`, - `MYSQL_ROOT_PASSWORD=${mysqlRootPassword}`, - `MYSQL_DATABASE=${mysqlDatabase}`, - `MYSQL_USER=${mysqlUser}`, - `MYSQL_PASSWORD=${mysqlPassword}`, - ]; - - return { - domains, - envs, - }; -} \ No newline at end of file diff --git a/apps/dokploy/templates/templates.ts b/apps/dokploy/templates/templates.ts index d3ba44e8..e0711b75 100644 --- a/apps/dokploy/templates/templates.ts +++ b/apps/dokploy/templates/templates.ts @@ -786,20 +786,6 @@ export const templates: TemplateData[] = [ tags: ["bookmarks", "link-shortener", "self-hosted"], load: () => import("./slash/index").then((m) => m.generate), }, - { - id: "linkstack", - name: "LinkStack", - version: "latest", - description: "LinkStack is a highly customizable link sharing platform with an intuitive, easy to use user interface.", - logo: "linkstack.svg", - links: { - github: "https://github.com/LinkStackOrg/LinkStack", - website: "https://linkstack.org/", - docs: "https://docs.linkstack.org/", - }, - tags: ["links", "sharing", "social"], - load: () => import("./linkstack/index").then((m) => m.generate), - }, { id: "chatwoot", name: "Chatwoot",