An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
init of v4 ๐ฎ
Andras Bacsaiedd17194313a
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfiledeleted file mode 100644index 0505d67e3e..0000000000--- a/.devcontainer/Dockerfile+++ /dev/null@@ -1,16 +0,0 @@-# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.233.0/containers/javascript-node/.devcontainer/base.Dockerfile--# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster-ARG VARIANT="16-bullseye"-FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}--# [Optional] Uncomment this section to install additional OS packages.-# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \-# && apt-get -y install --no-install-recommends <your-package-list-here>--# [Optional] Uncomment if you want to install an additional version of node using nvm-# ARG EXTRA_NODE_VERSION=10-# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"--# [Optional] Uncomment if you want to install more global node modules-RUN su node -c "npm install -g pnpm"diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.jsondeleted file mode 100644index eda081b6c0..0000000000--- a/.devcontainer/devcontainer.json+++ /dev/null@@ -1,36 +0,0 @@-// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:-// https://github.com/microsoft/vscode-dev-containers/tree/v0.233.0/containers/javascript-node-{- "name": "Node.js",- "build": {- "dockerfile": "Dockerfile",- // Update 'VARIANT' to pick a Node version: 18, 16, 14.- // Append -bullseye or -buster to pin to an OS version.- // Use -bullseye variants on local arm64/Apple Silicon.- "args": {- "VARIANT": "18-bullseye"- }- },- // Set *default* container specific settings.json values on container create.- "settings": {},- // Add the IDs of extensions you want installed when the container is created.- "extensions": [- "ms-azuretools.vscode-docker",- "dbaeumer.vscode-eslint",- "svelte.svelte-vscode",- "ardenivanov.svelte-intellisense",- "Prisma.prisma",- "bradlc.vscode-tailwindcss",- "waderyan.gitblame"- ],- // Use 'forwardPorts' to make a list of ports inside the container available locally.- "forwardPorts": [3000, 3001],- // Use 'postCreateCommand' to run commands after the container is created.- "postCreateCommand": "cp apps/api/.env.example apps/api/.env && pnpm install && pnpm db:push && pnpm db:seed",- // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.- "remoteUser": "node",- "features": {- "docker-in-docker": "20.10",- "github-cli": "latest"- }-}diff --git a/.dockerignore b/.dockerignoredeleted file mode 100644index 1b0bcf1c28..0000000000--- a/.dockerignore+++ /dev/null@@ -1,16 +0,0 @@-.DS_Store-node_modules-.pnpm-store-build-.svelte-kit-package-.env-.env.*-!.env.example-dist-apps/api/db/*.db-local-serve-apps/api/db/migration.db-journal-apps/api/core*-logs-others/certificatesdiff --git a/.editorconfig b/.editorconfignew file mode 100644index 0000000000..8f0de65c56--- /dev/null+++ b/.editorconfig@@ -0,0 +1,18 @@+root = true++[*]+charset = utf-8+end_of_line = lf+indent_size = 4+indent_style = space+insert_final_newline = true+trim_trailing_whitespace = true++[*.md]+trim_trailing_whitespace = false++[*.{yml,yaml}]+indent_size = 2++[docker-compose.yml]+indent_size = 4diff --git a/.env.example b/.env.examplenew file mode 100644index 0000000000..ab8f680720--- /dev/null+++ b/.env.example@@ -0,0 +1,39 @@+############################################################################################################+# Development Environment++# Userid for the user that will run the application inside the container+USERID=+############################################################################################################++APP_NAME=Laravel+APP_ENV=local+APP_KEY=+APP_DEBUG=true+APP_URL=http://localhost++LOG_CHANNEL=stack+LOG_DEPRECATIONS_CHANNEL=null+LOG_LEVEL=debug++DB_CONNECTION=pgsql+DB_HOST=postgres+DB_PORT=5432+DB_DATABASE=coolify+DB_USERNAME=sail+DB_PASSWORD=password++BROADCAST_DRIVER=log+CACHE_DRIVER=file+FILESYSTEM_DISK=local+QUEUE_CONNECTION=sync+SESSION_DRIVER=file+SESSION_LIFETIME=120++MAIL_MAILER=smtp+MAIL_HOST=mailpit+MAIL_PORT=1025+MAIL_USERNAME=null+MAIL_PASSWORD=null+MAIL_ENCRYPTION=null+MAIL_FROM_ADDRESS="[email protected]"+MAIL_FROM_NAME="${APP_NAME}"\ No newline at end of filediff --git a/.gitattributes b/.gitattributesnew file mode 100644index 0000000000..fcb21d396d--- /dev/null+++ b/.gitattributes@@ -0,0 +1,11 @@+* text=auto eol=lf++*.blade.php diff=html+*.css diff=css+*.html diff=html+*.md diff=markdown+*.php diff=php++/.github export-ignore+CHANGELOG.md export-ignore+.styleci.yml export-ignorediff --git a/.github/FUNDING.yml b/.github/FUNDING.ymldeleted file mode 100644index f96d5b45c6..0000000000--- a/.github/FUNDING.yml+++ /dev/null@@ -1,2 +0,0 @@-open_collective: coollabsio-github: coollabsio\ No newline at end of filediff --git a/.github/ISSUE_TEMPLATE/--bug-report.yaml b/.github/ISSUE_TEMPLATE/--bug-report.yamldeleted file mode 100644index 65f2ed40d0..0000000000--- a/.github/ISSUE_TEMPLATE/--bug-report.yaml+++ /dev/null@@ -1,55 +0,0 @@-name: ๐ Bug report-description: Create a bug report to help us improve coolify-title: "[Bug]: "-labels: [Bug]-assignees:-- andrasbacsai-- vasani-arpit-body:-- type: markdown- attributes:- value: |- Thanks for taking the time to fill out this bug report! Please fill the form in English.-- type: checkboxes- attributes:- label: Is there an existing issue for this?- options:- - label: I have searched the existing issues- required: true-- type: input- id: repository- attributes:- label: Example public repository- description: "An example public git repository to reproduce the issue easily (if applicable)."- placeholder: "ex: https://github.com/coollabsio/coolify"- validations:- required: false-- type: textarea- attributes:- label: Description- description: A concise description of what you're experiencing and what you expect.- placeholder: |- When I do <X>, <Y> happens and I see the error message attached below:- ```...```- What I expect is <Z>- validations:- required: true-- type: textarea- attributes:- label: Steps To Reproduce- description: Add steps to reproduce this behaviour, include console / network logs & videos- placeholder: |- 1. Go to '...'- 2. Click on '....'- 3. Scroll down to '....'- 4. See error- validations:- required: true-- type: input- id: version- attributes:- label: Version- description: "The version of your coolify Instance"- placeholder: "2.5.2"- validations:- required: truediff --git a/.github/ISSUE_TEMPLATE/--feature-request.yaml b/.github/ISSUE_TEMPLATE/--feature-request.yamldeleted file mode 100644index 9e217ff23f..0000000000--- a/.github/ISSUE_TEMPLATE/--feature-request.yaml+++ /dev/null@@ -1,31 +0,0 @@-name: ๐ ๏ธ Feature request-description: Suggest an idea to improve coolify-title: '[Feature]: '-labels: [Enhancement]-assignees:- - andrasbacsai- - vasani-arpit-body:- - type: markdown- attributes:- value: |- Thanks for taking the time to request a feature for coolify! Please also add your request here to get feedback from the community: https://feedback.coolify.io/!- - type: checkboxes- attributes:- label: Is there an existing issue for this?- description: Please search to see if an issue related to this feature request already exists.- options:- - label: I have searched the existing issues- required: true- - type: textarea- attributes:- label: Summary- description: One paragraph description of the feature.- validations:- required: true- - type: textarea- attributes:- label: Why should this be worked on?- description: A concise description of the problems or use cases for this feature request.- validations:- required: truediff --git a/.github/ISSUE_TEMPLATE/--task.yaml b/.github/ISSUE_TEMPLATE/--task.yamldeleted file mode 100644index a1ff080c5c..0000000000--- a/.github/ISSUE_TEMPLATE/--task.yaml+++ /dev/null@@ -1,20 +0,0 @@-name: ๐ Task-description: Create a task for the team to work on-title: "[Task]: "-labels: [Task]-body:-- type: checkboxes- attributes:- label: Is there an existing issue for this?- description: Please search to see if an issue related to this already exists.- options:- - label: I have searched the existing issues- required: true-- type: textarea- attributes:- label: SubTasks- placeholder: |- - Sub Task 1- - Sub Task 2- validations:- required: falsediff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymldeleted file mode 100644index 4642a85495..0000000000--- a/.github/ISSUE_TEMPLATE/config.yml+++ /dev/null@@ -1,8 +0,0 @@-blank_issues_enabled: true-contact_links:- - name: ๐ค Questions and Help- url: https://discord.com/invite/6rDM4fkymF- about: Reach out to us on discord or our github discussions page.- - name: ๐โโ๏ธ Service request- url: https://feedback.coolify.io/- about: Want to request a new service or build pack? For example Wordpress, Hasura, Appwrite, Angular etc...diff --git a/.github/workflows/production-release-dockerhub.yml b/.github/workflows/production-release-dockerhub.ymldeleted file mode 100644index 0ffe330eb7..0000000000--- a/.github/workflows/production-release-dockerhub.yml+++ /dev/null@@ -1,111 +0,0 @@-name: Production Release to DockerHub--on:- release:- types: [released]--jobs:- arm64:- runs-on: [self-hosted, arm64]- steps:- - name: Checkout- uses: actions/checkout@v3- - name: Set up QEMU- uses: docker/setup-qemu-action@v1- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v1- - name: Login to DockerHub- uses: docker/login-action@v1- with:- username: ${{ secrets.DOCKERHUB_USERNAME }}- password: ${{ secrets.DOCKERHUB_TOKEN }}- - name: Get current package version- uses: martinbeentjes/[email protected]- id: package-version- - name: Build and push- uses: docker/build-push-action@v2- with:- context: .- platforms: linux/arm64- push: true- tags: coollabsio/coolify:${{steps.package-version.outputs.current-version}}-arm64- cache-from: type=registry,ref=coollabsio/coolify:buildcache-arm64- cache-to: type=registry,ref=coollabsio/coolify:buildcache-arm64,mode=max- amd64:- runs-on: ubuntu-latest- steps:- - name: Checkout- uses: actions/checkout@v3- - name: Set up QEMU- uses: docker/setup-qemu-action@v2- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2- - name: Login to DockerHub- uses: docker/login-action@v2- with:- username: ${{ secrets.DOCKERHUB_USERNAME }}- password: ${{ secrets.DOCKERHUB_TOKEN }}- - name: Get current package version- uses: martinbeentjes/[email protected]- id: package-version- - name: Build and push- uses: docker/build-push-action@v3- with:- context: .- platforms: linux/amd64- push: true- tags: coollabsio/coolify:${{steps.package-version.outputs.current-version}}- cache-from: type=registry,ref=coollabsio/coolify:buildcache-amd64- cache-to: type=registry,ref=coollabsio/coolify:buildcache-amd64,mode=max- aarch64:- runs-on: [self-hosted, arm64]- steps:- - name: Checkout- uses: actions/checkout@v3- - name: Set up QEMU- uses: docker/setup-qemu-action@v1- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v1- - name: Login to DockerHub- uses: docker/login-action@v1- with:- username: ${{ secrets.DOCKERHUB_USERNAME }}- password: ${{ secrets.DOCKERHUB_TOKEN }}- - name: Get current package version- uses: martinbeentjes/[email protected]- id: package-version- - name: Build and push- uses: docker/build-push-action@v2- with:- context: .- platforms: linux/aarch64- push: true- tags: coollabsio/coolify:${{steps.package-version.outputs.current-version}}-aarch64- cache-from: type=registry,ref=coollabsio/coolify:buildcache-aarch64- cache-to: type=registry,ref=coollabsio/coolify:buildcache-aarch64,mode=max- merge-manifest:- runs-on: ubuntu-latest- needs: [amd64, arm64, aarch64]- steps:- - name: Checkout- uses: actions/checkout@v3- - name: Set up QEMU- uses: docker/setup-qemu-action@v2- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2- - name: Login to DockerHub- uses: docker/login-action@v2- with:- username: ${{ secrets.DOCKERHUB_USERNAME }}- password: ${{ secrets.DOCKERHUB_TOKEN }}- - name: Get current package version- uses: martinbeentjes/[email protected]- id: package-version- - name: Create & publish manifest- run: |- docker buildx imagetools create --append coollabsio/coolify:${{steps.package-version.outputs.current-version}}-arm64 --append coollabsio/coolify:${{steps.package-version.outputs.current-version}}-aarch64 --tag coollabsio/coolify:${{steps.package-version.outputs.current-version}}- docker buildx imagetools create coollabsio/coolify:${{steps.package-version.outputs.current-version}} --tag coollabsio/coolify:latest- - uses: sarisia/actions-status-discord@v1- if: always()- with:- webhook: ${{ secrets.DISCORD_WEBHOOK_PROD_RELEASE_CHANNEL }}diff --git a/.github/workflows/production-release.yml b/.github/workflows/production-release.ymldeleted file mode 100644index 1adc0cb477..0000000000--- a/.github/workflows/production-release.yml+++ /dev/null@@ -1,102 +0,0 @@-name: Production Release to ghcr.io--on:- release:- types: [released]--env:- REGISTRY: ghcr.io- IMAGE_NAME: "coollabsio/coolify"--jobs:- amd64:- runs-on: ubuntu-latest- steps:- - name: Checkout- uses: actions/checkout@v3- - name: Set up QEMU- uses: docker/setup-qemu-action@v2- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2- - name: Login to ghcr.io- uses: docker/login-action@v2- with:- registry: ${{ env.REGISTRY }}- username: ${{ github.actor }}- password: ${{ secrets.GITHUB_TOKEN }}- - name: Extract metadata- id: meta- uses: docker/metadata-action@v4- with:- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}- tags: |- type=semver,pattern={{version}}- - name: Build and push- uses: docker/build-push-action@v3- with:- context: .- platforms: linux/amd64- push: true- tags: ${{ steps.meta.outputs.tags }}- labels: ${{ steps.meta.outputs.labels }}- aarch64:- runs-on: [self-hosted, arm64]- steps:- - name: Checkout- uses: actions/checkout@v3- - name: Set up QEMU- uses: docker/setup-qemu-action@v1- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v1- - name: Login to ghcr.io- uses: docker/login-action@v2- with:- registry: ${{ env.REGISTRY }}- username: ${{ github.actor }}- password: ${{ secrets.GITHUB_TOKEN }}- - name: Extract metadata- id: meta- uses: docker/metadata-action@v4- with:- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}- tags: |- type=semver,pattern={{version}}-aarch64- - name: Build and push- uses: docker/build-push-action@v3- with:- context: .- platforms: linux/aarch64- push: true- tags: ${{ steps.meta.outputs.tags }}-aarch64- labels: ${{ steps.meta.outputs.labels }}- merge-manifest:- runs-on: ubuntu-latest- needs: [amd64, aarch64]- steps:- - name: Checkout- uses: actions/checkout@v3- - name: Set up QEMU- uses: docker/setup-qemu-action@v2- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2- - name: Login to ghcr.io- uses: docker/login-action@v2- with:- registry: ${{ env.REGISTRY }}- username: ${{ github.actor }}- password: ${{ secrets.GITHUB_TOKEN }}- - name: Extract metadata- id: meta- uses: docker/metadata-action@v4- with:- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}- tags: |- type=semver,pattern={{version}}- - name: Create & publish manifest- run: |- docker buildx imagetools create --append ${{ fromJSON(steps.meta.outputs.json).tags[0] }}-aarch64 --tag ${{ fromJSON(steps.meta.outputs.json).tags[0] }}- docker buildx imagetools create --append ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-aarch64 --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest- - uses: sarisia/actions-status-discord@v1- if: always()- with:- webhook: ${{ secrets.DISCORD_WEBHOOK_PROD_RELEASE_CHANNEL }}diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.ymldeleted file mode 100644index e69dd009cf..0000000000--- a/.github/workflows/release-candidate.yml+++ /dev/null@@ -1,110 +0,0 @@-name: Release Candidate to ghcr.io--on:- release:- types: [prereleased]--env:- REGISTRY: ghcr.io- IMAGE_NAME: "coollabsio/coolify"--jobs:- amd64:- runs-on: ubuntu-latest- steps:- - name: Checkout- uses: actions/checkout@v3- - name: Set up QEMU- uses: docker/setup-qemu-action@v2- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2- - name: Login to ghcr.io- uses: docker/login-action@v2- with:- registry: ${{ env.REGISTRY }}- username: ${{ github.actor }}- password: ${{ secrets.GITHUB_TOKEN }}- - name: Extract metadata- id: meta- uses: docker/metadata-action@v4- with:- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}- tags: |- type=ref,event=branch- type=ref,event=pr- type=semver,pattern={{version}}- type=semver,pattern={{major}}.{{minor}}- - name: Build and push- uses: docker/build-push-action@v3- with:- context: .- platforms: linux/amd64- push: true- tags: ${{ steps.meta.outputs.tags }}- labels: ${{ steps.meta.outputs.labels }}- aarch64:- runs-on: [self-hosted, arm64]- steps:- - name: Checkout- uses: actions/checkout@v3- - name: Set up QEMU- uses: docker/setup-qemu-action@v1- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v1- - name: Login to ghcr.io- uses: docker/login-action@v2- with:- registry: ${{ env.REGISTRY }}- username: ${{ github.actor }}- password: ${{ secrets.GITHUB_TOKEN }}- - name: Extract metadata- id: meta- uses: docker/metadata-action@v4- with:- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}- tags: |- type=ref,event=branch- type=ref,event=pr- type=semver,pattern={{version}}- type=semver,pattern={{major}}.{{minor}}- - name: Build and push- uses: docker/build-push-action@v3- with:- context: .- platforms: linux/aarch64- push: true- tags: ${{ steps.meta.outputs.tags }}-aarch64- labels: ${{ steps.meta.outputs.labels }}- merge-manifest:- runs-on: ubuntu-latest- needs: [amd64, aarch64]- steps:- - name: Checkout- uses: actions/checkout@v3- - name: Set up QEMU- uses: docker/setup-qemu-action@v2- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2- - name: Login to ghcr.io- uses: docker/login-action@v2- with:- registry: ${{ env.REGISTRY }}- username: ${{ github.actor }}- password: ${{ secrets.GITHUB_TOKEN }}- - name: Extract metadata- id: meta- uses: docker/metadata-action@v4- with:- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}- tags: |- type=ref,event=branch- type=ref,event=pr- type=semver,pattern={{version}}- type=semver,pattern={{major}}.{{minor}}- - name: Create & publish manifest- run: |- docker buildx imagetools create --append ${{ steps.meta.outputs.tags }}-aarch64 --tag ${{ steps.meta.outputs.tags }}- - uses: sarisia/actions-status-discord@v1- if: always()- with:- webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }}diff --git a/.github/workflows/staging-release-dockerhub.yml b/.github/workflows/staging-release-dockerhub.ymldeleted file mode 100644index 36dd332cf9..0000000000--- a/.github/workflows/staging-release-dockerhub.yml+++ /dev/null@@ -1,86 +0,0 @@-name: Staging Release to DockerHub--on:- push:- branches:- - "next"--jobs:- arm64:- runs-on: [self-hosted, arm64]- steps:- - name: Checkout- uses: actions/checkout@v3- with:- ref: "next"- - name: Set up QEMU- uses: docker/setup-qemu-action@v1- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v1- - name: Login to DockerHub- uses: docker/login-action@v1- with:- username: ${{ secrets.DOCKERHUB_USERNAME }}- password: ${{ secrets.DOCKERHUB_TOKEN }}- - name: Get current package version- uses: martinbeentjes/[email protected]- id: package-version- - name: Build and push- uses: docker/build-push-action@v2- with:- context: .- platforms: linux/arm64- push: true- tags: coollabsio/coolify:next-arm64- cache-from: type=registry,ref=coollabsio/coolify:buildcache-next-arm64- cache-to: type=registry,ref=coollabsio/coolify:buildcache-next-arm64,mode=max- amd64:- runs-on: ubuntu-latest- steps:- - name: Checkout- uses: actions/checkout@v3- with:- ref: "next"- - name: Set up QEMU- uses: docker/setup-qemu-action@v2- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2- - name: Login to DockerHub- uses: docker/login-action@v2- with:- username: ${{ secrets.DOCKERHUB_USERNAME }}- password: ${{ secrets.DOCKERHUB_TOKEN }}- - name: Get current package version- uses: martinbeentjes/[email protected]- id: package-version- - name: Build and push- uses: docker/build-push-action@v3- with:- context: .- platforms: linux/amd64- push: true- tags: coollabsio/coolify:next- cache-from: type=registry,ref=coollabsio/coolify:buildcache-next-amd64- cache-to: type=registry,ref=coollabsio/coolify:buildcache-next-amd64,mode=max- merge-manifest:- runs-on: ubuntu-latest- needs: [arm64, amd64]- steps:- - name: Checkout- uses: actions/checkout@v3- - name: Set up QEMU- uses: docker/setup-qemu-action@v2- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2- - name: Login to DockerHub- uses: docker/login-action@v2- with:- username: ${{ secrets.DOCKERHUB_USERNAME }}- password: ${{ secrets.DOCKERHUB_TOKEN }}- - name: Create & publish manifest- run: |- docker buildx imagetools create --append coollabsio/coolify:next-arm64 --tag coollabsio/coolify:next- - uses: sarisia/actions-status-discord@v1- if: always()- with:- webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }}diff --git a/.github/workflows/staging-release.yml b/.github/workflows/staging-release.ymldeleted file mode 100644index 15d3e5393d..0000000000--- a/.github/workflows/staging-release.yml+++ /dev/null@@ -1,99 +0,0 @@-name: Staging Release to ghcr.io--on:- push:- branches-ignore:- - "main"-env:- REGISTRY: ghcr.io- IMAGE_NAME: "coollabsio/coolify"--jobs:- amd64:- runs-on: ubuntu-latest- steps:- - name: Checkout- uses: actions/checkout@v3- with:- ref: "next"- - name: Set up QEMU- uses: docker/setup-qemu-action@v2- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2- - name: Login to ghcr.io- uses: docker/login-action@v2- with:- registry: ${{ env.REGISTRY }}- username: ${{ github.actor }}- password: ${{ secrets.GITHUB_TOKEN }}- - name: Extract metadata (tags, labels)- id: meta- uses: docker/metadata-action@v4- with:- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}- - name: Build and push- uses: docker/build-push-action@v3- with:- context: .- platforms: linux/amd64- push: true- tags: ${{ steps.meta.outputs.tags }}- labels: ${{ steps.meta.outputs.labels }}- aarch64:- runs-on: [self-hosted, arm64]- steps:- - name: Checkout- uses: actions/checkout@v3- with:- ref: "next"- - name: Set up QEMU- uses: docker/setup-qemu-action@v2- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2- - name: Login to ghcr.io- uses: docker/login-action@v2- with:- registry: ${{ env.REGISTRY }}- username: ${{ github.actor }}- password: ${{ secrets.GITHUB_TOKEN }}- - name: Extract metadata (tags, labels)- id: meta- uses: docker/metadata-action@v4- with:- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}- - name: Build and push- uses: docker/build-push-action@v3- with:- context: .- platforms: linux/aarch64- push: true- tags: ${{ steps.meta.outputs.tags }}-aarch64- labels: ${{ steps.meta.outputs.labels }}- merge-manifest:- runs-on: ubuntu-latest- needs: [amd64, aarch64]- steps:- - name: Checkout- uses: actions/checkout@v3- - name: Set up QEMU- uses: docker/setup-qemu-action@v2- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2- - name: Login to ghcr.io- uses: docker/login-action@v2- with:- registry: ${{ env.REGISTRY }}- username: ${{ github.actor }}- password: ${{ secrets.GITHUB_TOKEN }}- - name: Extract metadata (tags, labels)- id: meta- uses: docker/metadata-action@v4- with:- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}- - name: Create & publish manifest- run: |- docker buildx imagetools create --append ${{ steps.meta.outputs.tags }}-aarch64 --tag ${{ steps.meta.outputs.tags }}- - uses: sarisia/actions-status-discord@v1- if: always()- with:- webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }}diff --git a/.gitignore b/.gitignoreindex 6ace702bf6..92d1e443de 100644--- a/.gitignore+++ b/.gitignore@@ -1,25 +1,21 @@-.DS_Store-node_modules-.pnpm-store-/apps/ui/build-/build-.svelte-kit-package+/.phpunit.cache+/node_modules+/public/build+/public/hot+/public/storage+/storage/*.key+/vendor.env-.env.*-!.env.example-dist-apps/api/db/*.db-apps/api/db/migration.db-journal-apps/api/core*-apps/server/build-apps/backup/backups/*-!apps/backup/backups/.gitkeep-/logs-others/certificates-backups/*-!backups/.gitkeep--# Trpc-apps/server/db/*.db-apps/server/db/*.db-journal\ No newline at end of file+.env.backup+.env.production+.phpunit.result.cache+Homestead.json+Homestead.yaml+auth.json+npm-debug.log+yarn-error.log+/.fleet+/.idea+/.vscode+/.npm+/.bash_historydiff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfiledeleted file mode 100644index e365fb4890..0000000000--- a/.gitpod.Dockerfile+++ /dev/null@@ -1,2 +0,0 @@-FROM gitpod/workspace-full:2022-08-17-18-37-55-RUN brew install buildpacks/tap/pack\ No newline at end of filediff --git a/.gitpod.yml b/.gitpod.ymldeleted file mode 100644index 940733ac9a..0000000000--- a/.gitpod.yml+++ /dev/null@@ -1,14 +0,0 @@-# This configuration file was automatically generated by Gitpod.-# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)-# and commit this file to your remote git repository to share the goodness with others.-#image:-# file: .gitpod.Dockerfile-#tasks:-# - init: pnpm install && pnpm db:push && pnpm db:seed-# command: pnpm dev--ports:- - port: 3001- visibility: public- - port: 3000- visibility: publicdiff --git a/.vscode/settings.json b/.vscode/settings.jsondeleted file mode 100644index 65a483d796..0000000000--- a/.vscode/settings.json+++ /dev/null@@ -1,22 +0,0 @@-{- "i18n-ally.localesPaths": [- "src/lib/locales"- ],- "i18n-ally.keystyle": "nested",- "i18n-ally.extract.ignoredByFiles": {- "src\\routes\\__layout.svelte": [- "Coolify",- "coolLabs logo"- ]- },- "i18n-ally.sourceLanguage": "en",- "i18n-ally.enabledFrameworks": [- "svelte"- ],- "i18n-ally.enabledParsers": [- "js",- "ts",- "json"- ],- "i18n-ally.extract.autoDetect": true-}\ No newline at end of filediff --git a/CONTRIBUTION.md b/CONTRIBUTION.mddeleted file mode 100644index c57d817fef..0000000000--- a/CONTRIBUTION.md+++ /dev/null@@ -1,48 +0,0 @@-# Contributing--> "First, thanks for considering to contribute to my project.- It really means a lot! ๐" - [@andrasbacsai](https://github.com/andrasbacsai)--You can ask for guidance anytime on our-[Discord server](https://coollabs.io/discord) in the `#contribution` channel.--You'll need a set of skills to [get started](docs/contribution/GettingStarted.md).--## 1) Setup your development environment--- ๐ [Container based](docs/dev_setup/Container.md) ← *Recommended*-- ๐ฆ [DockerContainer](docs/dev_setup/DockerContiner.md) *WIP-- ๐ [Github Codespaces](docs/dev_setup/GithubCodespaces.md)-- โ๏ธ [GitPod](docs/dev_setup/GitPod.md)-- ๐ [Local Mac](docs/dev_setup/Mac.md)--## 2) Basic requirements--- [Install Pnpm](https://pnpm.io/installation)-- [Install Docker Engine](https://docs.docker.com/engine/install/)-- [Setup Docker Compose Plugin](https://docs.docker.com/compose/install/)-- [Setup GIT LFS Support](https://git-lfs.github.com/)--## 3) Setup Coolify--- Copy `apps/api/.env.example` to `apps/api/.env`-- Edit `apps/api/.env`, set the `COOLIFY_APP_ID` environment variable to something cool.-- Run `pnpm install` to install dependencies.-- Run `pnpm db:push` to create a local SQlite database. This will apply all migrations at `db/dev.db`.-- Run `pnpm db:seed` seed the database.-- Run `pnpm dev` start coding.--```sh-# Or... Copy and paste commands below:-cp apps/api/.env.example apps/api/.env-pnpm install-pnpm db:push-pnpm db:seed-pnpm dev-```--## 4) Start Coding--You should be able to access `http://localhost:3000`.--1. Click `Register` and setup your first user.diff --git a/Dockerfile b/Dockerfileindex 80f56f06a1..fd4edd2bf1 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,53 +1,26 @@-ARG PNPM_VERSION=7.11.0--FROM node:18-slim as build-WORKDIR /app--RUN apt update && apt -y install curl-RUN npm --no-update-notifier --no-fund --global install pnpm@${PNPM_VERSION}--COPY . .-RUN pnpm install-RUN pnpm build--# Production build-FROM node:18-slim-WORKDIR /app-ENV NODE_ENV production-ARG TARGETPLATFORM--# https://download.docker.com/linux/static/stable/-ARG DOCKER_VERSION=20.10.18-# https://github.com/docker/compose/releases-# Reverted to 2.6.1 because of this https://github.com/docker/compose/issues/9704. 2.9.0 still has a bug.-ARG DOCKER_COMPOSE_VERSION=2.6.1-# https://github.com/buildpacks/pack/releases-ARG PACK_VERSION=0.27.0--RUN apt update && apt -y install --no-install-recommends ca-certificates git git-lfs openssh-client curl jq cmake sqlite3 openssl psmisc python3-RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/-RUN npm --no-update-notifier --no-fund --global install pnpm@${PNPM_VERSION}-RUN npm install -g npm@${PNPM_VERSION}--RUN mkdir -p ~/.docker/cli-plugins/--RUN curl -SL https://cdn.coollabs.io/bin/$TARGETPLATFORM/docker-$DOCKER_VERSION -o /usr/bin/docker-RUN curl -SL https://cdn.coollabs.io/bin/$TARGETPLATFORM/docker-compose-linux-$DOCKER_COMPOSE_VERSION -o ~/.docker/cli-plugins/docker-compose-RUN curl -SL https://cdn.coollabs.io/bin/$TARGETPLATFORM/pack-$PACK_VERSION -o /usr/local/bin/pack--RUN chmod +x ~/.docker/cli-plugins/docker-compose /usr/bin/docker /usr/local/bin/pack--COPY --from=build /app/apps/api/build/ .-# COPY --from=build /app/others/fluentbit/ ./fluentbit-COPY --from=build /app/apps/ui/build/ ./public-COPY --from=build /app/apps/api/prisma/ ./prisma-COPY --from=build /app/apps/api/package.json .-COPY --from=build /app/docker-compose.yaml .-COPY --from=build /app/apps/api/tags.json .-COPY --from=build /app/apps/api/templates.json .--RUN pnpm install -p--EXPOSE 3000-ENV CHECKPOINT_DISABLE=1-CMD pnpm start+FROM serversideup/php:8.2-fpm-nginx++ARG NODE_VERSION=18+ARG POSTGRES_VERSION=15++RUN apt-get update \+ && curl -sLS https://deb.nodesource.com/setup_$NODE_VERSION.x | bash - \+ && apt-get install -y nodejs \+ && npm install -g npm++RUN apt-get install -y php-pgsql++RUN apt-get -y autoremove \+ && apt-get clean \+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*++# Adding test ssh key+RUN mkdir -p ~/.ssh+RUN echo "-----BEGIN OPENSSH PRIVATE KEY-----\n\+ b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW\n\+ QyNTUxOQAAACBbhpqHhqv6aI67Mj9abM3DVbmcfYhZAhC7ca4d9UCevAAAAJi/QySHv0Mk\n\+ hwAAAAtzc2gtZWQyNTUxOQAAACBbhpqHhqv6aI67Mj9abM3DVbmcfYhZAhC7ca4d9UCevA\n\+ AAAECBQw4jg1WRT2IGHMncCiZhURCts2s24HoDS0thHnnRKVuGmoeGq/pojrsyP1pszcNV\n\+ uZx9iFkCELtxrh31QJ68AAAAEXNhaWxANzZmZjY2ZDJlMmRkAQIDBA==\n\+ -----END OPENSSH PRIVATE KEY-----" >> ~/.ssh/id_ed25519+RUN chmod 0600 ~/.ssh/id_ed25519\ No newline at end of filediff --git a/Dockerfile-dev b/Dockerfile-devdeleted file mode 100644index 13b3a85607..0000000000--- a/Dockerfile-dev+++ /dev/null@@ -1,31 +0,0 @@-FROM node:18-slim-ENV NODE_ENV development-ARG TARGETPLATFORM-ARG PNPM_VERSION=7.11.0-ARG NPM_VERSION=8.19.1-# https://download.docker.com/linux/static/stable/-ARG DOCKER_VERSION=20.10.18-# https://github.com/docker/compose/releases-# Reverted to 2.6.1 because of this https://github.com/docker/compose/issues/9704. 2.9.0 still has a bug.-ARG DOCKER_COMPOSE_VERSION=2.6.1-# https://github.com/buildpacks/pack/releases-ARG PACK_VERSION=0.27.0-WORKDIR /app--RUN npm --no-update-notifier --no-fund --global install pnpm@${PNPM_VERSION}--RUN apt update && apt -y install --no-install-recommends ca-certificates git git-lfs openssh-client curl jq cmake sqlite3 openssl psmisc python3-RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/-RUN npm --no-update-notifier --no-fund --global install pnpm@${PNPM_VERSION}-RUN npm install -g npm@${PNPM_VERSION}--RUN mkdir -p ~/.docker/cli-plugins/--RUN curl -SL https://cdn.coollabs.io/bin/$TARGETPLATFORM/docker-$DOCKER_VERSION -o /usr/bin/docker-RUN curl -SL https://cdn.coollabs.io/bin/$TARGETPLATFORM/docker-compose-linux-$DOCKER_COMPOSE_VERSION -o ~/.docker/cli-plugins/docker-compose-RUN curl -SL https://cdn.coollabs.io/bin/$TARGETPLATFORM/pack-$PACK_VERSION -o /usr/local/bin/pack--RUN chmod +x ~/.docker/cli-plugins/docker-compose /usr/bin/docker /usr/local/bin/pack--EXPOSE 3000-ENV CHECKPOINT_DISABLE=1diff --git a/README.md b/README.mdindex 3628d68fd0..a8ca09a6c2 100644--- a/README.md+++ b/README.md@@ -2,130 +2,22 @@An open-source & self-hostable Heroku / Netlify alternative.-## Live Demo+# v4-https://demo.coolify.io/+You are checking the next-gen of Coolify here, aka v4. Hi ๐-(If it is unresponsive, that means someone overloaded the server. ๐)--## Feedback--If you have a new service / build pack you would like to add, raise an idea [here](https://feedback.coolify.io/) to get feedback from the community!-------## How to install--For more details goto the [docs](https://docs.coollabs.io/coolify/installation).--Installation is automated with the following command:--```bash-wget -q https://get.coollabs.io/coolify/install.sh -O install.sh; sudo bash ./install.sh-```--If you would like no questions during installation:--```bash-wget -q https://get.coollabs.io/coolify/install.sh -O install.sh; sudo bash ./install.sh -f-```-------## Features--### Git Sources--Self-hosted versions also!--<a href="https://github.com"><img style="width:40px;height:40px" src="https://icon.horse/icon/github.com"></a>-<a href="https://gitlab.com"><img style="width:40px;height:40px" src="https://icon.horse/icon/gitlab.com"></a>--### Destinations--Deploy your resource to:--- Local Docker Engine-- Remote Docker Engine--### Applications--<a href="https://heroku.com"><img style="width:40px;height:40px" src="https://icon.horse/icon/heroku.com"></a>-<a href="https://html5.org/">-<svg style="width:40px;height:40px" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" ><g clip-path="url(#HTML5_Clip0_4)" ><path d="M30.216 0L27.6454 28.7967L16.0907 32L4.56783 28.8012L2 0H30.216Z" fill="#E44D26" /><path d="M16.108 29.5515L25.4447 26.963L27.6415 2.35497H16.108V29.5515Z" fill="#F16529" /><path d="M11.1109 9.4197H16.108V5.88731H7.25053L7.33509 6.83499L8.20327 16.5692H16.108V13.0369H11.4338L11.1109 9.4197Z" fill="#EBEBEB" /><path d="M11.907 18.3354H8.36111L8.856 23.8818L16.0917 25.8904L16.108 25.8859V22.2108L16.0925 22.2149L12.1585 21.1527L11.907 18.3354Z" fill="#EBEBEB" /><path d="M16.0958 16.5692H20.4455L20.0354 21.1504L16.0958 22.2138V25.8887L23.3373 23.8817L23.3904 23.285L24.2205 13.9855L24.3067 13.0369H16.0958V16.5692Z" fill="white" /><path d="M16.0958 9.41105V9.41969H24.6281L24.6989 8.62572L24.8599 6.83499L24.9444 5.88731H16.0958V9.41105Z" fill="white" /></g><defs><clipPath id="HTML5_Clip0_4"><rect width="32" height="32" fill="white" /></clipPath></defs></svg></a>-<a href="https://nodejs.org"><img style="width:40px;height:40px" src="https://icon.horse/icon/nodejs.org"></a>-<a href="https://vuejs.org"><img style="width:40px;height:40px" src="https://icon.horse/icon/vuejs.org"></a>-<a href="https://nuxtjs.org"><img style="width:40px;height:40px" src="https://icon.horse/icon/nuxtjs.org"></a>-<a href="https://nextjs.org"><img style="width:40px;height:40px" src="https://icon.horse/icon/nextjs.org"></a>-<a href="https://reactjs.org"><img style="width:40px;height:40px" src="https://icon.horse/icon/reactjs.org"></a>-<a href="https://preactjs.org"><img style="width:40px;height:40px" src="https://icon.horse/icon/preactjs.org"></a>-<a href="https://gatsbyjs.org"><img style="width:40px;height:40px" src="https://icon.horse/icon/gatsbyjs.org"></a>-<a href="https://svelte.dev"><img style="width:40px;height:40px" src="https://icon.horse/icon/svelte.dev"></a>-<a href="https://php.net"><img style="width:40px;height:40px" src="https://icon.horse/icon/php.net"></a>-<a href="https://laravel.com"><img style="width:40px;height:40px" src="https://icon.horse/icon/laravel.com"></a>-<a href="https://python.org"><img style="width:40px;height:40px" src="https://icon.horse/icon/python.org"></a>-<a href="https://deno.com"><img style="width:40px;height:40px" src="https://icon.horse/icon/deno.com"></a>-<a href="https://docker.com"><img style="width:40px;height:40px" src="https://icon.horse/icon/docker.com"></a>--### Databases--<a href="https://mongodb.org"><img style="width:40px;height:40px" src="https://icon.horse/icon/mongodb.org"></a>-<a href="https://mariadb.org"><img style="width:40px;height:40px" src="https://icon.horse/icon/mariadb.org"></a>-<a href="https://mysql.com"><svg style="width:40px;height:40px" xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 25.6 25.6" ><path d="M179.076 94.886c-3.568-.1-6.336.268-8.656 1.25-.668.27-1.74.27-1.828 1.116.357.355.4.936.713 1.428.535.893 1.473 2.096 2.32 2.72l2.855 2.053c1.74 1.07 3.703 1.695 5.398 2.766.982.625 1.963 1.428 2.945 2.098.5.357.803.938 1.428 1.16v-.135c-.312-.4-.402-.98-.713-1.428l-1.34-1.293c-1.293-1.74-2.9-3.258-4.64-4.506-1.428-.982-4.55-2.32-5.13-3.97l-.088-.1c.98-.1 2.14-.447 3.078-.715 1.518-.4 2.9-.312 4.46-.713l2.143-.625v-.4c-.803-.803-1.383-1.874-2.23-2.632-2.275-1.963-4.775-3.882-7.363-5.488-1.383-.892-3.168-1.473-4.64-2.23-.537-.268-1.428-.402-1.74-.848-.805-.98-1.25-2.275-1.83-3.436l-3.658-7.763c-.803-1.74-1.295-3.48-2.275-5.086-4.596-7.585-9.594-12.18-17.268-16.687-1.65-.937-3.613-1.34-5.7-1.83l-3.346-.18c-.715-.312-1.428-1.16-2.053-1.562-2.543-1.606-9.102-5.086-10.977-.5-1.205 2.9 1.785 5.755 2.8 7.228.76 1.026 1.74 2.186 2.277 3.346.3.758.4 1.562.713 2.365.713 1.963 1.383 4.15 2.32 5.98.5.937 1.025 1.92 1.65 2.767.357.5.982.714 1.115 1.517-.625.893-.668 2.23-1.025 3.347-1.607 5.042-.982 11.288 1.293 15 .715 1.115 2.4 3.57 4.686 2.632 2.008-.803 1.56-3.346 2.14-5.577.135-.535.045-.892.312-1.25v.1l1.83 3.703c1.383 2.186 3.793 4.462 5.8 5.98 1.07.803 1.918 2.187 3.256 2.677v-.135h-.088c-.268-.4-.67-.58-1.027-.892-.803-.803-1.695-1.785-2.32-2.677-1.873-2.498-3.523-5.265-4.996-8.12-.715-1.383-1.34-2.9-1.918-4.283-.27-.536-.27-1.34-.715-1.606-.67.98-1.65 1.83-2.143 3.034-.848 1.918-.936 4.283-1.248 6.737-.18.045-.1 0-.18.1-1.426-.356-1.918-1.83-2.453-3.078-1.338-3.168-1.562-8.254-.402-11.913.312-.937 1.652-3.882 1.117-4.774-.27-.848-1.16-1.338-1.652-2.008-.58-.848-1.203-1.918-1.605-2.855-1.07-2.5-1.605-5.265-2.766-7.764-.537-1.16-1.473-2.365-2.232-3.435-.848-1.205-1.783-2.053-2.453-3.48-.223-.5-.535-1.294-.178-1.83.088-.357.268-.5.623-.58.58-.5 2.232.134 2.812.4 1.65.67 3.033 1.294 4.416 2.23.625.446 1.295 1.294 2.098 1.518h.938c1.428.312 3.033.1 4.37.5 2.365.76 4.506 1.874 6.426 3.08 5.844 3.703 10.664 8.968 13.92 15.26.535 1.026.758 1.963 1.25 3.034.938 2.187 2.098 4.417 3.033 6.56.938 2.097 1.83 4.24 3.168 5.98.67.937 3.346 1.427 4.55 1.918.893.4 2.275.76 3.08 1.25 1.516.937 3.033 2.008 4.46 3.034.713.534 2.945 1.65 3.078 2.54zm-45.5-38.772a7.09 7.09 0 0 0-1.828.223v.1h.088c.357.714.982 1.205 1.428 1.83l1.027 2.142.088-.1c.625-.446.938-1.16.938-2.23-.268-.312-.312-.625-.535-.937-.268-.446-.848-.67-1.206-1.026z" transform="matrix(.390229 0 0 .38781 -46.300037 -16.856717)" fill-rule="evenodd" fill="#00678c" /></svg></a>-<a href="https://postgresql.org"><img style="width:40px;height:40px" src="https://icon.horse/icon/postgresql.org"></a>-<a href="https://couchdb.apache.org"><img style="width:40px;height:40px" src="https://icon.horse/icon/couchdb.apache.org"></a>-<a href="https://redis.io"><svg style="width:40px;height:40px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ><defs ><path id="a" d="m45.536 38.764c-2.013 1.05-12.44 5.337-14.66 6.494s-3.453 1.146-5.207.308-12.85-5.32-14.85-6.276c-1-.478-1.524-.88-1.524-1.26v-3.813s14.447-3.145 16.78-3.982 3.14-.867 5.126-.14 13.853 2.868 15.814 3.587v3.76c0 .377-.452.8-1.477 1.324z" /><path id="b" d="m45.536 28.733c-2.013 1.05-12.44 5.337-14.66 6.494s-3.453 1.146-5.207.308-12.85-5.32-14.85-6.276-2.04-1.613-.077-2.382l15.332-5.935c2.332-.837 3.14-.867 5.126-.14s12.35 4.853 14.312 5.57 2.037 1.31.024 2.36z" /></defs ><g transform="matrix(.848327 0 0 .848327 -7.883573 -9.449691)" ><use fill="#a41e11" xlink:href="#a" /><path d="m45.536 34.95c-2.013 1.05-12.44 5.337-14.66 6.494s-3.453 1.146-5.207.308-12.85-5.32-14.85-6.276-2.04-1.613-.077-2.382l15.332-5.936c2.332-.836 3.14-.867 5.126-.14s12.35 4.852 14.31 5.582 2.037 1.31.024 2.36z" fill="#d82c20" /><use fill="#a41e11" xlink:href="#a" y="-6.218" /><use fill="#d82c20" xlink:href="#b" /><path d="m45.536 26.098c-2.013 1.05-12.44 5.337-14.66 6.495s-3.453 1.146-5.207.308-12.85-5.32-14.85-6.276c-1-.478-1.524-.88-1.524-1.26v-3.815s14.447-3.145 16.78-3.982 3.14-.867 5.126-.14 13.853 2.868 15.814 3.587v3.76c0 .377-.452.8-1.477 1.324z" fill="#a41e11" /><use fill="#d82c20" xlink:href="#b" y="-6.449" /><g fill="#fff" ><path d="m29.096 20.712-1.182-1.965-3.774-.34 2.816-1.016-.845-1.56 2.636 1.03 2.486-.814-.672 1.612 2.534.95-3.268.34zm-6.296 3.912 8.74-1.342-2.64 3.872z" /><ellipse cx="20.444" cy="21.402" rx="4.672" ry="1.811" /></g ><path d="m42.132 21.138-5.17 2.042-.004-4.087z" fill="#7a0c00" /><path d="m36.963 23.18-.56.22-5.166-2.042 5.723-2.264z" fill="#ad2115" /></g ></svg ></a>--### Services--- [Appwrite](https://appwrite.io)-- [WordPress](https://docs.coollabs.io/coolify/services/wordpress)-- [Ghost](https://ghost.org)-- [Plausible Analytics](https://docs.coollabs.io/coolify/services/plausible-analytics)-- [NocoDB](https://nocodb.com)-- [VSCode Server](https://github.com/cdr/code-server)-- [MinIO](https://min.io)-- [VaultWarden](https://github.com/dani-garcia/vaultwarden)-- [LanguageTool](https://languagetool.org)-- [n8n](https://n8n.io)-- [Uptime Kuma](https://github.com/louislam/uptime-kuma)-- [MeiliSearch](https://github.com/meilisearch/meilisearch)-- [Umami](https://github.com/mikecao/umami)-- [Fider](https://fider.io)-- [Hasura](https://hasura.io)-- [GlitchTip](https://glitchtip.com)-- And more...+Thinks will be added here incrementally through PR's.## Support- Mastodon: [@[email protected]](https://fosstodon.org/@andrasbacsai)- Telegram: [@andrasbacsai](https://t.me/andrasbacsai)-- Twitter: [@andrasbacsai](https://twitter.com/andrasbacsai)+- Twitter: [@andrasbacsai](https://twitter.com/heyandras)- Email: [[email protected]](mailto:[email protected])- Discord: [Invitation](https://coollabs.io/discord)----## โ๏ธ Expertise Contributions--Coolify is developed under the [Apache License](./LICENSE) and you can help to make it grow.-Our community will be glad to have you on board!--Learn how to contribute to Coolify as as ...--→ [๐ฉ๐พโ๐ป Software developer](./CONTRIBUTION.md)--→ [๐ง๐ปโ๐ซ Translator](./docs/contribution/Translating.md)--<!---→ ๐ง๐ฝโ๐จ Designer-→ ๐โโ๏ธ Community Manager-→ ๐ง๐ปโโ๏ธ Text Content Creator-→ ๐จ๐ผโ๐ค Video Content Creator--->------## ๐ฐ Financial ContributorsBecome a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/coollabsio/contribute)]diff --git a/app/Console/Kernel.php b/app/Console/Kernel.phpnew file mode 100644index 0000000000..e6b9960ec1--- /dev/null+++ b/app/Console/Kernel.php@@ -0,0 +1,27 @@+<?php++namespace App\Console;++use Illuminate\Console\Scheduling\Schedule;+use Illuminate\Foundation\Console\Kernel as ConsoleKernel;++class Kernel extends ConsoleKernel+{+ /**+ * Define the application's command schedule.+ */+ protected function schedule(Schedule $schedule): void+ {+ // $schedule->command('inspire')->hourly();+ }++ /**+ * Register the commands for the application.+ */+ protected function commands(): void+ {+ $this->load(__DIR__.'/Commands');++ require base_path('routes/console.php');+ }+}diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.phpnew file mode 100644index 0000000000..b1c262c6d5--- /dev/null+++ b/app/Exceptions/Handler.php@@ -0,0 +1,48 @@+<?php++namespace App\Exceptions;++use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;+use Throwable;++class Handler extends ExceptionHandler+{+ /**+ * A list of exception types with their corresponding custom log levels.+ *+ * @var array<class-string<\Throwable>, \Psr\Log\LogLevel::*>+ */+ protected $levels = [+ //+ ];++ /**+ * A list of the exception types that are not reported.+ *+ * @var array<int, class-string<\Throwable>>+ */+ protected $dontReport = [+ //+ ];++ /**+ * A list of the inputs that are never flashed to the session on validation exceptions.+ *+ * @var array<int, string>+ */+ protected $dontFlash = [+ 'current_password',+ 'password',+ 'password_confirmation',+ ];++ /**+ * Register the exception handling callbacks for the application.+ */+ public function register(): void+ {+ $this->reportable(function (Throwable $e) {+ //+ });+ }+}diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.phpnew file mode 100644index 0000000000..77ec359ab4--- /dev/null+++ b/app/Http/Controllers/Controller.php@@ -0,0 +1,12 @@+<?php++namespace App\Http\Controllers;++use Illuminate\Foundation\Auth\Access\AuthorizesRequests;+use Illuminate\Foundation\Validation\ValidatesRequests;+use Illuminate\Routing\Controller as BaseController;++class Controller extends BaseController+{+ use AuthorizesRequests, ValidatesRequests;+}diff --git a/app/Http/Kernel.php b/app/Http/Kernel.phpnew file mode 100644index 0000000000..c34cdcf115--- /dev/null+++ b/app/Http/Kernel.php@@ -0,0 +1,67 @@+<?php++namespace App\Http;++use Illuminate\Foundation\Http\Kernel as HttpKernel;++class Kernel extends HttpKernel+{+ /**+ * The application's global HTTP middleware stack.+ *+ * These middleware are run during every request to your application.+ *+ * @var array<int, class-string|string>+ */+ protected $middleware = [+ // \App\Http\Middleware\TrustHosts::class,+ \App\Http\Middleware\TrustProxies::class,+ \Illuminate\Http\Middleware\HandleCors::class,+ \App\Http\Middleware\PreventRequestsDuringMaintenance::class,+ \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,+ \App\Http\Middleware\TrimStrings::class,+ \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,+ ];++ /**+ * The application's route middleware groups.+ *+ * @var array<string, array<int, class-string|string>>+ */+ protected $middlewareGroups = [+ 'web' => [+ \App\Http\Middleware\EncryptCookies::class,+ \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,+ \Illuminate\Session\Middleware\StartSession::class,+ \Illuminate\View\Middleware\ShareErrorsFromSession::class,+ \App\Http\Middleware\VerifyCsrfToken::class,+ \Illuminate\Routing\Middleware\SubstituteBindings::class,+ ],++ 'api' => [+ // \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,+ \Illuminate\Routing\Middleware\ThrottleRequests::class.':api',+ \Illuminate\Routing\Middleware\SubstituteBindings::class,+ ],+ ];++ /**+ * The application's middleware aliases.+ *+ * Aliases may be used to conveniently assign middleware to routes and groups.+ *+ * @var array<string, class-string|string>+ */+ protected $middlewareAliases = [+ 'auth' => \App\Http\Middleware\Authenticate::class,+ 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,+ 'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class,+ 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,+ 'can' => \Illuminate\Auth\Middleware\Authorize::class,+ 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,+ 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class,+ 'signed' => \App\Http\Middleware\ValidateSignature::class,+ 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,+ 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,+ ];+}diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.phpnew file mode 100644index 0000000000..d4ef6447a9--- /dev/null+++ b/app/Http/Middleware/Authenticate.php@@ -0,0 +1,17 @@+<?php++namespace App\Http\Middleware;++use Illuminate\Auth\Middleware\Authenticate as Middleware;+use Illuminate\Http\Request;++class Authenticate extends Middleware+{+ /**+ * Get the path the user should be redirected to when they are not authenticated.+ */+ protected function redirectTo(Request $request): ?string+ {+ return $request->expectsJson() ? null : route('login');+ }+}diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.phpnew file mode 100644index 0000000000..867695bdcf--- /dev/null+++ b/app/Http/Middleware/EncryptCookies.php@@ -0,0 +1,17 @@+<?php++namespace App\Http\Middleware;++use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;++class EncryptCookies extends Middleware+{+ /**+ * The names of the cookies that should not be encrypted.+ *+ * @var array<int, string>+ */+ protected $except = [+ //+ ];+}diff --git a/app/Http/Middleware/PreventRequestsDuringMaintenance.php b/app/Http/Middleware/PreventRequestsDuringMaintenance.phpnew file mode 100644index 0000000000..74cbd9a9ea--- /dev/null+++ b/app/Http/Middleware/PreventRequestsDuringMaintenance.php@@ -0,0 +1,17 @@+<?php++namespace App\Http\Middleware;++use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware;++class PreventRequestsDuringMaintenance extends Middleware+{+ /**+ * The URIs that should be reachable while maintenance mode is enabled.+ *+ * @var array<int, string>+ */+ protected $except = [+ //+ ];+}diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.phpnew file mode 100644index 0000000000..afc78c4e53--- /dev/null+++ b/app/Http/Middleware/RedirectIfAuthenticated.php@@ -0,0 +1,30 @@+<?php++namespace App\Http\Middleware;++use App\Providers\RouteServiceProvider;+use Closure;+use Illuminate\Http\Request;+use Illuminate\Support\Facades\Auth;+use Symfony\Component\HttpFoundation\Response;++class RedirectIfAuthenticated+{+ /**+ * Handle an incoming request.+ *+ * @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next+ */+ public function handle(Request $request, Closure $next, string ...$guards): Response+ {+ $guards = empty($guards) ? [null] : $guards;++ foreach ($guards as $guard) {+ if (Auth::guard($guard)->check()) {+ return redirect(RouteServiceProvider::HOME);+ }+ }++ return $next($request);+ }+}diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.phpnew file mode 100644index 0000000000..88cadcaaf2--- /dev/null+++ b/app/Http/Middleware/TrimStrings.php@@ -0,0 +1,19 @@+<?php++namespace App\Http\Middleware;++use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;++class TrimStrings extends Middleware+{+ /**+ * The names of the attributes that should not be trimmed.+ *+ * @var array<int, string>+ */+ protected $except = [+ 'current_password',+ 'password',+ 'password_confirmation',+ ];+}diff --git a/app/Http/Middleware/TrustHosts.php b/app/Http/Middleware/TrustHosts.phpnew file mode 100644index 0000000000..c9c58bddce--- /dev/null+++ b/app/Http/Middleware/TrustHosts.php@@ -0,0 +1,20 @@+<?php++namespace App\Http\Middleware;++use Illuminate\Http\Middleware\TrustHosts as Middleware;++class TrustHosts extends Middleware+{+ /**+ * Get the host patterns that should be trusted.+ *+ * @return array<int, string|null>+ */+ public function hosts(): array+ {+ return [+ $this->allSubdomainsOfApplicationUrl(),+ ];+ }+}diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.phpnew file mode 100644index 0000000000..3391630ecc--- /dev/null+++ b/app/Http/Middleware/TrustProxies.php@@ -0,0 +1,28 @@+<?php++namespace App\Http\Middleware;++use Illuminate\Http\Middleware\TrustProxies as Middleware;+use Illuminate\Http\Request;++class TrustProxies extends Middleware+{+ /**+ * The trusted proxies for this application.+ *+ * @var array<int, string>|string|null+ */+ protected $proxies;++ /**+ * The headers that should be used to detect proxies.+ *+ * @var int+ */+ protected $headers =+ Request::HEADER_X_FORWARDED_FOR |+ Request::HEADER_X_FORWARDED_HOST |+ Request::HEADER_X_FORWARDED_PORT |+ Request::HEADER_X_FORWARDED_PROTO |+ Request::HEADER_X_FORWARDED_AWS_ELB;+}diff --git a/app/Http/Middleware/ValidateSignature.php b/app/Http/Middleware/ValidateSignature.phpnew file mode 100644index 0000000000..093bf64af8--- /dev/null+++ b/app/Http/Middleware/ValidateSignature.php@@ -0,0 +1,22 @@+<?php++namespace App\Http\Middleware;++use Illuminate\Routing\Middleware\ValidateSignature as Middleware;++class ValidateSignature extends Middleware+{+ /**+ * The names of the query string parameters that should be ignored.+ *+ * @var array<int, string>+ */+ protected $except = [+ // 'fbclid',+ // 'utm_campaign',+ // 'utm_content',+ // 'utm_medium',+ // 'utm_source',+ // 'utm_term',+ ];+}diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.phpnew file mode 100644index 0000000000..9e86521722--- /dev/null+++ b/app/Http/Middleware/VerifyCsrfToken.php@@ -0,0 +1,17 @@+<?php++namespace App\Http\Middleware;++use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;++class VerifyCsrfToken extends Middleware+{+ /**+ * The URIs that should be excluded from CSRF verification.+ *+ * @var array<int, string>+ */+ protected $except = [+ //+ ];+}diff --git a/app/Models/User.php b/app/Models/User.phpnew file mode 100644index 0000000000..23b406346f--- /dev/null+++ b/app/Models/User.php@@ -0,0 +1,44 @@+<?php++namespace App\Models;++// use Illuminate\Contracts\Auth\MustVerifyEmail;+use Illuminate\Database\Eloquent\Factories\HasFactory;+use Illuminate\Foundation\Auth\User as Authenticatable;+use Illuminate\Notifications\Notifiable;+use Laravel\Sanctum\HasApiTokens;++class User extends Authenticatable+{+ use HasApiTokens, HasFactory, Notifiable;++ /**+ * The attributes that are mass assignable.+ *+ * @var array<int, string>+ */+ protected $fillable = [+ 'name',+ 'email',+ 'password',+ ];++ /**+ * The attributes that should be hidden for serialization.+ *+ * @var array<int, string>+ */+ protected $hidden = [+ 'password',+ 'remember_token',+ ];++ /**+ * The attributes that should be cast.+ *+ * @var array<string, string>+ */+ protected $casts = [+ 'email_verified_at' => 'datetime',+ ];+}diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.phpnew file mode 100644index 0000000000..452e6b65b7--- /dev/null+++ b/app/Providers/AppServiceProvider.php@@ -0,0 +1,24 @@+<?php++namespace App\Providers;++use Illuminate\Support\ServiceProvider;++class AppServiceProvider extends ServiceProvider+{+ /**+ * Register any application services.+ */+ public function register(): void+ {+ //+ }++ /**+ * Bootstrap any application services.+ */+ public function boot(): void+ {+ //+ }+}diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.phpnew file mode 100644index 0000000000..dafcbee79f--- /dev/null+++ b/app/Providers/AuthServiceProvider.php@@ -0,0 +1,26 @@+<?php++namespace App\Providers;++// use Illuminate\Support\Facades\Gate;+use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;++class AuthServiceProvider extends ServiceProvider+{+ /**+ * The model to policy mappings for the application.+ *+ * @var array<class-string, class-string>+ */+ protected $policies = [+ // 'App\Models\Model' => 'App\Policies\ModelPolicy',+ ];++ /**+ * Register any authentication / authorization services.+ */+ public function boot(): void+ {+ //+ }+}diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.phpnew file mode 100644index 0000000000..2be04f5d9d--- /dev/null+++ b/app/Providers/BroadcastServiceProvider.php@@ -0,0 +1,19 @@+<?php++namespace App\Providers;++use Illuminate\Support\Facades\Broadcast;+use Illuminate\Support\ServiceProvider;++class BroadcastServiceProvider extends ServiceProvider+{+ /**+ * Bootstrap any application services.+ */+ public function boot(): void+ {+ Broadcast::routes();++ require base_path('routes/channels.php');+ }+}diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.phpnew file mode 100644index 0000000000..2d65aac0ef--- /dev/null+++ b/app/Providers/EventServiceProvider.php@@ -0,0 +1,38 @@+<?php++namespace App\Providers;++use Illuminate\Auth\Events\Registered;+use Illuminate\Auth\Listeners\SendEmailVerificationNotification;+use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;+use Illuminate\Support\Facades\Event;++class EventServiceProvider extends ServiceProvider+{+ /**+ * The event to listener mappings for the application.+ *+ * @var array<class-string, array<int, class-string>>+ */+ protected $listen = [+ Registered::class => [+ SendEmailVerificationNotification::class,+ ],+ ];++ /**+ * Register any events for your application.+ */+ public function boot(): void+ {+ //+ }++ /**+ * Determine if events and listeners should be automatically discovered.+ */+ public function shouldDiscoverEvents(): bool+ {+ return false;+ }+}diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.phpnew file mode 100644index 0000000000..bc4910996c--- /dev/null+++ b/app/Providers/RouteServiceProvider.php@@ -0,0 +1,48 @@+<?php++namespace App\Providers;++use Illuminate\Cache\RateLimiting\Limit;+use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;+use Illuminate\Http\Request;+use Illuminate\Support\Facades\RateLimiter;+use Illuminate\Support\Facades\Route;++class RouteServiceProvider extends ServiceProvider+{+ /**+ * The path to the "home" route for your application.+ *+ * Typically, users are redirected here after authentication.+ *+ * @var string+ */+ public const HOME = '/home';++ /**+ * Define your route model bindings, pattern filters, and other route configuration.+ */+ public function boot(): void+ {+ $this->configureRateLimiting();++ $this->routes(function () {+ Route::middleware('api')+ ->prefix('api')+ ->group(base_path('routes/api.php'));++ Route::middleware('web')+ ->group(base_path('routes/web.php'));+ });+ }++ /**+ * Configure the rate limiters for the application.+ */+ protected function configureRateLimiting(): void+ {+ RateLimiter::for('api', function (Request $request) {+ return Limit::perMinute(60)->by($request->user()?->id ?: $request->ip());+ });+ }+}diff --git a/apps/api/.env.example b/apps/api/.env.exampledeleted file mode 100644index 598d659b3e..0000000000--- a/apps/api/.env.example+++ /dev/null@@ -1,9 +0,0 @@-COOLIFY_APP_ID=local-dev-# 32 bits long secret key-COOLIFY_SECRET_KEY=12341234123412341234123412341234-COOLIFY_DATABASE_URL=file:../db/dev.db--COOLIFY_IS_ON=docker-COOLIFY_WHITE_LABELED=false-COOLIFY_WHITE_LABELED_ICON=-COOLIFY_AUTO_UPDATE=diff --git a/apps/api/.eslintignore b/apps/api/.eslintignoredeleted file mode 100644index 70dc23b710..0000000000--- a/apps/api/.eslintignore+++ /dev/null@@ -1,9 +0,0 @@-seed.js-.DS_Store-node_modules-build-.env-.env.*-!.env.example-dist-dev.db\ No newline at end of filediff --git a/apps/api/.eslintrc b/apps/api/.eslintrcdeleted file mode 100644index 92583263b8..0000000000--- a/apps/api/.eslintrc+++ /dev/null@@ -1,11 +0,0 @@-{- "root": true,- "parser": "@typescript-eslint/parser",- "plugins": ["@typescript-eslint", "prettier"],- "extends": [- "eslint:recommended",- "plugin:@typescript-eslint/eslint-recommended",- "plugin:@typescript-eslint/recommended",- "prettier"- ]-}diff --git a/apps/api/.gitignore b/apps/api/.gitignoredeleted file mode 100644index 8614cdee9e..0000000000--- a/apps/api/.gitignore+++ /dev/null@@ -1,13 +0,0 @@-.DS_Store-node_modules-build-.svelte-kit-package-.env-.env.*-!.env.example-dist-dev.db-client-testTemplate.yaml-testTags.json\ No newline at end of filediff --git a/apps/api/.prettierrc b/apps/api/.prettierrcdeleted file mode 100644index ff2677efde..0000000000--- a/apps/api/.prettierrc+++ /dev/null@@ -1,6 +0,0 @@-{- "useTabs": true,- "singleQuote": true,- "trailingComma": "none",- "printWidth": 100-}diff --git a/apps/api/db/.gitkeep b/apps/api/db/.gitkeepdeleted file mode 100644index e69de29bb2..0000000000diff --git a/apps/api/devTags.json b/apps/api/devTags.jsondeleted file mode 100644index a788801e24..0000000000--- a/apps/api/devTags.json+++ /dev/null@@ -1,983 +0,0 @@-[- {- "name": "appsmith",- "image": "appsmith/appsmith-ce",- "tags": [- "v1.9.3",- "v1.9.1",- "v1.8.15",- "v1.8.12",- "v1.8.10",- "v1.8.9",- "v1.8.7",- "v1.8.5",- "v1.8.3",- "v1.8.0",- "v1.7.13",- "v1.7.11",- "v1.7.8",- "v1.7.6",- "v1.7.4",- "v1.7.2",- "v1.7.1",- "v1.6.22",- "v1.6.20",- "v1.6.19",- "v1.6.17",- "v1.6.15",- "v1.6.13",- "v1.6.11",- "v1.6.9",- "v1.6.7",- "v1.6.5",- "v1.6.3",- "v1.6.1",- "v1.5.30"- ]- },- {- "name": "appwrite",- "image": "appwrite/appwrite",- "tags": [- "1.2.0",- "1.1.2",- "1.1.0",- "1.0.3",- "1.0.1",- "1.0.0",- "0.15.2",- "0.15.0",- "0.14.2",- "0.14.0",- "0.13.4",- "0.13.2",- "0.13.0",- "0.12.3",- "0.12.1",- "0.12.0",- "0.11.2",- "0.11.0",- "0.10.4",- "0.10.2",- "0.10.0",- "0.9.3",- "0.9.1",- "0.8.0",- "0.7.1",- "0.6.2",- "0.6.0",- "0.5.2",- "0.5.0",- "0.3.1"- ]- },- {- "name": "directus-postgresql",- "image": "directus/directus",- "tags": [- "9.22.3",- "9.22.0",- "9.21.0",- "9.20.4",- "9.20.2",- "9.20.0",- "9.19.2",- "9.18.0",- "9.17.4",- "9.17.2",- "9.17.0",- "9.16.0",- "9.15.0",- "9.14.5",- "9.14.3",- "9.14.0",- "9.13.0",- "9.12.2",- "9.12.0",- "9.11.0",- "9.10.0",- "9.9.0",- "9.8.0",- "9.7.0",- "9.6.0",- "9.5.2",- "9.5.0",- "9.4.2",- "9.4.0",- "9.3.0"- ]- },- {- "name": "fider",- "image": "getfider/fider",- "tags": [- "stable",- "master",- "main",- "dev",- "SHA_ee6e83cfaadadaa56ab76e089e01f5631af3506f",- "SHA_deb4f9b4f561d890d8a80e6872fea9a98a265cc6",- "SHA_d5cc307909d43447200483d76b5db74d8ed8349e",- "SHA_d1674476577a7fd3c88fc29f91c3f35f5bd6a260",- "SHA_d107cbb157abca6576110080736213efe0955cff",- "SHA_c9c55b2f5b33a76015241b97e03cfac1254b42a7",- "SHA_bcf451a3cb02d5c8a489fd30309249296057b084",- "SHA_bbfe419639514f949a042807addf0fde7d4de225",- "SHA_adc3afc4c7bcf96931a5f90cab65c282d860dbfd",- "SHA_ab5283ae95334f10b5041402dce79e333c472015",- "SHA_a3f4cb5ed0a4ee2d726705fc426636364aac17a1",- "SHA_a18224142bf51bc6463c3d22f45f62287902e9a6",- "SHA_8e5cff30d95963eaee2587488d351e0d658c8195",- "SHA_8cabe2817ce7ccaf2f0a9fdbb1b5d3411de87f81",- "SHA_7851f9da566132d87fa2a63004e78c3bc9c09c6c",- "SHA_6c0f2bed1754e9d579eb9575129a6e3dbc529c32",- "SHA_603508c8790d6a6fb1e852df1a58ead8e5b3ea6c",- "SHA_55efacf164a4749b50ee68ae8925e7dc9dfa3a0c",- "SHA_4bdd291ce61e5f5dfc063fa1b2d9be8c9ff1d4c4",- "SHA_3fba9cb6a9ceab0c78c6cff3220610f591f657cb",- "SHA_3d635b57606a9885babe91fe975b11429e0f2c38",- "SHA_3b794edbd9789a8aa38ecd3714bc536a675d3058",- "SHA_3570c454ad3252b690608f7bf8051737d8519f8a",- "SHA_263e2709fd145f3ea511e5557e170102899995b0",- "SHA_255c30ed012fc4c39ffc97efc1d3b00425b17c72",- "SHA_17f92b16ef790003338f0926fc8d791a9a61333c"- ]- },- {- "name": "ghost-mariadb",- "image": "bitnami/ghost",- "tags": [- "5.30.1",- "5.30.0",- "5.29.0",- "5.28.0",- "5.27.0",- "5.26.4",- "5.26.3",- "5.26.2",- "5.26.1",- "5.26.0",- "5.25.5",- "5.25.4",- "5.25.3",- "5.25.2",- "5.25.1",- "5.25.0",- "5.24.2",- "5.24.1",- "5.24.0",- "5.23.0",- "5.22.11",- "5.22.10",- "5.22.9",- "5.22.8",- "5.22.7",- "5.22.6",- "5.22.5",- "5.22.4",- "5.22.3",- "5.22.2",- "4.48.8"- ]- },- {- "name": "ghost-mysql",- "image": "library/ghost",- "tags": [- "5.30.0",- "5.29.0",- "5.28.0",- "5.27.0",- "5.26.4",- "5.26.3",- "5.26.2",- "5.26.1",- "5.25.5",- "5.25.3",- "5.25.2",- "5.25.1",- "5.25.0",- "5.24.2",- "5.24.1",- "5.23.0",- "5.22.11",- "5.22.10",- "5.22.9",- "5.22.8",- "5.22.4",- "5.22.1",- "5.20.0",- "5.19.3",- "5.19.0",- "5.18.0",- "5.17.2",- "5.17.1",- "5.17.0",- "5.16.2"- ]- },- {- "name": "ghost-only",- "image": "library/ghost",- "tags": [- "5.30.0",- "5.29.0",- "5.28.0",- "5.27.0",- "5.26.4",- "5.26.3",- "5.26.2",- "5.26.1",- "5.25.5",- "5.25.3",- "5.25.2",- "5.25.1",- "5.25.0",- "5.24.2",- "5.24.1",- "5.23.0",- "5.22.11",- "5.22.10",- "5.22.9",- "5.22.8",- "5.22.4",- "5.22.1",- "5.20.0",- "5.19.3",- "5.19.0",- "5.18.0",- "5.17.2",- "5.17.1",- "5.17.0",- "5.16.2"- ]- },- {- "name": "gitea",- "image": "gitea/gitea",- "tags": [- "1.18.0",- "1.17.4",- "1.17.3",- "1.17.2",- "1.17.1",- "1.17.0",- "1.16.9",- "1.16.8",- "1.16.7",- "1.16.6",- "1.16.5",- "1.16.4",- "1.16.3",- "1.16.2",- "1.16.1",- "1.16.0",- "1.15.11",- "1.15.10",- "1.15.9",- "1.15.8",- "1.15.7",- "1.15.6",- "1.15.5",- "1.15.4",- "1.15.3",- "1.15.2",- "1.15.1",- "1.15.0",- "1.14.7",- "1.14.6"- ]- },- {- "name": "glitchtip",- "image": "glitchtip/glitchtip",- "tags": [- "v3.0.2",- "v3.0.0",- "v2.0.7",- "v2.0.5",- "v2.0.2",- "v2.0.0",- "v1.12.4",- "v1.12.2",- "v1.12.0",- "v1.10.3",- "v1.10.1",- "v1.9.2",- "v1.9.0",- "v1.8.4",- "v1.8.2",- "v1.8.0",- "v1.7.1",- "v1.6.4",- "v1.6.2",- "v1.6.0",- "v1.5.3",- "v1.5.1",- "v1.4.1",- "v1.3.3",- "v1.3.1",- "v1.2.6",- "v1.2.4",- "v1.2.2",- "v1.2.0",- "v1.1.2"- ]- },- {- "name": "grafana",- "image": "grafana/grafana",- "tags": [- "9.3.2",- "9.3.1",- "9.3.0",- "9.2.8",- "9.2.7",- "9.2.6",- "9.2.5",- "9.2.4",- "9.2.3",- "9.2.2",- "9.2.1",- "9.2.0",- "9.1.8",- "9.1.7",- "9.1.6",- "9.1.5",- "9.1.4",- "9.1.3",- "9.1.2",- "9.1.1",- "9.1.0",- "9.0.9",- "9.0.8",- "9.0.7",- "9.0.6",- "9.0.5",- "9.0.4",- "9.0.3",- "9.0.2",- "9.0.1"- ]- },- {- "name": "hasura",- "image": "hasura/graphql-engine",- "tags": [- "v2.16.1",- "v2.16.0",- "v2.15.2",- "v2.14.1",- "v2.13.2",- "v2.12.1",- "v2.11.3",- "v2.10.2",- "v2.9.0",- "v2.8.4",- "v2.8.3",- "v2.8.2",- "v2.8.1",- "v2.8.0",- "v2.7.0",- "v2.6.2",- "v2.6.1",- "v2.6.0",- "v2.5.2",- "v2.5.1",- "v2.5.0",- "v2.4.0",- "v2.3.1",- "v2.3.0",- "v2.2.2",- "v2.2.1",- "v2.2.0",- "v2.1.1",- "v2.1.0",- "v2.0.10"- ]- },- {- "name": "keycloak",- "image": "quay.io/keycloak/keycloak",- "tags": [- "9.0.3",- "9.0.0",- "8.0.1",- "7.0.0",- "6.0.1",- "6.0.0",- "20.0.3",- "20.0.2",- "20.0.1",- "20.0.0",- "19.0.3",- "19.0.1",- "19.0.0",- "18.0.1",- "18.0.0",- "17.0.1",- "17.0.0",- "16.1.0",- "15.1.1",- "15.0.2",- "15.0.0",- "13.0.1",- "12.0.4",- "12.0.2",- "12.0.0",- "11.0.2",- "11.0.0",- "10.0.1"- ]- },- {- "name": "languagetool",- "image": "silviof/docker-languagetool",- "tags": ["latest", "6.0", "5.8", "5.7", "5.6", "5.5", "5.4", "5.3"]- },- {- "name": "lavalink",- "image": "fredboat/lavalink",- "tags": ["3.7.0", "3.6.1", "3.5.1", "v2.0.1"]- },- {- "name": "libretranslate",- "image": "libretranslate/libretranslate",- "tags": ["v1.3.8", "v1.3.6", "v1.3.4", "v1.3.2", "v1.3.0", "v1.2.8"]- },- {- "name": "meilisearch",- "image": "getmeili/meilisearch",- "tags": [- "v0.30.5",- "v0.30.3",- "v0.30.1",- "v0.30.0",- "v0.29.3",- "v0.29.1",- "v0.29.0",- "v0.28.1",- "v0.28.0",- "v0.27.1",- "v0.27.0",- "v0.26.1",- "v0.26.0",- "v0.25.1",- "v0.25.0",- "v0.23.1",- "v0.23.0",- "v0.21.1",- "v0.21.0",- "v0.20.0",- "v0.19.0",- "v0.18.1",- "v0.18.0",- "v0.17.0",- "v0.16.0",- "0.14.1",- "v0.14.1",- "v0.14.0",- "v0.12.0",- "v0.11.0"- ]- },- {- "name": "minio",- "image": "minio/minio",- "tags": [- "RELEASE.2023-01-12T02-06-16Z",- "RELEASE.2023-01-06T18-11-18Z",- "RELEASE.2023-01-02T09-40-09Z",- "RELEASE.2022-12-12T19-27-27Z",- "RELEASE.2022-12-07T00-56-37Z",- "RELEASE.2022-12-02T19-19-22Z",- "RELEASE.2022-11-29T23-40-49Z",- "RELEASE.2022-11-26T22-43-32Z",- "RELEASE.2022-11-17T23-20-09Z",- "RELEASE.2022-11-11T03-44-20Z",- "RELEASE.2022-11-10T18-20-21Z",- "RELEASE.2022-11-08T05-27-07Z",- "RELEASE.2022-10-29T06-21-33Z",- "RELEASE.2022-10-24T18-35-07Z.hotfix.7906ac5be",- "RELEASE.2022-10-24T18-35-07Z",- "RELEASE.2022-10-21T22-37-48Z",- "RELEASE.2022-10-20T00-55-09Z",- "RELEASE.2022-10-15T19-57-03Z",- "RELEASE.2022-10-08T20-11-00Z",- "RELEASE.2022-10-05T14-58-27Z",- "RELEASE.2022-10-02T19-29-29Z",- "RELEASE.2022-09-25T15-44-53Z",- "RELEASE.2022-09-22T18-57-27Z",- "RELEASE.2022-09-17T00-09-45Z.hotfix.f76e5da9f",- "RELEASE.2022-09-17T00-09-45Z.fips",- "RELEASE.2022-09-07T22-25-02Z.fips",- "RELEASE.2022-09-01T23-53-36Z.fips",- "RELEASE.2022-08-26T19-53-15Z.fips",- "RELEASE.2022-08-25T07-17-05Z.fips",- "RELEASE.2022-08-22T23-53-06Z.hotfix.5fa3967bb"- ]- },- {- "name": "n8n",- "image": "n8nio/n8n",- "tags": [- "0.210.1",- "0.210.0",- "0.209.4",- "0.209.3",- "0.209.2",- "0.209.1",- "0.209.0",- "0.208.1",- "0.208.0",- "0.207.1",- "0.207.0",- "0.206.1",- "0.205.0",- "0.204.0",- "0.203.1",- "0.202.1",- "0.202.0",- "0.201.0",- "0.200.1",- "0.199.0",- "0.198.1",- "0.198.0",- "0.197.1",- "0.197.0",- "0.196.0",- "0.195.5",- "0.195.4",- "0.195.3",- "0.195.2",- "0.195.1"- ]- },- {- "name": "nocodb",- "image": "nocodb/nocodb",- "tags": [- "0.101.2",- "0.101.0",- "0.100.1",- "0.99.2",- "0.99.0",- "0.98.3",- "0.98.1",- "0.97.0",- "0.96.3",- "0.96.1",- "0.92.4",- "0.92.0",- "0.91.8",- "0.91.6",- "0.91.1",- "0.90.11",- "0.90.8",- "0.90.5",- "0.90.3",- "0.90.1",- "0.84.16",- "0.84.14",- "0.84.10",- "0.84.9",- "0.84.7",- "0.84.3",- "0.83.8",- "0.83.5",- "0.83.2",- "0.83.0"- ]- },- {- "name": "openblocks",- "image": "openblocksdev/openblocks-ce",- "tags": ["1.1.3", "1.1.1", "1.0.21"]- },- {- "name": "plausibleanalytics-arm",- "image": "plausible/analytics",- "tags": [- "v1.5.1",- "v1.5.0",- "v1.4.3",- "v1.4.1",- "v1.4.0",- "v1.3.0",- "v1.2.0",- "v1.1.0",- "v1.0.0"- ]- },- {- "name": "plausibleanalytics",- "image": "plausible/analytics",- "tags": [- "v1.5.1",- "v1.5.0",- "v1.4.3",- "v1.4.1",- "v1.4.0",- "v1.3.0",- "v1.2.0",- "v1.1.0",- "v1.0.0"- ]- },- { "name": "pocketbase", "image": "coollabsio/pocketbase", "tags": ["0.11.0", "0.10.2", "0.8.0"] },- {- "name": "searxng",- "image": "searxng/searxng",- "tags": [- "2023.01.15-52d41559",- "2023.01.15-13b0c251",- "2023.01.14-b720a495",- "2023.01.14-449aebae",- "2023.01.14-18d895ff",- "2023.01.09-afd71a6c",- "2023.01.09-a90ed481",- "2023.01.08-54e63839",- "2023.01.08-4e735b28",- "2023.01.08-217395b8",- "2023.01.08-0c429d70",- "2023.01.07-cb7b0916",- "2023.01.07-a98c5156",- "2023.01.07-633ba8b1",- "2023.01.07-4e355564",- "2023.01.06-b241015e",- "2023.01.06-269a72ee",- "2023.01.05-aba969cc",- "2022.12.30-b6d98be7",- "2022.12.30-647a0aa9",- "2022.12.30-17516290",- "2022.12.29-d531f893",- "2022.12.29-9b31976c",- "2022.12.29-76cd808a",- "2022.12.29-3ec58b06",- "2022.12.29-174e6851",- "2022.12.26-0d489617",- "2022.12.23-e8f72d70",- "2022.12.23-a2d506d4",- "2022.12.22-d75ae7c8"- ]- },- {- "name": "trilium",- "image": "zadam/trilium",- "tags": [- "0.58.4",- "0.57.4",- "0.57.2",- "0.56.1",- "0.55.1",- "0.54.2",- "0.53.2",- "0.52.4",- "0.52.2",- "0.51.2",- "0.50.3",- "0.50.1",- "0.49.5",- "0.49.3",- "0.48.9",- "0.48.7",- "0.48.4",- "0.48.2",- "0.47.8",- "0.47.6",- "0.47.4",- "0.47.2",- "0.46.7",- "0.46.5",- "0.45.10",- "0.45.9",- "0.45.7",- "0.45.5",- "0.45.3",- "0.44.8"- ]- },- {- "name": "umami-postgresql",- "image": "ghcr.io/umami-software/umami",- "tags": [- "postgresql-v1.39.5",- "postgresql-v1.39.4",- "postgresql-v1.39.3",- "postgresql-v1.39.2",- "postgresql-v1.39.1",- "postgresql-v1.39.0",- "postgresql-v1.38.0",- "postgresql-v1.37.0",- "postgresql-v1.36.1",- "postgresql-v1.36.0",- "postgresql-v1.35.0",- "postgresql-v1.34.0",- "postgresql-v1.33.3",- "postgresql-latest",- "mysql-v1.39.5",- "mysql-v1.39.4",- "mysql-v1.39.3",- "mysql-v1.39.2",- "mysql-v1.39.1",- "mysql-v1.39.0",- "mysql-v1.38.0",- "mysql-v1.37.0",- "mysql-v1.36.1",- "mysql-v1.36.0",- "mysql-v1.35.0",- "mysql-v1.34.0",- "mysql-v1.33.3",- "mysql-latest"- ]- },- {- "name": "umami",- "image": "ghcr.io/umami-software/umami",- "tags": [- "postgresql-v1.39.5",- "postgresql-v1.39.4",- "postgresql-v1.39.3",- "postgresql-v1.39.2",- "postgresql-v1.39.1",- "postgresql-v1.39.0",- "postgresql-v1.38.0",- "postgresql-v1.37.0",- "postgresql-v1.36.1",- "postgresql-v1.36.0",- "postgresql-v1.35.0",- "postgresql-v1.34.0",- "postgresql-v1.33.3",- "postgresql-latest",- "mysql-v1.39.5",- "mysql-v1.39.4",- "mysql-v1.39.3",- "mysql-v1.39.2",- "mysql-v1.39.1",- "mysql-v1.39.0",- "mysql-v1.38.0",- "mysql-v1.37.0",- "mysql-v1.36.1",- "mysql-v1.36.0",- "mysql-v1.35.0",- "mysql-v1.34.0",- "mysql-v1.33.3",- "mysql-latest"- ]- },- {- "name": "uptimekuma",- "image": "louislam/uptime-kuma",- "tags": [- "1.19.4",- "1.19.3",- "1.19.2",- "1.19.1",- "1.19.0",- "1.18.5",- "1.18.4",- "1.18.3",- "1.18.2",- "1.18.1",- "1.18.0",- "1.17.1",- "1.17.0",- "1.16.1",- "1.16.0",- "1.15.1",- "1.15.0",- "1.14.1",- "1.14.0",- "1.13.2",- "1.13.1",- "1.13.0",- "1.12.1",- "1.11.4",- "1.11.3",- "1.11.2",- "1.11.1",- "1.11.0",- "1.10.2",- "1.10.1"- ]- },- {- "name": "vaultwarden",- "image": "vaultwarden/server",- "tags": [- "1.27.0",- "1.26.0",- "1.25.2",- "1.25.1",- "1.25.0",- "1.24.0",- "1.23.1",- "1.23.0",- "1.22.2",- "1.22.1",- "1.22.0",- "1.21.0"- ]- },- {- "name": "vscodeserver",- "image": "codercom/code-server",- "tags": [- "4.9.1",- "4.9.0",- "4.8.3",- "4.8.2",- "4.8.1",- "4.8.0",- "4.7.0",- "4.6.0",- "4.5.1",- "4.4.0",- "4.2.0",- "4.0.2",- "3.11.1",- "3.10.2",- "3.10.0",- "3.9.3",- "3.9.1",- "3.8.1",- "3.7.4",- "3.7.2",- "3.7.0",- "3.6.1",- "3.5.0",- "3.4.0",- "3.3.0",- "3.2.0",- "3.1.1",- "3.1.0",- "3.0.2",- "3.0.0"- ]- },- {- "name": "weblate",- "image": "weblate/weblate",- "tags": [- "latest",- "edge-2023-01-13-e824b551f23c3679467e38b06366744a06aa3b0c",- "edge-2023-01-13-468b996565e6b62edb78d40b515c476e0d860273",- "edge-2023-01-12-fe3d58b14f119eb5501220e9f096949c2e1ec2d3",- "edge-2023-01-12-112f75f9ee9e118ad493215f89742e6e091be8d0",- "edge-2023-01-11-f7bb190993e329d1529694e8cc7f5e0a80ccd615",- "edge-2023-01-11-e8ef3183aa7723f32c2b60c7c3b89910f2c7c593",- "edge-2023-01-11-155231f6cde18a65e3f35093d66dd0ce93aa7154",- "edge-2023-01-10-e47516e4022f87c019e61998b556b69111187aa9",- "edge-2023-01-10-98c6b38c746165adb27b2a8e93a74fa9ab64f17c",- "edge-2023-01-10-1df5c9dd96a6d8650f6881942fecbe33e1884295",- "edge-2023-01-09-7029b7b6c630be7cdac07d1629573dd2b81bc05f",- "edge-2023-01-09-4b05a878aa25b2c544a4e77027769b5934ec561f",- "edge-2023-01-07-df50259ff209720b0fd3c983bd7a5d01b564149c",- "edge-2023-01-07-719b3034de0ed369cd63554ea652f11142b9a540",- "edge-2023-01-07-14d4aec6cd8e1e6e0b7c1dc3a9cf4a74ccfc5e37",- "edge-2023-01-07-00f2d980c4388d799ba0df3a27c10bf941b7edd3",- "edge-2023-01-04-e92fe933b22e36e92f6de57a0ecb16752852d815",- "edge-2023-01-04-4c413c6ba33c39a6b7f3238f255bc09c69e96345",- "edge-2023-01-02-fd57652cce9dd2a12c7ff1dc644f5a969e57ea76",- "edge-2023-01-02-738d270784bca0cfaaef59e6cfb8c307f68a9939",- "edge-2023-01-02-3f6a7a183bbda4dc2e8d7e468370adc6f9e50527",- "edge-2023-01-01-5580a7a4755bf71403c85999fb4dff2078293403",- "edge-2022-12-29-8f422f23930880809a26d1207f9e43315ef54ad2",- "edge-2022-12-28-375fd99195711641246ccd09e3ce394d6928eaef",- "edge-2022-12-25-358c8ce6071f2781ae027bbc3a46d906ce08d9e7",- "edge-2022-12-24-3e1503494ce06ad6ff32f02db1a7d59224e5c860",- "edge-2022-12-21-cac4b09f943fe97700e3a33b7caf23277d2fcc11",- "edge-2022-12-21-3a8dd1bf66a7295f3512346bc1c97d55c5649dcf",- "edge-2022-12-16-e93caa3b014543b716b946f2c7fbf4a8f9be6099"- ]- },- {- "name": "whoogle",- "image": "benbusby/whoogle-search",- "tags": [- "0.8.0",- "0.7.3",- "0.7.1",- "0.6.0",- "0.5.3",- "0.5.1",- "0.4.1",- "0.3.2",- "v0.3.0",- "0.1.2",- "0.1.0"- ]- },- {- "name": "wordpress-only",- "image": "library/wordpress",- "tags": [- "php8.2-fpm-alpine",- "php8.2-fpm",- "php8.2-apache",- "php8.2",- "php8.1-fpm-alpine",- "php8.1-fpm",- "php8.1-apache",- "php8.1",- "php8.0-fpm-alpine",- "php8.0-fpm",- "php8.0-apache",- "php8.0",- "php7.4-fpm-alpine",- "php7.4-fpm",- "php7.4-apache",- "php7.4",- "php7.3-fpm-alpine",- "php7.3-fpm",- "php7.3-apache",- "php7.3",- "php7.2-fpm-alpine",- "php7.2-fpm",- "php7.2-apache",- "php7.2",- "php7.1-fpm-alpine",- "php7.1-fpm",- "php7.1-apache",- "php7.1",- "php7.0-fpm-alpine",- "php7.0-fpm"- ]- },- {- "name": "wordpress",- "image": "library/wordpress",- "tags": [- "php8.2-fpm-alpine",- "php8.2-fpm",- "php8.2-apache",- "php8.2",- "php8.1-fpm-alpine",- "php8.1-fpm",- "php8.1-apache",- "php8.1",- "php8.0-fpm-alpine",- "php8.0-fpm",- "php8.0-apache",- "php8.0",- "php7.4-fpm-alpine",- "php7.4-fpm",- "php7.4-apache",- "php7.4",- "php7.3-fpm-alpine",- "php7.3-fpm",- "php7.3-apache",- "php7.3",- "php7.2-fpm-alpine",- "php7.2-fpm",- "php7.2-apache",- "php7.2",- "php7.1-fpm-alpine",- "php7.1-fpm",- "php7.1-apache",- "php7.1",- "php7.0-fpm-alpine",- "php7.0-fpm"- ]- }-]diff --git a/apps/api/devTemplates.yaml b/apps/api/devTemplates.yamldeleted file mode 100644index e4bcde3259..0000000000--- a/apps/api/devTemplates.yaml+++ /dev/null@@ -1,3581 +0,0 @@-- templateVersion: 1.0.0- defaultVersion: "9.22"- documentation: https://docs.directus.io/getting-started/introduction.html- type: directus-postgresql- name: Directus- subname: (PostgreSQL)- description: >-- Directus is a free and open-source headless CMS framework for managing custom SQL-based databases.- labels:- - CMS- - headless- services:- $$id:- name: Directus- depends_on:- - $$id-postgresql- - $$id-redis- image: directus/directus:$$core_version- volumes:- - $$id-uploads:/directus/uploads- - $$id-database:/directus/database- - $$id-extensions:/directus/extensions- environment:- - KEY=$$secret_key- - SECRET=$$secret_secret- - DB_CLIENT=pg- - DB_CONNECTION_STRING=$$secret_db_connection_string- - CACHE_ENABLED=true- - CACHE_STORE=redis- - CACHE_REDIS=$$secret_cache_redis- - ADMIN_EMAIL=$$config_admin_email- - ADMIN_PASSWORD=$$secret_admin_password- - CACHE_AUTO_PURGE=true- - PUBLIC_URL=$$config_public_url- ports:- - "8055"- $$id-postgresql:- name: Directus PostgreSQL- depends_on: []- image: postgres:14-alpine- volumes:- - $$id-postgresql-data:/var/lib/postgresql/data- environment:- - POSTGRES_USER=$$config_postgres_user- - POSTGRES_PASSWORD=$$secret_postgres_password- - POSTGRES_DB=$$config_postgres_db- ports: []- $$id-redis:- name: Directus Redis- depends_on: []- image: redis:7.0.4-alpine- command: "--maxmemory 512mb --maxmemory-policy allkeys-lru --maxmemory-samples 5"- volumes:- - "$$id-redis:/data"- environment: []- variables:- - id: $$config_public_url- name: PUBLIC_URL- label: Public URL- defaultValue: $$generate_fqdn- description: ""- - id: $$secret_db_connection_string- name: DB_CONNECTION_STRING- label: Directus Database Url- defaultValue: postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db- description: ""- - id: $$config_postgres_db- main: $$id-postgresql- name: POSTGRES_DB- label: Database- defaultValue: directus- description: ""- - id: $$config_postgres_user- main: $$id-postgresql- name: POSTGRES_USER- label: User- defaultValue: $$generate_username- description: ""- - id: $$secret_postgres_password- main: $$id-postgresql- name: POSTGRES_PASSWORD- label: Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true- - id: $$secret_cache_redis- name: CACHE_REDIS- label: Redis Url- defaultValue: redis://$$id-redis:6379- description: ""- - id: $$config_admin_email- name: ADMIN_EMAIL- label: Initial Admin Email- defaultValue: "[email protected]"- description: "The email address of the first user that is automatically created. You can change it later in Directus."- - id: $$secret_admin_password- name: ADMIN_PASSWORD- label: Initial Admin Password- defaultValue: $$generate_password- description: "The password of the first user that is automatically created."- showOnConfiguration: true- - id: $$secret_key- name: KEY- label: Key- defaultValue: $$generate_password- description: "Unique identifier for the project."- showOnConfiguration: true- - id: $$secret_secret- name: SECRET- label: Secret- defaultValue: $$generate_password- description: "Secret string for the project."- showOnConfiguration: true--- templateVersion: 1.0.0- defaultVersion: v1.3.8- documentation: https://github.com/LibreTranslate/LibreTranslate- description: Free and Open Source Machine Translation API. 100% self-hosted, offline capable and easy to setup.- type: libretranslate- name: Libretranslate- labels:- - translator- - argos- - python- - libretranslate- services:- $$id:- name: Libretranslate- image: libretranslate/libretranslate:$$core_version- environment:- - LT_HOST=0.0.0.0- - LT_SUGGESTIONS=true- - LT_CHAR_LIMIT=$$config_lt_char_limit- - LT_REQ_LIMIT=$$config_lt_req_limit- - LT_BATCH_LIMIT=$$config_lt_batch_limit- - LT_GA_ID=$$config_lt_ga_id- - LT_DISABLE_WEB_UI=$$config_lt_web_ui- volumes:- - $$id-libretranslate:/libretranslate- ports:- - "5000"- variables:- - id: $$config_lt_char_limit- name: LT_CHAR_LIMIT- label: Char limit- defaultValue: "5000"- description: "Set character limit."- - id: $$config_lt_req_limit- name: LT_REQ_LIMIT- label: Request limit- defaultValue: "5000"- description: "Set maximum number of requests per minute per client."- - id: $$config_lt_batch_limit- name: LT_BATCH_LIMIT- label: Batch Limit- defaultValue: "5000"- description: "Set maximum number of texts to translate in a batch request."- - id: $$config_lt_ga_id- name: LT_GA_ID- label: Google Analytics ID- defaultValue: ""- description: "Enable Google Analytics on the API client page by providing an ID"- - id: $$config_lt_web_ui- name: LT_DISABLE_WEB_UI- label: Web UI- defaultValue: "false"- description: "Disable or enable web ui. True or false."-- templateVersion: 1.0.0- defaultVersion: 0.8.0- documentation: https://github.com/benbusby/whoogle-search- type: whoogle- name: Whoogle Search- description: A self-hosted, ad-free, privacy-respecting metasearch engine- labels:- - search- services:- $$id:- name: Whoogle Search- documentation: https://github.com/benbusby/whoogle-search- depends_on: []- image: benbusby/whoogle-search:$$core_version- cap_drop:- - ALL- environment:- - WHOOGLE_USER=$$config_whoogle_username- - WHOOGLE_PASS=$$secret_whoogle_password- - WHOOGLE_CONFIG_PREFERENCES_KEY=$$secret_whoogle_preferences_key- ulimits:- nofile:- soft: 262144- hard: 262144- ports:- - "5000"- variables:- - id: $$config_whoogle_username- name: WHOOGLE_USER- label: Whoogle User- defaultValue: $$generate_username- description: "Username to log into Whoogle"- - id: $$secret_whoogle_password- name: WHOOGLE_PASSWORD- label: Whoogle Password- defaultValue: $$generate_password- description: "Password to log into Whoogle"- showOnConfiguration: true- - id: $$secret_whoogle_preferences_key- name: WHOOGLE_CONFIG_PREFERENCES_KEY- label: Whoogle preferences key- defaultValue: $$generate_password- description: "password to encrypt preferences"-- templateVersion: 1.0.0- defaultVersion: 1.1.5- documentation: https://docs.openblocks.dev/- type: openblocks- name: Openblocks- description: The Open Source Retool Alternative- services:- $$id:- image: openblocksdev/openblocks-ce:$$core_version- volumes:- - $$id-stacks-data:/openblocks-stacks- ports:- - "3000"-- templateVersion: 1.0.0- defaultVersion: "0.12.3"- documentation: https://pocketbase.io/docs/- type: pocketbase- name: Pocketbase- description: "Open Source realtime backend in 1 file"- services:- $$id:- image: ghcr.io/coollabsio/pocketbase:$$core_version- volumes:- - $$id-data:/app/pb_data- ports:- - "8080"-- templateVersion: 1.0.0- defaultVersion: v1.5.1- documentation: https://plausible.io/doc/- type: plausibleanalytics-arm- name: Plausible Analytics (ARM)- description: A lightweight and open-source website analytics tool.- labels:- - analytics- - statistics- - plausible- - gdpr- - no-cookie- - google analytics- services:- $$id:- name: Plausible Analytics- command: >-- sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate- && /entrypoint.sh db init-admin && /entrypoint.sh run"- depends_on:- - $$id-postgresql- - $$id-clickhouse- image: plausible/analytics:$$core_version- environment:- - ADMIN_USER_EMAIL=$$config_admin_user_email- - ADMIN_USER_NAME=$$config_admin_user_name- - ADMIN_USER_PWD=$$secret_admin_user_pwd- - BASE_URL=$$config_base_url- - SECRET_KEY_BASE=$$secret_secret_key_base- - DISABLE_AUTH=$$config_disable_auth- - DISABLE_REGISTRATION=$$config_disable_registration- - DATABASE_URL=$$secret_database_url- - CLICKHOUSE_DATABASE_URL=$$secret_clickhouse_database_url- ports:- - "8000"- $$id-postgresql:- name: PostgreSQL- image: postgres:14-alpine- volumes:- - $$id-postgresql-data:/var/lib/postgresql/data- environment:- - POSTGRES_PASSWORD=$$secret_postgres_password- - POSTGRES_USER=$$config_postgres_user- - POSTGRES_DB=$$config_postgres_db- $$id-clickhouse:- name: Clickhouse- volumes:- - $$id-clickhouse-data:/var/lib/clickhouse- image: clickhouse/clickhouse-server:22.6-alpine- ulimits:- nofile:- soft: 262144- hard: 262144- files:- - location: /etc/clickhouse-server/users.d/logging.xml- content: >-- <yandex><logger><level>warning</level><console>true</console></logger><query_thread_log- remove="remove"/><query_log remove="remove"/><text_log- remove="remove"/><trace_log remove="remove"/><metric_log- remove="remove"/><asynchronous_metric_log- remove="remove"/><session_log remove="remove"/><part_log- remove="remove"/></yandex>- - location: /etc/clickhouse-server/config.d/logging.xml- content: >-- <yandex><profiles><default><log_queries>0</log_queries><log_query_threads>0</log_query_threads></default></profiles></yandex>- - location: /docker-entrypoint-initdb.d/init.query- content: CREATE DATABASE IF NOT EXISTS plausible;- - location: /docker-entrypoint-initdb.d/init-db.sh- content: >-- clickhouse client --queries-file- /docker-entrypoint-initdb.d/init.query- variables:- - id: $$config_base_url- name: BASE_URL- label: Base URL- defaultValue: $$generate_fqdn- description: >-- You must set this to the FQDN of the Plausible Analytics instance. This is- used to generate the links to the Plausible Analytics instance.- - id: $$secret_database_url- name: DATABASE_URL- label: Database URL for PostgreSQL- defaultValue: >-- postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db- description: ""- - id: $$secret_clickhouse_database_url- name: CLICKHOUSE_DATABASE_URL- label: Database URL for Clickhouse- defaultValue: http://$$id-clickhouse:8123/plausible- description: ""- - id: $$config_admin_user_email- name: ADMIN_USER_EMAIL- label: Admin Email Address- defaultValue: [email protected]- description: This is the admin email. Please change it.- - id: $$config_admin_user_name- name: ADMIN_USER_NAME- label: Admin User Name- defaultValue: $$generate_username- description: This is the admin username. Please change it.- - id: $$secret_admin_user_pwd- name: ADMIN_USER_PWD- label: Admin User Password- defaultValue: $$generate_password- description: This is the admin password. Please change it.- showOnConfiguration: true- - id: $$secret_secret_key_base- name: SECRET_KEY_BASE- label: Secret Key Base- defaultValue: $$generate_hex(64)- description: ""- - id: $$config_disable_auth- name: DISABLE_AUTH- label: Authentication- defaultValue: "false"- description: ""- - id: $$config_disable_registration- name: DISABLE_REGISTRATION- label: Registration- defaultValue: "true"- description: ""- - id: $$config_postgres_user- main: $$id-postgresql- name: POSTGRES_USER- label: PostgreSQL Username- defaultValue: postgresql- description: ""- - id: $$secret_postgres_password- main: $$id-postgresql- name: POSTGRES_PASSWORD- label: PostgreSQL Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true- - id: $$config_postgres_db- main: $$id-postgresql- name: POSTGRES_DB- label: PostgreSQL Database- defaultValue: plausible- description: ""- - id: $$config_scriptName- name: SCRIPT_NAME- label: Custom Script Name- defaultValue: plausible.js- description: This is the default script name.-- templateVersion: 1.0.0- defaultVersion: "1.18"- documentation: https://docs.gitea.io- type: gitea- name: Gitea- description: Gitea is a community managed lightweight code hosting solution written in Go.- labels:- - storage- - git- services:- $$id:- name: Gitea- documentation: https://docs.gitea.io- image: gitea/gitea:$$core_version- volumes:- - $$id-data:/data- - /etc/timezone:/etc/timezone:ro- - /etc/localtime:/etc/localtime:ro- environment:- - USER_UID=1000- - USER_GID=1000- - DOMAIN=$$config_domain- - SSH_DOMAIN=$$config_ssh_domain- - ROOT_URL=$$config_root_url- - SECRET_KEY=$$secret_secret_key- - INTERNAL_TOKEN=$$secret_internal_token- - SSH_PORT=22- - START_SSH_SERVER=$$config_start_ssh_server- ports:- - "3000"- - "22"- proxy:- - port: "22"- hostPort: $$config_hostport_ssh- variables:- - id: $$config_hostport_ssh- name: SSH_PORT- label: SSH Port- defaultValue: "8022"- description: ""- required: true- - id: $$config_domain- name: DOMAIN- label: Domain- defaultValue: $$generate_domain- description: ""- - id: $$config_ssh_domain- name: SSH_DOMAIN- label: SSH Domain- defaultValue: $$generate_domain- description: ""- - id: $$config_start_ssh_server- name: START_SSH_SERVER- label: Start SSH Server- defaultValue: "true"- description: ""- - id: $$config_root_url- name: ROOT_URL- label: Root URL of Gitea- defaultValue: $$generate_fqdn_slash- description: ""- - id: $$secret_secret_key- name: SECRET_KEY- label: Secret Key- defaultValue: $$generate_hex(32)- description: ""- - id: $$secret_internal_token- name: INTERNAL_TOKEN- label: Internal JWT Token- defaultValue: $$generate_token- description: ""-- templateVersion: 1.0.0- defaultVersion: "20.0"- documentation: https://www.keycloak.org/documentation- type: keycloak- name: Keycloak- description: "Keycloak provides user federation, strong authentication, user management, fine-grained authorization, and more."- labels:- - authentication- - authorization- - oidconnect- - saml2- services:- $$id:- name: Keycloak- command: start --db=postgres --features=token-exchange --import-realm- depends_on:- - $$id-postgresql- image: "quay.io/keycloak/keycloak:$$core_version"- volumes:- - $$id-import:/opt/keycloak/data/import- environment:- - KC_HEALTH_ENABLED=true- - KC_PROXY=edge- - KC_DB=postgres- - KC_HOSTNAME=$$config_keycloak_domain- - KEYCLOAK_ADMIN=$$config_admin_user- - KEYCLOAK_ADMIN_PASSWORD=$$secret_keycloak_admin_password- - KC_DB_PASSWORD=$$secret_postgres_password- - KC_DB_USERNAME=$$config_postgres_user- - KC_DB_URL=$$secret_keycloak_database_url- ports:- - "8080"- $$id-postgresql:- name: PostgreSQL- depends_on: []- image: "postgres:14-alpine"- volumes:- - "$$id-postgresql-data:/var/lib/postgresql/data"- environment:- - POSTGRES_USER=$$config_postgres_user- - POSTGRES_PASSWORD=$$secret_postgres_password- - POSTGRES_DB=$$config_postgres_db- ports: []- variables:- - id: $$config_keycloak_domain- name: KEYCLOAK_DOMAIN- label: Keycloak Domain- defaultValue: $$generate_domain- description: ""- - id: $$secret_keycloak_database_url- name: KEYCLOAK_DATABASE_URL- label: Keycloak Database Url- defaultValue: >-- jdbc:postgresql://$$id-postgresql:5432/$$config_postgres_db- description: ""- - id: $$config_admin_user- name: KEYCLOAK_ADMIN- label: Keycloak Admin User- defaultValue: $$generate_username- description: ""- - id: $$secret_keycloak_admin_password- name: KEYCLOAK_ADMIN_PASSWORD- label: Keycloak Admin Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true- - id: $$config_postgres_user- main: $$id-postgresql- name: POSTGRES_USER- label: PostgreSQL User- defaultValue: $$generate_username- description: ""- - id: $$secret_postgres_password- main: $$id-postgresql- name: POSTGRES_PASSWORD- label: PostgreSQL Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true- - id: $$config_postgres_db- main: $$id-postgresql- name: POSTGRES_DB- label: PostgreSQL Database- defaultValue: keycloak- description: ""-- templateVersion: 1.0.0- defaultVersion: v3.7- documentation: https://github.com/freyacodes/Lavalink- description: Standalone audio sending node based on Lavaplayer.- type: lavalink- name: Lavalink- labels:- - discord- - discord bot- - audio- - lavalink- - jda- services:- $$id:- name: Lavalink- image: fredboat/lavalink:$$core_version- environment: []- volumes:- - $$id-lavalink:/lavalink- ports:- - $$config_port- files:- - location: /opt/Lavalink/application.yml- content: >-- server:- port: 2333- address: 0.0.0.0- lavalink:- server:- password: "$$secret_password"- sources:- youtube: true- bandcamp: true- soundcloud: true- twitch: true- vimeo: true- http: true- local: false-- logging:- file:- path: ./logs/-- level:- root: INFO- lavalink: INFO-- logback:- rollingpolicy:- max-file-size: 1GB- max-history: 30- variables:- - id: $$secret_password- name: PASSWORD- label: Password- defaultValue: $$generate_password- required: true-- templateVersion: 1.0.0- defaultVersion: v1.9.6- documentation: https://docs.appsmith.com/getting-started/setup/instance-configuration/- type: appsmith- name: Appsmith- description: "Fastest way to build internal apps over any database or API."- services:- $$id:- image: appsmith/appsmith-ce:$$core_version- environment:- - APPSMITH_MAIL_ENABLED=$$config_appsmith_mail_enabled- - APPSMITH_DISABLE_TELEMETRY=$$config_appsmith_disable_telemetry- - APPSMITH_DISABLE_INTERCOM=$$config_appsmith_disable_intercom- volumes:- - $$id-stacks-data:/appsmith-stacks- ports:- - "80"- variables:- - id: $$config_appsmith_mail_enabled- name: APPSMITH_MAIL_ENABLED- label: Enable Mail- defaultValue: "false"- description: ""- - id: $$config_appsmith_disable_telemetry- name: APPSMITH_DISABLE_TELEMETRY- label: Disable Telemetry- defaultValue: "true"- description: ""- - id: $$config_appsmith_disable_intercom- name: APPSMITH_DISABLE_INTERCOM- label: Disable Intercom- defaultValue: "true"- description: ""-- templateVersion: 1.0.0- defaultVersion: 0.58.4- documentation: https://hub.docker.com/r/zadam/trilium- description: "A hierarchical note taking application with focus on building large personal knowledge bases."- labels:- - personal- - knowledge- - notes- - wiki- type: trilium- name: Trilium Notes- services:- $$id:- image: zadam/trilium:$$core_version- environment: []- volumes:- - $$id-trilium:/home/node/trilium-data- ports:- - "8080"- variables: []-- templateVersion: 1.0.0- defaultVersion: 1.19.4- documentation: https://hub.docker.com/r/louislam/uptime-kuma- description: A free & fancy self-hosted monitoring tool.- labels:- - uptime- type: uptimekuma- name: UptimeKuma- services:- $$id:- image: louislam/uptime-kuma:$$core_version- environment: []- volumes:- - $$id-uptimekuma:/app/data- ports:- - "3001"- variables: []-- templateVersion: 1.0.0- defaultVersion: "6.0"- documentation: https://hub.docker.com/r/silviof/docker-languagetool- description: "A multilingual grammar, style and spell checker."- type: languagetool- name: LanguageTool- services:- $$id:- image: silviof/docker-languagetool:$$core_version- environment: []- volumes:- - $$id-ngrams:/ngrams- ports:- - "8010"- variables: []-- templateVersion: 1.0.0- defaultVersion: 1.27.0- documentation: https://hub.docker.com/r/vaultwarden/server- description: "Bitwarden compatible server written in Rust."- type: vaultwarden- name: VaultWarden- labels:- - bitwarden- - password manager- services:- $$id:- image: vaultwarden/server:$$core_version- environment: []- volumes:- - $$id-data:/data- ports:- - "80"- variables: []-- templateVersion: 1.0.0- defaultVersion: 9.3.2- documentation: https://hub.docker.com/r/grafana/grafana- type: grafana- name: Grafana- description: >-- Grafana allows you to query, visualize, alert on and understand your metrics.- labels:- - monitoring- - metrics- - dashboard- services:- $$id:- image: grafana/grafana:$$core_version- environment: []- volumes:- - $$id-config:/etc/grafana- - $$id-grafana:/var/lib/grafana- ports:- - "3000"- variables: []-- templateVersion: 1.0.0- defaultVersion: 1.2.0- documentation: https://appwrite.io/docs- type: appwrite- name: Appwrite- description: Secure Backend Server for Web, Mobile & Flutter Developers.- labels:- - serverless- - backend- - storage- - api- services:- "$$id":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_WORKER_PER_CORE=$$config__app_worker_per_core- - _APP_LOCALE=$$config__app_locale- - _APP_CONSOLE_WHITELIST_ROOT=$$config__app_console_whitelist_root- - _APP_CONSOLE_WHITELIST_EMAILS=$$config__app_console_whitelist_emails- - _APP_CONSOLE_WHITELIST_IPS=$$config__app_console_whitelist_ips- - _APP_SYSTEM_EMAIL_NAME=$$config__app_system_email_name- - _APP_SYSTEM_EMAIL_ADDRESS=$$config__app_system_email_address- - _APP_SYSTEM_SECURITY_EMAIL_ADDRESS=$$config__app_system_security_email_address- - _APP_SYSTEM_RESPONSE_FORMAT=$$config__app_system_response_format- - _APP_OPTIONS_ABUSE=$$config__app_options_abuse- - _APP_OPTIONS_FORCE_HTTPS=$$config__app_options_force_https- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_DOMAIN=$$config__app_domain- - _APP_DOMAIN_TARGET=$$config__app_domain_target- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_DB_HOST=$$config__app_db_host- - _APP_DB_PORT=$$config__app_db_port- - _APP_DB_SCHEMA=$$config__app_db_schema- - _APP_DB_USER=$$config__app_db_user- - _APP_DB_PASS=$$secret__app_db_pass- - _APP_SMTP_HOST=$$config__app_smtp_host- - _APP_SMTP_PORT=$$config__app_smtp_port- - _APP_SMTP_SECURE=$$config__app_smtp_secure- - _APP_SMTP_USERNAME=$$config__app_smtp_username- - _APP_SMTP_PASSWORD=$$secret__app_smtp_password- - _APP_USAGE_STATS=$$config__app_usage_stats- - _APP_INFLUXDB_HOST=$$config__app_influxdb_host- - _APP_INFLUXDB_PORT=$$config__app_influxdb_port- - _APP_STORAGE_LIMIT=$$config__app_storage_limit- - _APP_STORAGE_PREVIEW_LIMIT=$$config__app_storage_preview_limit- - _APP_STORAGE_ANTIVIRUS=$$config__app_storage_antivirus_enabled- - _APP_STORAGE_ANTIVIRUS_HOST=$$config__app_storage_antivirus_host- - _APP_STORAGE_ANTIVIRUS_PORT=$$config__app_storage_antivirus_port- - _APP_STORAGE_DEVICE=$$config__app_storage_device- - _APP_STORAGE_S3_ACCESS_KEY=$$secret__app_storage_s3_access_key- - _APP_STORAGE_S3_SECRET=$$secret__app_storage_s3_secret- - _APP_STORAGE_S3_REGION=$$config__app_storage_s3_region- - _APP_STORAGE_S3_BUCKET=$$config__app_storage_s3_bucket- - _APP_STORAGE_DO_SPACES_ACCESS_KEY=$$secret__app_storage_do_spaces_access_key- - _APP_STORAGE_DO_SPACES_SECRET=$$secret__app_storage_do_spaces_secret- - _APP_STORAGE_DO_SPACES_REGION=$$config__app_storage_do_spaces_region- - _APP_STORAGE_DO_SPACES_BUCKET=$$config__app_storage_do_spaces_bucket- - _APP_STORAGE_BACKBLAZE_ACCESS_KEY=$$secret__app_storage_backblaze_access_key- - _APP_STORAGE_BACKBLAZE_SECRET=$$secret__app_storage_backblaze_secret- - _APP_STORAGE_BACKBLAZE_REGION=$$config__app_storage_backblaze_region- - _APP_STORAGE_BACKBLAZE_BUCKET=$$config__app_storage_backblaze_bucket- - _APP_STORAGE_LINODE_ACCESS_KEY=$$secret__app_storage_linode_access_key- - _APP_STORAGE_LINODE_SECRET=$$secret__app_storage_linode_secret- - _APP_STORAGE_LINODE_REGION=$$config__app_storage_linode_region- - _APP_STORAGE_LINODE_BUCKET=$$config__app_storage_linode_bucket- - _APP_STORAGE_WASABI_ACCESS_KEY=$$secret__app_storage_wasabi_access_key- - _APP_STORAGE_WASABI_SECRET=$$secret__app_storage_wasabi_secret- - _APP_STORAGE_WASABI_REGION=$$config__app_storage_wasabi_region- - _APP_STORAGE_WASABI_BUCKET=$$config__app_storage_wasabi_bucket- - _APP_FUNCTIONS_SIZE_LIMIT=$$config__app_functions_size_limit- - _APP_FUNCTIONS_TIMEOUT=$$config__app_functions_timeout- - _APP_FUNCTIONS_BUILD_TIMEOUT=$$config__app_functions_build_timeout- - _APP_FUNCTIONS_CONTAINERS=$$config__app_functions_containers- - _APP_FUNCTIONS_CPUS=$$config__app_functions_cpus- - _APP_FUNCTIONS_MEMORY=$$config__app_functions_memory_allocated- - _APP_FUNCTIONS_MEMORY_SWAP=$$config__app_functions_memory_swap- - _APP_FUNCTIONS_RUNTIMES=$$config__app_functions_runtimes- - _APP_EXECUTOR_SECRET=$$secret__app_executor_secret- - _APP_EXECUTOR_HOST=$$config__app_executor_host- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - _APP_STATSD_HOST=$$config__app_statsd_host- - _APP_STATSD_PORT=$$config__app_statsd_port- - _APP_MAINTENANCE_INTERVAL=$$config__app_maintenance_interval- - _APP_MAINTENANCE_RETENTION_EXECUTION=$$config__app_maintenance_retention_execution- - _APP_MAINTENANCE_RETENTION_CACHE=$$config__app_maintenance_retention_cache- - _APP_MAINTENANCE_RETENTION_ABUSE=$$config__app_maintenance_retention_abuse- - _APP_MAINTENANCE_RETENTION_AUDIT=$$config__app_maintenance_retention_audit- - _APP_SMS_PROVIDER=$$config__app_sms_provider- - _APP_SMS_FROM=$$config__app_sms_from- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes:- - "$$id-uploads:/storage/uploads"- - "$$id-cache:/storage/cache"- - "$$id-config:/storage/config"- - "$$id-certificates:/storage/certificates"- - "$$id-functions:/storage/functions"- ports:- - "80"- proxy:- - port: "80"- "$$id-executor":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_FUNCTIONS_TIMEOUT=$$config__app_functions_timeout- - _APP_FUNCTIONS_BUILD_TIMEOUT=$$config__app_functions_build_timeout- - _APP_FUNCTIONS_CONTAINERS=$$config__app_functions_containers- - _APP_FUNCTIONS_RUNTIMES=$$config__app_functions_runtimes- - _APP_FUNCTIONS_CPUS=$$config__app_functions_cpus- - _APP_FUNCTIONS_MEMORY=$$config__app_functions_memory_allocated- - _APP_FUNCTIONS_MEMORY_SWAP=$$config__app_functions_memory_swap- - _APP_FUNCTIONS_INACTIVE_THRESHOLD=$$config__app_functions_inactive_threshold- - _APP_EXECUTOR_SECRET=$$secret__app_executor_secret- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - _APP_STORAGE_DEVICE=$$config__app_storage_device- - _APP_STORAGE_S3_ACCESS_KEY=$$secret__app_storage_s3_access_key- - _APP_STORAGE_S3_SECRET=$$secret__app_storage_s3_secret- - _APP_STORAGE_S3_REGION=$$config__app_storage_s3_region- - _APP_STORAGE_S3_BUCKET=$$config__app_storage_s3_bucket- - _APP_STORAGE_DO_SPACES_ACCESS_KEY=$$secret__app_storage_do_spaces_access_key- - _APP_STORAGE_DO_SPACES_SECRET=$$secret__app_storage_do_spaces_secret- - _APP_STORAGE_DO_SPACES_REGION=$$config__app_storage_do_spaces_region- - _APP_STORAGE_DO_SPACES_BUCKET=$$config__app_storage_do_spaces_bucket- - _APP_STORAGE_BACKBLAZE_ACCESS_KEY=$$secret__app_storage_backblaze_access_key- - _APP_STORAGE_BACKBLAZE_SECRET=$$secret__app_storage_backblaze_secret- - _APP_STORAGE_BACKBLAZE_REGION=$$config__app_storage_backblaze_region- - _APP_STORAGE_BACKBLAZE_BUCKET=$$config__app_storage_backblaze_bucket- - _APP_STORAGE_LINODE_ACCESS_KEY=$$secret__app_storage_linode_access_key- - _APP_STORAGE_LINODE_SECRET=$$secret__app_storage_linode_secret- - _APP_STORAGE_LINODE_REGION=$$config__app_storage_linode_region- - _APP_STORAGE_LINODE_BUCKET=$$config__app_storage_linode_bucket- - _APP_STORAGE_WASABI_ACCESS_KEY=$$secret__app_storage_wasabi_access_key- - _APP_STORAGE_WASABI_SECRET=$$secret__app_storage_wasabi_secret- - _APP_STORAGE_WASABI_REGION=$$config__app_storage_wasabi_region- - _APP_STORAGE_WASABI_BUCKET=$$config__app_storage_wasabi_bucket- - DOCKERHUB_PULL_USERNAME=$$config_dockerhub_pull_username- - DOCKERHUB_PULL_PASSWORD=$$secret_dockerhub_pull_password- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes:- - "$$id-functions:/storage/functions"- - "$$id-builds:/storage/builds"- - "/var/run/docker.sock:/var/run/docker.sock"- - "/tmp:/tmp:rw"- entrypoint: executor- "$$id-influxdb":- image: appwrite/influxdb:1.5.0- environment: []- volumes:- - "$$id-influxdb:/var/lib/influxdb"- "$$id-maintenance":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_DOMAIN=$$config__app_domain- - _APP_DOMAIN_TARGET=$$config__app_domain_target- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_DB_HOST=$$config__app_db_host- - _APP_DB_PORT=$$config__app_db_port- - _APP_DB_SCHEMA=$$config__app_db_schema- - _APP_DB_USER=$$config__app_db_user- - _APP_DB_PASS=$$secret__app_db_pass- - _APP_MAINTENANCE_INTERVAL=$$config__app_maintenance_interval- - _APP_MAINTENANCE_RETENTION_EXECUTION=$$config__app_maintenance_retention_execution- - _APP_MAINTENANCE_RETENTION_CACHE=$$config__app_maintenance_retention_cache- - _APP_MAINTENANCE_RETENTION_ABUSE=$$config__app_maintenance_retention_abuse- - _APP_MAINTENANCE_RETENTION_AUDIT=$$config__app_maintenance_retention_audit- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes: []- entrypoint: maintenance- "$$id-mariadb":- image: mariadb:10.7- command: "--innodb-flush-method fsync"- environment:- - MARIADB_ROOT_PASSWORD=$$secret__app_db_root_pass- - MARIADB_DATABASE=$$config__app_db_schema- - MARIADB_USER=$$config__app_db_user- - MARIADB_PASSWORD=$$secret__app_db_pass- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes:- - "$$id-mariadb:/var/lib/mysql"- "$$id-realtime":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_WORKER_PER_CORE=$$config__app_worker_per_core- - _APP_OPTIONS_ABUSE=$$config__app_options_abuse- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_DB_HOST=$$config__app_db_host- - _APP_DB_PORT=$$config__app_db_port- - _APP_DB_SCHEMA=$$config__app_db_schema- - _APP_DB_USER=$$config__app_db_user- - _APP_DB_PASS=$$secret__app_db_pass- - _APP_USAGE_STATS=$$config__app_usage_stats- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes: []- entrypoint: realtime- proxy:- - port: "80"- pathPrefix: "/v1/realtime"- "$$id-redis":- image: redis:7.0.4-alpine- command:- "--maxmemory 512mb --maxmemory-policy allkeys-lru --maxmemory-samples- 5"- environment: []- volumes:- - "$$id-redis:/data"- "$$id-schedule":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes: []- entrypoint: schedule- "$$id-telegraf":- image: appwrite/telegraf:1.4.0- environment:- - _APP_INFLUXDB_HOST=$$config__app_influxdb_host- - _APP_INFLUXDB_PORT=$$config__app_influxdb_port- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes:- - "$$id-influxdb:/var/lib/influxdb"- "$$id-usage-database":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_DB_HOST=$$config__app_db_host- - _APP_DB_PORT=$$config__app_db_port- - _APP_DB_SCHEMA=$$config__app_db_schema- - _APP_DB_USER=$$config__app_db_user- - _APP_DB_PASS=$$secret__app_db_pass- - _APP_INFLUXDB_HOST=$$config__app_influxdb_host- - _APP_INFLUXDB_PORT=$$config__app_influxdb_port- - _APP_USAGE_TIMESERIES_INTERVAL=$$config__app_usage_timeseries_interval- - _APP_USAGE_DATABASE_INTERVAL=$$config__app_usage_database_interval- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes: []- entrypoint: usage --type database- "$$id-usage":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_DB_HOST=$$config__app_db_host- - _APP_DB_PORT=$$config__app_db_port- - _APP_DB_SCHEMA=$$config__app_db_schema- - _APP_DB_USER=$$config__app_db_user- - _APP_DB_PASS=$$secret__app_db_pass- - _APP_INFLUXDB_HOST=$$config__app_influxdb_host- - _APP_INFLUXDB_PORT=$$config__app_influxdb_port- - _APP_USAGE_TIMESERIES_INTERVAL=$$config__app_usage_timeseries_interval- - _APP_USAGE_DATABASE_INTERVAL=$$config__app_usage_database_interval- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes: []- entrypoint: usage --type timeseries- "$$id-worker-audits":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_DB_HOST=$$config__app_db_host- - _APP_DB_PORT=$$config__app_db_port- - _APP_DB_SCHEMA=$$config__app_db_schema- - _APP_DB_USER=$$config__app_db_user- - _APP_DB_PASS=$$secret__app_db_pass- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes: []- entrypoint: worker-audits- "$$id-worker-builds":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_EXECUTOR_SECRET=$$secret__app_executor_secret- - _APP_EXECUTOR_HOST=$$config__app_executor_host- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_DB_HOST=$$config__app_db_host- - _APP_DB_PORT=$$config__app_db_port- - _APP_DB_SCHEMA=$$config__app_db_schema- - _APP_DB_USER=$$config__app_db_user- - _APP_DB_PASS=$$secret__app_db_pass- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes: []- entrypoint: worker-builds- "$$id-worker-certificates":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_DOMAIN=$$config__app_domain- - _APP_DOMAIN_TARGET=$$config__app_domain_target- - _APP_SYSTEM_SECURITY_EMAIL_ADDRESS=$$config__app_system_security_email_address- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_DB_HOST=$$config__app_db_host- - _APP_DB_PORT=$$config__app_db_port- - _APP_DB_SCHEMA=$$config__app_db_schema- - _APP_DB_USER=$$config__app_db_user- - _APP_DB_PASS=$$secret__app_db_pass- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes:- - "$$id-config:/storage/config"- - "$$id-certificates:/storage/certificates"- entrypoint: worker-certificates- "$$id-worker-databases":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_DB_HOST=$$config__app_db_host- - _APP_DB_PORT=$$config__app_db_port- - _APP_DB_SCHEMA=$$config__app_db_schema- - _APP_DB_USER=$$config__app_db_user- - _APP_DB_PASS=$$secret__app_db_pass- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes: []- entrypoint: worker-databases- "$$id-worker-deletes":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_DB_HOST=$$config__app_db_host- - _APP_DB_PORT=$$config__app_db_port- - _APP_DB_SCHEMA=$$config__app_db_schema- - _APP_DB_USER=$$config__app_db_user- - _APP_DB_PASS=$$secret__app_db_pass- - _APP_STORAGE_DEVICE=$$config__app_storage_device- - _APP_STORAGE_S3_ACCESS_KEY=$$secret__app_storage_s3_access_key- - _APP_STORAGE_S3_SECRET=$$secret__app_storage_s3_secret- - _APP_STORAGE_S3_REGION=$$config__app_storage_s3_region- - _APP_STORAGE_S3_BUCKET=$$config__app_storage_s3_bucket- - _APP_STORAGE_DO_SPACES_ACCESS_KEY=$$secret__app_storage_do_spaces_access_key- - _APP_STORAGE_DO_SPACES_SECRET=$$secret__app_storage_do_spaces_secret- - _APP_STORAGE_DO_SPACES_REGION=$$config__app_storage_do_spaces_region- - _APP_STORAGE_DO_SPACES_BUCKET=$$config__app_storage_do_spaces_bucket- - _APP_STORAGE_BACKBLAZE_ACCESS_KEY=$$secret__app_storage_backblaze_access_key- - _APP_STORAGE_BACKBLAZE_SECRET=$$secret__app_storage_backblaze_secret- - _APP_STORAGE_BACKBLAZE_REGION=$$config__app_storage_backblaze_region- - _APP_STORAGE_BACKBLAZE_BUCKET=$$config__app_storage_backblaze_bucket- - _APP_STORAGE_LINODE_ACCESS_KEY=$$secret__app_storage_linode_access_key- - _APP_STORAGE_LINODE_SECRET=$$secret__app_storage_linode_secret- - _APP_STORAGE_LINODE_REGION=$$config__app_storage_linode_region- - _APP_STORAGE_LINODE_BUCKET=$$config__app_storage_linode_bucket- - _APP_STORAGE_WASABI_ACCESS_KEY=$$secret__app_storage_wasabi_access_key- - _APP_STORAGE_WASABI_SECRET=$$secret__app_storage_wasabi_secret- - _APP_STORAGE_WASABI_REGION=$$config__app_storage_wasabi_region- - _APP_STORAGE_WASABI_BUCKET=$$config__app_storage_wasabi_bucket- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - _APP_EXECUTOR_SECRET=$$secret__app_executor_secret- - _APP_EXECUTOR_HOST=$$config__app_executor_host- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes:- - "$$id-uploads:/storage/uploads"- - "$$id-cache:/storage/cache"- - "$$id-functions:/storage/functions"- - "$$id-builds:/storage/builds"- - "$$id-certificates:/storage/certificates"- entrypoint: worker-deletes- "$$id-worker-functions":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_DB_HOST=$$config__app_db_host- - _APP_DB_PORT=$$config__app_db_port- - _APP_DB_SCHEMA=$$config__app_db_schema- - _APP_DB_USER=$$config__app_db_user- - _APP_DB_PASS=$$secret__app_db_pass- - _APP_FUNCTIONS_TIMEOUT=$$config__app_functions_timeout- - _APP_EXECUTOR_SECRET=$$secret__app_executor_secret- - _APP_EXECUTOR_HOST=$$config__app_executor_host- - _APP_USAGE_STATS=$$config__app_usage_stats- - DOCKERHUB_PULL_USERNAME=$$config_dockerhub_pull_username- - DOCKERHUB_PULL_PASSWORD=$$secret_dockerhub_pull_password- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes: []- entrypoint: worker-functions- "$$id-worker-mails":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_SYSTEM_EMAIL_NAME=$$config__app_system_email_name- - _APP_SYSTEM_EMAIL_ADDRESS=$$config__app_system_email_address- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_SMTP_HOST=$$config__app_smtp_host- - _APP_SMTP_PORT=$$config__app_smtp_port- - _APP_SMTP_SECURE=$$config__app_smtp_secure- - _APP_SMTP_USERNAME=$$config__app_smtp_username- - _APP_SMTP_PASSWORD=$$secret__app_smtp_password- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes: []- entrypoint: worker-mails- "$$id-worker-messaging":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_SMS_PROVIDER=$$config__app_sms_provider- - _APP_SMS_FROM=$$config__app_sms_from- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes: []- entrypoint: worker-messaging- "$$id-worker-webhooks":- image: appwrite/appwrite:$$core_version- environment:- - _APP_ENV=$$config__app_env- - _APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1- - _APP_SYSTEM_SECURITY_EMAIL_ADDRESS=$$config__app_system_security_email_address- - _APP_REDIS_HOST=$$config__app_redis_host- - _APP_REDIS_PORT=$$config__app_redis_port- - _APP_REDIS_USER=$$config__app_redis_user- - _APP_REDIS_PASS=$$secret__app_redis_pass- - _APP_LOGGING_PROVIDER=$$config__app_logging_provider- - _APP_LOGGING_CONFIG=$$config__app_logging_config- - OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network- volumes: []- entrypoint: worker-webhooks- variables:- - id: "$$config__app_influxdb_host"- name: _APP_INFLUXDB_HOST- label: InfluxDB | _APP_INFLUXDB_HOST- defaultValue: "$$id-influxdb"- description: ""- - id: "$$config__app_influxdb_port"- name: _APP_INFLUXDB_PORT- label: InfluxDB | _APP_INFLUXDB_PORT- defaultValue: "8086"- description: InfluxDB server TCP port.- - id: "$$config__app_env"- name: _APP_ENV- label: General | _APP_ENV- defaultValue: production- description: Set your server running environment.- - id: "$$config__app_worker_per_core"- name: _APP_WORKER_PER_CORE- label: General | _APP_WORKER_PER_CORE- defaultValue: "6"- description:- Internal Worker per core for the API, Realtime and Executor containers.- Can be configured to optimize performance.- - id: "$$config__app_locale"- name: _APP_LOCALE- label: General | _APP_LOCALE- defaultValue: en- description: Set your Appwrite's locale. By default, the locale is set to 'en'.- - id: "$$config__app_console_whitelist_root"- name: _APP_CONSOLE_WHITELIST_ROOT- label: General | _APP_CONSOLE_WHITELIST_ROOT- defaultValue: enabled- description:- This option allows you to disable the creation of new users on the- Appwrite console. When enabled only 1 user will be able to use the registration- form. New users can be added by inviting them to your project. By default this- option is enabled.- - id: "$$config__app_console_whitelist_emails"- name: _APP_CONSOLE_WHITELIST_EMAILS- label: General | _APP_CONSOLE_WHITELIST_EMAILS- defaultValue: ""- description:- This option allows you to limit creation of new users on the Appwrite- console. This option is very useful for small teams or sole developers. To enable- it, pass a list of allowed email addresses separated by a comma.- - id: "$$config__app_console_whitelist_ips"- name: _APP_CONSOLE_WHITELIST_IPS- label: General | _APP_CONSOLE_WHITELIST_IPS- defaultValue: ""- description:- This last option allows you to limit creation of users in Appwrite- console for users sharing the same set of IP addresses. This option is very- useful for team working with a VPN service or a company IP.\n\nTo enable/activate- this option, pass a list of allowed IP addresses separated by a comma.- - id: "$$config__app_system_email_name"- name: _APP_SYSTEM_EMAIL_NAME- label: General | _APP_SYSTEM_EMAIL_NAME- defaultValue: Appwrite- description:- This is the sender name value that will appear on email messages- sent to developers from the Appwrite console. You can use url encoded strings- for spaces and special chars.- - id: "$$config__app_system_email_address"- name: _APP_SYSTEM_EMAIL_ADDRESS- label: General | _APP_SYSTEM_EMAIL_ADDRESS- defaultValue: [email protected]- description:- This is the sender email address that will appear on email messages- sent to developers from the Appwrite console. You should choose an email address- that is allowed to be used from your SMTP server to avoid the server email ending- in the users' SPAM folders.- - id: "$$config__app_system_security_email_address"- name: _APP_SYSTEM_SECURITY_EMAIL_ADDRESS- label: General | _APP_SYSTEM_SECURITY_EMAIL_ADDRESS- defaultValue: [email protected]- description:- This is the email address used to issue SSL certificates for custom- domains or the user agent in your webhooks payload.- - id: "$$config__app_system_response_format"- name: _APP_SYSTEM_RESPONSE_FORMAT- label: General | _APP_SYSTEM_RESPONSE_FORMAT- defaultValue: ""- description:- Use this environment variable to set the default Appwrite HTTP response- format to support an older version of Appwrite. This option is useful to overcome- breaking changes between versions. You can also use the X-Appwrite-Response-Format- HTTP request header to overwrite the response for a specific request. This variable- accepts any valid Appwrite version. To use the current version format, leave- the value of the variable empty.- - id: "$$config__app_options_abuse"- name: _APP_OPTIONS_ABUSE- label: General | _APP_OPTIONS_ABUSE- defaultValue: enabled- description:- Allows you to disable abuse checks and API rate limiting. By default,- set to 'enabled'. To cancel the abuse checking, set to 'disabled'. It is not- recommended to disable this check-in a production environment.- - id: "$$config__app_options_force_https"- name: _APP_OPTIONS_FORCE_HTTPS- label: General | _APP_OPTIONS_FORCE_HTTPS- defaultValue: disabled- description:- Allows you to force HTTPS connection to your API. This feature redirects- any HTTP call to HTTPS and adds the 'Strict-Transport-Security' header to all- HTTP responses.- - id: "$$secret__app_openssl_key_v1"- name: _APP_OPENSSL_KEY_V1- label: General | _APP_OPENSSL_KEY_V1- defaultValue: "$$generate_hex(256)"- description:- This is your server private secret key that is used to encrypt all- sensitive data on your server. Appwrite server encrypts all secret data on your- server like webhooks, HTTP passwords, user sessions, and storage files. Keep- it a secret and have a backup for it.- - id: "$$config__app_domain"- name: _APP_DOMAIN- label: General | _APP_DOMAIN- defaultValue: $$generate_domain- description:- Your Appwrite domain address. When setting a public suffix domain,- Appwrite will attempt to issue a valid SSL certificate automatically. When used- with a dev domain, Appwrite will assign a self-signed SSL certificate. The default- value is 'localhost'.- - id: "$$config__app_domain_target"- name: _APP_DOMAIN_TARGET- label: General | _APP_DOMAIN_TARGET- defaultValue: $$generate_fqdn- description:- A DNS A record hostname to serve as a CNAME target for your Appwrite- custom domains. You can use the same value as used for the Appwrite '_APP_DOMAIN'- variable. The default value is 'localhost'.- - id: "$$config__app_redis_host"- name: _APP_REDIS_HOST- label: Redis | _APP_REDIS_HOST- defaultValue: "$$id-redis"- description: ""- - id: "$$config__app_redis_port"- name: _APP_REDIS_PORT- label: Redis | _APP_REDIS_PORT- defaultValue: "6379"- description: Redis server TCP port.- - id: "$$config__app_redis_user"- name: _APP_REDIS_USER- label: Redis | _APP_REDIS_USER- defaultValue: ""- description:- Redis server user. This is an optional variable. Default value is- an empty string.- - id: "$$secret__app_redis_pass"- name: _APP_REDIS_PASS- label: Redis | _APP_REDIS_PASS- defaultValue: ""- description:- Redis server password. This is an optional variable. Default value- is an empty string.- - id: "$$config__app_db_host"- name: _APP_DB_HOST- label: MariaDB | _APP_DB_HOST- defaultValue: "$$id-mariadb"- description: ""- - id: "$$config__app_db_port"- name: _APP_DB_PORT- label: MariaDB | _APP_DB_PORT- defaultValue: "3306"- description: MariaDB server TCP port.- - id: "$$config__app_db_schema"- name: _APP_DB_SCHEMA- label: MariaDB | _APP_DB_SCHEMA- defaultValue: appwrite- description: MariaDB server database schema.- - id: "$$config__app_db_user"- name: _APP_DB_USER- label: MariaDB | _APP_DB_USER- defaultValue: user- description: MariaDB server user name.- - id: "$$secret__app_db_root_pass"- name: MARIADB_ROOT_PASSWORD- label: MariaDB | MARIADB_ROOT_PASSWORD- defaultValue: "$$generate_hex(16)"- description: MariaDB server root user password.- - id: "$$secret__app_db_pass"- name: _APP_DB_PASS- label: MariaDB | _APP_DB_PASS- defaultValue: "$$generate_hex(16)"- description: MariaDB server user password.- - id: "$$config__app_smtp_host"- name: _APP_SMTP_HOST- label: SMTP | _APP_SMTP_HOST- defaultValue: ""- description:- SMTP server host name address. Use an empty string to disable all- mail sending from the server. The default value for this variable is an empty- string.- - id: "$$config__app_smtp_port"- name: _APP_SMTP_PORT- label: SMTP | _APP_SMTP_PORT- defaultValue: ""- description: SMTP server TCP port. Empty by default.- - id: "$$config__app_smtp_secure"- name: _APP_SMTP_SECURE- label: SMTP | _APP_SMTP_SECURE- defaultValue: ""- description:- SMTP secure connection protocol. Empty by default, change to 'tls'- if running on a secure connection.- - id: "$$config__app_smtp_username"- name: _APP_SMTP_USERNAME- label: SMTP | _APP_SMTP_USERNAME- defaultValue: ""- description: SMTP server user name. Empty by default.- - id: "$$secret__app_smtp_password"- name: _APP_SMTP_PASSWORD- label: SMTP | _APP_SMTP_PASSWORD- defaultValue: ""- description: SMTP server user password. Empty by default.- - id: "$$config__app_usage_stats"- name: _APP_USAGE_STATS- label: General | _APP_USAGE_STATS- defaultValue: enabled- description:- This variable allows you to disable the collection and displaying- of usage stats. This value is set to 'enabled' by default, to disable the usage- stats set the value to 'disabled'. When disabled, it's recommended to turn off- the Worker Usage, Influxdb and Telegraf containers for better resource usage.- - id: "$$config__app_storage_limit"- name: _APP_STORAGE_LIMIT- label: Storage | _APP_STORAGE_LIMIT- defaultValue: "30000000"- description:- Maximum file size allowed for file upload. The default value is 30MB.- You should pass your size limit value in bytes.- - id: "$$config__app_storage_preview_limit"- name: _APP_STORAGE_PREVIEW_LIMIT- label: Storage | _APP_STORAGE_PREVIEW_LIMIT- defaultValue: "20000000"- description:- Maximum file size allowed for file image preview. The default value- is 20MB. You should pass your size limit value in bytes.- - id: "$$config__app_storage_antivirus_enabled"- name: _APP_STORAGE_ANTIVIRUS- label: Storage | _APP_STORAGE_ANTIVIRUS- defaultValue: disabled- description:- This variable allows you to disable the internal anti-virus scans.- This value is set to 'disabled' by default, to enable the scans set the value- to 'enabled'. Before enabling, you must add the ClamAV service and depend on- it on main Appwrite service.- - id: "$$config__app_storage_antivirus_host"- name: _APP_STORAGE_ANTIVIRUS_HOST- label: Storage | _APP_STORAGE_ANTIVIRUS_HOST- defaultValue: clamav- description: ClamAV server host name address.- - id: "$$config__app_storage_antivirus_port"- name: _APP_STORAGE_ANTIVIRUS_PORT- label: Storage | _APP_STORAGE_ANTIVIRUS_PORT- defaultValue: "3310"- description: ClamAV server TCP port.- - id: "$$config__app_storage_device"- name: _APP_STORAGE_DEVICE- label: Storage | _APP_STORAGE_DEVICE- defaultValue: Local- description:- Select default storage device. The default value is 'Local'. List- of supported adapters are 'Local', 'S3', 'DOSpaces', 'Backblaze', 'Linode' and- 'Wasabi'.- - id: "$$secret__app_storage_s3_access_key"- name: _APP_STORAGE_S3_ACCESS_KEY- label: Storage | _APP_STORAGE_S3_ACCESS_KEY- defaultValue: ""- description:- AWS S3 storage access key. Required when the storage adapter is set- to S3. You can get your access key from your AWS console.- - id: "$$secret__app_storage_s3_secret"- name: _APP_STORAGE_S3_SECRET- label: Storage | _APP_STORAGE_S3_SECRET- defaultValue: ""- description:- AWS S3 storage secret key. Required when the storage adapter is set- to S3. You can get your secret key from your AWS console.- - id: "$$config__app_storage_s3_region"- name: _APP_STORAGE_S3_REGION- label: Storage | _APP_STORAGE_S3_REGION- defaultValue: us-east-1- description:- AWS S3 storage region. Required when storage adapter is set to S3.- You can find your region info for your bucket from AWS console.- - id: "$$config__app_storage_s3_bucket"- name: _APP_STORAGE_S3_BUCKET- label: Storage | _APP_STORAGE_S3_BUCKET- defaultValue: ""- description:- AWS S3 storage bucket. Required when storage adapter is set to S3.- You can create buckets in your AWS console.- - id: "$$secret__app_storage_do_spaces_access_key"- name: _APP_STORAGE_DO_SPACES_ACCESS_KEY- label: Storage | _APP_STORAGE_DO_SPACES_ACCESS_KEY- defaultValue: ""- description:- DigitalOcean spaces access key. Required when the storage adapter- is set to DOSpaces. You can get your access key from your DigitalOcean console.- - id: "$$secret__app_storage_do_spaces_secret"- name: _APP_STORAGE_DO_SPACES_SECRET- label: Storage | _APP_STORAGE_DO_SPACES_SECRET- defaultValue: ""- description:- DigitalOcean spaces secret key. Required when the storage adapter- is set to DOSpaces. You can get your secret key from your DigitalOcean console.- - id: "$$config__app_storage_do_spaces_region"- name: _APP_STORAGE_DO_SPACES_REGION- label: Storage | _APP_STORAGE_DO_SPACES_REGION- defaultValue: us-east-1- description:- DigitalOcean spaces region. Required when storage adapter is set- to DOSpaces. You can find your region info for your space from DigitalOcean- console.- - id: "$$config__app_storage_do_spaces_bucket"- name: _APP_STORAGE_DO_SPACES_BUCKET- label: Storage | _APP_STORAGE_DO_SPACES_BUCKET- defaultValue: ""- description:- DigitalOcean spaces bucket. Required when storage adapter is set- to DOSpaces. You can create spaces in your DigitalOcean console.- - id: "$$secret__app_storage_backblaze_access_key"- name: _APP_STORAGE_BACKBLAZE_ACCESS_KEY- label: Storage | _APP_STORAGE_BACKBLAZE_ACCESS_KEY- defaultValue: ""- description:- Backblaze access key. Required when the storage adapter is set to- Backblaze. Your Backblaze keyID will be your access key. You can get your keyID- from your Backblaze console.- - id: "$$secret__app_storage_backblaze_secret"- name: _APP_STORAGE_BACKBLAZE_SECRET- label: Storage | _APP_STORAGE_BACKBLAZE_SECRET- defaultValue: ""- description:- Backblaze secret key. Required when the storage adapter is set to- Backblaze. Your Backblaze applicationKey will be your secret key. You can get- your applicationKey from your Backblaze console.- - id: "$$config__app_storage_backblaze_region"- name: _APP_STORAGE_BACKBLAZE_REGION- label: Storage | _APP_STORAGE_BACKBLAZE_REGION- defaultValue: us-west-004- description:- Backblaze region. Required when storage adapter is set to Backblaze.- You can find your region info from your Backblaze console.- - id: "$$config__app_storage_backblaze_bucket"- name: _APP_STORAGE_BACKBLAZE_BUCKET- label: Storage | _APP_STORAGE_BACKBLAZE_BUCKET- defaultValue: ""- description:- Backblaze bucket. Required when storage adapter is set to Backblaze.- You can create your bucket from your Backblaze console.- - id: "$$secret__app_storage_linode_access_key"- name: _APP_STORAGE_LINODE_ACCESS_KEY- label: Storage | _APP_STORAGE_LINODE_ACCESS_KEY- defaultValue: ""- description:- Linode object storage access key. Required when the storage adapter- is set to Linode. You can get your access key from your Linode console.- - id: "$$secret__app_storage_linode_secret"- name: _APP_STORAGE_LINODE_SECRET- label: Storage | _APP_STORAGE_LINODE_SECRET- defaultValue: ""- description:- Linode object storage secret key. Required when the storage adapter- is set to Linode. You can get your secret key from your Linode console.- - id: "$$config__app_storage_linode_region"- name: _APP_STORAGE_LINODE_REGION- label: Storage | _APP_STORAGE_LINODE_REGION- defaultValue: eu-central-1- description:- Linode object storage region. Required when storage adapter is set- to Linode. You can find your region info from your Linode console.- - id: "$$config__app_storage_linode_bucket"- name: _APP_STORAGE_LINODE_BUCKET- label: Storage | _APP_STORAGE_LINODE_BUCKET- defaultValue: ""- description:- Linode object storage bucket. Required when storage adapter is set- to Linode. You can create buckets in your Linode console.- - id: "$$secret__app_storage_wasabi_access_key"- name: _APP_STORAGE_WASABI_ACCESS_KEY- label: Storage | _APP_STORAGE_WASABI_ACCESS_KEY- defaultValue: ""- description:- Wasabi access key. Required when the storage adapter is set to Wasabi.- You can get your access key from your Wasabi console.- - id: "$$secret__app_storage_wasabi_secret"- name: _APP_STORAGE_WASABI_SECRET- label: Storage | _APP_STORAGE_WASABI_SECRET- defaultValue: ""- description:- Wasabi secret key. Required when the storage adapter is set to Wasabi.- You can get your secret key from your Wasabi console.- - id: "$$config__app_storage_wasabi_region"- name: _APP_STORAGE_WASABI_REGION- label: Storage | _APP_STORAGE_WASABI_REGION- defaultValue: eu-central-1- description:- Wasabi region. Required when storage adapter is set to Wasabi. You- can find your region info from your Wasabi console.- - id: "$$config__app_storage_wasabi_bucket"- name: _APP_STORAGE_WASABI_BUCKET- label: Storage | _APP_STORAGE_WASABI_BUCKET- defaultValue: ""- description:- Wasabi bucket. Required when storage adapter is set to Wasabi. You- can create buckets in your Wasabi console.- - id: "$$config__app_functions_size_limit"- name: _APP_FUNCTIONS_SIZE_LIMIT- label: Functions | _APP_FUNCTIONS_SIZE_LIMIT- defaultValue: "30000000"- description: The maximum size deployment in bytes. The default value is 30MB.- - id: "$$config__app_functions_timeout"- name: _APP_FUNCTIONS_TIMEOUT- label: Functions | _APP_FUNCTIONS_TIMEOUT- defaultValue: "900"- description:- The maximum number of seconds allowed as a timeout value when creating- a new function. The default value is 900 seconds.- - id: "$$config__app_functions_build_timeout"- name: _APP_FUNCTIONS_BUILD_TIMEOUT- label: Functions | _APP_FUNCTIONS_BUILD_TIMEOUT- defaultValue: "900"- description:- The maximum number of seconds allowed as a timeout value when building- a new function. The default value is 900 seconds.- - id: "$$config__app_functions_containers"- name: _APP_FUNCTIONS_CONTAINERS- label: Functions | _APP_FUNCTIONS_CONTAINERS- defaultValue: "10"- description:- The maximum number of containers Appwrite is allowed to keep alive- in the background for function environments. Running containers allow faster- execution time as there is no need to recreate each container every time a function- gets executed. The default value is 10.- - id: "$$config__app_functions_cpus"- name: _APP_FUNCTIONS_CPUS- label: Functions | _APP_FUNCTIONS_CPUS- defaultValue: ""- description:- The maximum number of CPU core a single cloud function is allowed- to use. Please note that setting a value higher than available cores will result- in a function error, which might result in an error. The default value is empty.- When it's empty, CPU limit will be disabled.- - id: "$$config__app_functions_memory_allocated"- name: _APP_FUNCTIONS_MEMORY- label: Functions | _APP_FUNCTIONS_MEMORY- defaultValue: ""- description:- The maximum amount of memory a single cloud function is allowed to- use in megabytes. The default value is empty. When it's empty, memory limit- will be disabled.- - id: "$$config__app_functions_memory_swap"- name: _APP_FUNCTIONS_MEMORY_SWAP- label: Functions | _APP_FUNCTIONS_MEMORY_SWAP- defaultValue: ""- description:- The maximum amount of swap memory a single cloud function is allowed- to use in megabytes. The default value is empty. When it's empty, swap memory- limit will be disabled.- - id: "$$config__app_functions_runtimes"- name: _APP_FUNCTIONS_RUNTIMES- label: Functions | _APP_FUNCTIONS_RUNTIMES- defaultValue: node-18.0- description: |-- This option allows you to limit the available environments for cloud functions. This option is very useful for low-cost servers to safe disk space.- To enable/activate this option, pass a list of allowed environments separated by a comma.- Currently, supported environments are: node-14.5, node-16.0, node-18.0, php-8.0, php-8.1, ruby-3.0, ruby-3.1, python-3.8, python-3.9, python-3.10, deno-1.21, deno-1.24, dart-2.15, dart-2.16, dart-2.17, dotnet-3.1, dotnet-6.0, java-8.0, java-11.0, java-17.0, java-18.0, swift-5.5, kotlin-1.6, cpp-17.0- - id: "$$secret__app_executor_secret"- name: _APP_EXECUTOR_SECRET- label: Functions | _APP_EXECUTOR_SECRET- defaultValue: "$$generate_hex(16)"- description:- The secret key used by Appwrite to communicate with the function- executor.- - id: "$$config__app_executor_host"- name: _APP_EXECUTOR_HOST- label: ""- defaultValue: http://$$id-executor/v1- description: ""- - id: "$$config__app_logging_provider"- name: _APP_LOGGING_PROVIDER- label: General | _APP_LOGGING_PROVIDER- defaultValue: ""- description:- This variable allows you to enable logging errors to 3rd party providers.- This value is empty by default, to enable the logger set the value to one of- 'sentry', 'raygun', 'appsignal', 'logowl'- - id: "$$config__app_logging_config"- name: _APP_LOGGING_CONFIG- label: General | _APP_LOGGING_CONFIG- defaultValue: ""- description:- This variable configures authentication to 3rd party error logging- providers. If using Sentry, this should be 'SENTRY_API_KEY;SENTRY_APP_ID'. If- using Raygun, this should be Raygun API key. If using AppSignal, this should- be AppSignal API key. If using LogOwl, this should be LogOwl Service Ticket.- - id: "$$config__app_statsd_host"- name: _APP_STATSD_HOST- label: ""- defaultValue: "$$id-telegraf"- description: ""- - id: "$$config__app_statsd_port"- name: _APP_STATSD_PORT- label: StatsD | _APP_STATSD_PORT- defaultValue: "8125"- description: StatsD server TCP port.- - id: "$$config__app_maintenance_interval"- name: _APP_MAINTENANCE_INTERVAL- label: Functions | _APP_MAINTENANCE_INTERVAL- defaultValue: "86400"- description:- Interval value containing the number of seconds that the Appwrite- maintenance process should wait before executing system cleanups and optimizations.- The default value is 86400 seconds (1 day).- - id: "$$config__app_maintenance_retention_execution"- name: _APP_MAINTENANCE_RETENTION_EXECUTION- label: Functions | _APP_MAINTENANCE_RETENTION_EXECUTION- defaultValue: "1209600"- description:- The maximum duration (in seconds) upto which to retain execution- logs. The default value is 1209600 seconds (14 days).- - id: "$$config__app_maintenance_retention_cache"- name: _APP_MAINTENANCE_RETENTION_CACHE- label: Functions | _APP_MAINTENANCE_RETENTION_CACHE- defaultValue: "2592000"- description:- The maximum duration (in seconds) upto which to retain cached files.- The default value is 2592000 seconds (30 days).- - id: "$$config__app_maintenance_retention_abuse"- name: _APP_MAINTENANCE_RETENTION_ABUSE- label: Functions | _APP_MAINTENANCE_RETENTION_ABUSE- defaultValue: "86400"- description:- The maximum duration (in seconds) upto which to retain abuse logs.- The default value is 86400 seconds (1 day).- - id: "$$config__app_maintenance_retention_audit"- name: _APP_MAINTENANCE_RETENTION_AUDIT- label: Functions | _APP_MAINTENANCE_RETENTION_AUDIT- defaultValue: "1209600"- description:- The maximum duration (in seconds) upto which to retain audit logs.- The default value is 1209600 seconds (14 days).- - id: "$$config__app_sms_provider"- name: _APP_SMS_PROVIDER- label: Phone | _APP_SMS_PROVIDER- defaultValue: ""- description:- "Provider used for delivering SMS for Phone authentication. Use the- following format: 'sms://[USER]:[SECRET]@[PROVIDER]'. Available providers- are twilio, text-magic, telesign, msg91, and vonage."- - id: "$$config__app_sms_from"- name: _APP_SMS_FROM- label: Phone | _APP_SMS_FROM- defaultValue: ""- description:- Phone number used for sending out messages. Must start with a leading- '+' and maximum of 15 digits without spaces (+123456789).- - id: "$$config__app_functions_inactive_threshold"- name: _APP_FUNCTIONS_INACTIVE_THRESHOLD- label: Functions | _APP_FUNCTIONS_INACTIVE_THRESHOLD- defaultValue: "60"- description:- The minimum time a function can be inactive before it's container- is shutdown and put to sleep. The default value is 60 seconds- - id: "$$config_open_runtimes_network"- name: OPEN_RUNTIMES_NETWORK- label: ""- defaultValue: "$$generate_network"- description: ""- - id: "$$config_dockerhub_pull_username"- name: DOCKERHUB_PULL_USERNAME- label: Functions | DOCKERHUB_PULL_USERNAME- defaultValue: ""- description:- The username for hub.docker.com. This variable is used to pull images- from hub.docker.com.- - id: "$$secret_dockerhub_pull_password"- name: DOCKERHUB_PULL_PASSWORD- label: Functions | DOCKERHUB_PULL_PASSWORD- defaultValue: ""- description:- The password for hub.docker.com. This variable is used to pull images- from hub.docker.com.- - id: "$$config__app_usage_timeseries_interval"- name: _APP_USAGE_TIMESERIES_INTERVAL- label: General | _APP_USAGE_TIMESERIES_INTERVAL- defaultValue: "30"- description:- Interval value containing the number of seconds that the Appwrite- usage process should wait before aggregating stats and syncing it to mariadb- from InfluxDB. The default value is 30 seconds.- - id: "$$config__app_usage_database_interval"- name: _APP_USAGE_DATABASE_INTERVAL- label: General | _APP_USAGE_DATABASE_INTERVAL- defaultValue: "900"- description:- Interval value containing the number of seconds that the Appwrite- usage process should wait before aggregating stats from data in Appwrite Database.- The default value is 15 minutes.-- templateVersion: 1.0.0- defaultVersion: latest- documentation: https://docs.weblate.org/en/latest/admin/install/docker.html- description: "A copylefted libre software web-based continuous localization system."- type: weblate- name: Weblate- labels:- - translate- - localization- services:- $$id:- name: Weblate- depends_on:- - $$id-postgresql- - $$id-redis- image: "weblate/weblate:$$core_version"- volumes:- - "$$id-data:/app/data"- environment:- - WEBLATE_SITE_DOMAIN=$$config_weblate_site_domain- - WEBLATE_ADMIN_PASSWORD=$$secret_weblate_admin_password- - POSTGRES_PASSWORD=$$secret_postgres_password- - POSTGRES_USER=$$config_postgres_user- - POSTGRES_DATABASE=$$config_postgres_db- - POSTGRES_HOST=$$id-postgresql- - POSTGRES_PORT=5432- - REDIS_HOST=$$id-redis- ports:- - "8080"- $$id-postgresql:- name: PostgreSQL- depends_on: []- image: "postgres:14-alpine"- volumes:- - "$$id-postgresql-data:/var/lib/postgresql/data"- environment:- - POSTGRES_USER=$$config_postgres_user- - POSTGRES_PASSWORD=$$secret_postgres_password- - POSTGRES_DB=$$config_postgres_db- ports: []- $$id-redis:- name: Redis- depends_on: []- image: "redis:7-alpine"- volumes:- - "$$id-redis-data:/data"- environment: []- ports: []- variables:- - id: $$config_weblate_site_domain- name: WEBLATE_SITE_DOMAIN- label: Weblate Domain- defaultValue: $$generate_domain- description: ""- - id: $$secret_weblate_admin_password- name: WEBLATE_ADMIN_PASSWORD- label: Weblate Admin Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true- - id: $$config_postgres_user- main: $$id-postgresql- name: POSTGRES_USER- label: PostgreSQL User- defaultValue: $$generate_username- description: ""- - id: $$secret_postgres_password- main: $$id-postgresql- name: POSTGRES_PASSWORD- label: PostgreSQL Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true- - id: $$config_postgres_db- main: $$id-postgresql- name: POSTGRES_DB- label: PostgreSQL Database- defaultValue: weblate- description: ""-- templateVersion: 1.0.0- defaultVersion: 2023.01.15-52d41559- documentation: https://docs.searxng.org/- type: searxng- name: SearXNG- description: "Free internet metasearch engine which aggregates results from more than 70 search services."- services:- $$id:- name: SearXNG- depends_on:- - $$id-redis- image: "searxng/searxng:$$core_version"- volumes:- - "$$id-searxng:/etc/searxng"- environment:- - SEARXNG_BASE_URL=$$config_searxng_base_url- ports:- - "8080"- cap_drop:- - ALL- cap_add:- - CHOWN- - SETGID- - SETUID- - DAC_OVERRIDE- files:- - location: /etc/searxng/settings.yml- content: |2--- # see https://docs.searxng.org/admin/engines/settings.html#use-default-settings- use_default_settings: true- server:- secret_key: $$secret_secret_key- limiter: true- image_proxy: true- ui:- static_use_hash: true- redis:- url: redis://:$$secret_redis_password@$$id-redis:6379/0- $$id-redis:- name: Redis- command: >-- redis-server --requirepass $$secret_redis_password --save ""- --appendonly "no"- depends_on: []- image: "redis:7-alpine"- volumes:- - "$$id-redis-data:/data"- environment:- - REDIS_PASSWORD=$$secret_redis_password- ports: []- cap_drop:- - ALL- cap_add:- - SETGID- - SETUID- - DAC_OVERRIDE- variables:- - id: $$config_searxng_base_url- name: SEARXNG_BASE_URL- label: SearXNG Base URL- defaultValue: $$generate_fqdn- description: ""- - id: $$secret_secret_key- name: SECRET_KEY- label: Secret Key- defaultValue: $$generate_hex(64)- description: ""- - id: $$secret_redis_password- name: REDIS_PASSWORD- label: Redis Password- defaultValue: $$generate_password- description: ""-- templateVersion: 1.0.0- defaultVersion: v3.0.2- documentation: https://glitchtip.com/documentation- type: glitchtip- name: GlitchTip- description: "Simple, open source error tracking."- labels:- - sentry- - bugsnag- services:- $$id:- name: GlitchTip- depends_on:- - $$id-postgresql- - $$id-redis- image: "glitchtip/glitchtip:$$core_version"- volumes: []- environment:- - PORT=$$config_port- - GLITCHTIP_DOMAIN=$$config_glitchtip_domain- - SECRET_KEY=$$secret_secret_key- - DATABASE_URL=$$secret_database_url- - REDIS_URL=$$secret_redis_url- - DEFAULT_FROM_EMAIL=$$config_default_from_email- - EMAIL_URL=$$secret_email_url- - EMAIL_HOST=$$config_email_host- - EMAIL_PORT=$$config_email_port- - EMAIL_HOST_USER=$$config_email_host_user- - EMAIL_HOST_PASSWORD=$$secret_email_host_password- - EMAIL_USE_TLS=$$config_email_use_tls- - EMAIL_USE_SSL=$$config_email_use_ssl- - EMAIL_BACKEND=$$config_email_backend- - MAILGUN_API_KEY=$$secret_mailgun_api_key- - SENDGRID_API_KEY=$$secret_sendgrid_api_key- - ENABLE_OPEN_USER_REGISTRATION=$$config_enable_open_user_registration- - DJANGO_SUPERUSER_EMAIL=$$config_django_superuser_email- - DJANGO_SUPERUSER_PASSWORD=$$secret_django_superuser_password- - DJANGO_SUPERUSER_USERNAME=$$config_django_superuser_username- - CELERY_WORKER_CONCURRENCY=$$config_celery_worker_concurrency- ports:- - "8000"- $$id-worker:- name: Celery Worker- command: ./bin/run-celery-with-beat.sh- depends_on:- - $$id-postgresql- - $$id-redis- image: "glitchtip/glitchtip:$$core_version"- environment:- - GLITCHTIP_DOMAIN=$$config_glitchtip_domain- - SECRET_KEY=$$secret_secret_key- - DATABASE_URL=$$secret_database_url- - REDIS_URL=$$secret_redis_url- - DEFAULT_FROM_EMAIL=$$config_default_from_email- - EMAIL_URL=$$secret_email_url- - CELERY_WORKER_CONCURRENCY=$$config_celery_worker_concurrency- ports: []- $$id-migrate:- exclude: true- name: Migrate- command: ./manage.py migrate- depends_on:- - $$id-postgresql- - $$id-redis- image: "glitchtip/glitchtip:$$core_version"- environment:- - GLITCHTIP_DOMAIN=$$config_glitchtip_domain- - SECRET_KEY=$$secret_secret_key- - DATABASE_URL=$$secret_database_url- - REDIS_URL=$$secret_redis_url- - DEFAULT_FROM_EMAIL=$$config_default_from_email- - EMAIL_URL=$$secret_email_url- ports: []- $$id-postgresql:- name: PostgreSQL- depends_on: []- image: "postgres:14-alpine"- volumes:- - "$$id-postgresql-data:/var/lib/postgresql/data"- environment:- - POSTGRES_USER=$$config_postgres_user- - POSTGRES_PASSWORD=$$secret_postgres_password- - POSTGRES_DB=$$config_postgres_db- ports: []- $$id-redis:- name: Redis- depends_on: []- image: "redis:7-alpine"- volumes:- - "$$id-postgresql-redis-data:/data"- environment: []- ports: []- variables:- - id: $$config_django_superuser_username- name: DJANGO_SUPERUSER_USERNAME- label: Django Superuser Username- defaultValue: $$generate_username- description: ""- - id: $$secret_django_superuser_password- name: DJANGO_SUPERUSER_PASSWORD- label: Django Superuser Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true- - id: $$config_port- name: PORT- label: GlitchTip Port- defaultValue: "8000"- description: ""- - id: $$config_celery_worker_concurrency- main: $$id-worker- name: CELERY_WORKER_CONCURRENCY- label: Celery Worker Concurrency- defaultValue: "2"- description: ""- - id: $$config_glitchtip_domain- name: GLITCHTIP_DOMAIN- label: GlitchTip Domain- defaultValue: $$generate_fqdn- description: ""- - id: $$secret_email_url- name: EMAIL_URL- label: SMTP Email URL- defaultValue: >-- smtp://$$config_email_host_user:$$secret_email_host_password@$$config_email_host:$$config_email_port- description: ""- - id: $$secret_database_url- name: DATABASE_URL- label: Database URL for PostgreSQL- defaultValue: >-- postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db- description: ""- - id: $$secret_redis_url- name: REDIS_URL- label: Redis URL- defaultValue: "redis://$$id-redis:6379/0"- description: ""- - id: $$config_default_from_email- name: DEFAULT_FROM_EMAIL- label: Default Email Address- defaultValue: [email protected]- description: ""- - id: $$config_email_host- name: EMAIL_HOST- label: Email SMTP Host- defaultValue: ""- description: ""- - id: $$config_email_port- name: EMAIL_PORT- label: Email SMTP Port- defaultValue: "25"- description: ""- - id: $$config_email_host_user- name: EMAIL_HOST_USER- label: Email SMTP User- defaultValue: ""- description: ""- - id: $$secret_email_host_password- name: EMAIL_HOST_PASSWORD- label: Email SMTP Password- defaultValue: ""- description: ""- - id: $$config_email_use_tls- name: EMAIL_USE_TLS- label: Email Use TLS- defaultValue: "false"- description: ""- - id: $$config_email_use_ssl- name: EMAIL_USE_SSL- label: Email Use SSL- defaultValue: "false"- description: ""- - id: $$secret_email_smtp_password- name: EMAIL_SMTP_PASSWORD- label: SMTP Password- defaultValue: ""- description: ""- - id: $$config_email_backend- name: EMAIL_BACKEND- label: Email Backend- defaultValue: ""- description: ""- - id: $$secret_mailgun_api_key- name: MAILGUN_API_KEY- label: Mailgun API Key- defaultValue: ""- description: ""- showOnConfiguration: true- - id: $$secret_sendgrid_api_key- name: SENDGRID_API_KEY- label: Sendgrid API Key- defaultValue: ""- description: ""- showOnConfiguration: true- - id: $$config_enable_open_user_registration- name: ENABLE_OPEN_USER_REGISTRATION- label: Enable Open User Registration- defaultValue: "true"- description: ""- - id: $$config_django_superuser_email- name: DJANGO_SUPERUSER_EMAIL- label: Django Superuser Email- defaultValue: [email protected]- description: ""- - id: $$config_postgres_user- main: $$id-postgresql- name: POSTGRES_USER- label: PostgreSQL User- defaultValue: $$generate_username- description: ""- - id: $$secret_postgres_password- main: $$id-postgresql- name: POSTGRES_PASSWORD- label: PostgreSQL Password- defaultValue: $$generate_password- description: ""- - id: $$config_postgres_db- main: $$id-postgresql- name: POSTGRES_DB- label: PostgreSQL Database- defaultValue: glitchtip- description: ""-- templateVersion: 1.0.0- defaultVersion: v2.16.1- documentation: https://hasura.io/docs/latest/index/- type: hasura- name: Hasura- description: "Instant realtime GraphQL APIs on any Postgres application, existing or new."- labels:- - graphql- - database- services:- $$id:- name: Hasura- depends_on:- - $$id-postgresql- image: "hasura/graphql-engine:$$core_version"- volumes: []- environment:- - HASURA_GRAPHQL_ENABLE_CONSOLE=$$config_hasura_graphql_enable_console- - >-- HASURA_GRAPHQL_METADATA_DATABASE_URL=$$secret_hasura_graphql_metadata_database_url- - HASURA_GRAPHQL_ADMIN_SECRET=$$secret_hasura_graphql_admin_secret- ports:- - "8080"- $$id-postgresql:- name: PostgreSQL- depends_on: []- image: "postgres:12-alpine"- volumes:- - "$$id-postgresql-data:/var/lib/postgresql/data"- environment:- - POSTGRES_USER=$$config_postgres_user- - POSTGRES_PASSWORD=$$secret_postgres_password- - POSTGRES_DB=$$config_postgres_db- ports: []- variables:- - id: $$config_hasura_graphql_enable_console- name: HASURA_GRAPHQL_ENABLE_CONSOLE- label: Enable Hasura Console- defaultValue: "true"- description: ""- - id: $$secret_hasura_graphql_metadata_database_url- name: HASURA_GRAPHQL_METADATA_DATABASE_URL- label: Hasura Metadata Database URL- defaultValue: >-- postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db- description: ""- - id: $$secret_hasura_graphql_admin_secret- name: HASURA_GRAPHQL_ADMIN_SECRET- label: Hasura Admin Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true- - id: $$config_postgres_user- name: POSTGRES_USER- label: PostgreSQL User- defaultValue: $$generate_username- description: ""- - id: $$secret_postgres_password- name: POSTGRES_PASSWORD- label: PostgreSQL Password- defaultValue: $$generate_password- description: ""- - id: $$config_postgres_db- name: POSTGRES_DB- label: PostgreSQL Database- defaultValue: hasura- description: ""-- templateVersion: 1.0.0- defaultVersion: postgresql-v1.39.5- documentation: https://umami.is/docs/getting-started- type: umami-postgresql- name: Umami- subname: (PostgreSQL)- description: >-- A simple, easy to use, self-hosted web analytics solution.- services:- $$id:- name: Umami- depends_on:- - $$id-postgresql- image: "ghcr.io/umami-software/umami:$$core_version"- volumes: []- environment:- - ADMIN_PASSWORD=$$secret_admin_password- - DATABASE_URL=$$secret_database_url- - DATABASE_TYPE=$$config_database_type- - HASH_SALT=$$secret_hash_salt- ports:- - "3000"- $$id-postgresql:- name: PostgreSQL- depends_on: []- image: "postgres:12-alpine"- volumes:- - "$$id-postgresql-data:/var/lib/postgresql/data"- environment:- - POSTGRES_USER=$$config_postgres_user- - POSTGRES_PASSWORD=$$secret_postgres_password- - POSTGRES_DB=$$config_postgres_db- ports: []- files:- - location: /docker-entrypoint-initdb.d/schema.postgresql.sql- content: |2--- -- CreateTable- CREATE TABLE "account" (- "user_id" SERIAL NOT NULL,- "username" VARCHAR(255) NOT NULL,- "password" VARCHAR(60) NOT NULL,- "is_admin" BOOLEAN NOT NULL DEFAULT false,- "created_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,- "updated_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,-- PRIMARY KEY ("user_id")- );-- -- CreateTable- CREATE TABLE "event" (- "event_id" SERIAL NOT NULL,- "website_id" INTEGER NOT NULL,- "session_id" INTEGER NOT NULL,- "created_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,- "url" VARCHAR(500) NOT NULL,- "event_type" VARCHAR(50) NOT NULL,- "event_value" VARCHAR(50) NOT NULL,-- PRIMARY KEY ("event_id")- );-- -- CreateTable- CREATE TABLE "pageview" (- "view_id" SERIAL NOT NULL,- "website_id" INTEGER NOT NULL,- "session_id" INTEGER NOT NULL,- "created_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,- "url" VARCHAR(500) NOT NULL,- "referrer" VARCHAR(500),-- PRIMARY KEY ("view_id")- );-- -- CreateTable- CREATE TABLE "session" (- "session_id" SERIAL NOT NULL,- "session_uuid" UUID NOT NULL,- "website_id" INTEGER NOT NULL,- "created_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,- "hostname" VARCHAR(100),- "browser" VARCHAR(20),- "os" VARCHAR(20),- "device" VARCHAR(20),- "screen" VARCHAR(11),- "language" VARCHAR(35),- "country" CHAR(2),-- PRIMARY KEY ("session_id")- );-- -- CreateTable- CREATE TABLE "website" (- "website_id" SERIAL NOT NULL,- "website_uuid" UUID NOT NULL,- "user_id" INTEGER NOT NULL,- "name" VARCHAR(100) NOT NULL,- "domain" VARCHAR(500),- "share_id" VARCHAR(64),- "created_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,-- PRIMARY KEY ("website_id")- );-- -- CreateIndex- CREATE UNIQUE INDEX "account.username_unique" ON "account"("username");-- -- CreateIndex- CREATE INDEX "event_created_at_idx" ON "event"("created_at");-- -- CreateIndex- CREATE INDEX "event_session_id_idx" ON "event"("session_id");-- -- CreateIndex- CREATE INDEX "event_website_id_idx" ON "event"("website_id");-- -- CreateIndex- CREATE INDEX "pageview_created_at_idx" ON "pageview"("created_at");-- -- CreateIndex- CREATE INDEX "pageview_session_id_idx" ON "pageview"("session_id");-- -- CreateIndex- CREATE INDEX "pageview_website_id_created_at_idx" ON "pageview"("website_id", "created_at");-- -- CreateIndex- CREATE INDEX "pageview_website_id_idx" ON "pageview"("website_id");-- -- CreateIndex- CREATE INDEX "pageview_website_id_session_id_created_at_idx" ON "pageview"("website_id", "session_id", "created_at");-- -- CreateIndex- CREATE UNIQUE INDEX "session.session_uuid_unique" ON "session"("session_uuid");-- -- CreateIndex- CREATE INDEX "session_created_at_idx" ON "session"("created_at");-- -- CreateIndex- CREATE INDEX "session_website_id_idx" ON "session"("website_id");-- -- CreateIndex- CREATE UNIQUE INDEX "website.website_uuid_unique" ON "website"("website_uuid");-- -- CreateIndex- CREATE UNIQUE INDEX "website.share_id_unique" ON "website"("share_id");-- -- CreateIndex- CREATE INDEX "website_user_id_idx" ON "website"("user_id");-- -- AddForeignKey- ALTER TABLE "event" ADD FOREIGN KEY ("session_id") REFERENCES "session"("session_id") ON DELETE CASCADE ON UPDATE CASCADE;-- -- AddForeignKey- ALTER TABLE "event" ADD FOREIGN KEY ("website_id") REFERENCES "website"("website_id") ON DELETE CASCADE ON UPDATE CASCADE;-- -- AddForeignKey- ALTER TABLE "pageview" ADD FOREIGN KEY ("session_id") REFERENCES "session"("session_id") ON DELETE CASCADE ON UPDATE CASCADE;-- -- AddForeignKey- ALTER TABLE "pageview" ADD FOREIGN KEY ("website_id") REFERENCES "website"("website_id") ON DELETE CASCADE ON UPDATE CASCADE;-- -- AddForeignKey- ALTER TABLE "session" ADD FOREIGN KEY ("website_id") REFERENCES "website"("website_id") ON DELETE CASCADE ON UPDATE CASCADE;-- -- AddForeignKey- ALTER TABLE "website" ADD FOREIGN KEY ("user_id") REFERENCES "account"("user_id") ON DELETE CASCADE ON UPDATE CASCADE;-- insert into account (username, password, is_admin) values ('admin', '$$hashed$$secret_admin_password', true);- variables:- - id: $$secret_database_url- name: DATABASE_URL- label: Database URL for PostgreSQL- defaultValue: >-- postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db- description: ""- - id: $$secret_hash_salt- name: HASH_SALT- label: Hash Salt- defaultValue: $$generate_hex(64)- description: ""- - id: $$config_database_type- name: DATABASE_TYPE- label: Database Type- defaultValue: "postgresql"- description: ""- - id: $$config_postgres_user- name: POSTGRES_USER- label: PostgreSQL User- defaultValue: $$generate_username- description: ""- - id: $$secret_postgres_password- name: POSTGRES_PASSWORD- label: PostgreSQL Password- defaultValue: $$generate_password- description: ""- - id: $$config_postgres_db- name: POSTGRES_DB- label: PostgreSQL Database- defaultValue: umami- description: ""- - id: $$secret_admin_password- name: ADMIN_PASSWORD- label: Initial Admin Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true-- templateVersion: 1.0.0- ignore: true- defaultVersion: postgresql-v1.39.5- documentation: https://umami.is/docs/getting-started- type: umami- name: Umami- subname: (PostgreSQL)- description: >-- A simple, easy to use, self-hosted web analytics solution.- services:- $$id:- name: Umami- depends_on:- - $$id-postgresql- image: "ghcr.io/umami-software/umami:$$core_version"- volumes: []- environment:- - ADMIN_PASSWORD=$$secret_admin_password- - DATABASE_URL=$$secret_database_url- - DATABASE_TYPE=$$config_database_type- - HASH_SALT=$$secret_hash_salt- ports:- - "3000"- $$id-postgresql:- name: PostgreSQL- depends_on: []- image: "postgres:12-alpine"- volumes:- - "$$id-postgresql-data:/var/lib/postgresql/data"- environment:- - POSTGRES_USER=$$config_postgres_user- - POSTGRES_PASSWORD=$$secret_postgres_password- - POSTGRES_DB=$$config_postgres_db- ports: []- files:- - location: /docker-entrypoint-initdb.d/schema.postgresql.sql- content: |2--- -- CreateTable- CREATE TABLE "account" (- "user_id" SERIAL NOT NULL,- "username" VARCHAR(255) NOT NULL,- "password" VARCHAR(60) NOT NULL,- "is_admin" BOOLEAN NOT NULL DEFAULT false,- "created_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,- "updated_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,-- PRIMARY KEY ("user_id")- );-- -- CreateTable- CREATE TABLE "event" (- "event_id" SERIAL NOT NULL,- "website_id" INTEGER NOT NULL,- "session_id" INTEGER NOT NULL,- "created_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,- "url" VARCHAR(500) NOT NULL,- "event_type" VARCHAR(50) NOT NULL,- "event_value" VARCHAR(50) NOT NULL,-- PRIMARY KEY ("event_id")- );-- -- CreateTable- CREATE TABLE "pageview" (- "view_id" SERIAL NOT NULL,- "website_id" INTEGER NOT NULL,- "session_id" INTEGER NOT NULL,- "created_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,- "url" VARCHAR(500) NOT NULL,- "referrer" VARCHAR(500),-- PRIMARY KEY ("view_id")- );-- -- CreateTable- CREATE TABLE "session" (- "session_id" SERIAL NOT NULL,- "session_uuid" UUID NOT NULL,- "website_id" INTEGER NOT NULL,- "created_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,- "hostname" VARCHAR(100),- "browser" VARCHAR(20),- "os" VARCHAR(20),- "device" VARCHAR(20),- "screen" VARCHAR(11),- "language" VARCHAR(35),- "country" CHAR(2),-- PRIMARY KEY ("session_id")- );-- -- CreateTable- CREATE TABLE "website" (- "website_id" SERIAL NOT NULL,- "website_uuid" UUID NOT NULL,- "user_id" INTEGER NOT NULL,- "name" VARCHAR(100) NOT NULL,- "domain" VARCHAR(500),- "share_id" VARCHAR(64),- "created_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,-- PRIMARY KEY ("website_id")- );-- -- CreateIndex- CREATE UNIQUE INDEX "account.username_unique" ON "account"("username");-- -- CreateIndex- CREATE INDEX "event_created_at_idx" ON "event"("created_at");-- -- CreateIndex- CREATE INDEX "event_session_id_idx" ON "event"("session_id");-- -- CreateIndex- CREATE INDEX "event_website_id_idx" ON "event"("website_id");-- -- CreateIndex- CREATE INDEX "pageview_created_at_idx" ON "pageview"("created_at");-- -- CreateIndex- CREATE INDEX "pageview_session_id_idx" ON "pageview"("session_id");-- -- CreateIndex- CREATE INDEX "pageview_website_id_created_at_idx" ON "pageview"("website_id", "created_at");-- -- CreateIndex- CREATE INDEX "pageview_website_id_idx" ON "pageview"("website_id");-- -- CreateIndex- CREATE INDEX "pageview_website_id_session_id_created_at_idx" ON "pageview"("website_id", "session_id", "created_at");-- -- CreateIndex- CREATE UNIQUE INDEX "session.session_uuid_unique" ON "session"("session_uuid");-- -- CreateIndex- CREATE INDEX "session_created_at_idx" ON "session"("created_at");-- -- CreateIndex- CREATE INDEX "session_website_id_idx" ON "session"("website_id");-- -- CreateIndex- CREATE UNIQUE INDEX "website.website_uuid_unique" ON "website"("website_uuid");-- -- CreateIndex- CREATE UNIQUE INDEX "website.share_id_unique" ON "website"("share_id");-- -- CreateIndex- CREATE INDEX "website_user_id_idx" ON "website"("user_id");-- -- AddForeignKey- ALTER TABLE "event" ADD FOREIGN KEY ("session_id") REFERENCES "session"("session_id") ON DELETE CASCADE ON UPDATE CASCADE;-- -- AddForeignKey- ALTER TABLE "event" ADD FOREIGN KEY ("website_id") REFERENCES "website"("website_id") ON DELETE CASCADE ON UPDATE CASCADE;-- -- AddForeignKey- ALTER TABLE "pageview" ADD FOREIGN KEY ("session_id") REFERENCES "session"("session_id") ON DELETE CASCADE ON UPDATE CASCADE;-- -- AddForeignKey- ALTER TABLE "pageview" ADD FOREIGN KEY ("website_id") REFERENCES "website"("website_id") ON DELETE CASCADE ON UPDATE CASCADE;-- -- AddForeignKey- ALTER TABLE "session" ADD FOREIGN KEY ("website_id") REFERENCES "website"("website_id") ON DELETE CASCADE ON UPDATE CASCADE;-- -- AddForeignKey- ALTER TABLE "website" ADD FOREIGN KEY ("user_id") REFERENCES "account"("user_id") ON DELETE CASCADE ON UPDATE CASCADE;-- insert into account (username, password, is_admin) values ('admin', '$$hashed$$secret_admin_password', true);- variables:- - id: $$secret_database_url- name: DATABASE_URL- label: Database URL for PostgreSQL- defaultValue: >-- postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db- description: ""- - id: $$secret_hash_salt- name: HASH_SALT- label: Hash Salt- defaultValue: $$generate_hex(64)- description: ""- - id: $$config_database_type- name: DATABASE_TYPE- label: Database Type- defaultValue: "postgresql"- description: ""- - id: $$config_postgres_user- name: POSTGRES_USER- label: PostgreSQL User- defaultValue: $$generate_username- description: ""- - id: $$secret_postgres_password- name: POSTGRES_PASSWORD- label: PostgreSQL Password- defaultValue: $$generate_password- description: ""- - id: $$config_postgres_db- name: POSTGRES_DB- label: PostgreSQL Database- defaultValue: umami- description: ""- - id: $$secret_admin_password- name: ADMIN_PASSWORD- label: Initial Admin Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true-- templateVersion: 1.0.0- defaultVersion: v0.30.5- documentation: https://docs.meilisearch.com/learn/getting_started/quick_start.html- type: meilisearch- name: MeiliSearch- description: >-- A lightning Fast, Ultra Relevant, and Typo-Tolerant Search Engine.- services:- $$id:- name: MeiliSearch- documentation: https://docs.meilisearch.com/- depends_on: []- image: "getmeili/meilisearch:$$core_version"- volumes:- - "$$id-datams:/meili_data/data.ms"- - "$$id-data:/meili_data"- - "$$id-snapshot:/snapshot"- - "$$id-dump:/dumps"- environment:- - MEILI_MASTER_KEY=$$secret_meili_master_key- ports:- - "7700"- variables:- - id: $$secret_meili_master_key- name: MEILI_MASTER_KEY- label: Master Key- defaultValue: $$generate_hex(64)- description: ""- showOnConfiguration: true-- templateVersion: 1.0.0- ignore: true- defaultVersion: 5.30.0- documentation: https://docs.ghost.org- arch: amd64- type: ghost-mariadb- name: Ghost- subname: (MariaDB)- description: >-- Free and open source blogging platform.- labels:- - cms- - blog- services:- $$id:- name: Ghost- depends_on:- - $$id-mariadb- image: "bitnami/ghost:$$core_version"- volumes:- - "$$id-ghost:/bitnami/ghost"- environment:- - url=$$config_url- - GHOST_HOST=$$config_ghost_host- - GHOST_ENABLE_HTTPS=$$config_ghost_enable_https- - GHOST_EMAIL=$$config_ghost_email- - GHOST_PASSWORD=$$secret_ghost_password- - GHOST_DATABASE_HOST=$$config_ghost_database_host- - GHOST_DATABASE_USER=$$config_mariadb_user- - GHOST_DATABASE_PASSWORD=$$secret_ghost_database_password- - GHOST_DATABASE_NAME=$$config_mariadb_database- - GHOST_DATABASE_PORT_NUMBER=3306- ports:- - "2368"- $$id-mariadb:- name: MariaDB- depends_on: []- image: "bitnami/mariadb:latest"- volumes:- - "$$id-mariadb:/bitnami/mariadb"- environment:- - MARIADB_USER=$$config_mariadb_user- - MARIADB_PASSWORD=$$secret_mariadb_password- - MARIADB_DATABASE=$$config_mariadb_database- - MARIADB_ROOT_USER=$$config_mariadb_root_user- - MARIADB_ROOT_PASSWORD=$$secret_mariadb_root_password- ports: []- variables:- - id: $$config_url- name: url- label: URL- defaultValue: $$generate_fqdn- description: ""- - id: $$config_ghost_host- name: GHOST_HOST- label: Ghost Host- defaultValue: $$generate_domain- description: ""- - id: $$config_ghost_enable_https- name: GHOST_ENABLE_HTTPS- label: Ghost Enable HTTPS- defaultValue: "no"- description: ""- - id: $$config_ghost_email- name: GHOST_EMAIL- label: Ghost Default Email- defaultValue: [email protected]- description: ""- - id: $$secret_ghost_password- name: GHOST_PASSWORD- label: Ghost Default Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true- - id: $$config_ghost_database_host- name: GHOST_DATABASE_HOST- label: Ghost Database Host- defaultValue: $$id-mariadb- description: ""- - id: $$config_ghost_database_user- name: GHOST_DATABASE_USER- label: MariaDB User- defaultValue: $$config_mariadb_user- description: ""- - id: $$secret_ghost_database_password- name: GHOST_DATABASE_PASSWORD- label: MariaDB Password- defaultValue: $$secret_mariadb_password- description: ""- - id: $$config_ghost_database_name- name: GHOST_DATABASE_NAME- label: MariaDB Database- defaultValue: $$config_mariadb_database- description: ""- - id: $$config_mariadb_user- name: MARIADB_USER- label: MariaDB User- defaultValue: $$generate_username- description: ""- - id: $$secret_mariadb_password- name: MARIADB_PASSWORD- label: MariaDB Password- defaultValue: $$generate_password- description: ""- - id: $$config_mariadb_database- name: MARIADB_DATABASE- label: MariaDB Database- defaultValue: ghost- description: ""- - id: $$config_mariadb_root_user- name: MARIADB_ROOT_USER- label: MariaDB Root User- defaultValue: $$generate_username- description: ""- - id: $$secret_mariadb_root_password- name: MARIADB_ROOT_PASSWORD- label: MariaDB Root Password- defaultValue: $$generate_password- description: ""-- templateVersion: 1.0.0- defaultVersion: 5.30.0- documentation: https://docs.ghost.org- type: ghost-only- name: Ghost- subname: (without Database)- description: >-- Free and open source blogging platform.- services:- $$id:- name: Ghost- image: "ghost:$$core_version"- volumes:- - "$$id-ghost:/var/lib/ghost/content"- environment:- - url=$$config_url- - database__client=$$config_database__client- - database__connection__host=$$config_database__connection__host- - database__connection__user=$$config_database__connection__user- - database__connection__password=$$secret_database__connection__password- - database__connection__database=$$config_database__connection__database- ports:- - "2368"- variables:- - id: $$config_url- name: url- label: URL- defaultValue: $$generate_fqdn- description: ""- - id: $$config_database__client- name: database__client- label: Database Client- defaultValue: mysql- description: ""- required: true- - id: $$config_database__connection__host- name: database__connection__host- label: Database Host- defaultValue: ""- description: ""- required: true- placeholder: "db.coolify.io"- - id: $$config_database__connection__user- name: database__connection__user- label: Database User- defaultValue: ""- description: ""- placeholder: "ghost"- required: true- - id: $$secret_database__connection__password- name: database__connection__password- label: Database Password- defaultValue: ""- description: ""- placeholder: "superSecretP4ssword"- showOnConfiguration: true- required: true- - id: $$config_database__connection__database- name: database__connection__database- label: Database Name- defaultValue: ""- description: ""- placeholder: "ghost_db"- required: true-- templateVersion: 1.0.0- defaultVersion: 5.30.0- documentation: https://docs.ghost.org- type: ghost-mysql- name: Ghost- subname: (MySQL)- description: >-- Ghost is a free and open source blogging platform.- services:- $$id:- name: Ghost- depends_on:- - $$id-mysql- image: "ghost:$$core_version"- volumes:- - "$$id-ghost:/var/lib/ghost/content"- environment:- - url=$$config_url- - database__client=$$config_database__client- - database__connection__host=$$config_database__connection__host- - database__connection__user=$$config_mysql_user- - database__connection__password=$$secret_mysql_password- - database__connection__database=$$config_mysql_database- ports:- - "2368"- $$id-mysql:- name: MySQL- depends_on: []- image: "mysql:8.0"- volumes:- - "$$id-mysql:/var/lib/mysql"- environment:- - MYSQL_USER=$$config_mysql_user- - MYSQL_PASSWORD=$$secret_mysql_password- - MYSQL_DATABASE=$$config_mysql_database- - MYSQL_ROOT_PASSWORD=$$secret_mysql_root_password- ports: []- variables:- - id: $$config_url- name: url- label: URL- defaultValue: $$generate_fqdn- description: ""- - id: $$config_database__client- name: database__client- label: Database Client- defaultValue: mysql- description: ""- readOnly: true- - id: $$config_database__connection__host- name: database__connection__host- label: Database Host- defaultValue: $$id-mysql- description: ""- - id: $$config_mysql_user- main: $$id-mysql- name: MYSQL_USER- label: MySQL User- defaultValue: $$generate_username- description: ""- - id: $$secret_mysql_password- main: $$id-mysql- name: MYSQL_PASSWORD- label: MySQL Password- defaultValue: $$generate_password- description: ""- - id: $$config_mysql_database- main: $$id-mysql- name: MYSQL_DATABASE- label: MySQL Database- defaultValue: ghost- description: ""- - id: $$secret_mysql_root_password- name: MYSQL_ROOT_PASSWORD- label: MySQL Root Password- defaultValue: $$generate_password- description: ""-- templateVersion: 1.0.0- defaultVersion: php8.2- documentation: https://wordpress.org/- type: wordpress- name: WordPress- subname: (MySQL)- description: A content management system based on PHP.- labels:- - "wordpress"- - "php"- - "cms"- services:- $$id:- name: WordPress- depends_on:- - $$id-mysql- image: "wordpress:$$core_version"- volumes:- - "$$id-wordpress-data:/var/www/html"- environment:- - WORDPRESS_DB_HOST=$$config_wordpress_db_host- - WORDPRESS_DB_USER=$$config_mysql_user- - WORDPRESS_DB_PASSWORD=$$secret_mysql_password- - WORDPRESS_DB_NAME=$$config_mysql_database- - WORDPRESS_CONFIG_EXTRA=$$config_wordpress_config_extra- ports:- - "80"- $$id-mysql:- name: MySQL- depends_on: []- image: "bitnami/mysql:5.7"- imageArm: "mysql:8.0"- volumes:- - "$$id-mysql-data:/bitnami/mysql/data"- volumesArm:- - "$$id-mysql-data:/var/lib/mysql"- environment:- - MYSQL_ROOT_PASSWORD=$$secret_mysql_root_password- - MYSQL_ROOT_USER=$$config_mysql_root_user- - MYSQL_DATABASE=$$config_mysql_database- - MYSQL_USER=$$config_mysql_user- - MYSQL_PASSWORD=$$secret_mysql_password- variables:- - id: $$config_wordpress_db_host- name: WORDPRESS_DB_HOST- label: Database Host- defaultValue: $$id-mysql- description: ""- readOnly: true- - id: $$config_wordpress_config_extra- name: WORDPRESS_CONFIG_EXTRA- label: WordPress Config Extra- defaultValue: ""- description: ""- type: "textarea"- placeholder: |- define('WP_DEBUG', true);- define('WP_DEBUG_LOG', true);- define('WP_DEBUG_DISPLAY', false);- @ini_set('display_errors', 0);- - id: $$secret_mysql_root_password- name: MYSQL_ROOT_PASSWORD- label: MySQL Root Password- defaultValue: $$generate_password- description: ""- readOnly: true- - id: $$config_mysql_root_user- name: MYSQL_ROOT_USER- label: MySQL Root User- defaultValue: $$generate_username- description: ""- readOnly: true- - id: $$config_mysql_database- name: MYSQL_DATABASE- label: MySQL Database- defaultValue: wordpress- description: ""- readOnly: true- - id: $$config_mysql_user- name: MYSQL_USER- label: MySQL User- defaultValue: $$generate_username- description: ""- readOnly: true- - id: $$secret_mysql_password- name: MYSQL_PASSWORD- label: MySQL Password- defaultValue: $$generate_password- description: ""- readOnly: true-- templateVersion: 1.0.0- defaultVersion: php8.2- documentation: https://wordpress.org/- type: wordpress-only- name: WordPress- subname: (without DB)- description: A content management system based on PHP.- labels:- - "wordpress"- - "php"- - "cms"- services:- $$id:- name: WordPress- image: "wordpress:$$core_version"- volumes:- - "$$id-wordpress-data:/var/www/html"- environment:- - WORDPRESS_DB_HOST=$$config_wordpress_db_host- - WORDPRESS_DB_PORT=$$config_wordpress_db_port- - WORDPRESS_DB_USER=$$config_wordpress_db_user- - WORDPRESS_DB_PASSWORD=$$secret_wordpress_db_password- - WORDPRESS_DB_NAME=$$config_wordpress_db_name- - WORDPRESS_CONFIG_EXTRA=$$config_wordpress_config_extra- ports:- - "80"- variables:- - id: $$config_wordpress_db_host- name: WORDPRESS_DB_HOST- label: Database Host- defaultValue: ""- description: ""- placeholder: "db.coollabs.io"- required: true- - id: $$config_wordpress_db_port- name: WORDPRESS_DB_PORT- label: Database Port- defaultValue: ""- description: ""- placeholder: "3306"- required: true- - id: $$config_wordpress_db_user- name: WORDPRESS_DB_USER- label: Database User- defaultValue: ""- description: ""- placeholder: "wordpress"- required: true- - id: $$secret_wordpress_db_password- name: WORDPRESS_DB_PASSWORD- label: Database Password- defaultValue: ""- description: ""- placeholder: "supers3cr3tpassw0rd!"- required: true- showOnConfiguration: true- - id: $$config_wordpress_db_name- name: WORDPRESS_DB_NAME- label: Database Name- defaultValue: ""- description: ""- placeholder: "wordpress"- required: true- - id: $$config_wordpress_config_extra- name: WORDPRESS_CONFIG_EXTRA- label: Extra Config- defaultValue: ""- description: ""- type: "textarea"- placeholder: |- define('WP_DEBUG', true);- define('WP_DEBUG_LOG', true);- define('WP_DEBUG_DISPLAY', false);- @ini_set('display_errors', 0);-- templateVersion: 1.0.0- defaultVersion: 4.9.1- documentation: https://coder.com/docs/coder-oss/latest- type: vscodeserver- name: VSCode Server- description: >-- Visual Studio Code on a remote server, accessible through the browser.- labels:- - vscode- - ide- services:- $$id:- name: VSCode Server- depends_on: []- image: "codercom/code-server:$$core_version"- volumes:- - "$$id-vscodeserver-data:/home/coder"- - "$$id-keys-directory:/root/.ssh"- - "$$id-theme-and-plugin-directory:/root/.local/share/code-server"- environment:- - PASSWORD=$$secret_password- ports:- - "8080"- variables:- - id: $$secret_password- name: PASSWORD- label: Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true-- templateVersion: 1.0.0- defaultVersion: RELEASE.2023-01-12T02-06-16Z- documentation: https://min.io/docs/minio- type: minio- name: MinIO- description: "A cloud storage server compatible with Amazon S3."- labels:- - storage- - s3- services:- $$id:- name: MinIO- command: "server /data --console-address :9001"- depends_on: []- image: "minio/minio:$$core_version"- volumes:- - "$$id-minio-data:/data"- - "$$id-data-write:/files"- environment:- - MINIO_SERVER_URL=$$config_coolify_fqdn_minio_console- - MINIO_BROWSER_REDIRECT_URL=$$config_minio_browser_redirect_url- - MINIO_DOMAIN=$$config_minio_domain- - MINIO_ROOT_USER=$$config_minio_root_user- - MINIO_ROOT_PASSWORD=$$secret_minio_root_password- ports:- - "9000"- - "9001"- proxy:- - port: "9000"- domain: $$config_coolify_fqdn_minio_console- - port: "9001"- variables:- - id: $$config_coolify_fqdn_minio_console- name: MINIO_SERVER_URL- label: MinIO Server URL- defaultValue: ""- description: "Specify the URL hostname the MinIO Console should use for connecting to the MinIO Server."- required: true- - id: $$config_minio_browser_redirect_url- name: MINIO_BROWSER_REDIRECT_URL- label: Browser Redirect URL- defaultValue: $$generate_fqdn- description: ""- - id: $$config_minio_domain- name: MINIO_DOMAIN- label: Domain- defaultValue: $$generate_domain- description: ""- - id: $$config_minio_root_user- name: MINIO_ROOT_USER- label: Root User- defaultValue: $$generate_username- description: ""- - id: $$secret_minio_root_password- name: MINIO_ROOT_PASSWORD- label: Root User Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true-- templateVersion: 1.0.0- defaultVersion: stable- documentation: https://fider.io/docs- type: fider- name: Fider- description: A platform to collect and organize customer feedback.- labels:- - suggestion- - feedback- services:- $$id:- name: Fider- image: "getfider/fider:$$core_version"- depends_on:- - $$id-postgresql- environment:- - BASE_URL=$$config_base_url- - DATABASE_URL=$$secret_database_url- - JWT_SECRET=$$secret_jwt_secret- - EMAIL_NOREPLY=$$config_email_noreply- - EMAIL_MAILGUN_API=$$secret_email_mailgun_api- - EMAIL_MAILGUN_REGION=$$config_email_mailgun_region- - EMAIL_MAILGUN_DOMAIN=$$config_email_mailgun_domain- - EMAIL_SMTP_HOST=$$config_email_smtp_host- - EMAIL_SMTP_PORT=$$config_email_smtp_port- - EMAIL_SMTP_USER=$$config_email_smtp_user- - EMAIL_SMTP_PASSWORD=$$secret_email_smtp_password- - EMAIL_SMTP_ENABLE_STARTTLS=$$config_email_smtp_enable_starttls- ports:- - "3000"- $$id-postgresql:- name: PostgreSQL- depends_on: []- image: "postgres:12-alpine"- volumes:- - "$$id-postgresql-data:/var/lib/postgresql/data"- environment:- - POSTGRES_USER=$$config_postgres_user- - POSTGRES_PASSWORD=$$secret_postgres_password- - POSTGRES_DB=$$config_postgres_db- variables:- - id: $$config_base_url- name: BASE_URL- label: Base URL- defaultValue: $$generate_fqdn- description: ""- - id: $$secret_database_url- name: DATABASE_URL- label: Database URL for PostgreSQL- defaultValue: >-- postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db?sslmode=disable- description: ""- - id: $$secret_jwt_secret- name: JWT_SECRET- label: JWT Secret- defaultValue: $$generate_hex(64)- description: ""- - id: $$config_email_noreply- name: EMAIL_NOREPLY- label: No Reply Email Address- defaultValue: [email protected]- description: ""- - id: $$secret_email_mailgun_api- name: EMAIL_MAILGUN_API- label: Mailgun API Key- defaultValue: ""- description: ""- showOnConfiguration: true- - id: $$config_email_mailgun_region- name: EMAIL_MAILGUN_REGION- label: Mailgun Region- defaultValue: EU- description: ""- - id: $$config_email_mailgun_domain- name: EMAIL_MAILGUN_DOMAIN- label: Mailgun Domain- defaultValue: ""- description: ""- - id: $$config_email_smtp_host- name: EMAIL_SMTP_HOST- label: SMTP Host- defaultValue: ""- description: ""- - id: $$config_email_smtp_port- name: EMAIL_SMTP_PORT- label: SMTP Port- defaultValue: "587"- description: ""- - id: $$config_email_smtp_user- name: EMAIL_SMTP_USER- label: SMTP User- defaultValue: ""- description: ""- - id: $$secret_email_smtp_password- name: EMAIL_SMTP_PASSWORD- label: SMTP Password- defaultValue: ""- description: ""- showOnConfiguration: true- - id: $$config_email_smtp_enable_starttls- name: EMAIL_SMTP_ENABLE_STARTTLS- label: SMTP Enable StartTLS- defaultValue: "false"- description: ""- - id: $$config_postgres_user- name: POSTGRES_USER- label: PostgreSQL User- defaultValue: $$generate_username- description: ""- - id: $$secret_postgres_password- name: POSTGRES_PASSWORD- label: PostgreSQL Password- defaultValue: $$generate_password- description: ""- - id: $$config_postgres_db- name: POSTGRES_DB- label: PostgreSQL Database- defaultValue: $$generate_username- description: ""-- templateVersion: 1.0.0- defaultVersion: 0.215.1- documentation: https://docs.n8n.io- type: n8n- name: n8n.io- description: A free and open node based Workflow Automation Tool.- labels:- - workflow- - automation- - ifttt- - zapier- - nodered- services:- $$id:- name: N8n- depends_on: []- image: "n8nio/n8n:$$core_version"- volumes:- - "$$id-data:/root/.n8n"- - "$$id-data-write:/files"- - "/var/run/docker.sock:/var/run/docker.sock"- environment:- - WEBHOOK_URL=$$config_webhook_url- ports:- - "5678"- variables:- - id: $$config_webhook_url- name: WEBHOOK_URL- label: Webhook URL- defaultValue: $$generate_fqdn- description: ""-- templateVersion: 1.0.0- defaultVersion: v1.5.1- documentation: https://plausible.io/doc/- arch: amd64- type: plausibleanalytics- name: Plausible Analytics- description: A lightweight and open-source website analytics tool.- labels:- - analytics- - statistics- - plausible- - gdpr- - no-cookie- - google analytics- services:- $$id:- name: Plausible Analytics- command: >-- sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db- migrate && /entrypoint.sh db init-admin && /entrypoint.sh run"- depends_on:- - $$id-postgresql- - $$id-clickhouse- image: "plausible/analytics:$$core_version"- environment:- - ADMIN_USER_EMAIL=$$config_admin_user_email- - ADMIN_USER_NAME=$$config_admin_user_name- - ADMIN_USER_PWD=$$secret_admin_user_pwd- - BASE_URL=$$config_base_url- - SECRET_KEY_BASE=$$secret_secret_key_base- - DISABLE_AUTH=$$config_disable_auth- - DISABLE_REGISTRATION=$$config_disable_registration- - DATABASE_URL=$$secret_database_url- - CLICKHOUSE_DATABASE_URL=$$secret_clickhouse_database_url- ports:- - "8000"- $$id-postgresql:- name: PostgreSQL- image: "bitnami/postgresql:13"- volumes:- - "$$id-postgresql-data:/bitnami/postgresql"- environment:- - POSTGRESQL_PASSWORD=$$secret_postgresql_password- - POSTGRESQL_USERNAME=$$config_postgresql_username- - POSTGRESQL_DATABASE=$$config_postgresql_database- $$id-clickhouse:- name: Clickhouse- volumes:- - "$$id-clickhouse-data:/var/lib/clickhouse"- image: "clickhouse/clickhouse-server:22.6-alpine"- ulimits:- nofile:- soft: 262144- hard: 262144- files:- - location: /etc/clickhouse-server/users.d/logging.xml- content: >-- <yandex><logger><level>warning</level><console>true</console></logger><query_thread_log- remove="remove"/><query_log remove="remove"/><text_log- remove="remove"/><trace_log remove="remove"/><metric_log- remove="remove"/><asynchronous_metric_log- remove="remove"/><session_log remove="remove"/><part_log- remove="remove"/></yandex>- - location: /etc/clickhouse-server/config.d/logging.xml- content: >-- <yandex><profiles><default><log_queries>0</log_queries><log_query_threads>0</log_query_threads></default></profiles></yandex>- - location: /docker-entrypoint-initdb.d/init.query- content: CREATE DATABASE IF NOT EXISTS plausible;- - location: /docker-entrypoint-initdb.d/init-db.sh- content: >-- clickhouse client --queries-file- /docker-entrypoint-initdb.d/init.query- variables:- - id: $$config_base_url- name: BASE_URL- label: Base URL- defaultValue: $$generate_fqdn- description: >-- You must set this to the FQDN of the Plausible Analytics instance. This- is used to generate the links to the Plausible Analytics instance.- - id: $$secret_database_url- name: DATABASE_URL- label: Database URL for PostgreSQL- defaultValue: >-- postgresql://$$config_postgresql_username:$$secret_postgresql_password@$$id-postgresql:5432/$$config_postgresql_database- description: ""- - id: $$secret_clickhouse_database_url- name: CLICKHOUSE_DATABASE_URL- label: Database URL for Clickhouse- defaultValue: "http://$$id-clickhouse:8123/plausible"- description: ""- - id: $$config_admin_user_email- name: ADMIN_USER_EMAIL- label: Admin Email Address- defaultValue: [email protected]- description: This is the admin email. Please change it.- - id: $$config_admin_user_name- name: ADMIN_USER_NAME- label: Admin User Name- defaultValue: $$generate_username- description: This is the admin username. Please change it.- - id: $$secret_admin_user_pwd- name: ADMIN_USER_PWD- label: Admin User Password- defaultValue: $$generate_password- description: This is the admin password. Please change it.- showOnConfiguration: true- - id: $$secret_secret_key_base- name: SECRET_KEY_BASE- label: Secret Key Base- defaultValue: $$generate_hex(64)- description: ""- - id: $$config_disable_auth- name: DISABLE_AUTH- label: Authentication- defaultValue: "false"- description: ""- - id: $$config_disable_registration- name: DISABLE_REGISTRATION- label: Registration- defaultValue: "true"- description: ""- - id: $$config_postgresql_username- main: $$id-postgresql- name: POSTGRESQL_USERNAME- label: PostgreSQL Username- defaultValue: postgresql- description: ""- - id: $$secret_postgresql_password- main: $$id-postgresql- name: POSTGRESQL_PASSWORD- label: PostgreSQL Password- defaultValue: $$generate_password- description: ""- showOnConfiguration: true- - id: $$config_postgresql_database- main: $$id-postgresql- name: POSTGRESQL_DATABASE- label: PostgreSQL Database- defaultValue: plausible- description: ""- - id: $$config_scriptName- name: SCRIPT_NAME- label: Custom Script Name- defaultValue: plausible.js- description: This is the default script name.-- templateVersion: 1.0.0- defaultVersion: 0.104.2- documentation: https://docs.nocodb.com- type: nocodb- name: NocoDB- description: >-- Turns any MySQL, PostgreSQL, SQL Server, SQLite & MariaDB into a smart-spreadsheet.- labels:- - database- - airtable- - spreadsheet- services:- $$id:- name: NocoDB- image: nocodb/nocodb:$$core_version- environment:- - PORT=$$config_port- - NC_DB=$$config_nc_db- - DATABASE_URL=$$secret_database_url- - NC_PUBLIC_URL=$$config_public_url- - NC_AUTH_JWT_SECRET=$$secret_auth_jwt_secret- - NC_SENTRY_DSN=$$secret_sentry_dsn- - >-- NC_CONNECT_TO_EXTERNAL_DB_DISABLED=$$config_connect_to_external_db_disabled- - NC_DISABLE_TELE=$$config_disable_tele- volumes:- - $$id-data:/usr/app/data- ports:- - "8080"- variables:- - id: $$config_nc_db- name: NC_DB- label: Database- defaultValue: ""- description: >-- MySQL, PostgreSQL and MSSQL connection urls supported. If absent: A- local SQLite will be created in root folder.- - id: $$config_port- name: PORT- label: Port- defaultValue: "8080"- description: >--- - id: $$secret_database_url- name: DATABASE_URL- label: Database URL- defaultValue: ""- description: >-- JDBC URL Format. Can be used instead of NC_DB. Used in 1-Click Heroku- deployment.- - id: $$config_public_url- name: NC_PUBLIC_URL- label: Public URL- defaultValue: ""- description: >-- Used for sending Email invitations. If absent: Best guess from http- request params.- - id: $$secret_auth_jwt_secret- name: NC_AUTH_JWT_SECRET- label: Auth JWT Secret- defaultValue: $$generate_hex(64)- description: >-- JWT secret used for auth and storing other secrets. If absent: A Random- secret will be generated.- - id: $$secret_sentry_dsn- name: NC_SENTRY_DSN- label: Sentry DSN- defaultValue: ""- description: For Sentry monitoring.- - id: $$config_connect_to_external_db_disabled- name: NC_CONNECT_TO_EXTERNAL_DB_DISABLED- label: Disable External Database- defaultValue: "0"- description: Disable Project creation with external database. (Enter "1" to disable).- - id: $$config_disable_tele- name: NC_DISABLE_TELE- label: NocoDB Disable Telemetry- defaultValue: "1"- description: Disable telemetry (Enter "1" to disable).diff --git a/apps/api/nodemon.json b/apps/api/nodemon.jsondeleted file mode 100644index 8825a2262d..0000000000--- a/apps/api/nodemon.json+++ /dev/null@@ -1,11 +0,0 @@-{- "watch": [- "src"- ],- "ignore": [- "src/**/*.test.ts"- ],- "ext": "ts,mjs,json,graphql",- "exec": "rimraf build && esbuild `find src \\( -name '*.ts' \\)` --platform=node --outdir=build --format=cjs && node build",- "legacyWatch": true-}\ No newline at end of filediff --git a/apps/api/package.json b/apps/api/package.jsondeleted file mode 100644index 86f78ab396..0000000000--- a/apps/api/package.json+++ /dev/null@@ -1,85 +0,0 @@-{- "name": "api",- "description": "Coolify's Fastify API",- "license": "Apache-2.0",- "scripts": {- "db:generate": "prisma generate",- "db:push": "prisma db push && prisma generate",- "db:seed": "prisma db seed",- "db:studio": "prisma studio",- "db:migrate": "COOLIFY_DATABASE_URL=file:../db/migration.db prisma migrate dev --skip-seed --name",- "dev": "nodemon",- "build": "rimraf build && esbuild `find src \\( -name '*.ts' \\)| grep -v client/` --platform=node --outdir=build --format=cjs",- "format": "prettier --write 'src/**/*.{js,ts,json,md}'",- "lint": "prettier --check 'src/**/*.{js,ts,json,md}' && eslint --ignore-path .eslintignore .",- "start": "NODE_ENV=production pnpm prisma migrate deploy && pnpm prisma generate && pnpm prisma db seed && node index.js"- },- "dependencies": {- "@breejs/ts-worker": "2.0.0",- "@fastify/autoload": "5.7.0",- "@fastify/cookie": "8.3.0",- "@fastify/cors": "8.2.0",- "@fastify/env": "4.2.0",- "@fastify/jwt": "6.5.0",- "@fastify/multipart": "7.4.1",- "@fastify/static": "6.6.0",- "@iarna/toml": "2.2.5",- "@ladjs/graceful": "3.2.1",- "@prisma/client": "4.8.1",- "@sentry/node": "7.30.0",- "@sentry/tracing": "7.30.0",- "axe": "11.2.1",- "bcryptjs": "2.4.3",- "bree": "9.1.3",- "cabin": "11.1.1",- "compare-versions": "5.0.1",- "csv-parse": "5.3.3",- "csvtojson": "2.0.10",- "cuid": "2.1.8",- "dayjs": "1.11.7",- "dockerode": "3.3.4",- "dotenv-extended": "2.9.0",- "execa": "6.1.0",- "fastify": "4.11.0",- "fastify-plugin": "4.3.0",- "fastify-socket.io": "4.0.0",- "generate-password": "1.7.0",- "got": "12.5.3",- "is-ip": "5.0.0",- "is-port-reachable": "4.0.0",- "js-yaml": "4.1.0",- "jsonwebtoken": "9.0.0",- "minimist": "^1.2.7",- "node-forge": "1.3.1",- "node-os-utils": "1.3.7",- "p-all": "4.0.0",- "p-throttle": "5.0.0",- "prisma": "4.8.1",- "public-ip": "6.0.1",- "pump": "3.0.0",- "shell-quote": "^1.7.4",- "socket.io": "4.5.4",- "ssh-config": "4.2.0",- "strip-ansi": "7.0.1",- "unique-names-generator": "4.7.1"- },- "devDependencies": {- "@types/node": "18.11.18",- "@types/node-os-utils": "1.3.0",- "@typescript-eslint/eslint-plugin": "5.48.1",- "@typescript-eslint/parser": "5.48.1",- "esbuild": "0.16.16",- "eslint": "8.31.0",- "eslint-config-prettier": "8.6.0",- "eslint-plugin-prettier": "4.2.1",- "nodemon": "2.0.20",- "prettier": "2.8.2",- "rimraf": "3.0.2",- "tsconfig-paths": "4.1.2",- "types-fastify-socket.io": "0.0.1",- "typescript": "4.9.4"- },- "prisma": {- "seed": "node prisma/seed.js"- }-}diff --git a/apps/api/prisma/migrations/20220131142425_init/migration.sql b/apps/api/prisma/migrations/20220131142425_init/migration.sqldeleted file mode 100644index 6607a48b5a..0000000000--- a/apps/api/prisma/migrations/20220131142425_init/migration.sql+++ /dev/null@@ -1,443 +0,0 @@--- CreateTable-CREATE TABLE "Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT false,- "proxyPassword" TEXT NOT NULL,- "proxyUser" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);---- CreateTable-CREATE TABLE "User" (- "id" TEXT NOT NULL PRIMARY KEY,- "email" TEXT NOT NULL,- "type" TEXT NOT NULL,- "password" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);---- CreateTable-CREATE TABLE "Permission" (- "id" TEXT NOT NULL PRIMARY KEY,- "userId" TEXT NOT NULL,- "teamId" TEXT NOT NULL,- "permission" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Permission_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User" ("id") ON DELETE RESTRICT ON UPDATE CASCADE,- CONSTRAINT "Permission_teamId_fkey" FOREIGN KEY ("teamId") REFERENCES "Team" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "Team" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "databaseId" TEXT,- "serviceId" TEXT,- FOREIGN KEY ("databaseId") REFERENCES "Database" ("id") ON DELETE SET NULL ON UPDATE CASCADE,- FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "TeamInvitation" (- "id" TEXT NOT NULL PRIMARY KEY,- "uid" TEXT NOT NULL,- "email" TEXT NOT NULL,- "teamId" TEXT NOT NULL,- "teamName" TEXT NOT NULL,- "permission" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP-);---- CreateTable-CREATE TABLE "Application" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "fqdn" TEXT,- "repository" TEXT,- "configHash" TEXT,- "branch" TEXT,- "buildPack" TEXT,- "projectId" INTEGER,- "port" INTEGER,- "installCommand" TEXT,- "buildCommand" TEXT,- "startCommand" TEXT,- "baseDirectory" TEXT,- "publishDirectory" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "destinationDockerId" TEXT,- "gitSourceId" TEXT,- CONSTRAINT "Application_destinationDockerId_fkey" FOREIGN KEY ("destinationDockerId") REFERENCES "DestinationDocker" ("id") ON DELETE SET NULL ON UPDATE CASCADE,- CONSTRAINT "Application_gitSourceId_fkey" FOREIGN KEY ("gitSourceId") REFERENCES "GitSource" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "ApplicationSettings" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT NOT NULL,- "debug" BOOLEAN NOT NULL DEFAULT false,- "previews" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ApplicationSettings_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "Secret" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "value" TEXT NOT NULL,- "isBuildSecret" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "applicationId" TEXT NOT NULL,- CONSTRAINT "Secret_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "BuildLog" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT,- "buildId" TEXT NOT NULL,- "line" TEXT NOT NULL,- "time" INTEGER NOT NULL-);---- CreateTable-CREATE TABLE "Build" (- "id" TEXT NOT NULL PRIMARY KEY,- "type" TEXT NOT NULL,- "applicationId" TEXT,- "destinationDockerId" TEXT,- "gitSourceId" TEXT,- "githubAppId" TEXT,- "gitlabAppId" TEXT,- "commit" TEXT,- "status" TEXT DEFAULT 'queued',- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);---- CreateTable-CREATE TABLE "DestinationDocker" (- "id" TEXT NOT NULL PRIMARY KEY,- "network" TEXT NOT NULL,- "name" TEXT NOT NULL,- "engine" TEXT NOT NULL,- "remoteEngine" BOOLEAN NOT NULL DEFAULT false,- "isCoolifyProxyUsed" BOOLEAN DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);---- CreateTable-CREATE TABLE "GitSource" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "type" TEXT,- "apiUrl" TEXT,- "htmlUrl" TEXT,- "organization" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "githubAppId" TEXT,- "gitlabAppId" TEXT,- CONSTRAINT "GitSource_githubAppId_fkey" FOREIGN KEY ("githubAppId") REFERENCES "GithubApp" ("id") ON DELETE SET NULL ON UPDATE CASCADE,- CONSTRAINT "GitSource_gitlabAppId_fkey" FOREIGN KEY ("gitlabAppId") REFERENCES "GitlabApp" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "GithubApp" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT,- "appId" INTEGER,- "installationId" INTEGER,- "clientId" TEXT,- "clientSecret" TEXT,- "webhookSecret" TEXT,- "privateKey" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);---- CreateTable-CREATE TABLE "GitlabApp" (- "id" TEXT NOT NULL PRIMARY KEY,- "oauthId" INTEGER NOT NULL,- "groupName" TEXT,- "deployKeyId" INTEGER,- "privateSshKey" TEXT,- "publicSshKey" TEXT,- "webhookToken" TEXT,- "appId" TEXT,- "appSecret" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);---- CreateTable-CREATE TABLE "Database" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "publicPort" INTEGER,- "defaultDatabase" TEXT,- "type" TEXT,- "version" TEXT,- "dbUser" TEXT,- "dbUserPassword" TEXT,- "rootUser" TEXT,- "rootUserPassword" TEXT,- "destinationDockerId" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Database_destinationDockerId_fkey" FOREIGN KEY ("destinationDockerId") REFERENCES "DestinationDocker" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "DatabaseSettings" (- "id" TEXT NOT NULL PRIMARY KEY,- "databaseId" TEXT NOT NULL,- "isPublic" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "DatabaseSettings_databaseId_fkey" FOREIGN KEY ("databaseId") REFERENCES "Database" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "Service" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "fqdn" TEXT,- "type" TEXT,- "version" TEXT,- "destinationDockerId" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Service_destinationDockerId_fkey" FOREIGN KEY ("destinationDockerId") REFERENCES "DestinationDocker" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "PlausibleAnalytics" (- "id" TEXT NOT NULL PRIMARY KEY,- "email" TEXT,- "username" TEXT,- "password" TEXT NOT NULL,- "postgresqlUser" TEXT NOT NULL,- "postgresqlPassword" TEXT NOT NULL,- "postgresqlDatabase" TEXT NOT NULL,- "postgresqlPublicPort" INTEGER,- "secretKeyBase" TEXT,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "PlausibleAnalytics_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "Minio" (- "id" TEXT NOT NULL PRIMARY KEY,- "rootUser" TEXT NOT NULL,- "rootUserPassword" TEXT NOT NULL,- "publicPort" INTEGER,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Minio_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "Vscodeserver" (- "id" TEXT NOT NULL PRIMARY KEY,- "password" TEXT NOT NULL,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Vscodeserver_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "Wordpress" (- "id" TEXT NOT NULL PRIMARY KEY,- "extraConfig" TEXT,- "tablePrefix" TEXT,- "mysqlUser" TEXT NOT NULL,- "mysqlPassword" TEXT NOT NULL,- "mysqlRootUser" TEXT NOT NULL,- "mysqlRootUserPassword" TEXT NOT NULL,- "mysqlDatabase" TEXT,- "mysqlPublicPort" INTEGER,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Wordpress_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "_TeamToUser" (- "A" TEXT NOT NULL,- "B" TEXT NOT NULL,- FOREIGN KEY ("A") REFERENCES "Team" ("id") ON DELETE CASCADE ON UPDATE CASCADE,- FOREIGN KEY ("B") REFERENCES "User" ("id") ON DELETE CASCADE ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "_ApplicationToTeam" (- "A" TEXT NOT NULL,- "B" TEXT NOT NULL,- FOREIGN KEY ("A") REFERENCES "Application" ("id") ON DELETE CASCADE ON UPDATE CASCADE,- FOREIGN KEY ("B") REFERENCES "Team" ("id") ON DELETE CASCADE ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "_GitSourceToTeam" (- "A" TEXT NOT NULL,- "B" TEXT NOT NULL,- FOREIGN KEY ("A") REFERENCES "GitSource" ("id") ON DELETE CASCADE ON UPDATE CASCADE,- FOREIGN KEY ("B") REFERENCES "Team" ("id") ON DELETE CASCADE ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "_GithubAppToTeam" (- "A" TEXT NOT NULL,- "B" TEXT NOT NULL,- FOREIGN KEY ("A") REFERENCES "GithubApp" ("id") ON DELETE CASCADE ON UPDATE CASCADE,- FOREIGN KEY ("B") REFERENCES "Team" ("id") ON DELETE CASCADE ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "_GitlabAppToTeam" (- "A" TEXT NOT NULL,- "B" TEXT NOT NULL,- FOREIGN KEY ("A") REFERENCES "GitlabApp" ("id") ON DELETE CASCADE ON UPDATE CASCADE,- FOREIGN KEY ("B") REFERENCES "Team" ("id") ON DELETE CASCADE ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "_DestinationDockerToTeam" (- "A" TEXT NOT NULL,- "B" TEXT NOT NULL,- FOREIGN KEY ("A") REFERENCES "DestinationDocker" ("id") ON DELETE CASCADE ON UPDATE CASCADE,- FOREIGN KEY ("B") REFERENCES "Team" ("id") ON DELETE CASCADE ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "_DatabaseToTeam" (- "A" TEXT NOT NULL,- "B" TEXT NOT NULL,- FOREIGN KEY ("A") REFERENCES "Database" ("id") ON DELETE CASCADE ON UPDATE CASCADE,- FOREIGN KEY ("B") REFERENCES "Team" ("id") ON DELETE CASCADE ON UPDATE CASCADE-);---- CreateTable-CREATE TABLE "_ServiceToTeam" (- "A" TEXT NOT NULL,- "B" TEXT NOT NULL,- FOREIGN KEY ("A") REFERENCES "Service" ("id") ON DELETE CASCADE ON UPDATE CASCADE,- FOREIGN KEY ("B") REFERENCES "Team" ("id") ON DELETE CASCADE ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");---- CreateIndex-CREATE UNIQUE INDEX "User_id_key" ON "User"("id");---- CreateIndex-CREATE UNIQUE INDEX "User_email_key" ON "User"("email");---- CreateIndex-CREATE UNIQUE INDEX "Application_fqdn_key" ON "Application"("fqdn");---- CreateIndex-CREATE UNIQUE INDEX "ApplicationSettings_applicationId_key" ON "ApplicationSettings"("applicationId");---- CreateIndex-CREATE UNIQUE INDEX "Secret_name_key" ON "Secret"("name");---- CreateIndex-CREATE UNIQUE INDEX "DestinationDocker_network_key" ON "DestinationDocker"("network");---- CreateIndex-CREATE UNIQUE INDEX "GitSource_githubAppId_key" ON "GitSource"("githubAppId");---- CreateIndex-CREATE UNIQUE INDEX "GitSource_gitlabAppId_key" ON "GitSource"("gitlabAppId");---- CreateIndex-CREATE UNIQUE INDEX "GithubApp_name_key" ON "GithubApp"("name");---- CreateIndex-CREATE UNIQUE INDEX "GitlabApp_oauthId_key" ON "GitlabApp"("oauthId");---- CreateIndex-CREATE UNIQUE INDEX "GitlabApp_groupName_key" ON "GitlabApp"("groupName");---- CreateIndex-CREATE UNIQUE INDEX "DatabaseSettings_databaseId_key" ON "DatabaseSettings"("databaseId");---- CreateIndex-CREATE UNIQUE INDEX "PlausibleAnalytics_serviceId_key" ON "PlausibleAnalytics"("serviceId");---- CreateIndex-CREATE UNIQUE INDEX "Minio_serviceId_key" ON "Minio"("serviceId");---- CreateIndex-CREATE UNIQUE INDEX "Vscodeserver_serviceId_key" ON "Vscodeserver"("serviceId");---- CreateIndex-CREATE UNIQUE INDEX "Wordpress_serviceId_key" ON "Wordpress"("serviceId");---- CreateIndex-CREATE UNIQUE INDEX "_TeamToUser_AB_unique" ON "_TeamToUser"("A", "B");---- CreateIndex-CREATE INDEX "_TeamToUser_B_index" ON "_TeamToUser"("B");---- CreateIndex-CREATE UNIQUE INDEX "_ApplicationToTeam_AB_unique" ON "_ApplicationToTeam"("A", "B");---- CreateIndex-CREATE INDEX "_ApplicationToTeam_B_index" ON "_ApplicationToTeam"("B");---- CreateIndex-CREATE UNIQUE INDEX "_GitSourceToTeam_AB_unique" ON "_GitSourceToTeam"("A", "B");---- CreateIndex-CREATE INDEX "_GitSourceToTeam_B_index" ON "_GitSourceToTeam"("B");---- CreateIndex-CREATE UNIQUE INDEX "_GithubAppToTeam_AB_unique" ON "_GithubAppToTeam"("A", "B");---- CreateIndex-CREATE INDEX "_GithubAppToTeam_B_index" ON "_GithubAppToTeam"("B");---- CreateIndex-CREATE UNIQUE INDEX "_GitlabAppToTeam_AB_unique" ON "_GitlabAppToTeam"("A", "B");---- CreateIndex-CREATE INDEX "_GitlabAppToTeam_B_index" ON "_GitlabAppToTeam"("B");---- CreateIndex-CREATE UNIQUE INDEX "_DestinationDockerToTeam_AB_unique" ON "_DestinationDockerToTeam"("A", "B");---- CreateIndex-CREATE INDEX "_DestinationDockerToTeam_B_index" ON "_DestinationDockerToTeam"("B");---- CreateIndex-CREATE UNIQUE INDEX "_DatabaseToTeam_AB_unique" ON "_DatabaseToTeam"("A", "B");---- CreateIndex-CREATE INDEX "_DatabaseToTeam_B_index" ON "_DatabaseToTeam"("B");---- CreateIndex-CREATE UNIQUE INDEX "_ServiceToTeam_AB_unique" ON "_ServiceToTeam"("A", "B");---- CreateIndex-CREATE INDEX "_ServiceToTeam_B_index" ON "_ServiceToTeam"("B");diff --git a/apps/api/prisma/migrations/20220210104005_redis_aol/migration.sql b/apps/api/prisma/migrations/20220210104005_redis_aol/migration.sqldeleted file mode 100644index 8a7e41098f..0000000000--- a/apps/api/prisma/migrations/20220210104005_redis_aol/migration.sql+++ /dev/null@@ -1,28 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Team" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "databaseId" TEXT,- "serviceId" TEXT-);-INSERT INTO "new_Team" ("createdAt", "databaseId", "id", "name", "serviceId", "updatedAt") SELECT "createdAt", "databaseId", "id", "name", "serviceId", "updatedAt" FROM "Team";-DROP TABLE "Team";-ALTER TABLE "new_Team" RENAME TO "Team";-CREATE TABLE "new_DatabaseSettings" (- "id" TEXT NOT NULL PRIMARY KEY,- "databaseId" TEXT NOT NULL,- "isPublic" BOOLEAN NOT NULL DEFAULT false,- "appendOnly" BOOLEAN NOT NULL DEFAULT true,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "DatabaseSettings_databaseId_fkey" FOREIGN KEY ("databaseId") REFERENCES "Database" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_DatabaseSettings" ("createdAt", "databaseId", "id", "isPublic", "updatedAt") SELECT "createdAt", "databaseId", "id", "isPublic", "updatedAt" FROM "DatabaseSettings";-DROP TABLE "DatabaseSettings";-ALTER TABLE "new_DatabaseSettings" RENAME TO "DatabaseSettings";-CREATE UNIQUE INDEX "DatabaseSettings_databaseId_key" ON "DatabaseSettings"("databaseId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220212142309_unique_secret_by_application/migration.sql b/apps/api/prisma/migrations/20220212142309_unique_secret_by_application/migration.sqldeleted file mode 100644index da4aa8e7cc..0000000000--- a/apps/api/prisma/migrations/20220212142309_unique_secret_by_application/migration.sql+++ /dev/null@@ -1,11 +0,0 @@-/*- Warnings:-- - A unique constraint covering the columns `[name,applicationId]` on the table `Secret` will be added. If there are existing duplicate values, this will fail.--*/--- DropIndex-DROP INDEX "Secret_name_key";---- CreateIndex-CREATE UNIQUE INDEX "Secret_name_applicationId_key" ON "Secret"("name", "applicationId");diff --git a/apps/api/prisma/migrations/20220217211304_dualcerts/migration.sql b/apps/api/prisma/migrations/20220217211304_dualcerts/migration.sqldeleted file mode 100644index a6ea0a57df..0000000000--- a/apps/api/prisma/migrations/20220217211304_dualcerts/migration.sql+++ /dev/null@@ -1,47 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT false,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "proxyPassword" TEXT NOT NULL,- "proxyUser" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);-INSERT INTO "new_Setting" ("createdAt", "fqdn", "id", "isRegistrationEnabled", "proxyPassword", "proxyUser", "updatedAt") SELECT "createdAt", "fqdn", "id", "isRegistrationEnabled", "proxyPassword", "proxyUser", "updatedAt" FROM "Setting";-DROP TABLE "Setting";-ALTER TABLE "new_Setting" RENAME TO "Setting";-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");-CREATE TABLE "new_ApplicationSettings" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT NOT NULL,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "debug" BOOLEAN NOT NULL DEFAULT false,- "previews" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ApplicationSettings_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_ApplicationSettings" ("applicationId", "createdAt", "debug", "id", "previews", "updatedAt") SELECT "applicationId", "createdAt", "debug", "id", "previews", "updatedAt" FROM "ApplicationSettings";-DROP TABLE "ApplicationSettings";-ALTER TABLE "new_ApplicationSettings" RENAME TO "ApplicationSettings";-CREATE UNIQUE INDEX "ApplicationSettings_applicationId_key" ON "ApplicationSettings"("applicationId");-CREATE TABLE "new_Service" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "fqdn" TEXT,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "type" TEXT,- "version" TEXT,- "destinationDockerId" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Service_destinationDockerId_fkey" FOREIGN KEY ("destinationDockerId") REFERENCES "DestinationDocker" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);-INSERT INTO "new_Service" ("createdAt", "destinationDockerId", "fqdn", "id", "name", "type", "updatedAt", "version") SELECT "createdAt", "destinationDockerId", "fqdn", "id", "name", "type", "updatedAt", "version" FROM "Service";-DROP TABLE "Service";-ALTER TABLE "new_Service" RENAME TO "Service";-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220219231255_prmr_secrets/migration.sql b/apps/api/prisma/migrations/20220219231255_prmr_secrets/migration.sqldeleted file mode 100644index 728fcae36f..0000000000--- a/apps/api/prisma/migrations/20220219231255_prmr_secrets/migration.sql+++ /dev/null@@ -1,19 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Secret" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "value" TEXT NOT NULL,- "isPRMRSecret" BOOLEAN NOT NULL DEFAULT false,- "isBuildSecret" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "applicationId" TEXT NOT NULL,- CONSTRAINT "Secret_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_Secret" ("applicationId", "createdAt", "id", "isBuildSecret", "name", "updatedAt", "value") SELECT "applicationId", "createdAt", "id", "isBuildSecret", "name", "updatedAt", "value" FROM "Secret";-DROP TABLE "Secret";-ALTER TABLE "new_Secret" RENAME TO "Secret";-CREATE UNIQUE INDEX "Secret_name_applicationId_isPRMRSecret_key" ON "Secret"("name", "applicationId", "isPRMRSecret");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220220141136_public_portrange/migration.sql b/apps/api/prisma/migrations/20220220141136_public_portrange/migration.sqldeleted file mode 100644index 6423e97611..0000000000--- a/apps/api/prisma/migrations/20220220141136_public_portrange/migration.sql+++ /dev/null@@ -1,20 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT false,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "minPort" INTEGER NOT NULL DEFAULT 9000,- "maxPort" INTEGER NOT NULL DEFAULT 9100,- "proxyPassword" TEXT NOT NULL,- "proxyUser" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);-INSERT INTO "new_Setting" ("createdAt", "dualCerts", "fqdn", "id", "isRegistrationEnabled", "proxyPassword", "proxyUser", "updatedAt") SELECT "createdAt", "dualCerts", "fqdn", "id", "isRegistrationEnabled", "proxyPassword", "proxyUser", "updatedAt" FROM "Setting";-DROP TABLE "Setting";-ALTER TABLE "new_Setting" RENAME TO "Setting";-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220301101928_proxyhash/migration.sql b/apps/api/prisma/migrations/20220301101928_proxyhash/migration.sqldeleted file mode 100644index 87845b38b8..0000000000--- a/apps/api/prisma/migrations/20220301101928_proxyhash/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Setting" ADD COLUMN "proxyHash" TEXT;diff --git a/apps/api/prisma/migrations/20220304141408_service_secrets/migration.sql b/apps/api/prisma/migrations/20220304141408_service_secrets/migration.sqldeleted file mode 100644index baa0c3f546..0000000000--- a/apps/api/prisma/migrations/20220304141408_service_secrets/migration.sql+++ /dev/null@@ -1,13 +0,0 @@--- CreateTable-CREATE TABLE "ServiceSecret" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "value" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "serviceId" TEXT NOT NULL,- CONSTRAINT "ServiceSecret_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "ServiceSecret_name_serviceId_key" ON "ServiceSecret"("name", "serviceId");diff --git a/apps/api/prisma/migrations/20220311213422_autodeploy/migration.sql b/apps/api/prisma/migrations/20220311213422_autodeploy/migration.sqldeleted file mode 100644index d534d93726..0000000000--- a/apps/api/prisma/migrations/20220311213422_autodeploy/migration.sql+++ /dev/null@@ -1,19 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_ApplicationSettings" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT NOT NULL,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "debug" BOOLEAN NOT NULL DEFAULT false,- "previews" BOOLEAN NOT NULL DEFAULT false,- "autodeploy" BOOLEAN NOT NULL DEFAULT true,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ApplicationSettings_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_ApplicationSettings" ("applicationId", "createdAt", "debug", "dualCerts", "id", "previews", "updatedAt") SELECT "applicationId", "createdAt", "debug", "dualCerts", "id", "previews", "updatedAt" FROM "ApplicationSettings";-DROP TABLE "ApplicationSettings";-ALTER TABLE "new_ApplicationSettings" RENAME TO "ApplicationSettings";-CREATE UNIQUE INDEX "ApplicationSettings_applicationId_key" ON "ApplicationSettings"("applicationId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220320141424_phpmodules/migration.sql b/apps/api/prisma/migrations/20220320141424_phpmodules/migration.sqldeleted file mode 100644index 6a17ff8a34..0000000000--- a/apps/api/prisma/migrations/20220320141424_phpmodules/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Application" ADD COLUMN "phpModules" TEXT;diff --git a/apps/api/prisma/migrations/20220322135800_persistent_storage/migration.sql b/apps/api/prisma/migrations/20220322135800_persistent_storage/migration.sqldeleted file mode 100644index d26ae3f8be..0000000000--- a/apps/api/prisma/migrations/20220322135800_persistent_storage/migration.sql+++ /dev/null@@ -1,18 +0,0 @@--- CreateTable-CREATE TABLE "ApplicationPersistentStorage" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT NOT NULL,- "path" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ApplicationPersistentStorage_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "ApplicationPersistentStorage_applicationId_key" ON "ApplicationPersistentStorage"("applicationId");---- CreateIndex-CREATE UNIQUE INDEX "ApplicationPersistentStorage_path_key" ON "ApplicationPersistentStorage"("path");---- CreateIndex-CREATE UNIQUE INDEX "ApplicationPersistentStorage_applicationId_path_key" ON "ApplicationPersistentStorage"("applicationId", "path");diff --git a/apps/api/prisma/migrations/20220327180323_ghost/migration.sql b/apps/api/prisma/migrations/20220327180323_ghost/migration.sqldeleted file mode 100644index 3c1cec36f5..0000000000--- a/apps/api/prisma/migrations/20220327180323_ghost/migration.sql+++ /dev/null@@ -1,19 +0,0 @@--- CreateTable-CREATE TABLE "Ghost" (- "id" TEXT NOT NULL PRIMARY KEY,- "defaultEmail" TEXT NOT NULL,- "defaultPassword" TEXT NOT NULL,- "mariadbUser" TEXT NOT NULL,- "mariadbPassword" TEXT NOT NULL,- "mariadbRootUser" TEXT NOT NULL,- "mariadbRootUserPassword" TEXT NOT NULL,- "mariadbDatabase" TEXT,- "mariadbPublicPort" INTEGER,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Ghost_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "Ghost_serviceId_key" ON "Ghost"("serviceId");diff --git a/apps/api/prisma/migrations/20220402135305_python/migration.sql b/apps/api/prisma/migrations/20220402135305_python/migration.sqldeleted file mode 100644index 0c253d539e..0000000000--- a/apps/api/prisma/migrations/20220402135305_python/migration.sql+++ /dev/null@@ -1,4 +0,0 @@--- AlterTable-ALTER TABLE "Application" ADD COLUMN "pythonModule" TEXT;-ALTER TABLE "Application" ADD COLUMN "pythonVariable" TEXT;-ALTER TABLE "Application" ADD COLUMN "pythonWSGI" TEXT;diff --git a/apps/api/prisma/migrations/20220402210645_meilisearch/migration.sql b/apps/api/prisma/migrations/20220402210645_meilisearch/migration.sqldeleted file mode 100644index 9e832b1074..0000000000--- a/apps/api/prisma/migrations/20220402210645_meilisearch/migration.sql+++ /dev/null@@ -1,12 +0,0 @@--- CreateTable-CREATE TABLE "MeiliSearch" (- "id" TEXT NOT NULL PRIMARY KEY,- "masterKey" TEXT NOT NULL,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "MeiliSearch_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "MeiliSearch_serviceId_key" ON "MeiliSearch"("serviceId");diff --git a/apps/api/prisma/migrations/20220405151428_wordpress_sftp/migration.sql b/apps/api/prisma/migrations/20220405151428_wordpress_sftp/migration.sqldeleted file mode 100644index 6c3c4b907a..0000000000--- a/apps/api/prisma/migrations/20220405151428_wordpress_sftp/migration.sql+++ /dev/null@@ -1,29 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Wordpress" (- "id" TEXT NOT NULL PRIMARY KEY,- "extraConfig" TEXT,- "tablePrefix" TEXT,- "mysqlUser" TEXT NOT NULL,- "mysqlPassword" TEXT NOT NULL,- "mysqlRootUser" TEXT NOT NULL,- "mysqlRootUserPassword" TEXT NOT NULL,- "mysqlDatabase" TEXT,- "mysqlPublicPort" INTEGER,- "ftpEnabled" BOOLEAN NOT NULL DEFAULT false,- "ftpUser" TEXT,- "ftpPassword" TEXT,- "ftpPublicPort" INTEGER,- "ftpHostKey" TEXT,- "ftpHostKeyPrivate" TEXT,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Wordpress_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_Wordpress" ("createdAt", "extraConfig", "id", "mysqlDatabase", "mysqlPassword", "mysqlPublicPort", "mysqlRootUser", "mysqlRootUserPassword", "mysqlUser", "serviceId", "tablePrefix", "updatedAt") SELECT "createdAt", "extraConfig", "id", "mysqlDatabase", "mysqlPassword", "mysqlPublicPort", "mysqlRootUser", "mysqlRootUserPassword", "mysqlUser", "serviceId", "tablePrefix", "updatedAt" FROM "Wordpress";-DROP TABLE "Wordpress";-ALTER TABLE "new_Wordpress" RENAME TO "Wordpress";-CREATE UNIQUE INDEX "Wordpress_serviceId_key" ON "Wordpress"("serviceId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220407220809_unique_storage_fix/migration.sql b/apps/api/prisma/migrations/20220407220809_unique_storage_fix/migration.sqldeleted file mode 100644index 9b645cc3b9..0000000000--- a/apps/api/prisma/migrations/20220407220809_unique_storage_fix/migration.sql+++ /dev/null@@ -1,5 +0,0 @@--- DropIndex-DROP INDEX "ApplicationPersistentStorage_path_key";---- DropIndex-DROP INDEX "ApplicationPersistentStorage_applicationId_key";diff --git a/apps/api/prisma/migrations/20220408070805_added_expose_port/migration.sql b/apps/api/prisma/migrations/20220408070805_added_expose_port/migration.sqldeleted file mode 100644index a23afd64ac..0000000000--- a/apps/api/prisma/migrations/20220408070805_added_expose_port/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Application" ADD COLUMN "exposePort" INTEGER;diff --git a/apps/api/prisma/migrations/20220418214843_persistent_storage_services/migration.sql b/apps/api/prisma/migrations/20220418214843_persistent_storage_services/migration.sqldeleted file mode 100644index f85fd31df6..0000000000--- a/apps/api/prisma/migrations/20220418214843_persistent_storage_services/migration.sql+++ /dev/null@@ -1,12 +0,0 @@--- CreateTable-CREATE TABLE "ServicePersistentStorage" (- "id" TEXT NOT NULL PRIMARY KEY,- "serviceId" TEXT NOT NULL,- "path" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ServicePersistentStorage_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "ServicePersistentStorage_serviceId_path_key" ON "ServicePersistentStorage"("serviceId", "path");diff --git a/apps/api/prisma/migrations/20220419203408_multiply_dockerfile_locations/migration.sql b/apps/api/prisma/migrations/20220419203408_multiply_dockerfile_locations/migration.sqldeleted file mode 100644index ce32f0844f..0000000000--- a/apps/api/prisma/migrations/20220419203408_multiply_dockerfile_locations/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Application" ADD COLUMN "dockerFileLocation" TEXT;diff --git a/apps/api/prisma/migrations/20220420202031_deno_configurations/migration.sql b/apps/api/prisma/migrations/20220420202031_deno_configurations/migration.sqldeleted file mode 100644index 9d0e832dc7..0000000000--- a/apps/api/prisma/migrations/20220420202031_deno_configurations/migration.sql+++ /dev/null@@ -1,3 +0,0 @@--- AlterTable-ALTER TABLE "Application" ADD COLUMN "denoMainFile" TEXT;-ALTER TABLE "Application" ADD COLUMN "denoOptions" TEXT;diff --git a/apps/api/prisma/migrations/20220420210057_branch_for_builds/migration.sql b/apps/api/prisma/migrations/20220420210057_branch_for_builds/migration.sqldeleted file mode 100644index 8cd8e653dd..0000000000--- a/apps/api/prisma/migrations/20220420210057_branch_for_builds/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Build" ADD COLUMN "branch" TEXT;diff --git a/apps/api/prisma/migrations/20220425071132_umami/migration.sql b/apps/api/prisma/migrations/20220425071132_umami/migration.sqldeleted file mode 100644index 259fb76cd3..0000000000--- a/apps/api/prisma/migrations/20220425071132_umami/migration.sql+++ /dev/null@@ -1,17 +0,0 @@--- CreateTable-CREATE TABLE "Umami" (- "id" TEXT NOT NULL PRIMARY KEY,- "serviceId" TEXT NOT NULL,- "postgresqlUser" TEXT NOT NULL,- "postgresqlPassword" TEXT NOT NULL,- "postgresqlDatabase" TEXT NOT NULL,- "postgresqlPublicPort" INTEGER,- "umamiAdminPassword" TEXT NOT NULL,- "hashSalt" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Umami_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "Umami_serviceId_key" ON "Umami"("serviceId");diff --git a/apps/api/prisma/migrations/20220425075326_auto_update_coolify/migration.sql b/apps/api/prisma/migrations/20220425075326_auto_update_coolify/migration.sqldeleted file mode 100644index a102973eef..0000000000--- a/apps/api/prisma/migrations/20220425075326_auto_update_coolify/migration.sql+++ /dev/null@@ -1,22 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT false,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "minPort" INTEGER NOT NULL DEFAULT 9000,- "maxPort" INTEGER NOT NULL DEFAULT 9100,- "proxyPassword" TEXT NOT NULL,- "proxyUser" TEXT NOT NULL,- "proxyHash" TEXT,- "isAutoUpdateEnabled" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);-INSERT INTO "new_Setting" ("createdAt", "dualCerts", "fqdn", "id", "isRegistrationEnabled", "maxPort", "minPort", "proxyHash", "proxyPassword", "proxyUser", "updatedAt") SELECT "createdAt", "dualCerts", "fqdn", "id", "isRegistrationEnabled", "maxPort", "minPort", "proxyHash", "proxyPassword", "proxyUser", "updatedAt" FROM "Setting";-DROP TABLE "Setting";-ALTER TABLE "new_Setting" RENAME TO "Setting";-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220426125053_select_base_image/migration.sql b/apps/api/prisma/migrations/20220426125053_select_base_image/migration.sqldeleted file mode 100644index 37209d82fc..0000000000--- a/apps/api/prisma/migrations/20220426125053_select_base_image/migration.sql+++ /dev/null@@ -1,3 +0,0 @@--- AlterTable-ALTER TABLE "Application" ADD COLUMN "baseBuildImage" TEXT;-ALTER TABLE "Application" ADD COLUMN "baseImage" TEXT;diff --git a/apps/api/prisma/migrations/20220427133656_hasura/migration.sql b/apps/api/prisma/migrations/20220427133656_hasura/migration.sqldeleted file mode 100644index c679ad0fb5..0000000000--- a/apps/api/prisma/migrations/20220427133656_hasura/migration.sql+++ /dev/null@@ -1,16 +0,0 @@--- CreateTable-CREATE TABLE "Hasura" (- "id" TEXT NOT NULL PRIMARY KEY,- "serviceId" TEXT NOT NULL,- "postgresqlUser" TEXT NOT NULL,- "postgresqlPassword" TEXT NOT NULL,- "postgresqlDatabase" TEXT NOT NULL,- "postgresqlPublicPort" INTEGER,- "graphQLAdminPassword" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Hasura_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "Hasura_serviceId_key" ON "Hasura"("serviceId");diff --git a/apps/api/prisma/migrations/20220429202516_fider/migration.sql b/apps/api/prisma/migrations/20220429202516_fider/migration.sqldeleted file mode 100644index a6d31a24d3..0000000000--- a/apps/api/prisma/migrations/20220429202516_fider/migration.sql+++ /dev/null@@ -1,25 +0,0 @@--- CreateTable-CREATE TABLE "Fider" (- "id" TEXT NOT NULL PRIMARY KEY,- "serviceId" TEXT NOT NULL,- "postgresqlUser" TEXT NOT NULL,- "postgresqlPassword" TEXT NOT NULL,- "postgresqlDatabase" TEXT NOT NULL,- "postgresqlPublicPort" INTEGER,- "jwtSecret" TEXT NOT NULL,- "emailNoreply" TEXT,- "emailMailgunApiKey" TEXT,- "emailMailgunDomain" TEXT,- "emailMailgunRegion" TEXT,- "emailSmtpHost" TEXT,- "emailSmtpPort" INTEGER,- "emailSmtpUser" TEXT,- "emailSmtpPassword" TEXT,- "emailSmtpEnableStartTls" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Fider_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "Fider_serviceId_key" ON "Fider"("serviceId");diff --git a/apps/api/prisma/migrations/20220429214112_fider_correction/migration.sql b/apps/api/prisma/migrations/20220429214112_fider_correction/migration.sqldeleted file mode 100644index 429524f725..0000000000--- a/apps/api/prisma/migrations/20220429214112_fider_correction/migration.sql+++ /dev/null@@ -1,29 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Fider" (- "id" TEXT NOT NULL PRIMARY KEY,- "serviceId" TEXT NOT NULL,- "postgresqlUser" TEXT NOT NULL,- "postgresqlPassword" TEXT NOT NULL,- "postgresqlDatabase" TEXT NOT NULL,- "postgresqlPublicPort" INTEGER,- "jwtSecret" TEXT NOT NULL,- "emailNoreply" TEXT,- "emailMailgunApiKey" TEXT,- "emailMailgunDomain" TEXT,- "emailMailgunRegion" TEXT NOT NULL DEFAULT 'EU',- "emailSmtpHost" TEXT,- "emailSmtpPort" INTEGER,- "emailSmtpUser" TEXT,- "emailSmtpPassword" TEXT,- "emailSmtpEnableStartTls" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Fider_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_Fider" ("createdAt", "emailMailgunApiKey", "emailMailgunDomain", "emailMailgunRegion", "emailNoreply", "emailSmtpEnableStartTls", "emailSmtpHost", "emailSmtpPassword", "emailSmtpPort", "emailSmtpUser", "id", "jwtSecret", "postgresqlDatabase", "postgresqlPassword", "postgresqlPublicPort", "postgresqlUser", "serviceId", "updatedAt") SELECT "createdAt", "emailMailgunApiKey", "emailMailgunDomain", coalesce("emailMailgunRegion", 'EU') AS "emailMailgunRegion", "emailNoreply", "emailSmtpEnableStartTls", "emailSmtpHost", "emailSmtpPassword", "emailSmtpPort", "emailSmtpUser", "id", "jwtSecret", "postgresqlDatabase", "postgresqlPassword", "postgresqlPublicPort", "postgresqlUser", "serviceId", "updatedAt" FROM "Fider";-DROP TABLE "Fider";-ALTER TABLE "new_Fider" RENAME TO "Fider";-CREATE UNIQUE INDEX "Fider_serviceId_key" ON "Fider"("serviceId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220430111953_ssl_dns_check_settings/migration.sql b/apps/api/prisma/migrations/20220430111953_ssl_dns_check_settings/migration.sqldeleted file mode 100644index cf57379cac..0000000000--- a/apps/api/prisma/migrations/20220430111953_ssl_dns_check_settings/migration.sql+++ /dev/null@@ -1,23 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT false,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "minPort" INTEGER NOT NULL DEFAULT 9000,- "maxPort" INTEGER NOT NULL DEFAULT 9100,- "proxyPassword" TEXT NOT NULL,- "proxyUser" TEXT NOT NULL,- "proxyHash" TEXT,- "isAutoUpdateEnabled" BOOLEAN NOT NULL DEFAULT false,- "isDNSCheckEnabled" BOOLEAN NOT NULL DEFAULT true,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);-INSERT INTO "new_Setting" ("createdAt", "dualCerts", "fqdn", "id", "isAutoUpdateEnabled", "isRegistrationEnabled", "maxPort", "minPort", "proxyHash", "proxyPassword", "proxyUser", "updatedAt") SELECT "createdAt", "dualCerts", "fqdn", "id", "isAutoUpdateEnabled", "isRegistrationEnabled", "maxPort", "minPort", "proxyHash", "proxyPassword", "proxyUser", "updatedAt" FROM "Setting";-DROP TABLE "Setting";-ALTER TABLE "new_Setting" RENAME TO "Setting";-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220430124553_expose_port_for_services/migration.sql b/apps/api/prisma/migrations/20220430124553_expose_port_for_services/migration.sqldeleted file mode 100644index fdbab57131..0000000000--- a/apps/api/prisma/migrations/20220430124553_expose_port_for_services/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Service" ADD COLUMN "exposePort" INTEGER;diff --git a/apps/api/prisma/migrations/20220509130501_custom_plausible_script/migration.sql b/apps/api/prisma/migrations/20220509130501_custom_plausible_script/migration.sqldeleted file mode 100644index 6c8c28ff4c..0000000000--- a/apps/api/prisma/migrations/20220509130501_custom_plausible_script/migration.sql+++ /dev/null@@ -1,24 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_PlausibleAnalytics" (- "id" TEXT NOT NULL PRIMARY KEY,- "email" TEXT,- "username" TEXT,- "password" TEXT NOT NULL,- "postgresqlUser" TEXT NOT NULL,- "postgresqlPassword" TEXT NOT NULL,- "postgresqlDatabase" TEXT NOT NULL,- "postgresqlPublicPort" INTEGER,- "secretKeyBase" TEXT,- "scriptName" TEXT NOT NULL DEFAULT 'plausible.js',- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "PlausibleAnalytics_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_PlausibleAnalytics" ("createdAt", "email", "id", "password", "postgresqlDatabase", "postgresqlPassword", "postgresqlPublicPort", "postgresqlUser", "secretKeyBase", "serviceId", "updatedAt", "username") SELECT "createdAt", "email", "id", "password", "postgresqlDatabase", "postgresqlPassword", "postgresqlPublicPort", "postgresqlUser", "secretKeyBase", "serviceId", "updatedAt", "username" FROM "PlausibleAnalytics";-DROP TABLE "PlausibleAnalytics";-ALTER TABLE "new_PlausibleAnalytics" RENAME TO "PlausibleAnalytics";-CREATE UNIQUE INDEX "PlausibleAnalytics_serviceId_key" ON "PlausibleAnalytics"("serviceId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220510081125_custom_wordpress_db/migration.sql b/apps/api/prisma/migrations/20220510081125_custom_wordpress_db/migration.sqldeleted file mode 100644index 5a1cd301cd..0000000000--- a/apps/api/prisma/migrations/20220510081125_custom_wordpress_db/migration.sql+++ /dev/null@@ -1,32 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Wordpress" (- "id" TEXT NOT NULL PRIMARY KEY,- "extraConfig" TEXT,- "tablePrefix" TEXT,- "ownMysql" BOOLEAN NOT NULL DEFAULT false,- "mysqlHost" TEXT,- "mysqlPort" INTEGER,- "mysqlUser" TEXT NOT NULL,- "mysqlPassword" TEXT NOT NULL,- "mysqlRootUser" TEXT NOT NULL,- "mysqlRootUserPassword" TEXT NOT NULL,- "mysqlDatabase" TEXT,- "mysqlPublicPort" INTEGER,- "ftpEnabled" BOOLEAN NOT NULL DEFAULT false,- "ftpUser" TEXT,- "ftpPassword" TEXT,- "ftpPublicPort" INTEGER,- "ftpHostKey" TEXT,- "ftpHostKeyPrivate" TEXT,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Wordpress_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_Wordpress" ("createdAt", "extraConfig", "ftpEnabled", "ftpHostKey", "ftpHostKeyPrivate", "ftpPassword", "ftpPublicPort", "ftpUser", "id", "mysqlDatabase", "mysqlPassword", "mysqlPublicPort", "mysqlRootUser", "mysqlRootUserPassword", "mysqlUser", "serviceId", "tablePrefix", "updatedAt") SELECT "createdAt", "extraConfig", "ftpEnabled", "ftpHostKey", "ftpHostKeyPrivate", "ftpPassword", "ftpPublicPort", "ftpUser", "id", "mysqlDatabase", "mysqlPassword", "mysqlPublicPort", "mysqlRootUser", "mysqlRootUserPassword", "mysqlUser", "serviceId", "tablePrefix", "updatedAt" FROM "Wordpress";-DROP TABLE "Wordpress";-ALTER TABLE "new_Wordpress" RENAME TO "Wordpress";-CREATE UNIQUE INDEX "Wordpress_serviceId_key" ON "Wordpress"("serviceId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220517081328_traefik/migration.sql b/apps/api/prisma/migrations/20220517081328_traefik/migration.sqldeleted file mode 100644index a83281fa46..0000000000--- a/apps/api/prisma/migrations/20220517081328_traefik/migration.sql+++ /dev/null@@ -1,24 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT false,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "minPort" INTEGER NOT NULL DEFAULT 9000,- "maxPort" INTEGER NOT NULL DEFAULT 9100,- "proxyPassword" TEXT NOT NULL,- "proxyUser" TEXT NOT NULL,- "proxyHash" TEXT,- "isAutoUpdateEnabled" BOOLEAN NOT NULL DEFAULT false,- "isDNSCheckEnabled" BOOLEAN NOT NULL DEFAULT true,- "isTraefikUsed" BOOLEAN NOT NULL DEFAULT true,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);-INSERT INTO "new_Setting" ("createdAt", "dualCerts", "fqdn", "id", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "maxPort", "minPort", "proxyHash", "proxyPassword", "proxyUser", "updatedAt") SELECT "createdAt", "dualCerts", "fqdn", "id", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "maxPort", "minPort", "proxyHash", "proxyPassword", "proxyUser", "updatedAt" FROM "Setting";-DROP TABLE "Setting";-ALTER TABLE "new_Setting" RENAME TO "Setting";-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220519095648_minio_apifqdn/migration.sql b/apps/api/prisma/migrations/20220519095648_minio_apifqdn/migration.sqldeleted file mode 100644index a447128648..0000000000--- a/apps/api/prisma/migrations/20220519095648_minio_apifqdn/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Minio" ADD COLUMN "apiFqdn" TEXT;diff --git a/apps/api/prisma/migrations/20220708132655_deployment_type_for_applications/migration.sql b/apps/api/prisma/migrations/20220708132655_deployment_type_for_applications/migration.sqldeleted file mode 100644index 2776d1b883..0000000000--- a/apps/api/prisma/migrations/20220708132655_deployment_type_for_applications/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Application" ADD COLUMN "deploymentType" TEXT;diff --git a/apps/api/prisma/migrations/20220712083523_custom_port_git_sources/migration.sql b/apps/api/prisma/migrations/20220712083523_custom_port_git_sources/migration.sqldeleted file mode 100644index f702291b22..0000000000--- a/apps/api/prisma/migrations/20220712083523_custom_port_git_sources/migration.sql+++ /dev/null@@ -1,24 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_GitSource" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "type" TEXT,- "apiUrl" TEXT,- "htmlUrl" TEXT,- "customPort" INTEGER NOT NULL DEFAULT 22,- "organization" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "githubAppId" TEXT,- "gitlabAppId" TEXT,- CONSTRAINT "GitSource_githubAppId_fkey" FOREIGN KEY ("githubAppId") REFERENCES "GithubApp" ("id") ON DELETE SET NULL ON UPDATE CASCADE,- CONSTRAINT "GitSource_gitlabAppId_fkey" FOREIGN KEY ("gitlabAppId") REFERENCES "GitlabApp" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);-INSERT INTO "new_GitSource" ("apiUrl", "createdAt", "githubAppId", "gitlabAppId", "htmlUrl", "id", "name", "organization", "type", "updatedAt") SELECT "apiUrl", "createdAt", "githubAppId", "gitlabAppId", "htmlUrl", "id", "name", "organization", "type", "updatedAt" FROM "GitSource";-DROP TABLE "GitSource";-ALTER TABLE "new_GitSource" RENAME TO "GitSource";-CREATE UNIQUE INDEX "GitSource_githubAppId_key" ON "GitSource"("githubAppId");-CREATE UNIQUE INDEX "GitSource_gitlabAppId_key" ON "GitSource"("gitlabAppId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220718083646_moodle/migration.sql b/apps/api/prisma/migrations/20220718083646_moodle/migration.sqldeleted file mode 100644index eaed14a4a8..0000000000--- a/apps/api/prisma/migrations/20220718083646_moodle/migration.sql+++ /dev/null@@ -1,20 +0,0 @@--- CreateTable-CREATE TABLE "Moodle" (- "id" TEXT NOT NULL PRIMARY KEY,- "serviceId" TEXT NOT NULL,- "defaultUsername" TEXT NOT NULL,- "defaultPassword" TEXT NOT NULL,- "defaultEmail" TEXT NOT NULL,- "mariadbUser" TEXT NOT NULL,- "mariadbPassword" TEXT NOT NULL,- "mariadbRootUser" TEXT NOT NULL,- "mariadbRootUserPassword" TEXT NOT NULL,- "mariadbDatabase" TEXT NOT NULL,- "mariadbPublicPort" INTEGER,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Moodle_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "Moodle_serviceId_key" ON "Moodle"("serviceId");diff --git a/apps/api/prisma/migrations/20220718114551_remote_docker_engine/migration.sql b/apps/api/prisma/migrations/20220718114551_remote_docker_engine/migration.sqldeleted file mode 100644index e80df22f23..0000000000--- a/apps/api/prisma/migrations/20220718114551_remote_docker_engine/migration.sql+++ /dev/null@@ -1,21 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_DestinationDocker" (- "id" TEXT NOT NULL PRIMARY KEY,- "network" TEXT NOT NULL,- "name" TEXT NOT NULL,- "engine" TEXT,- "remoteEngine" BOOLEAN NOT NULL DEFAULT false,- "remoteIpAddress" TEXT,- "remoteUser" TEXT,- "remotePort" INTEGER,- "isCoolifyProxyUsed" BOOLEAN DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);-INSERT INTO "new_DestinationDocker" ("createdAt", "engine", "id", "isCoolifyProxyUsed", "name", "network", "remoteEngine", "updatedAt") SELECT "createdAt", "engine", "id", "isCoolifyProxyUsed", "name", "network", "remoteEngine", "updatedAt" FROM "DestinationDocker";-DROP TABLE "DestinationDocker";-ALTER TABLE "new_DestinationDocker" RENAME TO "DestinationDocker";-CREATE UNIQUE INDEX "DestinationDocker_network_key" ON "DestinationDocker"("network");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220721084020_ssh_key/migration.sql b/apps/api/prisma/migrations/20220721084020_ssh_key/migration.sqldeleted file mode 100644index 8323af409b..0000000000--- a/apps/api/prisma/migrations/20220721084020_ssh_key/migration.sql+++ /dev/null@@ -1,33 +0,0 @@--- CreateTable-CREATE TABLE "SshKey" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "privateKey" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);---- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_DestinationDocker" (- "id" TEXT NOT NULL PRIMARY KEY,- "network" TEXT NOT NULL,- "name" TEXT NOT NULL,- "engine" TEXT,- "remoteEngine" BOOLEAN NOT NULL DEFAULT false,- "remoteIpAddress" TEXT,- "remoteUser" TEXT,- "remotePort" INTEGER,- "remoteVerified" BOOLEAN NOT NULL DEFAULT false,- "isCoolifyProxyUsed" BOOLEAN DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "sshKeyId" TEXT,- CONSTRAINT "DestinationDocker_sshKeyId_fkey" FOREIGN KEY ("sshKeyId") REFERENCES "SshKey" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);-INSERT INTO "new_DestinationDocker" ("createdAt", "engine", "id", "isCoolifyProxyUsed", "name", "network", "remoteEngine", "remoteIpAddress", "remotePort", "remoteUser", "updatedAt") SELECT "createdAt", "engine", "id", "isCoolifyProxyUsed", "name", "network", "remoteEngine", "remoteIpAddress", "remotePort", "remoteUser", "updatedAt" FROM "DestinationDocker";-DROP TABLE "DestinationDocker";-ALTER TABLE "new_DestinationDocker" RENAME TO "DestinationDocker";-CREATE UNIQUE INDEX "DestinationDocker_network_key" ON "DestinationDocker"("network");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220722203927_ipaddress/migration.sql b/apps/api/prisma/migrations/20220722203927_ipaddress/migration.sqldeleted file mode 100644index 21d45ada32..0000000000--- a/apps/api/prisma/migrations/20220722203927_ipaddress/migration.sql+++ /dev/null@@ -1,3 +0,0 @@--- AlterTable-ALTER TABLE "Setting" ADD COLUMN "ipv4" TEXT;-ALTER TABLE "Setting" ADD COLUMN "ipv6" TEXT;diff --git a/apps/api/prisma/migrations/20220725191205_architecture/migration.sql b/apps/api/prisma/migrations/20220725191205_architecture/migration.sqldeleted file mode 100644index 2e0ff3e011..0000000000--- a/apps/api/prisma/migrations/20220725191205_architecture/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Setting" ADD COLUMN "arch" TEXT;diff --git a/apps/api/prisma/migrations/20220726121333_fix_ssh_key/migration.sql b/apps/api/prisma/migrations/20220726121333_fix_ssh_key/migration.sqldeleted file mode 100644index e6e47b1978..0000000000--- a/apps/api/prisma/migrations/20220726121333_fix_ssh_key/migration.sql+++ /dev/null@@ -1,16 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_SshKey" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "privateKey" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "teamId" TEXT,- CONSTRAINT "SshKey_teamId_fkey" FOREIGN KEY ("teamId") REFERENCES "Team" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);-INSERT INTO "new_SshKey" ("createdAt", "id", "name", "privateKey", "updatedAt") SELECT "createdAt", "id", "name", "privateKey", "updatedAt" FROM "SshKey";-DROP TABLE "SshKey";-ALTER TABLE "new_SshKey" RENAME TO "SshKey";-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220806090621_fqdn_not_unique_anymore/migration.sql b/apps/api/prisma/migrations/20220806090621_fqdn_not_unique_anymore/migration.sqldeleted file mode 100644index f1eab666b4..0000000000--- a/apps/api/prisma/migrations/20220806090621_fqdn_not_unique_anymore/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- DropIndex-DROP INDEX "Application_fqdn_key";diff --git a/apps/api/prisma/migrations/20220806102340_rde_ssh_local_port/migration.sql b/apps/api/prisma/migrations/20220806102340_rde_ssh_local_port/migration.sqldeleted file mode 100644index ae4c39846a..0000000000--- a/apps/api/prisma/migrations/20220806102340_rde_ssh_local_port/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "DestinationDocker" ADD COLUMN "sshLocalPort" INTEGER;diff --git a/apps/api/prisma/migrations/20220815092230_glitchtip/migration.sql b/apps/api/prisma/migrations/20220815092230_glitchtip/migration.sqldeleted file mode 100644index dba98ab822..0000000000--- a/apps/api/prisma/migrations/20220815092230_glitchtip/migration.sql+++ /dev/null@@ -1,30 +0,0 @@--- CreateTable-CREATE TABLE "GlitchTip" (- "id" TEXT NOT NULL PRIMARY KEY,- "postgresqlUser" TEXT NOT NULL,- "postgresqlPassword" TEXT NOT NULL,- "postgresqlDatabase" TEXT NOT NULL,- "postgresqlPublicPort" INTEGER,- "secretKeyBase" TEXT,- "defaultEmail" TEXT NOT NULL,- "defaultUsername" TEXT NOT NULL,- "defaultPassword" TEXT NOT NULL,- "defaultEmailFrom" TEXT NOT NULL DEFAULT '[email protected]',- "emailSmtpHost" TEXT DEFAULT 'domain.tdl',- "emailSmtpPort" INTEGER DEFAULT 25,- "emailSmtpUser" TEXT,- "emailSmtpPassword" TEXT,- "emailSmtpUseTls" BOOLEAN DEFAULT false,- "emailSmtpUseSsl" BOOLEAN DEFAULT false,- "emailBackend" TEXT,- "mailgunApiKey" TEXT,- "sendgridApiKey" TEXT,- "enableOpenUserRegistration" BOOLEAN NOT NULL DEFAULT true,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "GlitchTip_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "GlitchTip_serviceId_key" ON "GlitchTip"("serviceId");diff --git a/apps/api/prisma/migrations/20220815133844_appwrite/migration.sql b/apps/api/prisma/migrations/20220815133844_appwrite/migration.sqldeleted file mode 100644index ec61dc434e..0000000000--- a/apps/api/prisma/migrations/20220815133844_appwrite/migration.sql+++ /dev/null@@ -1,22 +0,0 @@--- CreateTable-CREATE TABLE "Appwrite" (- "id" TEXT NOT NULL PRIMARY KEY,- "serviceId" TEXT NOT NULL,- "opensslKeyV1" TEXT NOT NULL,- "executorSecret" TEXT NOT NULL,- "redisPassword" TEXT NOT NULL,- "mariadbHost" TEXT,- "mariadbPort" INTEGER NOT NULL DEFAULT 3306,- "mariadbUser" TEXT NOT NULL,- "mariadbPassword" TEXT NOT NULL,- "mariadbRootUser" TEXT NOT NULL,- "mariadbRootUserPassword" TEXT NOT NULL,- "mariadbDatabase" TEXT NOT NULL,- "mariadbPublicPort" INTEGER,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Appwrite_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "Appwrite_serviceId_key" ON "Appwrite"("serviceId");diff --git a/apps/api/prisma/migrations/20220816133447_bot_deployments/migration.sql b/apps/api/prisma/migrations/20220816133447_bot_deployments/migration.sqldeleted file mode 100644index 3d6d92d0e6..0000000000--- a/apps/api/prisma/migrations/20220816133447_bot_deployments/migration.sql+++ /dev/null@@ -1,20 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_ApplicationSettings" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT NOT NULL,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "debug" BOOLEAN NOT NULL DEFAULT false,- "previews" BOOLEAN NOT NULL DEFAULT false,- "autodeploy" BOOLEAN NOT NULL DEFAULT true,- "isBot" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ApplicationSettings_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_ApplicationSettings" ("applicationId", "autodeploy", "createdAt", "debug", "dualCerts", "id", "previews", "updatedAt") SELECT "applicationId", "autodeploy", "createdAt", "debug", "dualCerts", "id", "previews", "updatedAt" FROM "ApplicationSettings";-DROP TABLE "ApplicationSettings";-ALTER TABLE "new_ApplicationSettings" RENAME TO "ApplicationSettings";-CREATE UNIQUE INDEX "ApplicationSettings_applicationId_key" ON "ApplicationSettings"("applicationId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220817082342_custom_dns_servers/migration.sql b/apps/api/prisma/migrations/20220817082342_custom_dns_servers/migration.sqldeleted file mode 100644index 03588b549c..0000000000--- a/apps/api/prisma/migrations/20220817082342_custom_dns_servers/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Setting" ADD COLUMN "DNSServers" TEXT;diff --git a/apps/api/prisma/migrations/20220818093615_public_repositories/migration.sql b/apps/api/prisma/migrations/20220818093615_public_repositories/migration.sqldeleted file mode 100644index 7f08c29fd9..0000000000--- a/apps/api/prisma/migrations/20220818093615_public_repositories/migration.sql+++ /dev/null@@ -1,42 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_GitSource" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "forPublic" BOOLEAN NOT NULL DEFAULT false,- "type" TEXT,- "apiUrl" TEXT,- "htmlUrl" TEXT,- "customPort" INTEGER NOT NULL DEFAULT 22,- "organization" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "githubAppId" TEXT,- "gitlabAppId" TEXT,- CONSTRAINT "GitSource_githubAppId_fkey" FOREIGN KEY ("githubAppId") REFERENCES "GithubApp" ("id") ON DELETE SET NULL ON UPDATE CASCADE,- CONSTRAINT "GitSource_gitlabAppId_fkey" FOREIGN KEY ("gitlabAppId") REFERENCES "GitlabApp" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);-INSERT INTO "new_GitSource" ("apiUrl", "createdAt", "customPort", "githubAppId", "gitlabAppId", "htmlUrl", "id", "name", "organization", "type", "updatedAt") SELECT "apiUrl", "createdAt", "customPort", "githubAppId", "gitlabAppId", "htmlUrl", "id", "name", "organization", "type", "updatedAt" FROM "GitSource";-DROP TABLE "GitSource";-ALTER TABLE "new_GitSource" RENAME TO "GitSource";-CREATE UNIQUE INDEX "GitSource_githubAppId_key" ON "GitSource"("githubAppId");-CREATE UNIQUE INDEX "GitSource_gitlabAppId_key" ON "GitSource"("gitlabAppId");-CREATE TABLE "new_ApplicationSettings" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT NOT NULL,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "debug" BOOLEAN NOT NULL DEFAULT false,- "previews" BOOLEAN NOT NULL DEFAULT false,- "autodeploy" BOOLEAN NOT NULL DEFAULT true,- "isBot" BOOLEAN NOT NULL DEFAULT false,- "isPublicRepository" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ApplicationSettings_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_ApplicationSettings" ("applicationId", "autodeploy", "createdAt", "debug", "dualCerts", "id", "isBot", "previews", "updatedAt") SELECT "applicationId", "autodeploy", "createdAt", "debug", "dualCerts", "id", "isBot", "previews", "updatedAt" FROM "ApplicationSettings";-DROP TABLE "ApplicationSettings";-ALTER TABLE "new_ApplicationSettings" RENAME TO "ApplicationSettings";-CREATE UNIQUE INDEX "ApplicationSettings_applicationId_key" ON "ApplicationSettings"("applicationId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220823070532_service_searxng/migration.sql b/apps/api/prisma/migrations/20220823070532_service_searxng/migration.sqldeleted file mode 100644index 81ecc81c83..0000000000--- a/apps/api/prisma/migrations/20220823070532_service_searxng/migration.sql+++ /dev/null@@ -1,13 +0,0 @@--- CreateTable-CREATE TABLE "Searxng" (- "id" TEXT NOT NULL PRIMARY KEY,- "secretKey" TEXT NOT NULL,- "redisPassword" TEXT NOT NULL,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Searxng_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "Searxng_serviceId_key" ON "Searxng"("serviceId");diff --git a/apps/api/prisma/migrations/20220825064811_concurrent_build_settings/migration.sql b/apps/api/prisma/migrations/20220825064811_concurrent_build_settings/migration.sqldeleted file mode 100644index 1535c2bf7c..0000000000--- a/apps/api/prisma/migrations/20220825064811_concurrent_build_settings/migration.sql+++ /dev/null@@ -1,29 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT false,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "minPort" INTEGER NOT NULL DEFAULT 9000,- "maxPort" INTEGER NOT NULL DEFAULT 9100,- "proxyPassword" TEXT NOT NULL,- "proxyUser" TEXT NOT NULL,- "proxyHash" TEXT,- "isAutoUpdateEnabled" BOOLEAN NOT NULL DEFAULT false,- "isDNSCheckEnabled" BOOLEAN NOT NULL DEFAULT true,- "DNSServers" TEXT,- "isTraefikUsed" BOOLEAN NOT NULL DEFAULT true,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "ipv4" TEXT,- "ipv6" TEXT,- "arch" TEXT,- "concurrentBuilds" INTEGER NOT NULL DEFAULT 1-);-INSERT INTO "new_Setting" ("DNSServers", "arch", "createdAt", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "proxyHash", "proxyPassword", "proxyUser", "updatedAt") SELECT "DNSServers", "arch", "createdAt", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "proxyHash", "proxyPassword", "proxyUser", "updatedAt" FROM "Setting";-DROP TABLE "Setting";-ALTER TABLE "new_Setting" RENAME TO "Setting";-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220825072007_build_queue_improvements/migration.sql b/apps/api/prisma/migrations/20220825072007_build_queue_improvements/migration.sqldeleted file mode 100644index 78c51fc156..0000000000--- a/apps/api/prisma/migrations/20220825072007_build_queue_improvements/migration.sql+++ /dev/null@@ -1,24 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Build" (- "id" TEXT NOT NULL PRIMARY KEY,- "type" TEXT NOT NULL,- "applicationId" TEXT,- "destinationDockerId" TEXT,- "gitSourceId" TEXT,- "githubAppId" TEXT,- "gitlabAppId" TEXT,- "commit" TEXT,- "pullmergeRequestId" TEXT,- "forceRebuild" BOOLEAN NOT NULL DEFAULT false,- "sourceBranch" TEXT,- "branch" TEXT,- "status" TEXT DEFAULT 'queued',- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);-INSERT INTO "new_Build" ("applicationId", "branch", "commit", "createdAt", "destinationDockerId", "gitSourceId", "githubAppId", "gitlabAppId", "id", "status", "type", "updatedAt") SELECT "applicationId", "branch", "commit", "createdAt", "destinationDockerId", "gitSourceId", "githubAppId", "gitlabAppId", "id", "status", "type", "updatedAt" FROM "Build";-DROP TABLE "Build";-ALTER TABLE "new_Build" RENAME TO "Build";-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220831095714_service_weblate/migration.sql b/apps/api/prisma/migrations/20220831095714_service_weblate/migration.sqldeleted file mode 100644index c985b4ae25..0000000000--- a/apps/api/prisma/migrations/20220831095714_service_weblate/migration.sql+++ /dev/null@@ -1,18 +0,0 @@--- CreateTable-CREATE TABLE "Weblate" (- "id" TEXT NOT NULL PRIMARY KEY,- "adminPassword" TEXT NOT NULL,- "postgresqlHost" TEXT NOT NULL,- "postgresqlPort" INTEGER NOT NULL,- "postgresqlUser" TEXT NOT NULL,- "postgresqlPassword" TEXT NOT NULL,- "postgresqlDatabase" TEXT NOT NULL,- "postgresqlPublicPort" INTEGER,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Weblate_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "Weblate_serviceId_key" ON "Weblate"("serviceId");diff --git a/apps/api/prisma/migrations/20220902115640_service_taiga/migration.sql b/apps/api/prisma/migrations/20220902115640_service_taiga/migration.sqldeleted file mode 100644index 3035dd8efe..0000000000--- a/apps/api/prisma/migrations/20220902115640_service_taiga/migration.sql+++ /dev/null@@ -1,23 +0,0 @@--- CreateTable-CREATE TABLE "Taiga" (- "id" TEXT NOT NULL PRIMARY KEY,- "secretKey" TEXT NOT NULL,- "erlangSecret" TEXT NOT NULL,- "djangoAdminPassword" TEXT NOT NULL,- "djangoAdminUser" TEXT NOT NULL,- "rabbitMQUser" TEXT NOT NULL,- "rabbitMQPassword" TEXT NOT NULL,- "postgresqlHost" TEXT NOT NULL,- "postgresqlPort" INTEGER NOT NULL,- "postgresqlUser" TEXT NOT NULL,- "postgresqlPassword" TEXT NOT NULL,- "postgresqlDatabase" TEXT NOT NULL,- "postgresqlPublicPort" INTEGER,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Taiga_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "Taiga_serviceId_key" ON "Taiga"("serviceId");diff --git a/apps/api/prisma/migrations/20220905062318_database_branching/migration.sql b/apps/api/prisma/migrations/20220905062318_database_branching/migration.sqldeleted file mode 100644index d828a4c667..0000000000--- a/apps/api/prisma/migrations/20220905062318_database_branching/migration.sql+++ /dev/null@@ -1,22 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_ApplicationSettings" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT NOT NULL,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "debug" BOOLEAN NOT NULL DEFAULT false,- "previews" BOOLEAN NOT NULL DEFAULT false,- "autodeploy" BOOLEAN NOT NULL DEFAULT true,- "isBot" BOOLEAN NOT NULL DEFAULT false,- "isPublicRepository" BOOLEAN NOT NULL DEFAULT false,- "isDBBranching" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ApplicationSettings_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_ApplicationSettings" ("applicationId", "autodeploy", "createdAt", "debug", "dualCerts", "id", "isBot", "isPublicRepository", "previews", "updatedAt") SELECT "applicationId", "autodeploy", "createdAt", "debug", "dualCerts", "id", "isBot", "isPublicRepository", "previews", "updatedAt" FROM "ApplicationSettings";-DROP TABLE "ApplicationSettings";-ALTER TABLE "new_ApplicationSettings" RENAME TO "ApplicationSettings";-CREATE UNIQUE INDEX "ApplicationSettings_applicationId_key" ON "ApplicationSettings"("applicationId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220905113241_prisma_migration/migration.sql b/apps/api/prisma/migrations/20220905113241_prisma_migration/migration.sqldeleted file mode 100644index 324bcfff0c..0000000000--- a/apps/api/prisma/migrations/20220905113241_prisma_migration/migration.sql+++ /dev/null@@ -1,20 +0,0 @@-/*- Warnings:-- - You are about to alter the column `time` on the `BuildLog` table. The data in that column could be lost. The data in that column will be cast from `Int` to `BigInt`.--*/--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_BuildLog" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT,- "buildId" TEXT NOT NULL,- "line" TEXT NOT NULL,- "time" BIGINT NOT NULL-);-INSERT INTO "new_BuildLog" ("applicationId", "buildId", "id", "line", "time") SELECT "applicationId", "buildId", "id", "line", "time" FROM "BuildLog";-DROP TABLE "BuildLog";-ALTER TABLE "new_BuildLog" RENAME TO "BuildLog";-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220905115321_application_connected_database/migration.sql b/apps/api/prisma/migrations/20220905115321_application_connected_database/migration.sqldeleted file mode 100644index 576c23bdf3..0000000000--- a/apps/api/prisma/migrations/20220905115321_application_connected_database/migration.sql+++ /dev/null@@ -1,20 +0,0 @@--- CreateTable-CREATE TABLE "ApplicationConnectedDatabase" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT NOT NULL,- "databaseId" TEXT,- "hostedDatabaseType" TEXT,- "hostedDatabaseHost" TEXT,- "hostedDatabasePort" INTEGER,- "hostedDatabaseName" TEXT,- "hostedDatabaseUser" TEXT,- "hostedDatabasePassword" TEXT,- "hostedDatabaseDBName" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ApplicationConnectedDatabase_databaseId_fkey" FOREIGN KEY ("databaseId") REFERENCES "Database" ("id") ON DELETE SET NULL ON UPDATE CASCADE,- CONSTRAINT "ApplicationConnectedDatabase_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "ApplicationConnectedDatabase_applicationId_key" ON "ApplicationConnectedDatabase"("applicationId");diff --git a/apps/api/prisma/migrations/20220906120112_enable_api_debug_logging/migration.sql b/apps/api/prisma/migrations/20220906120112_enable_api_debug_logging/migration.sqldeleted file mode 100644index 05fb3e2855..0000000000--- a/apps/api/prisma/migrations/20220906120112_enable_api_debug_logging/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Setting" ADD COLUMN "isAPIDebuggingEnabled" BOOLEAN DEFAULT false;diff --git a/apps/api/prisma/migrations/20220907092244_database_secrets/migration.sql b/apps/api/prisma/migrations/20220907092244_database_secrets/migration.sqldeleted file mode 100644index 53ff2d19ed..0000000000--- a/apps/api/prisma/migrations/20220907092244_database_secrets/migration.sql+++ /dev/null@@ -1,13 +0,0 @@--- CreateTable-CREATE TABLE "DatabaseSecret" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "value" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "databaseId" TEXT NOT NULL,- CONSTRAINT "DatabaseSecret_databaseId_fkey" FOREIGN KEY ("databaseId") REFERENCES "Database" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "DatabaseSecret_name_databaseId_key" ON "DatabaseSecret"("name", "databaseId");diff --git a/apps/api/prisma/migrations/20220913092100_preview_applications/migration.sql b/apps/api/prisma/migrations/20220913092100_preview_applications/migration.sqldeleted file mode 100644index 0ec1aafa09..0000000000--- a/apps/api/prisma/migrations/20220913092100_preview_applications/migration.sql+++ /dev/null@@ -1,18 +0,0 @@--- AlterTable-ALTER TABLE "Build" ADD COLUMN "previewApplicationId" TEXT;---- CreateTable-CREATE TABLE "PreviewApplication" (- "id" TEXT NOT NULL PRIMARY KEY,- "pullmergeRequestId" TEXT NOT NULL,- "sourceBranch" TEXT NOT NULL,- "isRandomDomain" BOOLEAN NOT NULL DEFAULT false,- "customDomain" TEXT,- "applicationId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "PreviewApplication_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "PreviewApplication_applicationId_key" ON "PreviewApplication"("applicationId");diff --git a/apps/api/prisma/migrations/20220922064605_custom_certificates/migration.sql b/apps/api/prisma/migrations/20220922064605_custom_certificates/migration.sqldeleted file mode 100644index 8049130388..0000000000--- a/apps/api/prisma/migrations/20220922064605_custom_certificates/migration.sql+++ /dev/null@@ -1,10 +0,0 @@--- CreateTable-CREATE TABLE "Certificate" (- "id" TEXT NOT NULL PRIMARY KEY,- "key" TEXT NOT NULL,- "cert" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "teamId" TEXT,- CONSTRAINT "Certificate_teamId_fkey" FOREIGN KEY ("teamId") REFERENCES "Team" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);diff --git a/apps/api/prisma/migrations/20220923122227_custom_ssl_for_applications/migration.sql b/apps/api/prisma/migrations/20220923122227_custom_ssl_for_applications/migration.sqldeleted file mode 100644index b9261a955f..0000000000--- a/apps/api/prisma/migrations/20220923122227_custom_ssl_for_applications/migration.sql+++ /dev/null@@ -1,23 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_ApplicationSettings" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT NOT NULL,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "debug" BOOLEAN NOT NULL DEFAULT false,- "previews" BOOLEAN NOT NULL DEFAULT false,- "autodeploy" BOOLEAN NOT NULL DEFAULT true,- "isBot" BOOLEAN NOT NULL DEFAULT false,- "isPublicRepository" BOOLEAN NOT NULL DEFAULT false,- "isDBBranching" BOOLEAN NOT NULL DEFAULT false,- "isCustomSSL" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ApplicationSettings_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_ApplicationSettings" ("applicationId", "autodeploy", "createdAt", "debug", "dualCerts", "id", "isBot", "isDBBranching", "isPublicRepository", "previews", "updatedAt") SELECT "applicationId", "autodeploy", "createdAt", "debug", "dualCerts", "id", "isBot", "isDBBranching", "isPublicRepository", "previews", "updatedAt" FROM "ApplicationSettings";-DROP TABLE "ApplicationSettings";-ALTER TABLE "new_ApplicationSettings" RENAME TO "ApplicationSettings";-CREATE UNIQUE INDEX "ApplicationSettings_applicationId_key" ON "ApplicationSettings"("applicationId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20220928083348_system_wide_git_sources/migration.sql b/apps/api/prisma/migrations/20220928083348_system_wide_git_sources/migration.sqldeleted file mode 100644index a3657504dc..0000000000--- a/apps/api/prisma/migrations/20220928083348_system_wide_git_sources/migration.sql+++ /dev/null@@ -1,26 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_GitSource" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "forPublic" BOOLEAN NOT NULL DEFAULT false,- "type" TEXT,- "apiUrl" TEXT,- "htmlUrl" TEXT,- "customPort" INTEGER NOT NULL DEFAULT 22,- "organization" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "githubAppId" TEXT,- "gitlabAppId" TEXT,- "isSystemWide" BOOLEAN NOT NULL DEFAULT false,- CONSTRAINT "GitSource_gitlabAppId_fkey" FOREIGN KEY ("gitlabAppId") REFERENCES "GitlabApp" ("id") ON DELETE SET NULL ON UPDATE CASCADE,- CONSTRAINT "GitSource_githubAppId_fkey" FOREIGN KEY ("githubAppId") REFERENCES "GithubApp" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);-INSERT INTO "new_GitSource" ("apiUrl", "createdAt", "customPort", "forPublic", "githubAppId", "gitlabAppId", "htmlUrl", "id", "name", "organization", "type", "updatedAt") SELECT "apiUrl", "createdAt", "customPort", "forPublic", "githubAppId", "gitlabAppId", "htmlUrl", "id", "name", "organization", "type", "updatedAt" FROM "GitSource";-DROP TABLE "GitSource";-ALTER TABLE "new_GitSource" RENAME TO "GitSource";-CREATE UNIQUE INDEX "GitSource_githubAppId_key" ON "GitSource"("githubAppId");-CREATE UNIQUE INDEX "GitSource_gitlabAppId_key" ON "GitSource"("gitlabAppId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221002084246_no_unique_appid_on_previews/migration.sql b/apps/api/prisma/migrations/20221002084246_no_unique_appid_on_previews/migration.sqldeleted file mode 100644index 031f842cb2..0000000000--- a/apps/api/prisma/migrations/20221002084246_no_unique_appid_on_previews/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- DropIndex-DROP INDEX "PreviewApplication_applicationId_key";diff --git a/apps/api/prisma/migrations/20221002091630_forked_previews/migration.sql b/apps/api/prisma/migrations/20221002091630_forked_previews/migration.sqldeleted file mode 100644index 2312c011bb..0000000000--- a/apps/api/prisma/migrations/20221002091630_forked_previews/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Build" ADD COLUMN "sourceRepository" TEXT;diff --git a/apps/api/prisma/migrations/20221005120323_initial_docker_compose/migration.sql b/apps/api/prisma/migrations/20221005120323_initial_docker_compose/migration.sqldeleted file mode 100644index bb93e1aaf2..0000000000--- a/apps/api/prisma/migrations/20221005120323_initial_docker_compose/migration.sql+++ /dev/null@@ -1,3 +0,0 @@--- AlterTable-ALTER TABLE "Application" ADD COLUMN "dockerComposeFile" TEXT;-ALTER TABLE "Application" ADD COLUMN "dockerComposeFileLocation" TEXT;diff --git a/apps/api/prisma/migrations/20221005132352_docker_compose_configuration/migration.sql b/apps/api/prisma/migrations/20221005132352_docker_compose_configuration/migration.sqldeleted file mode 100644index e7368dc1af..0000000000--- a/apps/api/prisma/migrations/20221005132352_docker_compose_configuration/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Application" ADD COLUMN "dockerComposeConfiguration" TEXT;diff --git a/apps/api/prisma/migrations/20221017134342_standardized_service_configs/migration.sql b/apps/api/prisma/migrations/20221017134342_standardized_service_configs/migration.sqldeleted file mode 100644index 8370174356..0000000000--- a/apps/api/prisma/migrations/20221017134342_standardized_service_configs/migration.sql+++ /dev/null@@ -1,13 +0,0 @@--- CreateTable-CREATE TABLE "ServiceSetting" (- "id" TEXT NOT NULL PRIMARY KEY,- "serviceId" TEXT NOT NULL,- "name" TEXT NOT NULL,- "value" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ServiceSetting_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);---- CreateIndex-CREATE UNIQUE INDEX "ServiceSetting_serviceId_name_key" ON "ServiceSetting"("serviceId", "name");diff --git a/apps/api/prisma/migrations/20221018090939_service_peristent_volumes_predefined/migration.sql b/apps/api/prisma/migrations/20221018090939_service_peristent_volumes_predefined/migration.sqldeleted file mode 100644index c7b935eb74..0000000000--- a/apps/api/prisma/migrations/20221018090939_service_peristent_volumes_predefined/migration.sql+++ /dev/null@@ -1,19 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_ServicePersistentStorage" (- "id" TEXT NOT NULL PRIMARY KEY,- "serviceId" TEXT NOT NULL,- "path" TEXT NOT NULL,- "volumeName" TEXT,- "predefined" BOOLEAN NOT NULL DEFAULT false,- "containerId" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ServicePersistentStorage_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_ServicePersistentStorage" ("createdAt", "id", "path", "serviceId", "updatedAt") SELECT "createdAt", "id", "path", "serviceId", "updatedAt" FROM "ServicePersistentStorage";-DROP TABLE "ServicePersistentStorage";-ALTER TABLE "new_ServicePersistentStorage" RENAME TO "ServicePersistentStorage";-CREATE UNIQUE INDEX "ServicePersistentStorage_serviceId_path_key" ON "ServicePersistentStorage"("serviceId", "path");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221021112429_serivce_settings_extended/migration.sql b/apps/api/prisma/migrations/20221021112429_serivce_settings_extended/migration.sqldeleted file mode 100644index b2eddcfd9b..0000000000--- a/apps/api/prisma/migrations/20221021112429_serivce_settings_extended/migration.sql+++ /dev/null@@ -1,24 +0,0 @@-/*- Warnings:-- - Added the required column `variableName` to the `ServiceSetting` table without a default value. This is not possible if the table is not empty.--*/--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_ServiceSetting" (- "id" TEXT NOT NULL PRIMARY KEY,- "serviceId" TEXT NOT NULL,- "name" TEXT NOT NULL,- "value" TEXT NOT NULL,- "variableName" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ServiceSetting_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_ServiceSetting" ("createdAt", "id", "name", "serviceId", "updatedAt", "value") SELECT "createdAt", "id", "name", "serviceId", "updatedAt", "value" FROM "ServiceSetting";-DROP TABLE "ServiceSetting";-ALTER TABLE "new_ServiceSetting" RENAME TO "ServiceSetting";-CREATE UNIQUE INDEX "ServiceSetting_serviceId_name_key" ON "ServiceSetting"("serviceId", "name");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221021185630_service_template_version/migration.sql b/apps/api/prisma/migrations/20221021185630_service_template_version/migration.sqldeleted file mode 100644index f716a2340e..0000000000--- a/apps/api/prisma/migrations/20221021185630_service_template_version/migration.sql+++ /dev/null@@ -1,21 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Service" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "fqdn" TEXT,- "exposePort" INTEGER,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "type" TEXT,- "version" TEXT,- "templateVersion" TEXT NOT NULL DEFAULT '0.0.0',- "destinationDockerId" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Service_destinationDockerId_fkey" FOREIGN KEY ("destinationDockerId") REFERENCES "DestinationDocker" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);-INSERT INTO "new_Service" ("createdAt", "destinationDockerId", "dualCerts", "exposePort", "fqdn", "id", "name", "type", "updatedAt", "version") SELECT "createdAt", "destinationDockerId", "dualCerts", "exposePort", "fqdn", "id", "name", "type", "updatedAt", "version" FROM "Service";-DROP TABLE "Service";-ALTER TABLE "new_Service" RENAME TO "Service";-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221026115123_service_persistent_unique/migration.sql b/apps/api/prisma/migrations/20221026115123_service_persistent_unique/migration.sqldeleted file mode 100644index dae80a76a9..0000000000--- a/apps/api/prisma/migrations/20221026115123_service_persistent_unique/migration.sql+++ /dev/null@@ -1,11 +0,0 @@-/*- Warnings:-- - A unique constraint covering the columns `[serviceId,containerId,path]` on the table `ServicePersistentStorage` will be added. If there are existing duplicate values, this will fail.--*/--- DropIndex-DROP INDEX "ServicePersistentStorage_serviceId_path_key";---- CreateIndex-CREATE UNIQUE INDEX "ServicePersistentStorage_serviceId_containerId_path_key" ON "ServicePersistentStorage"("serviceId", "containerId", "path");diff --git a/apps/api/prisma/migrations/20221028074301_wordpress_optional_fields/migration.sql b/apps/api/prisma/migrations/20221028074301_wordpress_optional_fields/migration.sqldeleted file mode 100644index 217039d97b..0000000000--- a/apps/api/prisma/migrations/20221028074301_wordpress_optional_fields/migration.sql+++ /dev/null@@ -1,32 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Wordpress" (- "id" TEXT NOT NULL PRIMARY KEY,- "extraConfig" TEXT,- "tablePrefix" TEXT,- "ownMysql" BOOLEAN NOT NULL DEFAULT false,- "mysqlHost" TEXT,- "mysqlPort" INTEGER,- "mysqlUser" TEXT,- "mysqlPassword" TEXT,- "mysqlRootUser" TEXT,- "mysqlRootUserPassword" TEXT,- "mysqlDatabase" TEXT,- "mysqlPublicPort" INTEGER,- "ftpEnabled" BOOLEAN NOT NULL DEFAULT false,- "ftpUser" TEXT,- "ftpPassword" TEXT,- "ftpPublicPort" INTEGER,- "ftpHostKey" TEXT,- "ftpHostKeyPrivate" TEXT,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "Wordpress_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_Wordpress" ("createdAt", "extraConfig", "ftpEnabled", "ftpHostKey", "ftpHostKeyPrivate", "ftpPassword", "ftpPublicPort", "ftpUser", "id", "mysqlDatabase", "mysqlHost", "mysqlPassword", "mysqlPort", "mysqlPublicPort", "mysqlRootUser", "mysqlRootUserPassword", "mysqlUser", "ownMysql", "serviceId", "tablePrefix", "updatedAt") SELECT "createdAt", "extraConfig", "ftpEnabled", "ftpHostKey", "ftpHostKeyPrivate", "ftpPassword", "ftpPublicPort", "ftpUser", "id", "mysqlDatabase", "mysqlHost", "mysqlPassword", "mysqlPort", "mysqlPublicPort", "mysqlRootUser", "mysqlRootUserPassword", "mysqlUser", "ownMysql", "serviceId", "tablePrefix", "updatedAt" FROM "Wordpress";-DROP TABLE "Wordpress";-ALTER TABLE "new_Wordpress" RENAME TO "Wordpress";-CREATE UNIQUE INDEX "Wordpress_serviceId_key" ON "Wordpress"("serviceId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221104092223_default_redirect_proxy/migration.sql b/apps/api/prisma/migrations/20221104092223_default_redirect_proxy/migration.sqldeleted file mode 100644index 8584fe25c7..0000000000--- a/apps/api/prisma/migrations/20221104092223_default_redirect_proxy/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Setting" ADD COLUMN "proxyDefaultRedirect" TEXT;diff --git a/apps/api/prisma/migrations/20221114093217_application_storage_path_migration/migration.sql b/apps/api/prisma/migrations/20221114093217_application_storage_path_migration/migration.sqldeleted file mode 100644index 6913c8b001..0000000000--- a/apps/api/prisma/migrations/20221114093217_application_storage_path_migration/migration.sql+++ /dev/null@@ -1,45 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "isAPIDebuggingEnabled" BOOLEAN DEFAULT false,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT false,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "minPort" INTEGER NOT NULL DEFAULT 9000,- "maxPort" INTEGER NOT NULL DEFAULT 9100,- "proxyPassword" TEXT NOT NULL,- "proxyUser" TEXT NOT NULL,- "proxyHash" TEXT,- "proxyDefaultRedirect" TEXT,- "isAutoUpdateEnabled" BOOLEAN NOT NULL DEFAULT false,- "isDNSCheckEnabled" BOOLEAN NOT NULL DEFAULT true,- "DNSServers" TEXT,- "isTraefikUsed" BOOLEAN NOT NULL DEFAULT true,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "ipv4" TEXT,- "ipv6" TEXT,- "arch" TEXT,- "concurrentBuilds" INTEGER NOT NULL DEFAULT 1,- "applicationStoragePathMigrationFinished" BOOLEAN NOT NULL DEFAULT false-);-INSERT INTO "new_Setting" ("DNSServers", "arch", "concurrentBuilds", "createdAt", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAPIDebuggingEnabled", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "proxyDefaultRedirect", "proxyHash", "proxyPassword", "proxyUser", "updatedAt") SELECT "DNSServers", "arch", "concurrentBuilds", "createdAt", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAPIDebuggingEnabled", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "proxyDefaultRedirect", "proxyHash", "proxyPassword", "proxyUser", "updatedAt" FROM "Setting";-DROP TABLE "Setting";-ALTER TABLE "new_Setting" RENAME TO "Setting";-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");-CREATE TABLE "new_ApplicationPersistentStorage" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT NOT NULL,- "path" TEXT NOT NULL,- "oldPath" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ApplicationPersistentStorage_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_ApplicationPersistentStorage" ("applicationId", "createdAt", "id", "path", "updatedAt") SELECT "applicationId", "createdAt", "id", "path", "updatedAt" FROM "ApplicationPersistentStorage";-DROP TABLE "ApplicationPersistentStorage";-ALTER TABLE "new_ApplicationPersistentStorage" RENAME TO "ApplicationPersistentStorage";-CREATE UNIQUE INDEX "ApplicationPersistentStorage_applicationId_path_key" ON "ApplicationPersistentStorage"("applicationId", "path");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221123122143_remote_haproxy_from_db/migration.sql b/apps/api/prisma/migrations/20221123122143_remote_haproxy_from_db/migration.sqldeleted file mode 100644index 1acf261a57..0000000000--- a/apps/api/prisma/migrations/20221123122143_remote_haproxy_from_db/migration.sql+++ /dev/null@@ -1,37 +0,0 @@-/*- Warnings:-- - You are about to drop the column `proxyHash` on the `Setting` table. All the data in the column will be lost.- - You are about to drop the column `proxyPassword` on the `Setting` table. All the data in the column will be lost.- - You are about to drop the column `proxyUser` on the `Setting` table. All the data in the column will be lost.--*/--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "minPort" INTEGER NOT NULL DEFAULT 9000,- "maxPort" INTEGER NOT NULL DEFAULT 9100,- "DNSServers" TEXT,- "ipv4" TEXT,- "ipv6" TEXT,- "arch" TEXT,- "concurrentBuilds" INTEGER NOT NULL DEFAULT 1,- "applicationStoragePathMigrationFinished" BOOLEAN NOT NULL DEFAULT false,- "proxyDefaultRedirect" TEXT,- "isAPIDebuggingEnabled" BOOLEAN DEFAULT false,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT false,- "isAutoUpdateEnabled" BOOLEAN NOT NULL DEFAULT false,- "isDNSCheckEnabled" BOOLEAN NOT NULL DEFAULT true,- "isTraefikUsed" BOOLEAN NOT NULL DEFAULT true,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);-INSERT INTO "new_Setting" ("DNSServers", "applicationStoragePathMigrationFinished", "arch", "concurrentBuilds", "createdAt", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAPIDebuggingEnabled", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "proxyDefaultRedirect", "updatedAt") SELECT "DNSServers", "applicationStoragePathMigrationFinished", "arch", "concurrentBuilds", "createdAt", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAPIDebuggingEnabled", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "proxyDefaultRedirect", "updatedAt" FROM "Setting";-DROP TABLE "Setting";-ALTER TABLE "new_Setting" RENAME TO "Setting";-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221123133429_docker_registries/migration.sql b/apps/api/prisma/migrations/20221123133429_docker_registries/migration.sqldeleted file mode 100644index abebc55143..0000000000--- a/apps/api/prisma/migrations/20221123133429_docker_registries/migration.sql+++ /dev/null@@ -1,59 +0,0 @@--- CreateTable-CREATE TABLE "DockerRegistry" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "url" TEXT NOT NULL,- "username" TEXT,- "password" TEXT,- "isSystemWide" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "teamId" TEXT,- CONSTRAINT "DockerRegistry_teamId_fkey" FOREIGN KEY ("teamId") REFERENCES "Team" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);---- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Application" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "fqdn" TEXT,- "repository" TEXT,- "configHash" TEXT,- "branch" TEXT,- "buildPack" TEXT,- "projectId" INTEGER,- "port" INTEGER,- "exposePort" INTEGER,- "installCommand" TEXT,- "buildCommand" TEXT,- "startCommand" TEXT,- "baseDirectory" TEXT,- "publishDirectory" TEXT,- "deploymentType" TEXT,- "phpModules" TEXT,- "pythonWSGI" TEXT,- "pythonModule" TEXT,- "pythonVariable" TEXT,- "dockerFileLocation" TEXT,- "denoMainFile" TEXT,- "denoOptions" TEXT,- "dockerComposeFile" TEXT,- "dockerComposeFileLocation" TEXT,- "dockerComposeConfiguration" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "destinationDockerId" TEXT,- "gitSourceId" TEXT,- "baseImage" TEXT,- "baseBuildImage" TEXT,- "dockerRegistryId" TEXT NOT NULL DEFAULT '0',- CONSTRAINT "Application_gitSourceId_fkey" FOREIGN KEY ("gitSourceId") REFERENCES "GitSource" ("id") ON DELETE SET NULL ON UPDATE CASCADE,- CONSTRAINT "Application_destinationDockerId_fkey" FOREIGN KEY ("destinationDockerId") REFERENCES "DestinationDocker" ("id") ON DELETE SET NULL ON UPDATE CASCADE,- CONSTRAINT "Application_dockerRegistryId_fkey" FOREIGN KEY ("dockerRegistryId") REFERENCES "DockerRegistry" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_Application" ("baseBuildImage", "baseDirectory", "baseImage", "branch", "buildCommand", "buildPack", "configHash", "createdAt", "denoMainFile", "denoOptions", "deploymentType", "destinationDockerId", "dockerComposeConfiguration", "dockerComposeFile", "dockerComposeFileLocation", "dockerFileLocation", "exposePort", "fqdn", "gitSourceId", "id", "installCommand", "name", "phpModules", "port", "projectId", "publishDirectory", "pythonModule", "pythonVariable", "pythonWSGI", "repository", "startCommand", "updatedAt") SELECT "baseBuildImage", "baseDirectory", "baseImage", "branch", "buildCommand", "buildPack", "configHash", "createdAt", "denoMainFile", "denoOptions", "deploymentType", "destinationDockerId", "dockerComposeConfiguration", "dockerComposeFile", "dockerComposeFileLocation", "dockerFileLocation", "exposePort", "fqdn", "gitSourceId", "id", "installCommand", "name", "phpModules", "port", "projectId", "publishDirectory", "pythonModule", "pythonVariable", "pythonWSGI", "repository", "startCommand", "updatedAt" FROM "Application";-DROP TABLE "Application";-ALTER TABLE "new_Application" RENAME TO "Application";-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221128104158_do_not_track/migration.sql b/apps/api/prisma/migrations/20221128104158_do_not_track/migration.sqldeleted file mode 100644index 9cf26d8a80..0000000000--- a/apps/api/prisma/migrations/20221128104158_do_not_track/migration.sql+++ /dev/null@@ -1,30 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "minPort" INTEGER NOT NULL DEFAULT 9000,- "maxPort" INTEGER NOT NULL DEFAULT 9100,- "DNSServers" TEXT,- "ipv4" TEXT,- "ipv6" TEXT,- "arch" TEXT,- "concurrentBuilds" INTEGER NOT NULL DEFAULT 1,- "applicationStoragePathMigrationFinished" BOOLEAN NOT NULL DEFAULT false,- "proxyDefaultRedirect" TEXT,- "doNotTrack" BOOLEAN NOT NULL DEFAULT false,- "isAPIDebuggingEnabled" BOOLEAN DEFAULT false,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT false,- "isAutoUpdateEnabled" BOOLEAN NOT NULL DEFAULT false,- "isDNSCheckEnabled" BOOLEAN NOT NULL DEFAULT true,- "isTraefikUsed" BOOLEAN NOT NULL DEFAULT true,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);-INSERT INTO "new_Setting" ("DNSServers", "applicationStoragePathMigrationFinished", "arch", "concurrentBuilds", "createdAt", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAPIDebuggingEnabled", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "proxyDefaultRedirect", "updatedAt") SELECT "DNSServers", "applicationStoragePathMigrationFinished", "arch", "concurrentBuilds", "createdAt", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAPIDebuggingEnabled", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "proxyDefaultRedirect", "updatedAt" FROM "Setting";-DROP TABLE "Setting";-ALTER TABLE "new_Setting" RENAME TO "Setting";-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221128104718_fix_defaults/migration.sql b/apps/api/prisma/migrations/20221128104718_fix_defaults/migration.sqldeleted file mode 100644index c1152cdc35..0000000000--- a/apps/api/prisma/migrations/20221128104718_fix_defaults/migration.sql+++ /dev/null@@ -1,60 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "minPort" INTEGER NOT NULL DEFAULT 9000,- "maxPort" INTEGER NOT NULL DEFAULT 9100,- "DNSServers" TEXT,- "ipv4" TEXT,- "ipv6" TEXT,- "arch" TEXT,- "concurrentBuilds" INTEGER NOT NULL DEFAULT 1,- "applicationStoragePathMigrationFinished" BOOLEAN NOT NULL DEFAULT false,- "proxyDefaultRedirect" TEXT,- "doNotTrack" BOOLEAN NOT NULL DEFAULT false,- "isAPIDebuggingEnabled" BOOLEAN NOT NULL DEFAULT false,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT false,- "isAutoUpdateEnabled" BOOLEAN NOT NULL DEFAULT false,- "isDNSCheckEnabled" BOOLEAN NOT NULL DEFAULT true,- "isTraefikUsed" BOOLEAN NOT NULL DEFAULT true,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);-INSERT INTO "new_Setting" ("DNSServers", "applicationStoragePathMigrationFinished", "arch", "concurrentBuilds", "createdAt", "doNotTrack", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAPIDebuggingEnabled", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "proxyDefaultRedirect", "updatedAt") SELECT "DNSServers", "applicationStoragePathMigrationFinished", "arch", "concurrentBuilds", "createdAt", "doNotTrack", "dualCerts", "fqdn", "id", "ipv4", "ipv6", coalesce("isAPIDebuggingEnabled", false) AS "isAPIDebuggingEnabled", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "proxyDefaultRedirect", "updatedAt" FROM "Setting";-DROP TABLE "Setting";-ALTER TABLE "new_Setting" RENAME TO "Setting";-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");-CREATE TABLE "new_GlitchTip" (- "id" TEXT NOT NULL PRIMARY KEY,- "postgresqlUser" TEXT NOT NULL,- "postgresqlPassword" TEXT NOT NULL,- "postgresqlDatabase" TEXT NOT NULL,- "postgresqlPublicPort" INTEGER,- "secretKeyBase" TEXT,- "defaultEmail" TEXT NOT NULL,- "defaultUsername" TEXT NOT NULL,- "defaultPassword" TEXT NOT NULL,- "defaultEmailFrom" TEXT NOT NULL DEFAULT '[email protected]',- "emailSmtpHost" TEXT DEFAULT 'domain.tdl',- "emailSmtpPort" INTEGER DEFAULT 25,- "emailSmtpUser" TEXT,- "emailSmtpPassword" TEXT,- "emailSmtpUseTls" BOOLEAN NOT NULL DEFAULT false,- "emailSmtpUseSsl" BOOLEAN NOT NULL DEFAULT false,- "emailBackend" TEXT,- "mailgunApiKey" TEXT,- "sendgridApiKey" TEXT,- "enableOpenUserRegistration" BOOLEAN NOT NULL DEFAULT true,- "serviceId" TEXT NOT NULL,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "GlitchTip_serviceId_fkey" FOREIGN KEY ("serviceId") REFERENCES "Service" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_GlitchTip" ("createdAt", "defaultEmail", "defaultEmailFrom", "defaultPassword", "defaultUsername", "emailBackend", "emailSmtpHost", "emailSmtpPassword", "emailSmtpPort", "emailSmtpUseSsl", "emailSmtpUseTls", "emailSmtpUser", "enableOpenUserRegistration", "id", "mailgunApiKey", "postgresqlDatabase", "postgresqlPassword", "postgresqlPublicPort", "postgresqlUser", "secretKeyBase", "sendgridApiKey", "serviceId", "updatedAt") SELECT "createdAt", "defaultEmail", "defaultEmailFrom", "defaultPassword", "defaultUsername", "emailBackend", "emailSmtpHost", "emailSmtpPassword", "emailSmtpPort", coalesce("emailSmtpUseSsl", false) AS "emailSmtpUseSsl", coalesce("emailSmtpUseTls", false) AS "emailSmtpUseTls", "emailSmtpUser", "enableOpenUserRegistration", "id", "mailgunApiKey", "postgresqlDatabase", "postgresqlPassword", "postgresqlPublicPort", "postgresqlUser", "secretKeyBase", "sendgridApiKey", "serviceId", "updatedAt" FROM "GlitchTip";-DROP TABLE "GlitchTip";-ALTER TABLE "new_GlitchTip" RENAME TO "GlitchTip";-CREATE UNIQUE INDEX "GlitchTip_serviceId_key" ON "GlitchTip"("serviceId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221128105615_custom_sentry/migration.sql b/apps/api/prisma/migrations/20221128105615_custom_sentry/migration.sqldeleted file mode 100644index 00857eb0d5..0000000000--- a/apps/api/prisma/migrations/20221128105615_custom_sentry/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Setting" ADD COLUMN "sentryDSN" TEXT;diff --git a/apps/api/prisma/migrations/20221129081832_fix_defaults/migration.sql b/apps/api/prisma/migrations/20221129081832_fix_defaults/migration.sqldeleted file mode 100644index 96f6de3fb7..0000000000--- a/apps/api/prisma/migrations/20221129081832_fix_defaults/migration.sql+++ /dev/null@@ -1,31 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "minPort" INTEGER NOT NULL DEFAULT 9000,- "maxPort" INTEGER NOT NULL DEFAULT 9100,- "DNSServers" TEXT NOT NULL DEFAULT '1.1.1.1,8.8.8.8',- "ipv4" TEXT,- "ipv6" TEXT,- "arch" TEXT,- "concurrentBuilds" INTEGER NOT NULL DEFAULT 1,- "applicationStoragePathMigrationFinished" BOOLEAN NOT NULL DEFAULT false,- "proxyDefaultRedirect" TEXT,- "doNotTrack" BOOLEAN NOT NULL DEFAULT false,- "sentryDSN" TEXT,- "isAPIDebuggingEnabled" BOOLEAN NOT NULL DEFAULT false,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT true,- "isAutoUpdateEnabled" BOOLEAN NOT NULL DEFAULT false,- "isDNSCheckEnabled" BOOLEAN NOT NULL DEFAULT true,- "isTraefikUsed" BOOLEAN NOT NULL DEFAULT true,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);-INSERT INTO "new_Setting" ("DNSServers", "applicationStoragePathMigrationFinished", "arch", "concurrentBuilds", "createdAt", "doNotTrack", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAPIDebuggingEnabled", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "proxyDefaultRedirect", "sentryDSN", "updatedAt") SELECT coalesce("DNSServers", '1.1.1.1,8.8.8.8') AS "DNSServers", "applicationStoragePathMigrationFinished", "arch", "concurrentBuilds", "createdAt", "doNotTrack", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAPIDebuggingEnabled", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "proxyDefaultRedirect", "sentryDSN", "updatedAt" FROM "Setting";-DROP TABLE "Setting";-ALTER TABLE "new_Setting" RENAME TO "Setting";-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221129121702_preview_separator/migration.sql b/apps/api/prisma/migrations/20221129121702_preview_separator/migration.sqldeleted file mode 100644index e0d64cdc8c..0000000000--- a/apps/api/prisma/migrations/20221129121702_preview_separator/migration.sql+++ /dev/null@@ -1,33 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_Setting" (- "id" TEXT NOT NULL PRIMARY KEY,- "fqdn" TEXT,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "minPort" INTEGER NOT NULL DEFAULT 9000,- "maxPort" INTEGER NOT NULL DEFAULT 9100,- "DNSServers" TEXT NOT NULL DEFAULT '1.1.1.1,8.8.8.8',- "ipv4" TEXT,- "ipv6" TEXT,- "arch" TEXT,- "concurrentBuilds" INTEGER NOT NULL DEFAULT 1,- "applicationStoragePathMigrationFinished" BOOLEAN NOT NULL DEFAULT false,- "numberOfDockerImagesKeptLocally" INTEGER NOT NULL DEFAULT 3,- "proxyDefaultRedirect" TEXT,- "doNotTrack" BOOLEAN NOT NULL DEFAULT false,- "sentryDSN" TEXT,- "previewSeparator" TEXT NOT NULL DEFAULT '.',- "isAPIDebuggingEnabled" BOOLEAN NOT NULL DEFAULT false,- "isRegistrationEnabled" BOOLEAN NOT NULL DEFAULT true,- "isAutoUpdateEnabled" BOOLEAN NOT NULL DEFAULT false,- "isDNSCheckEnabled" BOOLEAN NOT NULL DEFAULT true,- "isTraefikUsed" BOOLEAN NOT NULL DEFAULT true,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL-);-INSERT INTO "new_Setting" ("DNSServers", "applicationStoragePathMigrationFinished", "arch", "concurrentBuilds", "createdAt", "doNotTrack", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAPIDebuggingEnabled", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", "numberOfDockerImagesKeptLocally", "proxyDefaultRedirect", "sentryDSN", "updatedAt") SELECT "DNSServers", "applicationStoragePathMigrationFinished", "arch", "concurrentBuilds", "createdAt", "doNotTrack", "dualCerts", "fqdn", "id", "ipv4", "ipv6", "isAPIDebuggingEnabled", "isAutoUpdateEnabled", "isDNSCheckEnabled", "isRegistrationEnabled", "isTraefikUsed", "maxPort", "minPort", 3, "proxyDefaultRedirect", "sentryDSN", "updatedAt" FROM "Setting";-DROP TABLE "Setting";-ALTER TABLE "new_Setting" RENAME TO "Setting";-CREATE UNIQUE INDEX "Setting_fqdn_key" ON "Setting"("fqdn");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221129130036_keep_local_docker_images/migration.sql b/apps/api/prisma/migrations/20221129130036_keep_local_docker_images/migration.sqldeleted file mode 100644index aa8136ed8e..0000000000--- a/apps/api/prisma/migrations/20221129130036_keep_local_docker_images/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Application" ADD COLUMN "gitCommitHash" TEXT;diff --git a/apps/api/prisma/migrations/20221130142058_reconfigure_docker_registries/migration.sql b/apps/api/prisma/migrations/20221130142058_reconfigure_docker_registries/migration.sqldeleted file mode 100644index c77afb6875..0000000000--- a/apps/api/prisma/migrations/20221130142058_reconfigure_docker_registries/migration.sql+++ /dev/null@@ -1,66 +0,0 @@-/*- Warnings:-- - You are about to drop the column `isSystemWide` on the `DockerRegistry` table. All the data in the column will be lost.--*/--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_DockerRegistry" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "url" TEXT NOT NULL,- "username" TEXT,- "password" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "teamId" TEXT,- CONSTRAINT "DockerRegistry_teamId_fkey" FOREIGN KEY ("teamId") REFERENCES "Team" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);-INSERT INTO "new_DockerRegistry" ("createdAt", "id", "name", "password", "teamId", "updatedAt", "url", "username") SELECT "createdAt", "id", "name", "password", "teamId", "updatedAt", "url", "username" FROM "DockerRegistry";-DROP TABLE "DockerRegistry";-ALTER TABLE "new_DockerRegistry" RENAME TO "DockerRegistry";-CREATE TABLE "new_Application" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "fqdn" TEXT,- "repository" TEXT,- "configHash" TEXT,- "branch" TEXT,- "buildPack" TEXT,- "projectId" INTEGER,- "port" INTEGER,- "exposePort" INTEGER,- "installCommand" TEXT,- "buildCommand" TEXT,- "startCommand" TEXT,- "baseDirectory" TEXT,- "publishDirectory" TEXT,- "deploymentType" TEXT,- "phpModules" TEXT,- "pythonWSGI" TEXT,- "pythonModule" TEXT,- "pythonVariable" TEXT,- "dockerFileLocation" TEXT,- "denoMainFile" TEXT,- "denoOptions" TEXT,- "dockerComposeFile" TEXT,- "dockerComposeFileLocation" TEXT,- "dockerComposeConfiguration" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "destinationDockerId" TEXT,- "gitSourceId" TEXT,- "gitCommitHash" TEXT,- "baseImage" TEXT,- "baseBuildImage" TEXT,- "dockerRegistryId" TEXT,- CONSTRAINT "Application_gitSourceId_fkey" FOREIGN KEY ("gitSourceId") REFERENCES "GitSource" ("id") ON DELETE SET NULL ON UPDATE CASCADE,- CONSTRAINT "Application_destinationDockerId_fkey" FOREIGN KEY ("destinationDockerId") REFERENCES "DestinationDocker" ("id") ON DELETE SET NULL ON UPDATE CASCADE,- CONSTRAINT "Application_dockerRegistryId_fkey" FOREIGN KEY ("dockerRegistryId") REFERENCES "DockerRegistry" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);-INSERT INTO "new_Application" ("baseBuildImage", "baseDirectory", "baseImage", "branch", "buildCommand", "buildPack", "configHash", "createdAt", "denoMainFile", "denoOptions", "deploymentType", "destinationDockerId", "dockerComposeConfiguration", "dockerComposeFile", "dockerComposeFileLocation", "dockerFileLocation", "dockerRegistryId", "exposePort", "fqdn", "gitCommitHash", "gitSourceId", "id", "installCommand", "name", "phpModules", "port", "projectId", "publishDirectory", "pythonModule", "pythonVariable", "pythonWSGI", "repository", "startCommand", "updatedAt") SELECT "baseBuildImage", "baseDirectory", "baseImage", "branch", "buildCommand", "buildPack", "configHash", "createdAt", "denoMainFile", "denoOptions", "deploymentType", "destinationDockerId", "dockerComposeConfiguration", "dockerComposeFile", "dockerComposeFileLocation", "dockerFileLocation", "dockerRegistryId", "exposePort", "fqdn", "gitCommitHash", "gitSourceId", "id", "installCommand", "name", "phpModules", "port", "projectId", "publishDirectory", "pythonModule", "pythonVariable", "pythonWSGI", "repository", "startCommand", "updatedAt" FROM "Application";-DROP TABLE "Application";-ALTER TABLE "new_Application" RENAME TO "Application";-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20221201115801_simple_dockerfile_deployment/migration.sql b/apps/api/prisma/migrations/20221201115801_simple_dockerfile_deployment/migration.sqldeleted file mode 100644index b3406e59e3..0000000000--- a/apps/api/prisma/migrations/20221201115801_simple_dockerfile_deployment/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Application" ADD COLUMN "simpleDockerfile" TEXT;diff --git a/apps/api/prisma/migrations/20221201133847_push_image_to_docker_registry/migration.sql b/apps/api/prisma/migrations/20221201133847_push_image_to_docker_registry/migration.sqldeleted file mode 100644index 9f85d35182..0000000000--- a/apps/api/prisma/migrations/20221201133847_push_image_to_docker_registry/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "Application" ADD COLUMN "dockerRegistryImageName" TEXT;diff --git a/apps/api/prisma/migrations/20221221140911_git_source_custom_user/migration.sql b/apps/api/prisma/migrations/20221221140911_git_source_custom_user/migration.sqldeleted file mode 100644index d9d5a72049..0000000000--- a/apps/api/prisma/migrations/20221221140911_git_source_custom_user/migration.sql+++ /dev/null@@ -1,27 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_GitSource" (- "id" TEXT NOT NULL PRIMARY KEY,- "name" TEXT NOT NULL,- "forPublic" BOOLEAN NOT NULL DEFAULT false,- "type" TEXT,- "apiUrl" TEXT,- "htmlUrl" TEXT,- "customPort" INTEGER NOT NULL DEFAULT 22,- "customUser" TEXT NOT NULL DEFAULT 'git',- "organization" TEXT,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- "githubAppId" TEXT,- "gitlabAppId" TEXT,- "isSystemWide" BOOLEAN NOT NULL DEFAULT false,- CONSTRAINT "GitSource_gitlabAppId_fkey" FOREIGN KEY ("gitlabAppId") REFERENCES "GitlabApp" ("id") ON DELETE SET NULL ON UPDATE CASCADE,- CONSTRAINT "GitSource_githubAppId_fkey" FOREIGN KEY ("githubAppId") REFERENCES "GithubApp" ("id") ON DELETE SET NULL ON UPDATE CASCADE-);-INSERT INTO "new_GitSource" ("apiUrl", "createdAt", "customPort", "forPublic", "githubAppId", "gitlabAppId", "htmlUrl", "id", "isSystemWide", "name", "organization", "type", "updatedAt") SELECT "apiUrl", "createdAt", "customPort", "forPublic", "githubAppId", "gitlabAppId", "htmlUrl", "id", "isSystemWide", "name", "organization", "type", "updatedAt" FROM "GitSource";-DROP TABLE "GitSource";-ALTER TABLE "new_GitSource" RENAME TO "GitSource";-CREATE UNIQUE INDEX "GitSource_githubAppId_key" ON "GitSource"("githubAppId");-CREATE UNIQUE INDEX "GitSource_gitlabAppId_key" ON "GitSource"("gitlabAppId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20230117092356_http2_protocol/migration.sql b/apps/api/prisma/migrations/20230117092356_http2_protocol/migration.sqldeleted file mode 100644index 7b24ac820d..0000000000--- a/apps/api/prisma/migrations/20230117092356_http2_protocol/migration.sql+++ /dev/null@@ -1,24 +0,0 @@--- RedefineTables-PRAGMA foreign_keys=OFF;-CREATE TABLE "new_ApplicationSettings" (- "id" TEXT NOT NULL PRIMARY KEY,- "applicationId" TEXT NOT NULL,- "dualCerts" BOOLEAN NOT NULL DEFAULT false,- "debug" BOOLEAN NOT NULL DEFAULT false,- "previews" BOOLEAN NOT NULL DEFAULT false,- "autodeploy" BOOLEAN NOT NULL DEFAULT true,- "isBot" BOOLEAN NOT NULL DEFAULT false,- "isPublicRepository" BOOLEAN NOT NULL DEFAULT false,- "isDBBranching" BOOLEAN NOT NULL DEFAULT false,- "isCustomSSL" BOOLEAN NOT NULL DEFAULT false,- "isHttp2" BOOLEAN NOT NULL DEFAULT false,- "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,- "updatedAt" DATETIME NOT NULL,- CONSTRAINT "ApplicationSettings_applicationId_fkey" FOREIGN KEY ("applicationId") REFERENCES "Application" ("id") ON DELETE RESTRICT ON UPDATE CASCADE-);-INSERT INTO "new_ApplicationSettings" ("applicationId", "autodeploy", "createdAt", "debug", "dualCerts", "id", "isBot", "isCustomSSL", "isDBBranching", "isPublicRepository", "previews", "updatedAt") SELECT "applicationId", "autodeploy", "createdAt", "debug", "dualCerts", "id", "isBot", "isCustomSSL", "isDBBranching", "isPublicRepository", "previews", "updatedAt" FROM "ApplicationSettings";-DROP TABLE "ApplicationSettings";-ALTER TABLE "new_ApplicationSettings" RENAME TO "ApplicationSettings";-CREATE UNIQUE INDEX "ApplicationSettings_applicationId_key" ON "ApplicationSettings"("applicationId");-PRAGMA foreign_key_check;-PRAGMA foreign_keys=ON;diff --git a/apps/api/prisma/migrations/20230307101148_add_host_volumes/migration.sql b/apps/api/prisma/migrations/20230307101148_add_host_volumes/migration.sqldeleted file mode 100644index 220ad995cf..0000000000--- a/apps/api/prisma/migrations/20230307101148_add_host_volumes/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- AlterTable-ALTER TABLE "ApplicationPersistentStorage" ADD COLUMN "hostPath" TEXT;diff --git a/apps/api/prisma/migrations/migration_lock.toml b/apps/api/prisma/migrations/migration_lock.tomldeleted file mode 100644index e5e5c4705a..0000000000--- a/apps/api/prisma/migrations/migration_lock.toml+++ /dev/null@@ -1,3 +0,0 @@-# Please do not edit this file manually-# It should be added in your version-control system (i.e. Git)-provider = "sqlite"\ No newline at end of filediff --git a/apps/api/prisma/schema.prisma b/apps/api/prisma/schema.prismadeleted file mode 100644index 7dca8314b4..0000000000--- a/apps/api/prisma/schema.prisma+++ /dev/null@@ -1,708 +0,0 @@-generator client {- provider = "prisma-client-js"- binaryTargets = ["native"]-}--datasource db {- provider = "sqlite"- url = env("COOLIFY_DATABASE_URL")-}--model Certificate {- id String @id @default(cuid())- key String- cert String- team Team? @relation(fields: [teamId], references: [id])- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- teamId String?-}--model Setting {- id String @id @default(cuid())- fqdn String? @unique- dualCerts Boolean @default(false)- minPort Int @default(9000)- maxPort Int @default(9100)- DNSServers String @default("1.1.1.1,8.8.8.8")- ipv4 String?- ipv6 String?- arch String?- concurrentBuilds Int @default(1)- applicationStoragePathMigrationFinished Boolean @default(false)- numberOfDockerImagesKeptLocally Int @default(3)- proxyDefaultRedirect String?- doNotTrack Boolean @default(false)- sentryDSN String?- previewSeparator String @default(".")- isAPIDebuggingEnabled Boolean @default(false)- isRegistrationEnabled Boolean @default(true)- isAutoUpdateEnabled Boolean @default(false)- isDNSCheckEnabled Boolean @default(true)- isTraefikUsed Boolean @default(true)- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt-}--model User {- id String @id @unique @default(cuid())- email String @unique- type String- password String?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- permission Permission[]- teams Team[]-}--model Permission {- id String @id @default(cuid())- userId String- teamId String- permission String- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- team Team @relation(fields: [teamId], references: [id])- user User @relation(fields: [userId], references: [id])-}--model Team {- id String @id @default(cuid())- name String?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- databaseId String?- serviceId String?- permissions Permission[]- sshKey SshKey[]- applications Application[]- database Database[]- destinationDocker DestinationDocker[]- gitSources GitSource[]- gitHubApps GithubApp[]- gitLabApps GitlabApp[]- service Service[]- users User[]- certificate Certificate[]- dockerRegistry DockerRegistry[]-}--model TeamInvitation {- id String @id @default(cuid())- uid String- email String- teamId String- teamName String- permission String- createdAt DateTime @default(now())-}--model Application {- id String @id @default(cuid())- name String- fqdn String?- repository String?- configHash String?- branch String?- buildPack String?- projectId Int?- port Int?- exposePort Int?- installCommand String?- buildCommand String?- startCommand String?- baseDirectory String?- publishDirectory String?- deploymentType String?- phpModules String?- pythonWSGI String?- pythonModule String?- pythonVariable String?- dockerFileLocation String?- denoMainFile String?- denoOptions String?- dockerComposeFile String?- dockerComposeFileLocation String?- dockerComposeConfiguration String?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- destinationDockerId String?- gitSourceId String?- gitCommitHash String?- baseImage String?- baseBuildImage String?- settings ApplicationSettings?- dockerRegistryId String?- dockerRegistryImageName String?- simpleDockerfile String?-- persistentStorage ApplicationPersistentStorage[]- secrets Secret[]- teams Team[]- connectedDatabase ApplicationConnectedDatabase?- previewApplication PreviewApplication[]- gitSource GitSource? @relation(fields: [gitSourceId], references: [id])- destinationDocker DestinationDocker? @relation(fields: [destinationDockerId], references: [id])- dockerRegistry DockerRegistry? @relation(fields: [dockerRegistryId], references: [id])-}--model PreviewApplication {- id String @id @default(cuid())- pullmergeRequestId String- sourceBranch String- isRandomDomain Boolean @default(false)- customDomain String?- applicationId String- application Application @relation(fields: [applicationId], references: [id])- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt-}--model ApplicationConnectedDatabase {- id String @id @default(cuid())- applicationId String @unique- databaseId String?- hostedDatabaseType String?- hostedDatabaseHost String?- hostedDatabasePort Int?- hostedDatabaseName String?- hostedDatabaseUser String?- hostedDatabasePassword String?- hostedDatabaseDBName String?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- database Database? @relation(fields: [databaseId], references: [id])- application Application @relation(fields: [applicationId], references: [id])-}--model ApplicationSettings {- id String @id @default(cuid())- applicationId String @unique- dualCerts Boolean @default(false)- debug Boolean @default(false)- previews Boolean @default(false)- autodeploy Boolean @default(true)- isBot Boolean @default(false)- isPublicRepository Boolean @default(false)- isDBBranching Boolean @default(false)- isCustomSSL Boolean @default(false)- isHttp2 Boolean @default(false)- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- application Application @relation(fields: [applicationId], references: [id])-}--model ApplicationPersistentStorage {- id String @id @default(cuid())- applicationId String- hostPath String?- path String- oldPath Boolean @default(false)- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- application Application @relation(fields: [applicationId], references: [id])-- @@unique([applicationId, path])-}--model ServicePersistentStorage {- id String @id @default(cuid())- serviceId String- path String- volumeName String?- predefined Boolean @default(false)- containerId String?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-- @@unique([serviceId, containerId, path])-}--model Secret {- id String @id @default(cuid())- name String- value String- isPRMRSecret Boolean @default(false)- isBuildSecret Boolean @default(false)- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- applicationId String- application Application @relation(fields: [applicationId], references: [id])-- @@unique([name, applicationId, isPRMRSecret])-}--model ServiceSecret {- id String @id @default(cuid())- name String- value String- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- serviceId String- service Service @relation(fields: [serviceId], references: [id])-- @@unique([name, serviceId])-}--model BuildLog {- id String @id @default(cuid())- applicationId String?- buildId String- line String- time BigInt-}--model Build {- id String @id @default(cuid())- type String- applicationId String?- destinationDockerId String?- gitSourceId String?- githubAppId String?- gitlabAppId String?- commit String?- pullmergeRequestId String?- previewApplicationId String?- forceRebuild Boolean @default(false)- sourceBranch String?- sourceRepository String?- branch String?- status String? @default("queued")- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt-}--model DestinationDocker {- id String @id @default(cuid())- network String @unique- name String- engine String?- remoteEngine Boolean @default(false)- remoteIpAddress String?- remoteUser String?- remotePort Int?- remoteVerified Boolean @default(false)- isCoolifyProxyUsed Boolean? @default(false)- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- sshKeyId String?- sshKey SshKey? @relation(fields: [sshKeyId], references: [id])- sshLocalPort Int?- application Application[]- database Database[]- service Service[]- teams Team[]-}--model SshKey {- id String @id @default(cuid())- name String- privateKey String- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- teamId String?- team Team? @relation(fields: [teamId], references: [id])- destinationDocker DestinationDocker[]-}--model DockerRegistry {- id String @id @default(cuid())- name String- url String- username String?- password String?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- teamId String?- team Team? @relation(fields: [teamId], references: [id])- application Application[]-}--model GitSource {- id String @id @default(cuid())- name String- forPublic Boolean @default(false)- type String?- apiUrl String?- htmlUrl String?- customPort Int @default(22)- customUser String @default("git")- organization String?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- githubAppId String? @unique- gitlabAppId String? @unique- isSystemWide Boolean @default(false)- gitlabApp GitlabApp? @relation(fields: [gitlabAppId], references: [id])- githubApp GithubApp? @relation(fields: [githubAppId], references: [id])- application Application[]- teams Team[]-}--model GithubApp {- id String @id @default(cuid())- name String? @unique- appId Int?- installationId Int?- clientId String?- clientSecret String?- webhookSecret String?- privateKey String?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- gitSource GitSource?- teams Team[]-}--model GitlabApp {- id String @id @default(cuid())- oauthId Int @unique- groupName String? @unique- deployKeyId Int?- privateSshKey String?- publicSshKey String?- webhookToken String?- appId String?- appSecret String?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- gitSource GitSource?- teams Team[]-}--model Database {- id String @id @default(cuid())- name String- publicPort Int?- defaultDatabase String?- type String?- version String?- dbUser String?- dbUserPassword String?- rootUser String?- rootUserPassword String?- destinationDockerId String?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- destinationDocker DestinationDocker? @relation(fields: [destinationDockerId], references: [id])- settings DatabaseSettings?- teams Team[]- applicationConnectedDatabase ApplicationConnectedDatabase[]- databaseSecret DatabaseSecret[]-}--model DatabaseSecret {- id String @id @default(cuid())- name String- value String- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- databaseId String- database Database @relation(fields: [databaseId], references: [id])-- @@unique([name, databaseId])-}--model DatabaseSettings {- id String @id @default(cuid())- databaseId String @unique- isPublic Boolean @default(false)- appendOnly Boolean @default(true)- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- database Database @relation(fields: [databaseId], references: [id])-}--model Service {- id String @id @default(cuid())- name String- fqdn String?- exposePort Int?- dualCerts Boolean @default(false)- type String?- version String?- templateVersion String @default("0.0.0")- destinationDockerId String?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- destinationDocker DestinationDocker? @relation(fields: [destinationDockerId], references: [id])- persistentStorage ServicePersistentStorage[]- serviceSecret ServiceSecret[]- serviceSetting ServiceSetting[]- teams Team[]-- fider Fider?- ghost Ghost?- glitchTip GlitchTip?- hasura Hasura?- meiliSearch MeiliSearch?- minio Minio?- moodle Moodle?- plausibleAnalytics PlausibleAnalytics?- umami Umami?- vscodeserver Vscodeserver?- wordpress Wordpress?- appwrite Appwrite?- searxng Searxng?- weblate Weblate?- taiga Taiga?-}--model ServiceSetting {- id String @id @default(cuid())- serviceId String- name String- value String- variableName String- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-- @@unique([serviceId, name])-}--model PlausibleAnalytics {- id String @id @default(cuid())- email String?- username String?- password String- postgresqlUser String- postgresqlPassword String- postgresqlDatabase String- postgresqlPublicPort Int?- secretKeyBase String?- scriptName String @default("plausible.js")- serviceId String @unique- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model Minio {- id String @id @default(cuid())- rootUser String- rootUserPassword String- publicPort Int?- apiFqdn String?- serviceId String @unique- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model Vscodeserver {- id String @id @default(cuid())- password String- serviceId String @unique- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model Wordpress {- id String @id @default(cuid())- extraConfig String?- tablePrefix String?- ownMysql Boolean @default(false)- mysqlHost String?- mysqlPort Int?- mysqlUser String?- mysqlPassword String?- mysqlRootUser String?- mysqlRootUserPassword String?- mysqlDatabase String?- mysqlPublicPort Int?- ftpEnabled Boolean @default(false)- ftpUser String?- ftpPassword String?- ftpPublicPort Int?- ftpHostKey String?- ftpHostKeyPrivate String?- serviceId String @unique- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model Ghost {- id String @id @default(cuid())- defaultEmail String- defaultPassword String- mariadbUser String- mariadbPassword String- mariadbRootUser String- mariadbRootUserPassword String- mariadbDatabase String?- mariadbPublicPort Int?- serviceId String @unique- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model MeiliSearch {- id String @id @default(cuid())- masterKey String- serviceId String @unique- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model Umami {- id String @id @default(cuid())- serviceId String @unique- postgresqlUser String- postgresqlPassword String- postgresqlDatabase String- postgresqlPublicPort Int?- umamiAdminPassword String- hashSalt String- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model Hasura {- id String @id @default(cuid())- serviceId String @unique- postgresqlUser String- postgresqlPassword String- postgresqlDatabase String- postgresqlPublicPort Int?- graphQLAdminPassword String- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model Fider {- id String @id @default(cuid())- serviceId String @unique- postgresqlUser String- postgresqlPassword String- postgresqlDatabase String- postgresqlPublicPort Int?- jwtSecret String- emailNoreply String?- emailMailgunApiKey String?- emailMailgunDomain String?- emailMailgunRegion String @default("EU")- emailSmtpHost String?- emailSmtpPort Int?- emailSmtpUser String?- emailSmtpPassword String?- emailSmtpEnableStartTls Boolean @default(false)- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model Moodle {- id String @id @default(cuid())- serviceId String @unique- defaultUsername String- defaultPassword String- defaultEmail String- mariadbUser String- mariadbPassword String- mariadbRootUser String- mariadbRootUserPassword String- mariadbDatabase String- mariadbPublicPort Int?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model Appwrite {- id String @id @default(cuid())- serviceId String @unique- opensslKeyV1 String- executorSecret String- redisPassword String- mariadbHost String?- mariadbPort Int @default(3306)- mariadbUser String- mariadbPassword String- mariadbRootUser String- mariadbRootUserPassword String- mariadbDatabase String- mariadbPublicPort Int?- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model GlitchTip {- id String @id @default(cuid())- postgresqlUser String- postgresqlPassword String- postgresqlDatabase String- postgresqlPublicPort Int?- secretKeyBase String?- defaultEmail String- defaultUsername String- defaultPassword String- defaultEmailFrom String @default("[email protected]")- emailSmtpHost String? @default("domain.tdl")- emailSmtpPort Int? @default(25)- emailSmtpUser String?- emailSmtpPassword String?- emailSmtpUseTls Boolean @default(false)- emailSmtpUseSsl Boolean @default(false)- emailBackend String?- mailgunApiKey String?- sendgridApiKey String?- enableOpenUserRegistration Boolean @default(true)- serviceId String @unique- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model Searxng {- id String @id @default(cuid())- secretKey String- redisPassword String- serviceId String @unique- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model Weblate {- id String @id @default(cuid())- adminPassword String- postgresqlHost String- postgresqlPort Int- postgresqlUser String- postgresqlPassword String- postgresqlDatabase String- postgresqlPublicPort Int?- serviceId String @unique- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}--model Taiga {- id String @id @default(cuid())- secretKey String- erlangSecret String- djangoAdminPassword String- djangoAdminUser String- rabbitMQUser String- rabbitMQPassword String- postgresqlHost String- postgresqlPort Int- postgresqlUser String- postgresqlPassword String- postgresqlDatabase String- postgresqlPublicPort Int?- serviceId String @unique- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt- service Service @relation(fields: [serviceId], references: [id])-}diff --git a/apps/api/prisma/seed.js b/apps/api/prisma/seed.jsdeleted file mode 100644index 3d4b16a288..0000000000--- a/apps/api/prisma/seed.js+++ /dev/null@@ -1,113 +0,0 @@-const dotEnvExtended = require('dotenv-extended');-dotEnvExtended.load();-const crypto = require('crypto');-const { PrismaClient } = require('@prisma/client');-const prisma = new PrismaClient();-const algorithm = 'aes-256-ctr';--async function main() {- // Enable registration for the first user- const settingsFound = await prisma.setting.findFirst({});- if (!settingsFound) {- await prisma.setting.create({- data: {- id: '0',- arch: process.arch,- }- });- } else {- await prisma.setting.update({- where: {- id: settingsFound.id- },- data: {- id: '0'- }- });- }- // Create local docker engine- const localDocker = await prisma.destinationDocker.findFirst({- where: { engine: '/var/run/docker.sock' }- });- if (!localDocker) {- await prisma.destinationDocker.create({- data: {- engine: '/var/run/docker.sock',- name: 'Local Docker',- isCoolifyProxyUsed: true,- network: 'coolify'- }- });- }-- // Set auto-update based on env variable- const isAutoUpdateEnabled = process.env['COOLIFY_AUTO_UPDATE'] === 'true';- await prisma.setting.update({- where: {- id: '0'- },- data: {- isAutoUpdateEnabled- }- });- // Create public github source- const github = await prisma.gitSource.findFirst({- where: { htmlUrl: 'https://github.com', forPublic: true }- });- if (!github) {- await prisma.gitSource.create({- data: {- apiUrl: 'https://api.github.com',- htmlUrl: 'https://github.com',- forPublic: true,- name: 'Github Public',- type: 'github'- }- });- }- // Create public gitlab source- const gitlab = await prisma.gitSource.findFirst({- where: { htmlUrl: 'https://gitlab.com', forPublic: true }- });- if (!gitlab) {- await prisma.gitSource.create({- data: {- apiUrl: 'https://gitlab.com/api/v4',- htmlUrl: 'https://gitlab.com',- forPublic: true,- name: 'Gitlab Public',- type: 'gitlab'- }- });- }- // Set new preview secrets- const secrets = await prisma.secret.findMany({ where: { isPRMRSecret: false } })- if (secrets.length > 0) {- for (const secret of secrets) {- const previewSecrets = await prisma.secret.findMany({ where: { applicationId: secret.applicationId, name: secret.name, isPRMRSecret: true } })- if (previewSecrets.length === 0) {- await prisma.secret.create({ data: { ...secret, id: undefined, isPRMRSecret: true } })- }- }- }-}-main()- .catch((e) => {- console.error(e);- process.exit(1);- })- .finally(async () => {- await prisma.$disconnect();- });--const encrypt = (text) => {- if (text) {- const iv = crypto.randomBytes(16);- const cipher = crypto.createCipheriv(algorithm, process.env['COOLIFY_SECRET_KEY'], iv);- const encrypted = Buffer.concat([cipher.update(text), cipher.final()]);- return JSON.stringify({- iv: iv.toString('hex'),- content: encrypted.toString('hex')- });- }-};\ No newline at end of filediff --git a/apps/api/scripts/generateTags.mjs b/apps/api/scripts/generateTags.mjsdeleted file mode 100644index fc2c88540c..0000000000--- a/apps/api/scripts/generateTags.mjs+++ /dev/null@@ -1,67 +0,0 @@-import fs from 'fs/promises';-import yaml from 'js-yaml';-import got from 'got';--const repositories = [];-const templates = await fs.readFile('./apps/api/devTemplates.yaml', 'utf8');-const devTemplates = yaml.load(templates);-for (const template of devTemplates) {- let image = template.services['$$id'].image.replaceAll(':$$core_version', '');- if (!image.includes('/')) {- image = `library/${image}`;- }- repositories.push({ image, name: template.type });-}-const services = []-const numberOfTags = 30;-// const semverRegex = new RegExp(/^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/g)-for (const repository of repositories) {- console.log('Querying', repository.name, 'at', repository.image);- let semverRegex = new RegExp(/^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/g)- if (repository.name.startsWith('wordpress')) {- semverRegex = new RegExp(/^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)-php(0|[1-9]\d*)$/g)- }- if (repository.name.startsWith('minio')) {- semverRegex = new RegExp(/^RELEASE.*$/g)- }- if (repository.name.startsWith('fider')) {- semverRegex = new RegExp(/^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)-([0-9]+)$/g)- }- if (repository.name.startsWith('searxng')) {- semverRegex = new RegExp(/^\d{4}[\.\-](0?[1-9]|[12][0-9]|3[01])[\.\-](0?[1-9]|1[012]).*$/)- }- if (repository.name.startsWith('umami')) {- semverRegex = new RegExp(/^postgresql-v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)-([0-9]+)$/g)- }- if (repository.image.includes('ghcr.io')) {- const { execaCommand } = await import('execa');- const { stdout } = await execaCommand(`docker run --rm quay.io/skopeo/stable list-tags docker://${repository.image}`);- if (stdout) {- const json = JSON.parse(stdout);- const semverTags = json.Tags.filter((tag) => semverRegex.test(tag))- let tags = semverTags.length > 10 ? semverTags.sort().reverse().slice(0, numberOfTags) : json.Tags.sort().reverse().slice(0, numberOfTags)- if (!tags.includes('latest')) {- tags.push('latest')- }- services.push({ name: repository.name, image: repository.image, tags })- }- } else {- const { token } = await got.get(`https://auth.docker.io/token?service=registry.docker.io&scope=repository:${repository.image}:pull`).json()- let data = await got.get(`https://registry-1.docker.io/v2/${repository.image}/tags/list`, {- headers: {- Authorization: `Bearer ${token}`- }- }).json()- const semverTags = data.tags.filter((tag) => semverRegex.test(tag))- let tags = semverTags.length > 10 ? semverTags.sort().reverse().slice(0, numberOfTags) : data.tags.sort().reverse().slice(0, numberOfTags)- if (!tags.includes('latest')) {- tags.push('latest')- }- services.push({- name: repository.name,- image: repository.image,- tags- })- }-}-await fs.writeFile('./apps/api/devTags.json', JSON.stringify(services));\ No newline at end of filediff --git a/apps/api/src/index.ts b/apps/api/src/index.tsdeleted file mode 100644index d53d02fa64..0000000000--- a/apps/api/src/index.ts+++ /dev/null@@ -1,656 +0,0 @@-import Fastify from 'fastify';-import cors from '@fastify/cors';-import serve from '@fastify/static';-import env from '@fastify/env';-import cookie from '@fastify/cookie';-import multipart from '@fastify/multipart';-import path, { join } from 'path';-import autoLoad from '@fastify/autoload';-import socketIO from 'fastify-socket.io';-import socketIOServer from './realtime';--import {- cleanupDockerStorage,- createRemoteEngineConfiguration,- decrypt,- executeCommand,- generateDatabaseConfiguration,- isDev,- listSettings,- prisma,- sentryDSN,- startTraefikProxy,- startTraefikTCPProxy,- version-} from './lib/common';-import { scheduler } from './lib/scheduler';-import { compareVersions } from 'compare-versions';-import Graceful from '@ladjs/graceful';-import yaml from 'js-yaml';-import fs from 'fs/promises';-import { verifyRemoteDockerEngineFn } from './routes/api/v1/destinations/handlers';-import { checkContainer } from './lib/docker';-import { migrateApplicationPersistentStorage, migrateServicesToNewTemplate } from './lib';-import { refreshTags, refreshTemplates } from './routes/api/v1/handlers';-import * as Sentry from '@sentry/node';-declare module 'fastify' {- interface FastifyInstance {- config: {- COOLIFY_APP_ID: string;- COOLIFY_SECRET_KEY: string;- COOLIFY_DATABASE_URL: string;- COOLIFY_IS_ON: string;- COOLIFY_WHITE_LABELED: string;- COOLIFY_WHITE_LABELED_ICON: string | null;- COOLIFY_AUTO_UPDATE: string;- };- }-}--const port = isDev ? 3001 : 3000;-const host = '0.0.0.0';--(async () => {- const settings = await prisma.setting.findFirst();- const fastify = Fastify({- logger: settings?.isAPIDebuggingEnabled || false,- trustProxy: true- });-- const schema = {- type: 'object',- required: ['COOLIFY_SECRET_KEY', 'COOLIFY_DATABASE_URL', 'COOLIFY_IS_ON'],- properties: {- COOLIFY_APP_ID: {- type: 'string'- },- COOLIFY_SECRET_KEY: {- type: 'string'- },- COOLIFY_DATABASE_URL: {- type: 'string',- default: 'file:../db/dev.db'- },- COOLIFY_IS_ON: {- type: 'string',- default: 'docker'- },- COOLIFY_WHITE_LABELED: {- type: 'string',- default: 'false'- },- COOLIFY_WHITE_LABELED_ICON: {- type: 'string',- default: null- },- COOLIFY_AUTO_UPDATE: {- type: 'string',- default: 'false'- }- }- };- const options = {- schema,- dotenv: true- };- fastify.register(env, options);- if (!isDev) {- fastify.register(serve, {- root: path.join(__dirname, './public'),- preCompressed: true- });- fastify.setNotFoundHandler(async function (request, reply) {- if (request.raw.url && request.raw.url.startsWith('/api')) {- return reply.status(404).send({- success: false- });- }- return reply.status(200).sendFile('index.html');- });- }- fastify.register(multipart, { limits: { fileSize: 100000 } });- fastify.register(autoLoad, {- dir: join(__dirname, 'plugins')- });- fastify.register(autoLoad, {- dir: join(__dirname, 'routes')- });- fastify.register(cookie);- fastify.register(cors);- fastify.register(socketIO, {- cors: {- origin: isDev ? '*' : ''- }- });- // To detect allowed origins- // fastify.addHook('onRequest', async (request, reply) => {- // console.log(request.headers.host)- // let allowedList = ['coolify:3000'];- // const { ipv4, ipv6, fqdn } = await prisma.setting.findFirst({})-- // ipv4 && allowedList.push(`${ipv4}:3000`);- // ipv6 && allowedList.push(ipv6);- // fqdn && allowedList.push(getDomain(fqdn));- // isDev && allowedList.push('localhost:3000') && allowedList.push('localhost:3001') && allowedList.push('host.docker.internal:3001');- // const remotes = await prisma.destinationDocker.findMany({ where: { remoteEngine: true, remoteVerified: true } })- // if (remotes.length > 0) {- // remotes.forEach(remote => {- // allowedList.push(`${remote.remoteIpAddress}:3000`);- // })- // }- // if (!allowedList.includes(request.headers.host)) {- // // console.log('not allowed', request.headers.host)- // }- // })-- try {- await fastify.listen({ port, host });- await socketIOServer(fastify);- console.log(`Coolify's API is listening on ${host}:${port}`);-- migrateServicesToNewTemplate();- await migrateApplicationPersistentStorage();- await initServer();-- const graceful = new Graceful({ brees: [scheduler] });- graceful.listen();-- setInterval(async () => {- if (!scheduler.workers.has('deployApplication')) {- scheduler.run('deployApplication');- }- }, 2000);-- // autoUpdater- setInterval(async () => {- await autoUpdater();- }, 60000 * 15);-- // cleanupStorage- setInterval(async () => {- await cleanupStorage();- }, 60000 * 15);-- // Cleanup stucked containers (not defined in Coolify, but still running and managed by Coolify)- setInterval(async () => {- await cleanupStuckedContainers();- }, 60000);-- // checkProxies, checkFluentBit & refresh templates- setInterval(async () => {- await checkProxies();- await checkFluentBit();- }, 60000);-- // Refresh and check templates- setInterval(async () => {- await refreshTemplates();- }, 60000);-- setInterval(async () => {- await refreshTags();- }, 60000);-- setInterval(- async () => {- await migrateServicesToNewTemplate();- },- isDev ? 10000 : 60000- );-- setInterval(async () => {- await copySSLCertificates();- }, 10000);-- await Promise.all([- getTagsTemplates(),- getArch(),- getIPAddress(),- configureRemoteDockers()- // cleanupStuckedContainers()- ]);- } catch (error) {- console.error(error);- process.exit(1);- }-})();--async function getIPAddress() {- const { publicIpv4, publicIpv6 } = await import('public-ip');- try {- const settings = await listSettings();- if (!settings.ipv4) {- const ipv4 = await publicIpv4({ timeout: 2000 });- console.log(`Getting public IPv4 address...`);- await prisma.setting.update({ where: { id: settings.id }, data: { ipv4 } });- }-- if (!settings.ipv6) {- const ipv6 = await publicIpv6({ timeout: 2000 });- console.log(`Getting public IPv6 address...`);- await prisma.setting.update({ where: { id: settings.id }, data: { ipv6 } });- }- } catch (error) {}-}-async function getTagsTemplates() {- const { default: got } = await import('got');- try {- if (isDev) {- let templates = await fs.readFile('./devTemplates.yaml', 'utf8');- let tags = await fs.readFile('./devTags.json', 'utf8');- try {- if (await fs.stat('./testTemplate.yaml')) {- templates = templates + (await fs.readFile('./testTemplate.yaml', 'utf8'));- }- } catch (error) {}- try {- if (await fs.stat('./testTags.json')) {- const testTags = await fs.readFile('./testTags.json', 'utf8');- if (testTags.length > 0) {- tags = JSON.stringify(JSON.parse(tags).concat(JSON.parse(testTags)));- }- }- } catch (error) {}-- await fs.writeFile('./templates.json', JSON.stringify(yaml.load(templates)));- await fs.writeFile('./tags.json', tags);- console.log('[004] Tags and templates loaded in dev mode...');- } else {- const tags = await got.get('https://get.coollabs.io/coolify/service-tags.json').text();- const response = await got- .get('https://get.coollabs.io/coolify/service-templates.yaml')- .text();- await fs.writeFile('/app/templates.json', JSON.stringify(yaml.load(response)));- await fs.writeFile('/app/tags.json', tags);- console.log('[004] Tags and templates loaded...');- }- } catch (error) {- console.log("Couldn't get latest templates.");- console.log(error);- }-}-async function initServer() {- const appId = process.env['COOLIFY_APP_ID'];- const settings = await prisma.setting.findUnique({ where: { id: '0' } });- try {- if (settings.doNotTrack === true) {- console.log('[000] Telemetry disabled...');- } else {- if (settings.sentryDSN !== sentryDSN) {- await prisma.setting.update({ where: { id: '0' }, data: { sentryDSN } });- }- // Initialize Sentry- // Sentry.init({- // dsn: sentryDSN,- // environment: isDev ? 'development' : 'production',- // release: version- // });- // console.log('[000] Sentry initialized...')- }- } catch (error) {- console.error(error);- }- try {- console.log(`[001] Initializing server...`);- await executeCommand({ command: `docker network create --attachable coolify` });- } catch (error) {}- try {- console.log(`[002] Cleanup stucked builds...`);- const isOlder = compareVersions('3.8.1', version);- if (isOlder === 1) {- await prisma.build.updateMany({- where: { status: { in: ['running', 'queued'] } },- data: { status: 'failed' }- });- }- } catch (error) {}- try {- console.log('[003] Cleaning up old build sources under /tmp/build-sources/...');- await fs.rm('/tmp/build-sources', { recursive: true, force: true });- } catch (error) {- console.log(error);- }-}--async function getArch() {- try {- const settings = await prisma.setting.findFirst({});- if (settings && !settings.arch) {- console.log(`Getting architecture...`);- await prisma.setting.update({ where: { id: settings.id }, data: { arch: process.arch } });- }- } catch (error) {}-}--async function cleanupStuckedContainers() {- try {- const destinationDockers = await prisma.destinationDocker.findMany();- let enginesDone = new Set();- for (const destination of destinationDockers) {- if (enginesDone.has(destination.engine) || enginesDone.has(destination.remoteIpAddress))- return;- if (destination.engine) {- enginesDone.add(destination.engine);- }- if (destination.remoteIpAddress) {- if (!destination.remoteVerified) continue;- enginesDone.add(destination.remoteIpAddress);- }- const { stdout: containers } = await executeCommand({- dockerId: destination.id,- command: `docker container ps -a --filter "label=coolify.managed=true" --format '{{ .Names}}'`- });- if (containers) {- const containersArray = containers.trim().split('\n');- if (containersArray.length > 0) {- for (const container of containersArray) {- const containerId = container.split('-')[0];- const application = await prisma.application.findFirst({- where: { id: { startsWith: containerId } }- });- const service = await prisma.service.findFirst({- where: { id: { startsWith: containerId } }- });- const database = await prisma.database.findFirst({- where: { id: { startsWith: containerId } }- });- if (!application && !service && !database) {- await executeCommand({ command: `docker container rm -f ${container}` });- }- }- }- }- }- } catch (error) {- console.log(error);- }-}-async function configureRemoteDockers() {- try {- const remoteDocker = await prisma.destinationDocker.findMany({- where: { remoteVerified: true, remoteEngine: true }- });- if (remoteDocker.length > 0) {- console.log(`Verifying Remote Docker Engines...`);- for (const docker of remoteDocker) {- console.log('Verifying:', docker.remoteIpAddress);- await verifyRemoteDockerEngineFn(docker.id);- }- }- } catch (error) {- console.log(error);- }-}--async function autoUpdater() {- try {- const { default: got } = await import('got');- const currentVersion = version;- const { coolify } = await got- .get('https://get.coollabs.io/versions.json', {- searchParams: {- appId: process.env['COOLIFY_APP_ID'] || undefined,- version: currentVersion- }- })- .json();- const latestVersion = coolify.main.version;- const isUpdateAvailable = compareVersions(latestVersion, currentVersion);- if (isUpdateAvailable === 1) {- const activeCount = 0;- if (activeCount === 0) {- if (!isDev) {- const { isAutoUpdateEnabled } = await prisma.setting.findFirst();- if (isAutoUpdateEnabled) {- await executeCommand({ command: `docker pull ghcr.io/coollabsio/coolify:${latestVersion}` });- await executeCommand({ shell: true, command: `env | grep '^COOLIFY' > .env` });- await executeCommand({- command: `sed -i '/COOLIFY_AUTO_UPDATE=/cCOOLIFY_AUTO_UPDATE=${isAutoUpdateEnabled}' .env`- });- await executeCommand({- shell: true,- command: `docker run --rm -tid --env-file .env -v /var/run/docker.sock:/var/run/docker.sock -v coolify-db ghcr.io/coollabsio/coolify:${latestVersion} /bin/sh -c "env | grep COOLIFY > .env && echo 'TAG=${latestVersion}' >> .env && docker stop -t 0 coolify coolify-fluentbit && docker rm coolify coolify-fluentbit && docker compose pull && docker compose up -d --force-recreate"`- });- }- } else {- console.log('Updating (not really in dev mode).');- }- }- }- } catch (error) {- console.log(error);- }-}--async function checkFluentBit() {- try {- if (!isDev) {- const engine = '/var/run/docker.sock';- const { id } = await prisma.destinationDocker.findFirst({- where: { engine, network: 'coolify' }- });- const { found } = await checkContainer({- dockerId: id,- container: 'coolify-fluentbit',- remove: true- });- if (!found) {- await executeCommand({ shell: true, command: `env | grep '^COOLIFY' > .env` });- await executeCommand({ command: `docker compose up -d fluent-bit` });- }- }- } catch (error) {- console.log(error);- }-}-async function checkProxies() {- try {- const { default: isReachable } = await import('is-port-reachable');- let portReachable;-- const { arch, ipv4, ipv6 } = await listSettings();-- // Coolify Proxy local- const engine = '/var/run/docker.sock';- const localDocker = await prisma.destinationDocker.findFirst({- where: { engine, network: 'coolify', isCoolifyProxyUsed: true }- });- if (localDocker) {- portReachable = await isReachable(80, { host: ipv4 || ipv6 });- if (!portReachable) {- await startTraefikProxy(localDocker.id);- }- }- // Coolify Proxy remote- const remoteDocker = await prisma.destinationDocker.findMany({- where: { remoteEngine: true, remoteVerified: true }- });- if (remoteDocker.length > 0) {- for (const docker of remoteDocker) {- if (docker.isCoolifyProxyUsed) {- portReachable = await isReachable(80, { host: docker.remoteIpAddress });- if (!portReachable) {- await startTraefikProxy(docker.id);- }- }- try {- await createRemoteEngineConfiguration(docker.id);- } catch (error) {}- }- }- // TCP Proxies- const databasesWithPublicPort = await prisma.database.findMany({- where: { publicPort: { not: null } },- include: { settings: true, destinationDocker: true }- });- for (const database of databasesWithPublicPort) {- const { destinationDockerId, destinationDocker, publicPort, id } = database;- if (destinationDockerId && destinationDocker.isCoolifyProxyUsed) {- const { privatePort } = generateDatabaseConfiguration(database, arch);- await startTraefikTCPProxy(destinationDocker, id, publicPort, privatePort);- }- }- const wordpressWithFtp = await prisma.wordpress.findMany({- where: { ftpPublicPort: { not: null } },- include: { service: { include: { destinationDocker: true } } }- });- for (const ftp of wordpressWithFtp) {- const { service, ftpPublicPort } = ftp;- const { destinationDockerId, destinationDocker, id } = service;- if (destinationDockerId && destinationDocker.isCoolifyProxyUsed) {- await startTraefikTCPProxy(destinationDocker, id, ftpPublicPort, 22, 'wordpressftp');- }- }-- // HTTP Proxies- // const minioInstances = await prisma.minio.findMany({- // where: { publicPort: { not: null } },- // include: { service: { include: { destinationDocker: true } } }- // });- // for (const minio of minioInstances) {- // const { service, publicPort } = minio;- // const { destinationDockerId, destinationDocker, id } = service;- // if (destinationDockerId && destinationDocker.isCoolifyProxyUsed) {- // await startTraefikTCPProxy(destinationDocker, id, publicPort, 9000);- // }- // }- } catch (error) {}-}--async function copySSLCertificates() {- try {- const pAll = await import('p-all');- const actions = [];- const certificates = await prisma.certificate.findMany({ include: { team: true } });- const teamIds = certificates.map((c) => c.teamId);- const destinations = await prisma.destinationDocker.findMany({- where: { isCoolifyProxyUsed: true, teams: { some: { id: { in: [...teamIds] } } } }- });- for (const certificate of certificates) {- const { id, key, cert } = certificate;- const decryptedKey = decrypt(key);- await fs.writeFile(`/tmp/${id}-key.pem`, decryptedKey);- await fs.writeFile(`/tmp/${id}-cert.pem`, cert);- for (const destination of destinations) {- if (destination.remoteEngine) {- if (destination.remoteVerified) {- const { id: dockerId, remoteIpAddress } = destination;- actions.push(async () => copyRemoteCertificates(id, dockerId, remoteIpAddress));- }- } else {- actions.push(async () => copyLocalCertificates(id));- }- }- }- await pAll.default(actions, { concurrency: 1 });- } catch (error) {- console.log(error);- } finally {- await executeCommand({ command: `find /tmp/ -maxdepth 1 -type f -name '*-*.pem' -delete` });- }-}--async function copyRemoteCertificates(id: string, dockerId: string, remoteIpAddress: string) {- try {- await executeCommand({- command: `scp /tmp/${id}-cert.pem /tmp/${id}-key.pem ${remoteIpAddress}:/tmp/`- });- await executeCommand({- sshCommand: true,- shell: true,- dockerId,- command: `docker exec coolify-proxy sh -c 'test -d /etc/traefik/acme/custom/ || mkdir -p /etc/traefik/acme/custom/'`- });- await executeCommand({- sshCommand: true,- dockerId,- command: `docker cp /tmp/${id}-key.pem coolify-proxy:/etc/traefik/acme/custom/`- });- await executeCommand({- sshCommand: true,- dockerId,- command: `docker cp /tmp/${id}-cert.pem coolify-proxy:/etc/traefik/acme/custom/`- });- } catch (error) {- console.log({ error });- }-}-async function copyLocalCertificates(id: string) {- try {- await executeCommand({- command: `docker exec coolify-proxy sh -c 'test -d /etc/traefik/acme/custom/ || mkdir -p /etc/traefik/acme/custom/'`,- shell: true- });- await executeCommand({- command: `docker cp /tmp/${id}-key.pem coolify-proxy:/etc/traefik/acme/custom/`- });- await executeCommand({- command: `docker cp /tmp/${id}-cert.pem coolify-proxy:/etc/traefik/acme/custom/`- });- } catch (error) {- console.log({ error });- }-}--async function cleanupStorage() {- const destinationDockers = await prisma.destinationDocker.findMany();- let enginesDone = new Set();- for (const destination of destinationDockers) {- if (enginesDone.has(destination.engine) || enginesDone.has(destination.remoteIpAddress)) return;- if (destination.engine) {- enginesDone.add(destination.engine);- }- if (destination.remoteIpAddress) {- if (!destination.remoteVerified) continue;- enginesDone.add(destination.remoteIpAddress);- }- let lowDiskSpace = false;- try {- let stdout = null;- if (!isDev) {- const output = await executeCommand({- dockerId: destination.id,- command: `CONTAINER=$(docker ps -lq | head -1) && docker exec $CONTAINER sh -c 'df -kPT /'`,- shell: true- });- stdout = output.stdout;- } else {- const output = await executeCommand({- command: `df -kPT /`- });- stdout = output.stdout;- }- let lines = stdout.trim().split('\n');- let header = lines[0];- let regex =- /^Filesystem\s+|Type\s+|1024-blocks|\s+Used|\s+Available|\s+Capacity|\s+Mounted on\s*$/g;- const boundaries = [];- let match;-- while ((match = regex.exec(header))) {- boundaries.push(match[0].length);- }-- boundaries[boundaries.length - 1] = -1;- const data = lines.slice(1).map((line) => {- const cl = boundaries.map((boundary) => {- const column = boundary > 0 ? line.slice(0, boundary) : line;- line = line.slice(boundary);- return column.trim();- });- return {- capacity: Number.parseInt(cl[5], 10) / 100- };- });- if (data.length > 0) {- const { capacity } = data[0];- if (capacity > 0.8) {- lowDiskSpace = true;- }- }- } catch (error) {}- if (lowDiskSpace) {- await cleanupDockerStorage(destination.id);- }- }-}diff --git a/apps/api/src/jobs/deployApplication.ts b/apps/api/src/jobs/deployApplication.tsdeleted file mode 100644index 5c35307b9d..0000000000--- a/apps/api/src/jobs/deployApplication.ts+++ /dev/null@@ -1,821 +0,0 @@-import { parentPort } from 'node:worker_threads';-import crypto from 'crypto';-import fs from 'fs/promises';-import yaml from 'js-yaml';--import {- copyBaseConfigurationFiles,- makeLabelForSimpleDockerfile,- makeLabelForStandaloneApplication,- saveBuildLog,- saveDockerRegistryCredentials,- setDefaultConfiguration-} from '../lib/buildPacks/common';-import {- createDirectories,- decrypt,- defaultComposeConfiguration,- getDomain,- prisma,- decryptApplication,- isDev,- pushToRegistry,- executeCommand,- generateSecrets-} from '../lib/common';-import * as importers from '../lib/importers';-import * as buildpacks from '../lib/buildPacks';--(async () => {- if (parentPort) {- parentPort.on('message', async (message) => {- if (message === 'error') throw new Error('oops');- if (message === 'cancel') {- parentPort.postMessage('cancelled');- await prisma.$disconnect();- process.exit(0);- }- });- const pThrottle = await import('p-throttle');- const throttle = pThrottle.default({- limit: 1,- interval: 2000- });-- const th = throttle(async () => {- try {- const queuedBuilds = await prisma.build.findMany({- where: { status: { in: ['queued', 'running'] } },- orderBy: { createdAt: 'asc' }- });- const { concurrentBuilds } = await prisma.setting.findFirst({});- if (queuedBuilds.length > 0) {- parentPort.postMessage({ deploying: true });- const concurrency = concurrentBuilds;- const pAll = await import('p-all');- const actions = [];-- for (const queueBuild of queuedBuilds) {- actions.push(async () => {- let application = await prisma.application.findUnique({- where: { id: queueBuild.applicationId },- include: {- dockerRegistry: true,- destinationDocker: true,- gitSource: { include: { githubApp: true, gitlabApp: true } },- persistentStorage: true,- secrets: true,- settings: true,- teams: true- }- });-- let {- id: buildId,- type,- gitSourceId,- sourceBranch = null,- pullmergeRequestId = null,- previewApplicationId = null,- forceRebuild,- sourceRepository = null- } = queueBuild;- application = decryptApplication(application);-- if (!gitSourceId && application.simpleDockerfile) {- const {- id: applicationId,- destinationDocker,- destinationDockerId,- secrets,- port,- persistentStorage,- exposePort,- simpleDockerfile,- dockerRegistry- } = application;- const { workdir } = await createDirectories({ repository: applicationId, buildId });- try {- if (queueBuild.status === 'running') {- await saveBuildLog({- line: 'Building halted, restarting...',- buildId,- applicationId: application.id- });- }- const volumes =- persistentStorage?.map((storage) => {- if (storage.oldPath) {- return `${applicationId}${storage.path- .replace(/\//gi, '-')- .replace('-app', '')}:${storage.path}`;- }- if (storage.hostPath) {- return `${storage.hostPath}:${storage.path}`- }- return `${applicationId}${storage.path.replace(/\//gi, '-')}:${storage.path}`;- }) || [];-- if (destinationDockerId) {- await prisma.build.update({- where: { id: buildId },- data: { status: 'running' }- });- try {- const { stdout: containers } = await executeCommand({- dockerId: destinationDockerId,- command: `docker ps -a --filter 'label=com.docker.compose.service=${applicationId}' --format {{.ID}}`- });- if (containers) {- const containerArray = containers.split('\n');- if (containerArray.length > 0) {- for (const container of containerArray) {- await executeCommand({- dockerId: destinationDockerId,- command: `docker stop -t 0 ${container}`- });- await executeCommand({- dockerId: destinationDockerId,- command: `docker rm --force ${container}`- });- }- }- }- } catch (error) {- //- }- let envs = [];- if (secrets.length > 0) {- envs = [- ...envs,- ...generateSecrets(secrets, pullmergeRequestId, false, port)- ];- }- await fs.writeFile(`${workdir}/Dockerfile`, simpleDockerfile);- if (dockerRegistry) {- const { url, username, password } = dockerRegistry;- await saveDockerRegistryCredentials({ url, username, password, workdir });- }-- const labels = makeLabelForSimpleDockerfile({- applicationId,- type,- port: exposePort ? `${exposePort}:${port}` : port- });- try {- const composeVolumes = volumes.filter(v => {- if (!v.startsWith('.') && !v.startsWith('..') && !v.startsWith('/') && !v.startsWith('~')) {- return v;- }- }).map((volume) => {- return {- [`${volume.split(':')[0]}`]: {- name: volume.split(':')[0]- }- };- });- const composeFile = {- version: '3.8',- services: {- [applicationId]: {- build: {- context: workdir- },- image: `${applicationId}:${buildId}`,- container_name: applicationId,- volumes,- labels,- environment: envs,- depends_on: [],- expose: [port],- ...(exposePort ? { ports: [`${exposePort}:${port}`] } : {}),- ...defaultComposeConfiguration(destinationDocker.network)- }- },- networks: {- [destinationDocker.network]: {- external: true- }- },- volumes: Object.assign({}, ...composeVolumes)- };- await fs.writeFile(`${workdir}/docker-compose.yml`, yaml.dump(composeFile));- await executeCommand({- debug: true,- dockerId: destinationDocker.id,- command: `docker compose --project-directory ${workdir} -f ${workdir}/docker-compose.yml up -d`- });- await saveBuildLog({ line: 'Deployed ๐', buildId, applicationId });- } catch (error) {- await saveBuildLog({ line: error, buildId, applicationId });- const foundBuild = await prisma.build.findUnique({ where: { id: buildId } });- if (foundBuild) {- await prisma.build.update({- where: { id: buildId },- data: {- status: 'failed'- }- });- }- throw new Error(error);- }- }- } catch (error) {- const foundBuild = await prisma.build.findUnique({ where: { id: buildId } });- if (foundBuild) {- await prisma.build.update({- where: { id: buildId },- data: {- status: 'failed'- }- });- }- if (error !== 1) {- await saveBuildLog({ line: error, buildId, applicationId: application.id });- }- if (error instanceof Error) {- await saveBuildLog({- line: error.message,- buildId,- applicationId: application.id- });- }- await fs.rm(workdir, { recursive: true, force: true });- return;- }- try {- if (application.dockerRegistryImageName) {- const customTag = application.dockerRegistryImageName.split(':')[1] || buildId;- const imageName = application.dockerRegistryImageName.split(':')[0];- await saveBuildLog({- line: `Pushing ${imageName}:${customTag} to Docker Registry... It could take a while...`,- buildId,- applicationId: application.id- });- await pushToRegistry(application, workdir, buildId, imageName, customTag);- await saveBuildLog({ line: 'Success', buildId, applicationId: application.id });- }- } catch (error) {- if (error.stdout) {- await saveBuildLog({ line: error.stdout, buildId, applicationId });- }- if (error.stderr) {- await saveBuildLog({ line: error.stderr, buildId, applicationId });- }- } finally {- await fs.rm(workdir, { recursive: true, force: true });- await prisma.build.update({- where: { id: buildId },- data: { status: 'success' }- });- }- return;- }-- const originalApplicationId = application.id;- const {- id: applicationId,- name,- destinationDocker,- destinationDockerId,- gitSource,- configHash,- fqdn,- projectId,- secrets,- phpModules,- settings,- persistentStorage,- pythonWSGI,- pythonModule,- pythonVariable,- denoOptions,- exposePort,- baseImage,- baseBuildImage,- deploymentType,- gitCommitHash,- dockerRegistry- } = application;-- let {- branch,- repository,- buildPack,- port,- installCommand,- buildCommand,- startCommand,- baseDirectory,- publishDirectory,- dockerFileLocation,- dockerComposeFileLocation,- dockerComposeConfiguration,- denoMainFile- } = application;-- let imageId = applicationId;- let domain = getDomain(fqdn);-- let location = null;-- let tag = null;- let customTag = null;- let imageName = null;-- let imageFoundLocally = false;- let imageFoundRemotely = false;-- if (pullmergeRequestId) {- const previewApplications = await prisma.previewApplication.findMany({- where: { applicationId: originalApplicationId, pullmergeRequestId }- });- if (previewApplications.length > 0) {- previewApplicationId = previewApplications[0].id;- }- // Previews, we need to get the source branch and set subdomain- branch = sourceBranch;- domain = `${pullmergeRequestId}.${domain}`;- imageId = `${applicationId}-${pullmergeRequestId}`;- repository = sourceRepository || repository;- }- const { workdir, repodir } = await createDirectories({ repository, buildId });- try {- if (queueBuild.status === 'running') {- await saveBuildLog({- line: 'Building halted, restarting...',- buildId,- applicationId: application.id- });- }-- const currentHash = crypto- .createHash('sha256')- .update(- JSON.stringify({- pythonWSGI,- pythonModule,- pythonVariable,- deploymentType,- denoOptions,- baseImage,- baseBuildImage,- buildPack,- port,- exposePort,- installCommand,- buildCommand,- startCommand,- secrets,- branch,- repository,- fqdn- })- )- .digest('hex');- const { debug } = settings;- if (!debug) {- await saveBuildLog({- line: `Debug logging is disabled. Enable it above if necessary!`,- buildId,- applicationId- });- }- const volumes =- persistentStorage?.map((storage) => {- if (storage.oldPath) {- return `${applicationId}${storage.path- .replace(/\//gi, '-')- .replace('-app', '')}:${storage.path}`;- }- if (storage.hostPath) {- return `${storage.hostPath}:${storage.path}`- }- return `${applicationId}${storage.path.replace(/\//gi, '-')}:${storage.path}`;- }) || [];-- try {- dockerComposeConfiguration = JSON.parse(dockerComposeConfiguration);- } catch (error) { }- let deployNeeded = true;- let destinationType;-- if (destinationDockerId) {- destinationType = 'docker';- }- if (destinationType === 'docker') {- await prisma.build.update({- where: { id: buildId },- data: { status: 'running' }- });-- const configuration = await setDefaultConfiguration(application);-- buildPack = configuration.buildPack;- port = configuration.port;- installCommand = configuration.installCommand;- startCommand = configuration.startCommand;- buildCommand = configuration.buildCommand;- publishDirectory = configuration.publishDirectory || '';- baseDirectory = configuration.baseDirectory || '';- dockerFileLocation = configuration.dockerFileLocation;- dockerComposeFileLocation = configuration.dockerComposeFileLocation;- denoMainFile = configuration.denoMainFile;- const commit = await importers[gitSource.type]({- applicationId,- debug,- workdir,- repodir,- githubAppId: gitSource.githubApp?.id,- gitlabAppId: gitSource.gitlabApp?.id,- customPort: gitSource.customPort,- customUser: gitSource.customUser,- gitCommitHash,- configuration,- repository,- branch,- buildId,- apiUrl: gitSource.apiUrl,- htmlUrl: gitSource.htmlUrl,- projectId,- deployKeyId: gitSource.gitlabApp?.deployKeyId || null,- privateSshKey: decrypt(gitSource.gitlabApp?.privateSshKey) || null,- forPublic: gitSource.forPublic- });- if (!commit) {- throw new Error('No commit found?');- }- tag = commit.slice(0, 7);- if (pullmergeRequestId) {- tag = `${commit.slice(0, 7)}-${pullmergeRequestId}`;- }- if (application.dockerRegistryImageName) {- imageName = application.dockerRegistryImageName.split(':')[0];- customTag = application.dockerRegistryImageName.split(':')[1] || tag;- } else {- customTag = tag;- imageName = applicationId;- }-- if (pullmergeRequestId) {- customTag = `${customTag}-${pullmergeRequestId}`;- }-- try {- await prisma.build.update({ where: { id: buildId }, data: { commit } });- } catch (err) { }-- if (!pullmergeRequestId) {- if (configHash !== currentHash) {- deployNeeded = true;- if (configHash) {- await saveBuildLog({- line: 'Configuration changed',- buildId,- applicationId- });- }- } else {- deployNeeded = false;- }- } else {- deployNeeded = true;- }-- try {- await executeCommand({- dockerId: destinationDocker.id,- command: `docker image inspect ${applicationId}:${tag}`- });- imageFoundLocally = true;- } catch (error) {- //- }- if (dockerRegistry) {- const { url, username, password } = dockerRegistry;- location = await saveDockerRegistryCredentials({- url,- username,- password,- workdir- });- }-- try {- await executeCommand({- dockerId: destinationDocker.id,- command: `docker ${location ? `--config ${location}` : ''- } pull ${imageName}:${customTag}`- });- imageFoundRemotely = true;- } catch (error) {- //- }- let imageFound = `${applicationId}:${tag}`;- if (imageFoundRemotely) {- imageFound = `${imageName}:${customTag}`;- }- await copyBaseConfigurationFiles(- buildPack,- workdir,- buildId,- applicationId,- baseImage- );- const labels = makeLabelForStandaloneApplication({- applicationId,- fqdn,- name,- type,- pullmergeRequestId,- buildPack,- repository,- branch,- projectId,- port: exposePort ? `${exposePort}:${port}` : port,- commit,- installCommand,- buildCommand,- startCommand,- baseDirectory,- publishDirectory- });- if (forceRebuild) deployNeeded = true;- if ((!imageFoundLocally && !imageFoundRemotely) || deployNeeded) {- if (buildpacks[buildPack])- await buildpacks[buildPack]({- dockerId: destinationDocker.id,- network: destinationDocker.network,- buildId,- applicationId,- domain,- name,- type,- volumes,- labels,- pullmergeRequestId,- buildPack,- repository,- branch,- projectId,- publishDirectory,- debug,- commit,- tag,- workdir,- port: exposePort ? `${exposePort}:${port}` : port,- installCommand,- buildCommand,- startCommand,- baseDirectory,- secrets,- phpModules,- pythonWSGI,- pythonModule,- pythonVariable,- dockerFileLocation,- dockerComposeConfiguration,- dockerComposeFileLocation,- denoMainFile,- denoOptions,- baseImage,- baseBuildImage,- deploymentType,- forceRebuild- });- else {- await saveBuildLog({- line: `Build pack ${buildPack} not found`,- buildId,- applicationId- });- throw new Error(`Build pack ${buildPack} not found.`);- }- } else {- if (imageFoundRemotely || deployNeeded) {- await saveBuildLog({- line: `Container image ${imageFound} found in Docker Registry - reuising it`,- buildId,- applicationId- });- } else {- if (imageFoundLocally || deployNeeded) {- await saveBuildLog({- line: `Container image ${imageFound} found locally - reuising it`,- buildId,- applicationId- });- }- }- }-- if (buildPack === 'compose') {- const fileYaml = `${workdir}${baseDirectory}${dockerComposeFileLocation}`;- try {- const { stdout: containers } = await executeCommand({- dockerId: destinationDockerId,- command: `docker ps -a --filter 'label=coolify.applicationId=${applicationId}' --format {{.ID}}`- });- if (containers) {- const containerArray = containers.split('\n');- if (containerArray.length > 0) {- for (const container of containerArray) {- await executeCommand({- dockerId: destinationDockerId,- command: `docker stop -t 0 ${container}`- });- await executeCommand({- dockerId: destinationDockerId,- command: `docker rm --force ${container}`- });- }- }- }- } catch (error) {- //- }- try {- await executeCommand({- debug,- buildId,- applicationId,- dockerId: destinationDocker.id,- command: `docker compose --project-directory ${workdir} -f ${fileYaml} up -d`- });- await saveBuildLog({ line: 'Deployed ๐', buildId, applicationId });- await prisma.build.update({- where: { id: buildId },- data: { status: 'success' }- });- await prisma.application.update({- where: { id: applicationId },- data: { configHash: currentHash }- });- } catch (error) {- await saveBuildLog({ line: error, buildId, applicationId });- const foundBuild = await prisma.build.findUnique({ where: { id: buildId } });- if (foundBuild) {- await prisma.build.update({- where: { id: buildId },- data: {- status: 'failed'- }- });- }- throw new Error(error);- }- } else {- try {- const { stdout: containers } = await executeCommand({- dockerId: destinationDockerId,- command: `docker ps -a --filter 'label=com.docker.compose.service=${pullmergeRequestId ? imageId : applicationId- }' --format {{.ID}}`- });- if (containers) {- const containerArray = containers.split('\n');- if (containerArray.length > 0) {- for (const container of containerArray) {- await executeCommand({- dockerId: destinationDockerId,- command: `docker stop -t 0 ${container}`- });- await executeCommand({- dockerId: destinationDockerId,- command: `docker rm --force ${container}`- });- }- }- }- } catch (error) {- //- }- let envs = [];- if (secrets.length > 0) {- envs = [- ...envs,- ...generateSecrets(secrets, pullmergeRequestId, false, port)- ];- }- if (dockerRegistry) {- const { url, username, password } = dockerRegistry;- await saveDockerRegistryCredentials({ url, username, password, workdir });- }- try {- const composeVolumes = volumes.filter(v => {- if (!v.startsWith('.') && !v.startsWith('..') && !v.startsWith('/') && !v.startsWith('~')) {- return v;- }- }).map((volume) => {- return {- [`${volume.split(':')[0]}`]: {- name: volume.split(':')[0]- }- };- });- const composeFile = {- version: '3.8',- services: {- [imageId]: {- image: imageFound,- container_name: imageId,- volumes,- environment: envs,- labels,- depends_on: [],- expose: [port],- ...(exposePort ? { ports: [`${exposePort}:${port}`] } : {}),- ...defaultComposeConfiguration(destinationDocker.network)- }- },- networks: {- [destinationDocker.network]: {- external: true- }- },- volumes: Object.assign({}, ...composeVolumes)- };- await fs.writeFile(`${workdir}/docker-compose.yml`, yaml.dump(composeFile));- await executeCommand({- debug,- dockerId: destinationDocker.id,- command: `docker compose --project-directory ${workdir} -f ${workdir}/docker-compose.yml up -d`- });- await saveBuildLog({ line: 'Deployed ๐', buildId, applicationId });- } catch (error) {- await saveBuildLog({ line: error, buildId, applicationId });- const foundBuild = await prisma.build.findUnique({ where: { id: buildId } });- if (foundBuild) {- await prisma.build.update({- where: { id: buildId },- data: {- status: 'failed'- }- });- }- throw new Error(error);- }-- if (!pullmergeRequestId)- await prisma.application.update({- where: { id: applicationId },- data: { configHash: currentHash }- });- }- }- } catch (error) {- const foundBuild = await prisma.build.findUnique({ where: { id: buildId } });- if (foundBuild) {- await prisma.build.update({- where: { id: buildId },- data: {- status: 'failed'- }- });- }- if (error !== 1) {- await saveBuildLog({ line: error, buildId, applicationId: application.id });- }- if (error instanceof Error) {- await saveBuildLog({- line: error.message,- buildId,- applicationId: application.id- });- }- await fs.rm(workdir, { recursive: true, force: true });- return;- }- try {- if (application.dockerRegistryImageName && (!imageFoundRemotely || forceRebuild)) {- await saveBuildLog({- line: `Pushing ${imageName}:${customTag} to Docker Registry... It could take a while...`,- buildId,- applicationId: application.id- });- await pushToRegistry(application, workdir, tag, imageName, customTag);- await saveBuildLog({ line: 'Success', buildId, applicationId: application.id });- }- } catch (error) {- if (error.stdout) {- await saveBuildLog({ line: error.stdout, buildId, applicationId });- }- if (error.stderr) {- await saveBuildLog({ line: error.stderr, buildId, applicationId });- }- } finally {- await fs.rm(workdir, { recursive: true, force: true });- await prisma.build.update({ where: { id: buildId }, data: { status: 'success' } });- }- });- }- await pAll.default(actions, { concurrency });- }- } catch (error) {- console.log(error);- }- });- while (true) {- await th();- }- } else process.exit(0);-})();diff --git a/apps/api/src/lib.ts b/apps/api/src/lib.tsdeleted file mode 100644index c4e02cb218..0000000000--- a/apps/api/src/lib.ts+++ /dev/null@@ -1,530 +0,0 @@-import cuid from "cuid";-import { decrypt, encrypt, fixType, generatePassword, generateToken, prisma } from "./lib/common";-import { getTemplates } from "./lib/services";--export async function migrateApplicationPersistentStorage() {- const settings = await prisma.setting.findFirst()- if (settings) {- const { id: settingsId, applicationStoragePathMigrationFinished } = settings- try {- if (!applicationStoragePathMigrationFinished) {- const applications = await prisma.application.findMany({ include: { persistentStorage: true } });- for (const application of applications) {- if (application.persistentStorage && application.persistentStorage.length > 0 && application?.buildPack !== 'docker') {- for (const storage of application.persistentStorage) {- let { id, path } = storage- if (!path.startsWith('/app')) {- path = `/app${path}`- await prisma.applicationPersistentStorage.update({ where: { id }, data: { path, oldPath: true } })- }- }- }- }- }- } catch (error) {- console.log(error)- } finally {- await prisma.setting.update({ where: { id: settingsId }, data: { applicationStoragePathMigrationFinished: true } })- }- }-}-export async function migrateServicesToNewTemplate() {- // This function migrates old hardcoded services to the new template based services- try {- let templates = await getTemplates()- const services: any = await prisma.service.findMany({- include: {- destinationDocker: true,- persistentStorage: true,- serviceSecret: true,- serviceSetting: true,- minio: true,- plausibleAnalytics: true,- vscodeserver: true,- wordpress: true,- ghost: true,- meiliSearch: true,- umami: true,- hasura: true,- fider: true,- moodle: true,- appwrite: true,- glitchTip: true,- searxng: true,- weblate: true,- taiga: true,- }- })- for (const service of services) {- try {- const { id } = service- if (!service.type) {- continue;- }- let template = templates.find(t => fixType(t.type) === fixType(service.type));- if (template) {- template = JSON.parse(JSON.stringify(template).replaceAll('$$id', service.id))- if (service.type === 'plausibleanalytics' && service.plausibleAnalytics) await plausibleAnalytics(service, template)- if (service.type === 'fider' && service.fider) await fider(service, template)- if (service.type === 'minio' && service.minio) await minio(service, template)- if (service.type === 'vscodeserver' && service.vscodeserver) await vscodeserver(service, template)- if (service.type === 'wordpress' && service.wordpress) await wordpress(service, template)- if (service.type === 'ghost' && service.ghost) await ghost(service, template)- if (service.type === 'meilisearch' && service.meiliSearch) await meilisearch(service, template)- if (service.type === 'umami' && service.umami) await umami(service, template)- if (service.type === 'hasura' && service.hasura) await hasura(service, template)- if (service.type === 'glitchTip' && service.glitchTip) await glitchtip(service, template)- if (service.type === 'searxng' && service.searxng) await searxng(service, template)- if (service.type === 'weblate' && service.weblate) await weblate(service, template)- if (service.type === 'appwrite' && service.appwrite) await appwrite(service, template)-- try {- await createVolumes(service, template);- } catch (error) {- console.log(error)- }- if (template.variables) {- if (template.variables.length > 0) {- for (const variable of template.variables) {- const { defaultValue } = variable;- const regex = /^\$\$.*\((\d+)\)$/g;- const length = Number(regex.exec(defaultValue)?.[1]) || undefined- if (variable.defaultValue.startsWith('$$generate_password')) {- variable.value = generatePassword({ length });- } else if (variable.defaultValue.startsWith('$$generate_hex')) {- variable.value = generatePassword({ length, isHex: true });- } else if (variable.defaultValue.startsWith('$$generate_username')) {- variable.value = cuid();- } else if (variable.defaultValue.startsWith('$$generate_token')) {- variable.value = generateToken()- } else {- variable.value = variable.defaultValue || '';- }- }- }- for (const variable of template.variables) {- if (variable.id.startsWith('$$secret_')) {- const found = await prisma.serviceSecret.findFirst({ where: { name: variable.name, serviceId: id } })- if (!found) {- await prisma.serviceSecret.create({- data: { name: variable.name, value: encrypt(variable.value) || '', service: { connect: { id } } }- })- }-- }- if (variable.id.startsWith('$$config_')) {- const found = await prisma.serviceSetting.findFirst({ where: { name: variable.name, serviceId: id } })- if (!found) {- await prisma.serviceSetting.create({- data: { name: variable.name, value: variable.value.toString(), variableName: variable.id, service: { connect: { id } } }- })- }- }- }- }- for (const s of Object.keys(template.services)) {- if (service.type === 'plausibleanalytics') {- continue;- }- if (template.services[s].volumes) {- for (const volume of template.services[s].volumes) {- const [volumeName, path] = volume.split(':')- if (!volumeName.startsWith('/')) {- const found = await prisma.servicePersistentStorage.findFirst({ where: { volumeName, serviceId: id } })- if (!found) {- await prisma.servicePersistentStorage.create({- data: { volumeName, path, containerId: s, predefined: true, service: { connect: { id } } }- });- }- }- }- }- }- await prisma.service.update({ where: { id }, data: { templateVersion: template.templateVersion } })- }- } catch (error) {- console.log(error)- }- }- } catch (error) {- console.log(error)-- }-}-async function appwrite(service: any, template: any) {- const { opensslKeyV1, executorSecret, mariadbHost, mariadbPort, mariadbUser, mariadbPassword, mariadbRootUserPassword, mariadbDatabase } = service.appwrite-- const secrets = [- `_APP_EXECUTOR_SECRET@@@${executorSecret}`,- `_APP_OPENSSL_KEY_V1@@@${opensslKeyV1}`,- `_APP_DB_PASS@@@${mariadbPassword}`,- `_APP_DB_ROOT_PASS@@@${mariadbRootUserPassword}`,- ]-- const settings = [- `_APP_DB_HOST@@@${mariadbHost}`,- `_APP_DB_PORT@@@${mariadbPort}`,- `_APP_DB_USER@@@${mariadbUser}`,- `_APP_DB_SCHEMA@@@${mariadbDatabase}`,- ]- await migrateSecrets(secrets, service);- await migrateSettings(settings, service, template);-- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { appwrite: { disconnect: true } } })-}-async function weblate(service: any, template: any) {- const { adminPassword, postgresqlUser, postgresqlPassword, postgresqlDatabase } = service.weblate-- const secrets = [- `WEBLATE_ADMIN_PASSWORD@@@${adminPassword}`,- `POSTGRES_PASSWORD@@@${postgresqlPassword}`,- ]-- const settings = [- `WEBLATE_SITE_DOMAIN@@@$$generate_domain`,- `POSTGRES_USER@@@${postgresqlUser}`,- `POSTGRES_DATABASE@@@${postgresqlDatabase}`,- `POSTGRES_DB@@@${postgresqlDatabase}`,- `POSTGRES_HOST@@@$$id-postgres`,- `POSTGRES_PORT@@@5432`,- `REDIS_HOST@@@$$id-redis`,- ]- await migrateSettings(settings, service, template);- await migrateSecrets(secrets, service);-- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { weblate: { disconnect: true } } })-}-async function searxng(service: any, template: any) {- const { secretKey, redisPassword } = service.searxng-- const secrets = [- `SECRET_KEY@@@${secretKey}`,- `REDIS_PASSWORD@@@${redisPassword}`,- ]-- const settings = [- `SEARXNG_BASE_URL@@@$$generate_fqdn`- ]- await migrateSettings(settings, service, template);- await migrateSecrets(secrets, service);-- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { searxng: { disconnect: true } } })-}-async function glitchtip(service: any, template: any) {- const { postgresqlUser, postgresqlPassword, postgresqlDatabase, secretKeyBase, defaultEmail, defaultUsername, defaultPassword, defaultEmailFrom, emailSmtpHost, emailSmtpPort, emailSmtpUser, emailSmtpPassword, emailSmtpUseTls, emailSmtpUseSsl, emailBackend, mailgunApiKey, sendgridApiKey, enableOpenUserRegistration } = service.glitchTip- const { id } = service-- const secrets = [- `POSTGRES_PASSWORD@@@${postgresqlPassword}`,- `SECRET_KEY@@@${secretKeyBase}`,- `MAILGUN_API_KEY@@@${mailgunApiKey}`,- `SENDGRID_API_KEY@@@${sendgridApiKey}`,- `DJANGO_SUPERUSER_PASSWORD@@@${defaultPassword}`,- emailSmtpUser && emailSmtpPassword && emailSmtpHost && emailSmtpPort && `EMAIL_URL@@@${encrypt(`smtp://${emailSmtpUser}:${decrypt(emailSmtpPassword)}@${emailSmtpHost}:${emailSmtpPort}`)} || ''`,- `DATABASE_URL@@@${encrypt(`postgres://${postgresqlUser}:${decrypt(postgresqlPassword)}@${id}-postgresql:5432/${postgresqlDatabase}`)}`,- `REDIS_URL@@@${encrypt(`redis://${id}-redis:6379`)}`- ]- const settings = [- `POSTGRES_USER@@@${postgresqlUser}`,- `POSTGRES_DB@@@${postgresqlDatabase}`,- `DEFAULT_FROM_EMAIL@@@${defaultEmailFrom}`,- `EMAIL_USE_TLS@@@${emailSmtpUseTls}`,- `EMAIL_USE_SSL@@@${emailSmtpUseSsl}`,- `EMAIL_BACKEND@@@${emailBackend}`,- `ENABLE_OPEN_USER_REGISTRATION@@@${enableOpenUserRegistration}`,- `DJANGO_SUPERUSER_EMAIL@@@${defaultEmail}`,- `DJANGO_SUPERUSER_USERNAME@@@${defaultUsername}`,- ]- await migrateSettings(settings, service, template);- await migrateSecrets(secrets, service);-- await prisma.service.update({ where: { id: service.id }, data: { type: 'glitchtip' } })- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { glitchTip: { disconnect: true } } })-}-async function hasura(service: any, template: any) {- const { postgresqlUser, postgresqlPassword, postgresqlDatabase, graphQLAdminPassword } = service.hasura- const { id } = service-- const secrets = [- `HASURA_GRAPHQL_ADMIN_SECRET@@@${graphQLAdminPassword}`,- `HASURA_GRAPHQL_METADATA_DATABASE_URL@@@${encrypt(`postgres://${postgresqlUser}:${decrypt(postgresqlPassword)}@${id}-postgresql:5432/${postgresqlDatabase}`)}`,- `POSTGRES_PASSWORD@@@${postgresqlPassword}`,- ]- const settings = [- `POSTGRES_USER@@@${postgresqlUser}`,- `POSTGRES_DB@@@${postgresqlDatabase}`,- ]- await migrateSettings(settings, service, template);- await migrateSecrets(secrets, service);-- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { hasura: { disconnect: true } } })-}-async function umami(service: any, template: any) {- const { postgresqlUser, postgresqlPassword, postgresqlDatabase, umamiAdminPassword, hashSalt } = service.umami- const { id } = service- const secrets = [- `HASH_SALT@@@${hashSalt}`,- `POSTGRES_PASSWORD@@@${postgresqlPassword}`,- `ADMIN_PASSWORD@@@${umamiAdminPassword}`,- `DATABASE_URL@@@${encrypt(`postgres://${postgresqlUser}:${decrypt(postgresqlPassword)}@${id}-postgresql:5432/${postgresqlDatabase}`)}`,- ]- const settings = [- `DATABASE_TYPE@@@postgresql`,- `POSTGRES_USER@@@${postgresqlUser}`,- `POSTGRES_DB@@@${postgresqlDatabase}`,- ]- await migrateSettings(settings, service, template);- await migrateSecrets(secrets, service);-- await prisma.service.update({ where: { id: service.id }, data: { type: "umami-postgresql" } })-- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { umami: { disconnect: true } } })-}-async function meilisearch(service: any, template: any) {- const { masterKey } = service.meiliSearch-- const secrets = [- `MEILI_MASTER_KEY@@@${masterKey}`,- ]-- // await migrateSettings(settings, service, template);- await migrateSecrets(secrets, service);-- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { meiliSearch: { disconnect: true } } })-}-async function ghost(service: any, template: any) {- const { defaultEmail, defaultPassword, mariadbUser, mariadbPassword, mariadbRootUser, mariadbRootUserPassword, mariadbDatabase } = service.ghost- const { fqdn } = service-- const isHttps = fqdn.startsWith('https://');-- const secrets = [- `GHOST_PASSWORD@@@${defaultPassword}`,- `MARIADB_PASSWORD@@@${mariadbPassword}`,- `MARIADB_ROOT_PASSWORD@@@${mariadbRootUserPassword}`,- `GHOST_DATABASE_PASSWORD@@@${mariadbPassword}`,- ]- const settings = [- `GHOST_EMAIL@@@${defaultEmail}`,- `GHOST_DATABASE_HOST@@@${service.id}-mariadb`,- `GHOST_DATABASE_USER@@@${mariadbUser}`,- `GHOST_DATABASE_NAME@@@${mariadbDatabase}`,- `GHOST_DATABASE_PORT_NUMBER@@@3306`,- `MARIADB_USER@@@${mariadbUser}`,- `MARIADB_DATABASE@@@${mariadbDatabase}`,- `MARIADB_ROOT_USER@@@${mariadbRootUser}`,- `GHOST_HOST@@@$$generate_domain`,- `url@@@$$generate_fqdn`,- `GHOST_ENABLE_HTTPS@@@${isHttps ? 'yes' : 'no'}`- ]- await migrateSettings(settings, service, template);- await migrateSecrets(secrets, service);-- await prisma.service.update({ where: { id: service.id }, data: { type: "ghost-mariadb" } })-- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { ghost: { disconnect: true } } })-}-async function wordpress(service: any, template: any) {- const { extraConfig, tablePrefix, ownMysql, mysqlHost, mysqlPort, mysqlUser, mysqlPassword, mysqlRootUser, mysqlRootUserPassword, mysqlDatabase, ftpEnabled, ftpUser, ftpPassword, ftpPublicPort, ftpHostKey, ftpHostKeyPrivate } = service.wordpress-- let settings = []- let secrets = []- if (ownMysql) {- secrets = [- `WORDPRESS_DB_PASSWORD@@@${mysqlPassword}`,- ftpPassword && `COOLIFY_FTP_PASSWORD@@@${ftpPassword}`,- ftpHostKeyPrivate && `COOLIFY_FTP_HOST_KEY_PRIVATE@@@${ftpHostKeyPrivate}`,- ftpHostKey && `COOLIFY_FTP_HOST_KEY@@@${ftpHostKey}`,- ]- settings = [- `WORDPRESS_CONFIG_EXTRA@@@${extraConfig}`,- `WORDPRESS_DB_HOST@@@${mysqlHost}`,- `WORDPRESS_DB_PORT@@@${mysqlPort}`,- `WORDPRESS_DB_USER@@@${mysqlUser}`,- `WORDPRESS_DB_NAME@@@${mysqlDatabase}`,- ]- } else {- secrets = [- `MYSQL_ROOT_PASSWORD@@@${mysqlRootUserPassword}`,- `MYSQL_PASSWORD@@@${mysqlPassword}`,- ftpPassword && `COOLIFY_FTP_PASSWORD@@@${ftpPassword}`,- ftpHostKeyPrivate && `COOLIFY_FTP_HOST_KEY_PRIVATE@@@${ftpHostKeyPrivate}`,- ftpHostKey && `COOLIFY_FTP_HOST_KEY@@@${ftpHostKey}`,- ]- settings = [- `MYSQL_ROOT_USER@@@${mysqlRootUser}`,- `MYSQL_USER@@@${mysqlUser}`,- `MYSQL_DATABASE@@@${mysqlDatabase}`,- `MYSQL_HOST@@@${service.id}-mysql`,- `MYSQL_PORT@@@${mysqlPort}`,- `WORDPRESS_CONFIG_EXTRA@@@${extraConfig}`,- `WORDPRESS_TABLE_PREFIX@@@${tablePrefix}`,- `WORDPRESS_DB_HOST@@@${service.id}-mysql`,- `COOLIFY_OWN_DB@@@${ownMysql}`,- `COOLIFY_FTP_ENABLED@@@${ftpEnabled}`,- `COOLIFY_FTP_USER@@@${ftpUser}`,- `COOLIFY_FTP_PUBLIC_PORT@@@${ftpPublicPort}`,- ]- }-- await migrateSettings(settings, service, template);- await migrateSecrets(secrets, service);- if (ownMysql) {- await prisma.service.update({ where: { id: service.id }, data: { type: "wordpress-only" } })- }- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { wordpress: { disconnect: true } } })-}-async function vscodeserver(service: any, template: any) {- const { password } = service.vscodeserver-- const secrets = [- `PASSWORD@@@${password}`,- ]- await migrateSecrets(secrets, service);-- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { vscodeserver: { disconnect: true } } })-}-async function minio(service: any, template: any) {- const { rootUser, rootUserPassword, apiFqdn } = service.minio- const secrets = [- `MINIO_ROOT_PASSWORD@@@${rootUserPassword}`,- ]- const settings = [- `MINIO_ROOT_USER@@@${rootUser}`,- `MINIO_SERVER_URL@@@${apiFqdn}`,- `MINIO_BROWSER_REDIRECT_URL@@@$$generate_fqdn`,- `MINIO_DOMAIN@@@$$generate_domain`,- ]- await migrateSettings(settings, service, template);- await migrateSecrets(secrets, service);-- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { minio: { disconnect: true } } })-}-async function fider(service: any, template: any) {- const { postgresqlUser, postgresqlPassword, postgresqlDatabase, jwtSecret, emailNoreply, emailMailgunApiKey, emailMailgunDomain, emailMailgunRegion, emailSmtpHost, emailSmtpPort, emailSmtpUser, emailSmtpPassword, emailSmtpEnableStartTls } = service.fider- const { id } = service- const secrets = [- `JWT_SECRET@@@${jwtSecret}`,- emailMailgunApiKey && `EMAIL_MAILGUN_API@@@${emailMailgunApiKey}`,- emailSmtpPassword && `EMAIL_SMTP_PASSWORD@@@${emailSmtpPassword}`,- `POSTGRES_PASSWORD@@@${postgresqlPassword}`,- `DATABASE_URL@@@${encrypt(`postgresql://${postgresqlUser}:${decrypt(postgresqlPassword)}@${id}-postgresql:5432/${postgresqlDatabase}?sslmode=disable`)}`- ]- const settings = [- `BASE_URL@@@$$generate_fqdn`,- `EMAIL_NOREPLY@@@${emailNoreply || '[email protected]'}`,- `EMAIL_MAILGUN_DOMAIN@@@${emailMailgunDomain || ''}`,- `EMAIL_MAILGUN_REGION@@@${emailMailgunRegion || ''}`,- `EMAIL_SMTP_HOST@@@${emailSmtpHost || ''}`,- `EMAIL_SMTP_PORT@@@${emailSmtpPort || 587}`,- `EMAIL_SMTP_USER@@@${emailSmtpUser || ''}`,- `EMAIL_SMTP_PASSWORD@@@${emailSmtpPassword || ''}`,- `EMAIL_SMTP_ENABLE_STARTTLS@@@${emailSmtpEnableStartTls || 'false'}`,- `POSTGRES_USER@@@${postgresqlUser}`,- `POSTGRES_DB@@@${postgresqlDatabase}`,- ]- await migrateSettings(settings, service, template);- await migrateSecrets(secrets, service);-- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { fider: { disconnect: true } } })--}-async function plausibleAnalytics(service: any, template: any) {- const { email, username, password, postgresqlUser, postgresqlPassword, postgresqlDatabase, secretKeyBase, scriptName } = service.plausibleAnalytics;- const { id } = service-- const settings = [- `BASE_URL@@@$$generate_fqdn`,- `ADMIN_USER_EMAIL@@@${email}`,- `ADMIN_USER_NAME@@@${username}`,- `DISABLE_AUTH@@@false`,- `DISABLE_REGISTRATION@@@true`,- `POSTGRESQL_USERNAME@@@${postgresqlUser}`,- `POSTGRESQL_DATABASE@@@${postgresqlDatabase}`,- `SCRIPT_NAME@@@${scriptName}`,- ]- const secrets = [- `ADMIN_USER_PWD@@@${password}`,- `SECRET_KEY_BASE@@@${secretKeyBase}`,- `POSTGRESQL_PASSWORD@@@${postgresqlPassword}`,- `DATABASE_URL@@@${encrypt(`postgres://${postgresqlUser}:${decrypt(postgresqlPassword)}@${id}-postgresql:5432/${postgresqlDatabase}`)}`,- ]- await migrateSettings(settings, service, template);- await migrateSecrets(secrets, service);-- // Disconnect old service data- // await prisma.service.update({ where: { id: service.id }, data: { plausibleAnalytics: { disconnect: true } } })-}-async function migrateSettings(settings: any[], service: any, template: any) {- for (const setting of settings) {- try {- if (!setting) continue;- let [name, value] = setting.split('@@@')- let minio = name- if (name === 'MINIO_SERVER_URL') {- name = 'coolify_fqdn_minio_console'- }- if (!value || value === 'null') {- continue;- }- let variableName = template.variables.find((v: any) => v.name === name)?.id- if (!variableName) {- variableName = `$$config_${name.toLowerCase()}`- }- // console.log('Migrating setting', name, value, 'for service', service.id, ', service name:', service.name, 'variableName: ', variableName)-- await prisma.serviceSetting.findFirst({ where: { name: minio, serviceId: service.id } }) || await prisma.serviceSetting.create({ data: { name: minio, value, variableName, service: { connect: { id: service.id } } } })- } catch (error) {- console.log(error)- }- }-}-async function migrateSecrets(secrets: any[], service: any) {- for (const secret of secrets) {- try {- if (!secret) continue;- let [name, value] = secret.split('@@@')- if (!value || value === 'null') {- continue- }- // console.log('Migrating secret', name, value, 'for service', service.id, ', service name:', service.name)- await prisma.serviceSecret.findFirst({ where: { name, serviceId: service.id } }) || await prisma.serviceSecret.create({ data: { name, value, service: { connect: { id: service.id } } } })- } catch (error) {- console.log(error)- }- }-}-async function createVolumes(service: any, template: any) {- const volumes = [];- for (const s of Object.keys(template.services)) {- if (template.services[s].volumes && template.services[s].volumes.length > 0) {- for (const volume of template.services[s].volumes) {- let volumeName = volume.split(':')[0]- const volumePath = volume.split(':')[1]- let volumeService = s- if (service.type === 'plausibleanalytics' && service.plausibleAnalytics?.id) {- let volumeId = volumeName.split('-')[0]- volumeName = volumeName.replace(volumeId, service.plausibleAnalytics.id)- }- volumes.push(`${volumeName}@@@${volumePath}@@@${volumeService}`)- }- }- }- for (const volume of volumes) {- const [volumeName, path, containerId] = volume.split('@@@')- // console.log('Creating volume', volumeName, path, containerId, 'for service', service.id, ', service name:', service.name)- await prisma.servicePersistentStorage.findFirst({ where: { volumeName, serviceId: service.id } }) || await prisma.servicePersistentStorage.create({ data: { volumeName, path, containerId, predefined: true, service: { connect: { id: service.id } } } })- }-}diff --git a/apps/api/src/lib/buildPacks/common.ts b/apps/api/src/lib/buildPacks/common.tsdeleted file mode 100644index afcfe92071..0000000000--- a/apps/api/src/lib/buildPacks/common.ts+++ /dev/null@@ -1,847 +0,0 @@-import {- base64Encode,- decrypt,- encrypt,- executeCommand,- generateSecrets,- generateTimestamp,- getDomain,- isARM,- isDev,- prisma,- version-} from '../common';-import { promises as fs } from 'fs';-import { day } from '../dayjs';--const staticApps = ['static', 'react', 'vuejs', 'svelte', 'gatsby', 'astro', 'eleventy'];-const nodeBased = [- 'react',- 'preact',- 'vuejs',- 'svelte',- 'gatsby',- 'astro',- 'eleventy',- 'node',- 'nestjs',- 'nuxtjs',- 'nextjs'-];--export function setDefaultBaseImage(- buildPack: string | null,- deploymentType: string | null = null-) {- const nodeVersions = [- {- value: 'node:lts',- label: 'node:lts'- },- {- value: 'node:18',- label: 'node:18'- },- {- value: 'node:17',- label: 'node:17'- },- {- value: 'node:16',- label: 'node:16'- },- {- value: 'node:14',- label: 'node:14'- },- {- value: 'node:12',- label: 'node:12'- }- ];- const staticVersions = [- {- value: 'webdevops/nginx:alpine',- label: 'webdevops/nginx:alpine'- },- {- value: 'webdevops/apache:alpine',- label: 'webdevops/apache:alpine'- },- {- value: 'nginx:alpine',- label: 'nginx:alpine'- },- {- value: 'httpd:alpine',- label: 'httpd:alpine (Apache)'- }- ];- const rustVersions = [- {- value: 'rust:latest',- label: 'rust:latest'- },- {- value: 'rust:1.60',- label: 'rust:1.60'- },- {- value: 'rust:1.60-buster',- label: 'rust:1.60-buster'- },- {- value: 'rust:1.60-bullseye',- label: 'rust:1.60-bullseye'- },- {- value: 'rust:1.60-slim-buster',- label: 'rust:1.60-slim-buster'- },- {- value: 'rust:1.60-slim-bullseye',- label: 'rust:1.60-slim-bullseye'- },- {- value: 'rust:1.60-alpine3.14',- label: 'rust:1.60-alpine3.14'- },- {- value: 'rust:1.60-alpine3.15',- label: 'rust:1.60-alpine3.15'- }- ];- const phpVersions = [- {- value: 'webdevops/php-apache:8.2',- label: 'webdevops/php-apache:8.2'- },- {- value: 'webdevops/php-nginx:8.2',- label: 'webdevops/php-nginx:8.2'- },- {- value: 'webdevops/php-apache:8.1',- label: 'webdevops/php-apache:8.1'- },- {- value: 'webdevops/php-nginx:8.1',- label: 'webdevops/php-nginx:8.1'- },- {- value: 'webdevops/php-apache:8.0',- label: 'webdevops/php-apache:8.0'- },- {- value: 'webdevops/php-nginx:8.0',- label: 'webdevops/php-nginx:8.0'- },- {- value: 'webdevops/php-apache:7.4',- label: 'webdevops/php-apache:7.4'- },- {- value: 'webdevops/php-nginx:7.4',- label: 'webdevops/php-nginx:7.4'- },- {- value: 'webdevops/php-apache:7.3',- label: 'webdevops/php-apache:7.3'- },- {- value: 'webdevops/php-nginx:7.3',- label: 'webdevops/php-nginx:7.3'- },- {- value: 'webdevops/php-apache:7.2',- label: 'webdevops/php-apache:7.2'- },- {- value: 'webdevops/php-nginx:7.2',- label: 'webdevops/php-nginx:7.2'- },- {- value: 'webdevops/php-apache:7.1',- label: 'webdevops/php-apache:7.1'- },- {- value: 'webdevops/php-nginx:7.1',- label: 'webdevops/php-nginx:7.1'- },- {- value: 'webdevops/php-apache:7.0',- label: 'webdevops/php-apache:7.0'- },- {- value: 'webdevops/php-nginx:7.0',- label: 'webdevops/php-nginx:7.0'- },- {- value: 'webdevops/php-apache:5.6',- label: 'webdevops/php-apache:5.6'- },- {- value: 'webdevops/php-nginx:5.6',- label: 'webdevops/php-nginx:5.6'- },- {- value: 'webdevops/php-apache:8.2-alpine',- label: 'webdevops/php-apache:8.2-alpine'- },- {- value: 'webdevops/php-nginx:8.2-alpine',- label: 'webdevops/php-nginx:8.2-alpine'- },- {- value: 'webdevops/php-apache:8.1-alpine',- label: 'webdevops/php-apache:8.1-alpine'- },- {- value: 'webdevops/php-nginx:8.1-alpine',- label: 'webdevops/php-nginx:8.1-alpine'- },- {- value: 'webdevops/php-apache:8.0-alpine',- label: 'webdevops/php-apache:8.0-alpine'- },- {- value: 'webdevops/php-nginx:8.0-alpine',- label: 'webdevops/php-nginx:8.0-alpine'- },- {- value: 'webdevops/php-apache:7.4-alpine',- label: 'webdevops/php-apache:7.4-alpine'- },- {- value: 'webdevops/php-nginx:7.4-alpine',- label: 'webdevops/php-nginx:7.4-alpine'- },- {- value: 'webdevops/php-apache:7.3-alpine',- label: 'webdevops/php-apache:7.3-alpine'- },- {- value: 'webdevops/php-nginx:7.3-alpine',- label: 'webdevops/php-nginx:7.3-alpine'- },- {- value: 'webdevops/php-apache:7.2-alpine',- label: 'webdevops/php-apache:7.2-alpine'- },- {- value: 'webdevops/php-nginx:7.2-alpine',- label: 'webdevops/php-nginx:7.2-alpine'- },- {- value: 'webdevops/php-apache:7.1-alpine',- label: 'webdevops/php-apache:7.1-alpine'- },- {- value: 'php:8.1-fpm',- label: 'php:8.1-fpm'- },- {- value: 'php:8.0-fpm',- label: 'php:8.0-fpm'- },- {- value: 'php:8.1-fpm-alpine',- label: 'php:8.1-fpm-alpine'- },- {- value: 'php:8.0-fpm-alpine',- label: 'php:8.0-fpm-alpine'- }- ];- const pythonVersions = [- {- value: 'python:3.10-alpine',- label: 'python:3.10-alpine'- },- {- value: 'python:3.10-buster',- label: 'python:3.10-buster'- },- {- value: 'python:3.10-bullseye',- label: 'python:3.10-bullseye'- },- {- value: 'python:3.10-slim-bullseye',- label: 'python:3.10-slim-bullseye'- },- {- value: 'python:3.9-alpine',- label: 'python:3.9-alpine'- },- {- value: 'python:3.9-buster',- label: 'python:3.9-buster'- },- {- value: 'python:3.9-bullseye',- label: 'python:3.9-bullseye'- },- {- value: 'python:3.9-slim-bullseye',- label: 'python:3.9-slim-bullseye'- },- {- value: 'python:3.8-alpine',- label: 'python:3.8-alpine'- },- {- value: 'python:3.8-buster',- label: 'python:3.8-buster'- },- {- value: 'python:3.8-bullseye',- label: 'python:3.8-bullseye'- },- {- value: 'python:3.8-slim-bullseye',- label: 'python:3.8-slim-bullseye'- },- {- value: 'python:3.7-alpine',- label: 'python:3.7-alpine'- },- {- value: 'python:3.7-buster',- label: 'python:3.7-buster'- },- {- value: 'python:3.7-bullseye',- label: 'python:3.7-bullseye'- },- {- value: 'python:3.7-slim-bullseye',- label: 'python:3.7-slim-bullseye'- }- ];- const herokuVersions = [- {- value: 'heroku/builder:22',- label: 'heroku/builder:22'- },- {- value: 'heroku/buildpacks:20',- label: 'heroku/buildpacks:20'- },- {- value: 'heroku/builder-classic:22',- label: 'heroku/builder-classic:22'- }- ];- let payload: any = {- baseImage: null,- baseBuildImage: null,- baseImages: [],- baseBuildImages: []- };- if (nodeBased.includes(buildPack)) {- if (deploymentType === 'static') {- payload.baseImage = isARM() ? 'nginx:alpine' : 'webdevops/nginx:alpine';- payload.baseImages = isARM()- ? staticVersions.filter((version) => !version.value.includes('webdevops'))- : staticVersions;- payload.baseBuildImage = 'node:lts';- payload.baseBuildImages = nodeVersions;- } else {- payload.baseImage = 'node:lts';- payload.baseImages = nodeVersions;- payload.baseBuildImage = 'node:lts';- payload.baseBuildImages = nodeVersions;- }- }- if (staticApps.includes(buildPack)) {- payload.baseImage = isARM() ? 'nginx:alpine' : 'webdevops/nginx:alpine';- payload.baseImages = isARM()- ? staticVersions.filter((version) => !version.value.includes('webdevops'))- : staticVersions;- payload.baseBuildImage = 'node:lts';- payload.baseBuildImages = nodeVersions;- }- if (buildPack === 'python') {- payload.baseImage = 'python:3.10-alpine';- payload.baseImages = pythonVersions;- }- if (buildPack === 'rust') {- payload.baseImage = 'rust:latest';- payload.baseBuildImage = 'rust:latest';- payload.baseImages = rustVersions;- payload.baseBuildImages = rustVersions;- }- if (buildPack === 'deno') {- payload.baseImage = 'denoland/deno:latest';- }- if (buildPack === 'php') {- payload.baseImage = isARM()- ? 'php:8.1-fpm-alpine'- : 'webdevops/php-apache:8.2-alpine';- payload.baseImages = isARM()- ? phpVersions.filter((version) => !version.value.includes('webdevops'))- : phpVersions;- }- if (buildPack === 'laravel') {- payload.baseImage = isARM()- ? 'php:8.1-fpm-alpine'- : 'webdevops/php-apache:8.2-alpine';- payload.baseImages = isARM()- ? phpVersions.filter((version) => !version.value.includes('webdevops'))- : phpVersions;- payload.baseBuildImage = 'node:18';- payload.baseBuildImages = nodeVersions;- }- if (buildPack === 'heroku') {- payload.baseImage = 'heroku/buildpacks:20';- payload.baseImages = herokuVersions;- }- return payload;-}--export const setDefaultConfiguration = async (data: any) => {- let {- buildPack,- port,- installCommand,- startCommand,- buildCommand,- publishDirectory,- baseDirectory,- dockerFileLocation,- dockerComposeFileLocation,- denoMainFile- } = data;- //@ts-ignore- const template = scanningTemplates[buildPack];- if (!port) {- port = template?.port || 3000;-- if (buildPack === 'static') port = 80;- else if (buildPack === 'node') port = 3000;- else if (buildPack === 'php') port = 80;- else if (buildPack === 'python') port = 8000;- }- if (!installCommand && buildPack !== 'static' && buildPack !== 'laravel')- installCommand = template?.installCommand || 'yarn install';- if (!startCommand && buildPack !== 'static' && buildPack !== 'laravel')- startCommand = template?.startCommand || 'yarn start';- if (!buildCommand && buildPack !== 'static' && buildPack !== 'laravel')- buildCommand = template?.buildCommand || null;- if (!publishDirectory) {- publishDirectory = template?.publishDirectory || null;- } else {- if (!publishDirectory.startsWith('/')) publishDirectory = `/${publishDirectory}`;- if (publishDirectory.endsWith('/')) publishDirectory = publishDirectory.slice(0, -1);- }- if (baseDirectory) {- if (!baseDirectory.startsWith('/')) baseDirectory = `/${baseDirectory}`;- if (baseDirectory.endsWith('/') && baseDirectory !== '/')- baseDirectory = baseDirectory.slice(0, -1);- }- if (dockerFileLocation) {- if (!dockerFileLocation.startsWith('/')) dockerFileLocation = `/${dockerFileLocation}`;- if (dockerFileLocation.endsWith('/')) dockerFileLocation = dockerFileLocation.slice(0, -1);- } else {- dockerFileLocation = '/Dockerfile';- }- if (dockerComposeFileLocation) {- if (!dockerComposeFileLocation.startsWith('/'))- dockerComposeFileLocation = `/${dockerComposeFileLocation}`;- if (dockerComposeFileLocation.endsWith('/'))- dockerComposeFileLocation = dockerComposeFileLocation.slice(0, -1);- } else {- dockerComposeFileLocation = '/Dockerfile';- }- if (!denoMainFile) {- denoMainFile = 'main.ts';- }-- return {- buildPack,- port,- installCommand,- startCommand,- buildCommand,- publishDirectory,- baseDirectory,- dockerFileLocation,- dockerComposeFileLocation,- denoMainFile- };-};--export const scanningTemplates = {- '@sveltejs/kit': {- buildPack: 'nodejs'- },- astro: {- buildPack: 'astro'- },- '@11ty/eleventy': {- buildPack: 'eleventy'- },- svelte: {- buildPack: 'svelte'- },- '@nestjs/core': {- buildPack: 'nestjs'- },- next: {- buildPack: 'nextjs'- },- nuxt: {- buildPack: 'nuxtjs'- },- 'react-scripts': {- buildPack: 'react'- },- 'parcel-bundler': {- buildPack: 'static'- },- '@vue/cli-service': {- buildPack: 'vuejs'- },- vuejs: {- buildPack: 'vuejs'- },- gatsby: {- buildPack: 'gatsby'- },- 'preact-cli': {- buildPack: 'react'- }-};--export const saveBuildLog = async ({- line,- buildId,- applicationId-}: {- line: string;- buildId: string;- applicationId: string;-}): Promise<any> => {- if (buildId === 'undefined' || buildId === 'null' || !buildId) return;- if (applicationId === 'undefined' || applicationId === 'null' || !applicationId) return;- const { default: got } = await import('got');- if (typeof line === 'object' && line) {- if (line.shortMessage) {- line = line.shortMessage + '\n' + line.stderr;- } else {- line = JSON.stringify(line);- }- }- if (line && typeof line === 'string' && line.includes('ghs_')) {- const regex = /ghs_.*@/g;- line = line.replace(regex, '<SENSITIVE_DATA_DELETED>@');- }- const addTimestamp = `[${generateTimestamp()}] ${line}`;- const fluentBitUrl = isDev- ? process.env.COOLIFY_CONTAINER_DEV === 'true'- ? 'http://coolify-fluentbit:24224'- : 'http://localhost:24224'- : 'http://coolify-fluentbit:24224';-- if (isDev && !process.env.COOLIFY_CONTAINER_DEV) {- console.debug(`[${applicationId}] ${addTimestamp}`);- }- try {- return await got.post(`${fluentBitUrl}/${applicationId}_buildlog_${buildId}.csv`, {- json: {- line: encrypt(line)- }- });- } catch (error) {- return await prisma.buildLog.create({- data: {- line: addTimestamp,- buildId,- time: Number(day().valueOf()),- applicationId- }- });- }-};--export async function copyBaseConfigurationFiles(- buildPack,- workdir,- buildId,- applicationId,- baseImage-) {- try {- if (buildPack === 'php') {- await fs.writeFile(`${workdir}/entrypoint.sh`, `chown -R 1000 /app`);- await saveBuildLog({- line: 'Copied default configuration file for PHP.',- buildId,- applicationId- });- } else if (baseImage?.includes('nginx')) {- await fs.writeFile(- `${workdir}/nginx.conf`,- `user nginx;- worker_processes auto;-- error_log /docker.stdout;- pid /run/nginx.pid;-- events {- worker_connections 1024;- }-- http {- log_format main '$remote_addr - $remote_user [$time_local] "$request" '- '$status $body_bytes_sent "$http_referer" '- '"$http_user_agent" "$http_x_forwarded_for"';-- access_log /docker.stdout main;-- sendfile on;- tcp_nopush on;- tcp_nodelay on;- keepalive_timeout 65;- types_hash_max_size 2048;-- include /etc/nginx/mime.types;- default_type application/octet-stream;-- server {- listen 80;- server_name localhost;-- location / {- root /app;- index index.html;- try_files $uri $uri/index.html $uri/ /index.html =404;- }-- error_page 404 /50x.html;-- # redirect server error pages to the static page /50x.html- #- error_page 500 502 503 504 /50x.html;- location = /50x.html {- root /app;- }-- }-- }- `- );- }- // TODO: Add more configuration files for other buildpacks, like apache2, etc.- } catch (error) {- throw new Error(error);- }-}--export function checkPnpm(installCommand = null, buildCommand = null, startCommand = null) {- return (- installCommand?.includes('pnpm') ||- buildCommand?.includes('pnpm') ||- startCommand?.includes('pnpm')- );-}--export async function saveDockerRegistryCredentials({ url, username, password, workdir }) {- if (!username || !password) {- return null;- }-- let decryptedPassword = decrypt(password);- const location = `${workdir}/.docker`;-- try {- await fs.mkdir(`${workdir}/.docker`);- } catch (error) {- // console.log(error);- }- const payload = JSON.stringify({- auths: {- [url]: {- auth: Buffer.from(`${username}:${decryptedPassword}`).toString('base64')- }- }- });- await fs.writeFile(`${location}/config.json`, payload);- return location;-}-export async function buildImage({- applicationId,- tag,- workdir,- buildId,- dockerId,- isCache = false,- debug = false,- dockerFileLocation = '/Dockerfile',- commit,- forceRebuild = false-}) {- if (isCache) {- await saveBuildLog({ line: `Building cache image...`, buildId, applicationId });- } else {- await saveBuildLog({ line: `Building production image...`, buildId, applicationId });- }- const dockerFile = isCache ? `${dockerFileLocation}-cache` : `${dockerFileLocation}`;- const cache = `${applicationId}:${tag}${isCache ? '-cache' : ''}`;- let location = null;-- const { dockerRegistry } = await prisma.application.findUnique({- where: { id: applicationId },- select: { dockerRegistry: true }- });- if (dockerRegistry) {- const { url, username, password } = dockerRegistry;- location = await saveDockerRegistryCredentials({ url, username, password, workdir });- }-- await executeCommand({- stream: true,- debug,- buildId,- applicationId,- dockerId,- command: `docker ${location ? `--config ${location}` : ''} build ${forceRebuild ? '--no-cache' : ''- } --progress plain -f ${workdir}/${dockerFile} -t ${cache} --build-arg SOURCE_COMMIT=${commit} ${workdir}`- });-- const { status } = await prisma.build.findUnique({ where: { id: buildId } });- if (status === 'canceled') {- throw new Error('Canceled.');- }-}-export function makeLabelForSimpleDockerfile({ applicationId, port, type }) {- return [- 'coolify.managed=true',- `coolify.version=${version}`,- `coolify.applicationId=${applicationId}`,- `coolify.type=standalone-application`- ];-}-export function makeLabelForStandaloneApplication({- applicationId,- fqdn,- name,- type,- pullmergeRequestId = null,- buildPack,- repository,- branch,- projectId,- port,- commit,- installCommand,- buildCommand,- startCommand,- baseDirectory,- publishDirectory-}) {- if (pullmergeRequestId) {- const protocol = fqdn.startsWith('https://') ? 'https' : 'http';- const domain = getDomain(fqdn);- fqdn = `${protocol}://${pullmergeRequestId}.${domain}`;- }- return [- 'coolify.managed=true',- `coolify.version=${version}`,- `coolify.applicationId=${applicationId}`,- `coolify.type=standalone-application`,- `coolify.name=${name}`,- `coolify.configuration=${base64Encode(- JSON.stringify({- applicationId,- fqdn,- name,- type,- pullmergeRequestId,- buildPack,- repository,- branch,- projectId,- port,- commit,- installCommand,- buildCommand,- startCommand,- baseDirectory,- publishDirectory- })- )}`- ];-}--export async function buildCacheImageWithNode(data, imageForBuild) {- const {- workdir,- buildId,- baseDirectory,- installCommand,- buildCommand,- secrets,- pullmergeRequestId- } = data;- const isPnpm = checkPnpm(installCommand, buildCommand);- const Dockerfile: Array<string> = [];- Dockerfile.push(`FROM ${imageForBuild}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- if (secrets.length > 0) {- generateSecrets(secrets, pullmergeRequestId, true).forEach((env) => {- Dockerfile.push(env);- });- }- if (isPnpm) {- Dockerfile.push('RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7');- }- Dockerfile.push(`COPY .${baseDirectory || ''} ./`);- if (installCommand) {- Dockerfile.push(`RUN ${installCommand}`);- }- Dockerfile.push(`RUN ${buildCommand}`);- await fs.writeFile(`${workdir}/Dockerfile-cache`, Dockerfile.join('\n'));- await buildImage({ ...data, isCache: true });-}--export async function buildCacheImageForLaravel(data, imageForBuild) {- const { workdir, buildId, secrets, pullmergeRequestId } = data;- const Dockerfile: Array<string> = [];- Dockerfile.push(`FROM ${imageForBuild}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- if (secrets.length > 0) {- generateSecrets(secrets, pullmergeRequestId, true).forEach((env) => {- Dockerfile.push(env);- });- }- Dockerfile.push(`COPY *.json *.mix.js /app/`);- Dockerfile.push(`COPY resources /app/resources`);- Dockerfile.push(`RUN yarn install && yarn production`);- await fs.writeFile(`${workdir}/Dockerfile-cache`, Dockerfile.join('\n'));- await buildImage({ ...data, isCache: true });-}--export async function buildCacheImageWithCargo(data, imageForBuild) {- const { applicationId, workdir, buildId } = data;-- const Dockerfile: Array<string> = [];- Dockerfile.push(`FROM ${imageForBuild} as planner-${applicationId}`);- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push('RUN cargo install cargo-chef');- Dockerfile.push('COPY . .');- Dockerfile.push('RUN cargo chef prepare --recipe-path recipe.json');- Dockerfile.push(`FROM ${imageForBuild}`);- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push('RUN cargo install cargo-chef');- Dockerfile.push(`COPY --from=planner-${applicationId} /app/recipe.json recipe.json`);- Dockerfile.push('RUN cargo chef cook --release --recipe-path recipe.json');- await fs.writeFile(`${workdir}/Dockerfile-cache`, Dockerfile.join('\n'));- await buildImage({ ...data, isCache: true });-}diff --git a/apps/api/src/lib/buildPacks/compose.ts b/apps/api/src/lib/buildPacks/compose.tsdeleted file mode 100644index 839f3e3ae3..0000000000--- a/apps/api/src/lib/buildPacks/compose.ts+++ /dev/null@@ -1,178 +0,0 @@-import { promises as fs } from 'fs';-import { defaultComposeConfiguration, executeCommand, generateSecrets } from '../common';-import { saveBuildLog } from './common';-import yaml from 'js-yaml';--export default async function (data) {- let {- applicationId,- debug,- buildId,- dockerId,- network,- volumes,- labels,- workdir,- baseDirectory,- secrets,- pullmergeRequestId,- dockerComposeConfiguration,- dockerComposeFileLocation- } = data;- const fileYaml = `${workdir}${baseDirectory}${dockerComposeFileLocation}`;- const dockerComposeRaw = await fs.readFile(fileYaml, 'utf8');- const dockerComposeYaml = yaml.load(dockerComposeRaw);- if (!dockerComposeYaml.services) {- throw 'No Services found in docker-compose file.';- }- let envs = [];- let buildEnvs = [];- if (secrets.length > 0) {- envs = [...envs, ...generateSecrets(secrets, pullmergeRequestId, false, null)];- buildEnvs = [...buildEnvs, ...generateSecrets(secrets, pullmergeRequestId, true, null, true)];- }-- const composeVolumes = [];- if (volumes.length > 0) {- for (const volume of volumes) {- let [v, path] = volume.split(':');- if (!v.startsWith('.') && !v.startsWith('..') && !v.startsWith('/') && !v.startsWith('~')) {- composeVolumes[v] = {- name: v- };- }- }- }- let networks = {};- for (let [key, value] of Object.entries(dockerComposeYaml.services)) {- value['container_name'] = `${applicationId}-${key}`;-- let environment = typeof value['environment'] === 'undefined' ? [] : value['environment'];- if (Object.keys(environment).length > 0) {- environment = Object.entries(environment).map(([key, value]) => `${key}=${value}`);- }- value['environment'] = [...environment, ...envs];-- let build = typeof value['build'] === 'undefined' ? [] : value['build'];- if (typeof build === 'string') {- build = { context: build };- }- const buildArgs = typeof build['args'] === 'undefined' ? [] : build['args'];- let finalArgs = [...buildEnvs];- if (Object.keys(buildArgs).length > 0) {- for (const arg of buildArgs) {- const [key, _] = arg.split('=');- if (finalArgs.filter((env) => env.startsWith(key)).length === 0) {- finalArgs.push(arg);- }- }- }- if (build.length > 0 || buildArgs.length > 0) {- value['build'] = {- ...build,- args: finalArgs- };- }-- value['labels'] = labels;- // TODO: If we support separated volume for each service, we need to add it here- if (value['volumes']?.length > 0) {- value['volumes'] = value['volumes'].map((volume) => {- if (typeof volume === 'string') {- let [v, path, permission] = volume.split(':');- if (- v.startsWith('.') ||- v.startsWith('..') ||- v.startsWith('/') ||- v.startsWith('~') ||- v.startsWith('$PWD')- ) {- v = v.replace(/^\./, `~`).replace(/^\.\./, '~').replace(/^\$PWD/, '~');- } else {- if (!path) {- path = v;- v = `${applicationId}${v.replace(/\//gi, '-').replace(/\./gi, '')}`;- } else {- v = `${applicationId}${v.replace(/\//gi, '-').replace(/\./gi, '')}`;- }- composeVolumes[v] = {- name: v- };- }- return `${v}:${path}${permission ? ':' + permission : ''}`;- }- if (typeof volume === 'object') {- let { source, target, mode } = volume;- if (- source.startsWith('.') ||- source.startsWith('..') ||- source.startsWith('/') ||- source.startsWith('~') ||- source.startsWith('$PWD')- ) {-- source = source.replace(/^\./, `~`).replace(/^\.\./, '~').replace(/^\$PWD/, '~');- console.log({source})-- } else {- if (!target) {- target = source;- source = `${applicationId}${source.replace(/\//gi, '-').replace(/\./gi, '')}`;- } else {- source = `${applicationId}${source.replace(/\//gi, '-').replace(/\./gi, '')}`;- }- }-- return `${source}:${target}${mode ? ':' + mode : ''}`;- }-- });- }- if (volumes.length > 0) {- for (const volume of volumes) {- value['volumes'].push(volume);- }- }- if (dockerComposeConfiguration[key]?.port) {- value['expose'] = [dockerComposeConfiguration[key].port];- }- if (value['networks']?.length > 0) {- value['networks'].forEach((network) => {- networks[network] = {- name: network- };- });- value['networks'] = [...(value['networks'] || ''), network];- } else {- value['networks'] = [network];- }-- dockerComposeYaml.services[key] = {- ...dockerComposeYaml.services[key],- restart: defaultComposeConfiguration(network).restart,- deploy: defaultComposeConfiguration(network).deploy- };- }- if (Object.keys(composeVolumes).length > 0) {- dockerComposeYaml['volumes'] = { ...composeVolumes };- }- dockerComposeYaml['networks'] = Object.assign({ ...networks }, { [network]: { external: true } });-- await fs.writeFile(fileYaml, yaml.dump(dockerComposeYaml));- await executeCommand({- debug,- buildId,- applicationId,- dockerId,- command: `docker compose --project-directory ${workdir} -f ${fileYaml} pull`- });- await saveBuildLog({ line: 'Pulling images from Compose file...', buildId, applicationId });- await executeCommand({- debug,- buildId,- applicationId,- dockerId,- command: `docker compose --project-directory ${workdir} -f ${fileYaml} build --progress plain`- });- await saveBuildLog({ line: 'Building images from Compose file...', buildId, applicationId });-}diff --git a/apps/api/src/lib/buildPacks/deno.ts b/apps/api/src/lib/buildPacks/deno.tsdeleted file mode 100644index 2649e3d0a7..0000000000--- a/apps/api/src/lib/buildPacks/deno.ts+++ /dev/null@@ -1,52 +0,0 @@-import { promises as fs } from 'fs';-import { generateSecrets } from '../common';-import { buildImage } from './common';--const createDockerfile = async (data, image): Promise<void> => {- const {- workdir,- port,- baseDirectory,- secrets,- pullmergeRequestId,- denoMainFile,- denoOptions,- buildId- } = data;- const Dockerfile: Array<string> = [];-- let depsFound = false;- try {- await fs.readFile(`${workdir}${baseDirectory || ''}/deps.ts`);- depsFound = true;- } catch (error) {}-- Dockerfile.push(`FROM ${image}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- if (secrets.length > 0) {- generateSecrets(secrets, pullmergeRequestId, true).forEach((env) => {- Dockerfile.push(env);- });- }- if (depsFound) {- Dockerfile.push(`COPY .${baseDirectory || ''}/deps.ts /app`);- Dockerfile.push(`RUN deno cache deps.ts`);- }- Dockerfile.push(`COPY .${baseDirectory || ''} ./`);- Dockerfile.push(`RUN deno cache ${denoMainFile}`);- Dockerfile.push(`ENV NO_COLOR true`);- Dockerfile.push(`EXPOSE ${port}`);- Dockerfile.push(`CMD deno run ${denoOptions || ''} ${denoMainFile}`);- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- try {- const { baseImage, baseBuildImage } = data;- await createDockerfile(data, baseImage);- await buildImage(data);- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/docker.ts b/apps/api/src/lib/buildPacks/docker.tsdeleted file mode 100644index e02103f88c..0000000000--- a/apps/api/src/lib/buildPacks/docker.ts+++ /dev/null@@ -1,27 +0,0 @@-import { promises as fs } from 'fs';-import { generateSecrets } from '../common';-import { buildImage } from './common';--export default async function (data) {- let { workdir, buildId, baseDirectory, secrets, pullmergeRequestId, dockerFileLocation } = data;- const file = `${workdir}${baseDirectory}${dockerFileLocation}`;- data.workdir = `${workdir}${baseDirectory}`;- const DockerfileRaw = await fs.readFile(`${file}`, 'utf8');- const Dockerfile: Array<string> = DockerfileRaw.toString().trim().split('\n');- Dockerfile.forEach((line, index) => {- if (line.startsWith('FROM')) {- Dockerfile.splice(index + 1, 0, `LABEL coolify.buildId=${buildId}`);- }- });- if (secrets.length > 0) {- generateSecrets(secrets, pullmergeRequestId, true).forEach((env) => {- Dockerfile.forEach((line, index) => {- if (line.startsWith('FROM')) {- Dockerfile.splice(index + 1, 0, env);- }- });- });- }- await fs.writeFile(`${data.workdir}${dockerFileLocation}`, Dockerfile.join('\n'));- await buildImage(data);-}diff --git a/apps/api/src/lib/buildPacks/gatsby.ts b/apps/api/src/lib/buildPacks/gatsby.tsdeleted file mode 100644index d133fd0844..0000000000--- a/apps/api/src/lib/buildPacks/gatsby.ts+++ /dev/null@@ -1,28 +0,0 @@-import { promises as fs } from 'fs';-import { buildCacheImageWithNode, buildImage } from './common';--const createDockerfile = async (data, imageforBuild): Promise<void> => {- const { applicationId, tag, workdir, publishDirectory, baseImage, buildId, port } = data;- const Dockerfile: Array<string> = [];-- Dockerfile.push(`FROM ${imageforBuild}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /app${publishDirectory} ./`);- if (baseImage?.includes('nginx')) {- Dockerfile.push(`COPY /nginx.conf /etc/nginx/nginx.conf`);- }- Dockerfile.push(`EXPOSE ${port}`);- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- try {- const { baseImage, baseBuildImage } = data;- await buildCacheImageWithNode(data, baseBuildImage);- await createDockerfile(data, baseImage);- await buildImage(data);- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/heroku.ts b/apps/api/src/lib/buildPacks/heroku.tsdeleted file mode 100644index 7ba1310829..0000000000--- a/apps/api/src/lib/buildPacks/heroku.ts+++ /dev/null@@ -1,17 +0,0 @@-import { executeCommand } from "../common"-import { saveBuildLog } from "./common";--export default async function (data: any): Promise<void> {- const { buildId, applicationId, tag, dockerId, debug, workdir, baseDirectory, baseImage } = data- try {- await saveBuildLog({ line: `Building production image...`, buildId, applicationId });- await executeCommand({- buildId,- debug,- dockerId,- command: `pack build -p ${workdir}${baseDirectory} ${applicationId}:${tag} --builder ${baseImage}`- })- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/index.ts b/apps/api/src/lib/buildPacks/index.tsdeleted file mode 100644index 8e82047fe8..0000000000--- a/apps/api/src/lib/buildPacks/index.ts+++ /dev/null@@ -1,41 +0,0 @@-import node from './node';-import staticApp from './static';-import docker from './docker';-import gatsby from './gatsby';-import svelte from './svelte';-import react from './react';-import nestjs from './nestjs';-import nextjs from './nextjs';-import nuxtjs from './nuxtjs';-import vuejs from './vuejs';-import php from './php';-import rust from './rust';-import astro from './static';-import eleventy from './static';-import python from './python';-import deno from './deno';-import laravel from './laravel';-import heroku from './heroku';-import compose from './compose'--export {- node,- staticApp as static,- docker,- gatsby,- svelte,- react,- nestjs,- nextjs,- nuxtjs,- vuejs,- php,- rust,- astro,- eleventy,- python,- deno,- laravel,- heroku,- compose-};diff --git a/apps/api/src/lib/buildPacks/laravel.ts b/apps/api/src/lib/buildPacks/laravel.tsdeleted file mode 100644index 159e8d9ca5..0000000000--- a/apps/api/src/lib/buildPacks/laravel.ts+++ /dev/null@@ -1,46 +0,0 @@-import { promises as fs } from 'fs';-import { generateSecrets } from '../common';-import { buildCacheImageForLaravel, buildImage } from './common';--const createDockerfile = async (data, image): Promise<void> => {- const { workdir, applicationId, tag, buildId, port, secrets, pullmergeRequestId } = data;- const Dockerfile: Array<string> = [];-- Dockerfile.push(`FROM ${image}`);- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- if (secrets.length > 0) {- generateSecrets(secrets, pullmergeRequestId, true).forEach((env) => {- Dockerfile.push(env);- });- }- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`ENV WEB_DOCUMENT_ROOT /app/public`);- Dockerfile.push(`COPY --chown=application:application composer.* ./`);- Dockerfile.push(`COPY --chown=application:application database/ database/`);- Dockerfile.push(- `RUN composer install --ignore-platform-reqs --no-interaction --no-plugins --no-scripts --prefer-dist`- );- Dockerfile.push(- `COPY --chown=application:application --from=${applicationId}:${tag}-cache /app/public/js/ /app/public/js/`- );- Dockerfile.push(- `COPY --chown=application:application --from=${applicationId}:${tag}-cache /app/public/css/ /app/public/css/`- );- Dockerfile.push(- `COPY --chown=application:application --from=${applicationId}:${tag}-cache /app/mix-manifest.json /app/public/mix-manifest.json`- );- Dockerfile.push(`COPY --chown=application:application . ./`);- Dockerfile.push(`EXPOSE ${port}`);- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- const { baseImage, baseBuildImage } = data;- try {- await buildCacheImageForLaravel(data, baseBuildImage);- await createDockerfile(data, baseImage);- await buildImage(data);- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/nestjs.ts b/apps/api/src/lib/buildPacks/nestjs.tsdeleted file mode 100644index ba98b70efe..0000000000--- a/apps/api/src/lib/buildPacks/nestjs.ts+++ /dev/null@@ -1,31 +0,0 @@-import { promises as fs } from 'fs';-import { buildCacheImageWithNode, buildImage } from './common';--const createDockerfile = async (data, image): Promise<void> => {- const { buildId, applicationId, tag, port, startCommand, workdir, publishDirectory } = data;- const Dockerfile: Array<string> = [];- const isPnpm = startCommand.includes('pnpm');-- Dockerfile.push(`FROM ${image}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- if (isPnpm) {- Dockerfile.push('RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7');- }- Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /app${publishDirectory} ./`);-- Dockerfile.push(`EXPOSE ${port}`);- Dockerfile.push(`CMD ${startCommand}`);- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- try {- const { baseImage, baseBuildImage } = data;- await buildCacheImageWithNode(data, baseBuildImage);- await createDockerfile(data, baseImage);- await buildImage(data);- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/nextjs.ts b/apps/api/src/lib/buildPacks/nextjs.tsdeleted file mode 100644index af6172c740..0000000000--- a/apps/api/src/lib/buildPacks/nextjs.ts+++ /dev/null@@ -1,66 +0,0 @@-import { promises as fs } from 'fs';-import { generateSecrets } from '../common';-import { buildCacheImageWithNode, buildImage, checkPnpm } from './common';--const createDockerfile = async (data, image): Promise<void> => {- const {- applicationId,- buildId,- tag,- workdir,- publishDirectory,- port,- installCommand,- buildCommand,- startCommand,- baseDirectory,- secrets,- pullmergeRequestId,- deploymentType,- baseImage- } = data;- const Dockerfile: Array<string> = [];- const isPnpm = checkPnpm(installCommand, buildCommand, startCommand);- Dockerfile.push(`FROM ${image}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- if (secrets.length > 0) {- generateSecrets(secrets, pullmergeRequestId, true).forEach((env) => {- Dockerfile.push(env);- });- }- if (isPnpm) {- Dockerfile.push('RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7');- }- if (deploymentType === 'node') {- Dockerfile.push(`COPY .${baseDirectory || ''} ./`);- Dockerfile.push(`RUN ${installCommand}`);- Dockerfile.push(`RUN ${buildCommand}`);- Dockerfile.push(`EXPOSE ${port}`);- Dockerfile.push(`CMD ${startCommand}`);- } else if (deploymentType === 'static') {- if (baseImage?.includes('nginx')) {- Dockerfile.push(`COPY /nginx.conf /etc/nginx/nginx.conf`);- }- Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /app${publishDirectory} ./`);- Dockerfile.push(`EXPOSE 80`);- }-- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- try {- const { baseImage, baseBuildImage, deploymentType, buildCommand } = data;- if (deploymentType === 'node') {- await createDockerfile(data, baseImage);- await buildImage(data);- } else if (deploymentType === 'static') {- if (buildCommand) await buildCacheImageWithNode(data, baseBuildImage);- await createDockerfile(data, baseImage);- await buildImage(data);- }- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/node.ts b/apps/api/src/lib/buildPacks/node.tsdeleted file mode 100644index 8ccfcc68e9..0000000000--- a/apps/api/src/lib/buildPacks/node.ts+++ /dev/null@@ -1,49 +0,0 @@-import { promises as fs } from 'fs';-import { generateSecrets } from '../common';-import { buildImage, checkPnpm } from './common';--const createDockerfile = async (data, image): Promise<void> => {- const {- workdir,- port,- installCommand,- buildCommand,- startCommand,- baseDirectory,- secrets,- pullmergeRequestId,- buildId- } = data;- const Dockerfile: Array<string> = [];- const isPnpm = checkPnpm(installCommand, buildCommand, startCommand);-- Dockerfile.push(`FROM ${image}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- if (secrets.length > 0) {- generateSecrets(secrets, pullmergeRequestId, true).forEach((env) => {- Dockerfile.push(env);- });- }- if (isPnpm) {- Dockerfile.push('RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7');- }- Dockerfile.push(`COPY .${baseDirectory || ''} ./`);- Dockerfile.push(`RUN ${installCommand}`);- if (buildCommand) {- Dockerfile.push(`RUN ${buildCommand}`);- }- Dockerfile.push(`EXPOSE ${port}`);- Dockerfile.push(`CMD ${startCommand}`);- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- try {- const { baseImage } = data;- await createDockerfile(data, baseImage);- await buildImage(data);- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/nuxtjs.ts b/apps/api/src/lib/buildPacks/nuxtjs.tsdeleted file mode 100644index af6172c740..0000000000--- a/apps/api/src/lib/buildPacks/nuxtjs.ts+++ /dev/null@@ -1,66 +0,0 @@-import { promises as fs } from 'fs';-import { generateSecrets } from '../common';-import { buildCacheImageWithNode, buildImage, checkPnpm } from './common';--const createDockerfile = async (data, image): Promise<void> => {- const {- applicationId,- buildId,- tag,- workdir,- publishDirectory,- port,- installCommand,- buildCommand,- startCommand,- baseDirectory,- secrets,- pullmergeRequestId,- deploymentType,- baseImage- } = data;- const Dockerfile: Array<string> = [];- const isPnpm = checkPnpm(installCommand, buildCommand, startCommand);- Dockerfile.push(`FROM ${image}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- if (secrets.length > 0) {- generateSecrets(secrets, pullmergeRequestId, true).forEach((env) => {- Dockerfile.push(env);- });- }- if (isPnpm) {- Dockerfile.push('RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7');- }- if (deploymentType === 'node') {- Dockerfile.push(`COPY .${baseDirectory || ''} ./`);- Dockerfile.push(`RUN ${installCommand}`);- Dockerfile.push(`RUN ${buildCommand}`);- Dockerfile.push(`EXPOSE ${port}`);- Dockerfile.push(`CMD ${startCommand}`);- } else if (deploymentType === 'static') {- if (baseImage?.includes('nginx')) {- Dockerfile.push(`COPY /nginx.conf /etc/nginx/nginx.conf`);- }- Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /app${publishDirectory} ./`);- Dockerfile.push(`EXPOSE 80`);- }-- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- try {- const { baseImage, baseBuildImage, deploymentType, buildCommand } = data;- if (deploymentType === 'node') {- await createDockerfile(data, baseImage);- await buildImage(data);- } else if (deploymentType === 'static') {- if (buildCommand) await buildCacheImageWithNode(data, baseBuildImage);- await createDockerfile(data, baseImage);- await buildImage(data);- }- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/php.ts b/apps/api/src/lib/buildPacks/php.tsdeleted file mode 100644index abfd7af4f9..0000000000--- a/apps/api/src/lib/buildPacks/php.ts+++ /dev/null@@ -1,50 +0,0 @@-import { promises as fs } from 'fs';-import { generateSecrets } from '../common';-import { buildImage } from './common';--const createDockerfile = async (data, image, htaccessFound): Promise<void> => {- const { workdir, baseDirectory, buildId, port, secrets, pullmergeRequestId } = data;- const Dockerfile: Array<string> = [];- let composerFound = false;- try {- await fs.readFile(`${workdir}${baseDirectory || ''}/composer.json`);- composerFound = true;- } catch (error) {}-- Dockerfile.push(`FROM ${image}`);- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- if (secrets.length > 0) {- generateSecrets(secrets, pullmergeRequestId, true).forEach((env) => {- Dockerfile.push(env);- });- }- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`COPY .${baseDirectory || ''} /app`);- if (htaccessFound) {- Dockerfile.push(`COPY .${baseDirectory || ''}/.htaccess ./`);- }- if (composerFound) {- Dockerfile.push(`RUN composer install`);- }-- Dockerfile.push(`COPY /entrypoint.sh /opt/docker/provision/entrypoint.d/30-entrypoint.sh`);- Dockerfile.push(`EXPOSE ${port}`);- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- const { workdir, baseDirectory, baseImage } = data;- try {- let htaccessFound = false;- try {- await fs.readFile(`${workdir}${baseDirectory || ''}/.htaccess`);- htaccessFound = true;- } catch (e) {- //- }- await createDockerfile(data, baseImage, htaccessFound);- await buildImage(data);- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/python.ts b/apps/api/src/lib/buildPacks/python.tsdeleted file mode 100644index 56294660fa..0000000000--- a/apps/api/src/lib/buildPacks/python.ts+++ /dev/null@@ -1,67 +0,0 @@-import { promises as fs } from 'fs';-import { generateSecrets } from '../common';-import { buildImage } from './common';--const createDockerfile = async (data, image): Promise<void> => {- const {- workdir,- port,- baseDirectory,- secrets,- pullmergeRequestId,- pythonWSGI,- pythonModule,- pythonVariable,- buildId- } = data;- const Dockerfile: Array<string> = [];- Dockerfile.push(`FROM ${image}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- if (secrets.length > 0) {- generateSecrets(secrets, pullmergeRequestId, true).forEach((env) => {- Dockerfile.push(env);- });- }- if (pythonWSGI?.toLowerCase() === 'gunicorn') {- Dockerfile.push(`RUN pip install gunicorn`);- } else if (pythonWSGI?.toLowerCase() === 'uvicorn') {- Dockerfile.push(`RUN pip install uvicorn`);- } else if (pythonWSGI?.toLowerCase() === 'uwsgi') {- Dockerfile.push(`RUN apk add --no-cache uwsgi-python3`);- // Dockerfile.push(`RUN pip install --no-cache-dir uwsgi`)- }-- try {- await fs.stat(`${workdir}${baseDirectory || ''}/requirements.txt`);- Dockerfile.push(`COPY .${baseDirectory || ''}/requirements.txt ./`);- Dockerfile.push(`RUN pip install --no-cache-dir -r .${baseDirectory || ''}/requirements.txt`);- } catch (e) {- //- }- Dockerfile.push(`COPY .${baseDirectory || ''} ./`);- Dockerfile.push(`EXPOSE ${port}`);- if (pythonWSGI?.toLowerCase() === 'gunicorn') {- Dockerfile.push(`CMD gunicorn -w=4 -b=0.0.0.0:8000 ${pythonModule}:${pythonVariable}`);- } else if (pythonWSGI?.toLowerCase() === 'uvicorn') {- Dockerfile.push(`CMD uvicorn ${pythonModule}:${pythonVariable} --port ${port} --host 0.0.0.0`);- } else if (pythonWSGI?.toLowerCase() === 'uwsgi') {- Dockerfile.push(- `CMD uwsgi --master -p 4 --http-socket 0.0.0.0:8000 --uid uwsgi --plugins python3 --protocol uwsgi --wsgi ${pythonModule}:${pythonVariable}`- );- } else {- Dockerfile.push(`CMD python ${pythonModule}`);- }-- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- try {- const { baseImage, baseBuildImage } = data;- await createDockerfile(data, baseImage);- await buildImage(data);- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/react.ts b/apps/api/src/lib/buildPacks/react.tsdeleted file mode 100644index 27cf8718ba..0000000000--- a/apps/api/src/lib/buildPacks/react.ts+++ /dev/null@@ -1,28 +0,0 @@-import { promises as fs } from 'fs';-import { buildCacheImageWithNode, buildImage } from './common';--const createDockerfile = async (data, image): Promise<void> => {- const { applicationId, tag, workdir, publishDirectory, baseImage, buildId, port } = data;- const Dockerfile: Array<string> = [];-- Dockerfile.push(`FROM ${image}`);- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /app${publishDirectory} ./`);- if (baseImage?.includes('nginx')) {- Dockerfile.push(`COPY /nginx.conf /etc/nginx/nginx.conf`);- }- Dockerfile.push(`EXPOSE ${port}`);- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- try {- const { baseImage, baseBuildImage } = data;- await buildCacheImageWithNode(data, baseBuildImage);- await createDockerfile(data, baseImage);- await buildImage(data);- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/rust.ts b/apps/api/src/lib/buildPacks/rust.tsdeleted file mode 100644index 931a4524a9..0000000000--- a/apps/api/src/lib/buildPacks/rust.ts+++ /dev/null@@ -1,40 +0,0 @@-import { promises as fs } from 'fs';-import TOML from '@iarna/toml';-import { executeCommand } from '../common';-import { buildCacheImageWithCargo, buildImage } from './common';--const createDockerfile = async (data, image, name): Promise<void> => {- const { workdir, port, applicationId, tag, buildId } = data;- const Dockerfile: Array<string> = [];- Dockerfile.push(`FROM ${image}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /app/target target`);- Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /usr/local/cargo /usr/local/cargo`);- Dockerfile.push(`COPY . .`);- Dockerfile.push(`RUN cargo build --release --bin ${name}`);- Dockerfile.push('FROM debian:buster-slim');- Dockerfile.push('WORKDIR /app');- Dockerfile.push(- `RUN apt-get update -y && apt-get install -y --no-install-recommends openssl libcurl4 ca-certificates && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*`- );- Dockerfile.push(`RUN update-ca-certificates`);- Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /app/target/release/${name} ${name}`);- Dockerfile.push(`EXPOSE ${port}`);- Dockerfile.push(`CMD ["/app/${name}"]`);- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- try {- const { workdir, baseImage, baseBuildImage } = data;- const { stdout: cargoToml } = await executeCommand({ command: `cat ${workdir}/Cargo.toml` });- const parsedToml: any = TOML.parse(cargoToml);- const name = parsedToml.package.name;- await buildCacheImageWithCargo(data, baseBuildImage);- await createDockerfile(data, baseImage, name);- await buildImage(data);- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/static.ts b/apps/api/src/lib/buildPacks/static.tsdeleted file mode 100644index def989fc99..0000000000--- a/apps/api/src/lib/buildPacks/static.ts+++ /dev/null@@ -1,54 +0,0 @@-import { promises as fs } from 'fs';-import { generateSecrets } from '../common';-import { buildCacheImageWithNode, buildImage } from './common';--const createDockerfile = async (data, image): Promise<void> => {- const {- applicationId,- tag,- workdir,- buildCommand,- baseDirectory,- publishDirectory,- secrets,- pullmergeRequestId,- baseImage,- buildId,- port- } = data;- const Dockerfile: Array<string> = [];-- Dockerfile.push(`FROM ${image}`);- if (baseImage?.includes('httpd')) {- Dockerfile.push('WORKDIR /usr/local/apache2/htdocs/');- } else {- Dockerfile.push('WORKDIR /app');- }- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- if (secrets.length > 0) {- generateSecrets(secrets, pullmergeRequestId, true).forEach((env) => {- Dockerfile.push(env);- });- }- if (buildCommand) {- Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /app${publishDirectory} ./`);- } else {- Dockerfile.push(`COPY .${baseDirectory || ''} ./`);- }- if (baseImage?.includes('nginx')) {- Dockerfile.push(`COPY /nginx.conf /etc/nginx/nginx.conf`);- }- Dockerfile.push(`EXPOSE ${port}`);- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- try {- const { baseImage, baseBuildImage } = data;- if (data.buildCommand) await buildCacheImageWithNode(data, baseBuildImage);- await createDockerfile(data, baseImage);- await buildImage(data);- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/svelte.ts b/apps/api/src/lib/buildPacks/svelte.tsdeleted file mode 100644index a69eccd972..0000000000--- a/apps/api/src/lib/buildPacks/svelte.ts+++ /dev/null@@ -1,28 +0,0 @@-import { promises as fs } from 'fs';-import { buildCacheImageWithNode, buildImage } from './common';--const createDockerfile = async (data, image): Promise<void> => {- const { applicationId, tag, workdir, publishDirectory, baseImage, buildId, port } = data;- const Dockerfile: Array<string> = [];-- Dockerfile.push(`FROM ${image}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /app${publishDirectory} ./`);- if (baseImage?.includes('nginx')) {- Dockerfile.push(`COPY /nginx.conf /etc/nginx/nginx.conf`);- }- Dockerfile.push(`EXPOSE ${port}`);- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- try {- const { baseImage, baseBuildImage } = data;- await buildCacheImageWithNode(data, baseBuildImage);- await createDockerfile(data, baseImage);- await buildImage(data);- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/buildPacks/vuejs.ts b/apps/api/src/lib/buildPacks/vuejs.tsdeleted file mode 100644index a69eccd972..0000000000--- a/apps/api/src/lib/buildPacks/vuejs.ts+++ /dev/null@@ -1,28 +0,0 @@-import { promises as fs } from 'fs';-import { buildCacheImageWithNode, buildImage } from './common';--const createDockerfile = async (data, image): Promise<void> => {- const { applicationId, tag, workdir, publishDirectory, baseImage, buildId, port } = data;- const Dockerfile: Array<string> = [];-- Dockerfile.push(`FROM ${image}`);- Dockerfile.push('WORKDIR /app');- Dockerfile.push(`LABEL coolify.buildId=${buildId}`);- Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /app${publishDirectory} ./`);- if (baseImage?.includes('nginx')) {- Dockerfile.push(`COPY /nginx.conf /etc/nginx/nginx.conf`);- }- Dockerfile.push(`EXPOSE ${port}`);- await fs.writeFile(`${workdir}/Dockerfile`, Dockerfile.join('\n'));-};--export default async function (data) {- try {- const { baseImage, baseBuildImage } = data;- await buildCacheImageWithNode(data, baseBuildImage);- await createDockerfile(data, baseImage);- await buildImage(data);- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.tsdeleted file mode 100644index a8a7b92d09..0000000000--- a/apps/api/src/lib/common.ts+++ /dev/null@@ -1,1928 +0,0 @@-import { exec } from 'node:child_process';-import util from 'util';-import fs from 'fs/promises';-import yaml from 'js-yaml';-import forge from 'node-forge';-import { uniqueNamesGenerator, adjectives, colors, animals } from 'unique-names-generator';-import type { Config } from 'unique-names-generator';-import generator from 'generate-password';-import crypto from 'crypto';-import { promises as dns } from 'dns';-import * as Sentry from '@sentry/node';-import { PrismaClient } from '@prisma/client';-import os from 'os';-import * as SSHConfig from 'ssh-config/src/ssh-config';-import jsonwebtoken from 'jsonwebtoken';-import { checkContainer, removeContainer } from './docker';-import { day } from './dayjs';-import { saveBuildLog } from './buildPacks/common';-import { scheduler } from './scheduler';-import type { ExecaChildProcess } from 'execa';--export const version = '3.12.28';-export const isDev = process.env.NODE_ENV === 'development';-export const proxyPort = process.env.COOLIFY_PROXY_PORT;-export const proxySecurePort = process.env.COOLIFY_PROXY_SECURE_PORT;-export const sentryDSN =- 'https://[email protected]/4504236622217216';-const algorithm = 'aes-256-ctr';-const customConfig: Config = {- dictionaries: [adjectives, colors, animals],- style: 'capital',- separator: ' ',- length: 3-};--export const defaultTraefikImage = `traefik:v2.8`;-export function getAPIUrl() {- if (process.env.GITPOD_WORKSPACE_URL) {- const { href } = new URL(process.env.GITPOD_WORKSPACE_URL);- const newURL = href.replace('https://', 'https://3001-').replace(/\/$/, '');- return newURL;- }- if (process.env.CODESANDBOX_HOST) {- return `https://${process.env.CODESANDBOX_HOST.replace(/\$PORT/, '3001')}`;- }- return isDev ? 'http://host.docker.internal:3001' : 'http://localhost:3000';-}--export function getUIUrl() {- if (process.env.GITPOD_WORKSPACE_URL) {- const { href } = new URL(process.env.GITPOD_WORKSPACE_URL);- const newURL = href.replace('https://', 'https://3000-').replace(/\/$/, '');- return newURL;- }- if (process.env.CODESANDBOX_HOST) {- return `https://${process.env.CODESANDBOX_HOST.replace(/\$PORT/, '3000')}`;- }- return 'http://localhost:3000';-}--const mainTraefikEndpoint = isDev- ? `${getAPIUrl()}/webhooks/traefik/main.json`- : 'http://coolify:3000/webhooks/traefik/main.json';--const otherTraefikEndpoint = isDev- ? `${getAPIUrl()}/webhooks/traefik/other.json`- : 'http://coolify:3000/webhooks/traefik/other.json';--export const uniqueName = (): string => uniqueNamesGenerator(customConfig);-export const asyncExecShellStream = async ({- debug,- buildId,- applicationId,- command,- engine-}: {- debug: boolean;- buildId: string;- applicationId: string;- command: string;- engine: string;-}) => {- return await new Promise(async (resolve, reject) => {- const { execaCommand } = await import('execa');- const subprocess = execaCommand(command, {- env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine }- });- const logs = [];- subprocess.stdout.on('data', async (data) => {- const stdout = data.toString();- const array = stdout.split('\n');- for (const line of array) {- if (line !== '\n' && line !== '') {- const log = {- line: `${line.replace('\n', '')}`,- buildId,- applicationId- };- logs.push(log);- if (debug) {- await saveBuildLog(log);- }- }- }- });- subprocess.stderr.on('data', async (data) => {- const stderr = data.toString();- const array = stderr.split('\n');- for (const line of array) {- if (line !== '\n' && line !== '') {- const log = {- line: `${line.replace('\n', '')}`,- buildId,- applicationId- };- logs.push(log);- if (debug) {- await saveBuildLog(log);- }- }- }- });- subprocess.on('exit', async (code) => {- await asyncSleep(1000);- if (code === 0) {- resolve(code);- } else {- if (!debug) {- for (const log of logs) {- await saveBuildLog(log);- }- }- reject(code);- }- });- });-};--export const asyncSleep = (delay: number): Promise<unknown> =>- new Promise((resolve) => setTimeout(resolve, delay));-export const prisma = new PrismaClient({- errorFormat: 'minimal'- // log: [- // {- // emit: 'event',- // level: 'query',- // },- // {- // emit: 'stdout',- // level: 'error',- // },- // {- // emit: 'stdout',- // level: 'info',- // },- // {- // emit: 'stdout',- // level: 'warn',- // },- // ],-});--// prisma.$on('query', (e) => {-// console.log({e})-// console.log('Query: ' + e.query)-// console.log('Params: ' + e.params)-// console.log('Duration: ' + e.duration + 'ms')-// })-export const base64Encode = (text: string): string => {- return Buffer.from(text).toString('base64');-};-export const base64Decode = (text: string): string => {- return Buffer.from(text, 'base64').toString('ascii');-};-export const decrypt = (hashString: string) => {- if (hashString) {- try {- const hash = JSON.parse(hashString);- const decipher = crypto.createDecipheriv(- algorithm,- process.env['COOLIFY_SECRET_KEY'],- Buffer.from(hash.iv, 'hex')- );- const decrpyted = Buffer.concat([- decipher.update(Buffer.from(hash.content, 'hex')),- decipher.final()- ]);- return decrpyted.toString();- } catch (error) {- console.log({ decryptionError: error.message });- return hashString;- }- }-};-export const encrypt = (text: string) => {- if (text) {- const iv = crypto.randomBytes(16);- const cipher = crypto.createCipheriv(algorithm, process.env['COOLIFY_SECRET_KEY'], iv);- const encrypted = Buffer.concat([cipher.update(text.trim()), cipher.final()]);- return JSON.stringify({- iv: iv.toString('hex'),- content: encrypted.toString('hex')- });- }-};--export async function checkDoubleBranch(branch: string, projectId: number): Promise<boolean> {- const applications = await prisma.application.findMany({ where: { branch, projectId } });- return applications.length > 1;-}-export async function isDNSValid(hostname: any, domain: string): Promise<any> {- const { isIP } = await import('is-ip');- const { DNSServers } = await listSettings();- if (DNSServers) {- dns.setServers([...DNSServers.split(',')]);- }- let resolves = [];- try {- if (isIP(hostname)) {- resolves = [hostname];- } else {- resolves = await dns.resolve4(hostname);- }- } catch (error) {- throw 'Invalid DNS.';- }-- try {- let ipDomainFound = false;- const dnsResolve = await dns.resolve4(domain);- if (dnsResolve.length > 0) {- for (const ip of dnsResolve) {- if (resolves.includes(ip)) {- ipDomainFound = true;- }- }- }- if (!ipDomainFound) throw false;- } catch (error) {- throw 'DNS not set';- }-}--export function getDomain(domain: string): string {- if (domain) {- return domain?.replace('https://', '').replace('http://', '');- } else {- return '';- }-}--export async function isDomainConfigured({- id,- fqdn,- checkOwn = false,- remoteIpAddress = undefined-}: {- id: string;- fqdn: string;- checkOwn?: boolean;- remoteIpAddress?: string;-}): Promise<boolean> {- const domain = getDomain(fqdn);- const nakedDomain = domain.replace('www.', '');- const foundApp = await prisma.application.findFirst({- where: {- OR: [- { fqdn: { endsWith: `//${nakedDomain}` } },- { fqdn: { endsWith: `//www.${nakedDomain}` } },- { dockerComposeConfiguration: { contains: `//${nakedDomain}` } },- { dockerComposeConfiguration: { contains: `//www.${nakedDomain}` } }- ],- id: { not: id },- destinationDocker: {- remoteIpAddress- }- },- select: { fqdn: true }- });- const foundService = await prisma.service.findFirst({- where: {- OR: [- { fqdn: { endsWith: `//${nakedDomain}` } },- { fqdn: { endsWith: `//www.${nakedDomain}` } }- ],- id: { not: checkOwn ? undefined : id },- destinationDocker: {- remoteIpAddress- }- },- select: { fqdn: true }- });-- const coolifyFqdn = await prisma.setting.findFirst({- where: {- OR: [- { fqdn: { endsWith: `//${nakedDomain}` } },- { fqdn: { endsWith: `//www.${nakedDomain}` } }- ],- id: { not: id }- },- select: { fqdn: true }- });- return !!(foundApp || foundService || coolifyFqdn);-}--export async function getContainerUsage(dockerId: string, container: string): Promise<any> {- try {- const { stdout } = await executeCommand({- dockerId,- command: `docker container stats ${container} --no-stream --no-trunc --format "{{json .}}"`- });- return JSON.parse(stdout);- } catch (err) {- return {- MemUsage: 0,- CPUPerc: 0,- NetIO: 0- };- }-}--export async function checkDomainsIsValidInDNS({ hostname, fqdn, dualCerts }): Promise<any> {- const { isIP } = await import('is-ip');- const domain = getDomain(fqdn);- const domainDualCert = domain.includes('www.') ? domain.replace('www.', '') : `www.${domain}`;-- const { DNSServers } = await listSettings();- if (DNSServers) {- dns.setServers([...DNSServers.split(',')]);- }-- let resolves = [];- try {- if (isIP(hostname)) {- resolves = [hostname];- } else {- resolves = await dns.resolve4(hostname);- }- } catch (error) {- throw { status: 500, message: `Could not determine IP address for ${hostname}.` };- }-- if (dualCerts) {- try {- const ipDomain = await dns.resolve4(domain);- const ipDomainDualCert = await dns.resolve4(domainDualCert);-- let ipDomainFound = false;- let ipDomainDualCertFound = false;-- for (const ip of ipDomain) {- if (resolves.includes(ip)) {- ipDomainFound = true;- }- }- for (const ip of ipDomainDualCert) {- if (resolves.includes(ip)) {- ipDomainDualCertFound = true;- }- }- if (ipDomainFound && ipDomainDualCertFound) return { status: 200 };- throw {- status: 500,- message: `DNS not set correctly or propogated.<br>Please check your DNS settings.`- };- } catch (error) {- throw {- status: 500,- message: `DNS not set correctly or propogated.<br>Please check your DNS settings.`- };- }- } else {- try {- const ipDomain = await dns.resolve4(domain);- let ipDomainFound = false;- for (const ip of ipDomain) {- if (resolves.includes(ip)) {- ipDomainFound = true;- }- }- if (ipDomainFound) return { status: 200 };- throw {- status: 500,- message: `DNS not set correctly or propogated.<br>Please check your DNS settings.`- };- } catch (error) {- throw {- status: 500,- message: `DNS not set correctly or propogated.<br>Please check your DNS settings.`- };- }- }-}-export function generateTimestamp(): string {- return `${day().format('HH:mm:ss.SSS')}`;-}--export const supportedDatabaseTypesAndVersions = [- {- name: 'mongodb',- fancyName: 'MongoDB',- baseImage: 'bitnami/mongodb',- baseImageARM: 'mongo',- versions: ['5.0', '4.4', '4.2'],- versionsARM: ['5.0', '4.4', '4.2']- },- {- name: 'mysql',- fancyName: 'MySQL',- baseImage: 'bitnami/mysql',- baseImageARM: 'mysql',- versions: ['8.0', '5.7'],- versionsARM: ['8.0', '5.7']- },- {- name: 'mariadb',- fancyName: 'MariaDB',- baseImage: 'bitnami/mariadb',- baseImageARM: 'mariadb',- versions: ['10.8', '10.7', '10.6', '10.5', '10.4', '10.3', '10.2'],- versionsARM: ['10.8', '10.7', '10.6', '10.5', '10.4', '10.3', '10.2']- },- {- name: 'postgresql',- fancyName: 'PostgreSQL',- baseImage: 'bitnami/postgresql',- baseImageARM: 'postgres',- versions: ['14.5.0', '13.8.0', '12.12.0', '11.17.0', '10.22.0'],- versionsARM: ['14.5', '13.8', '12.12', '11.17', '10.22']- },- {- name: 'redis',- fancyName: 'Redis',- baseImage: 'bitnami/redis',- baseImageARM: 'redis',- versions: ['7.0', '6.2', '6.0', '5.0'],- versionsARM: ['7.0', '6.2', '6.0', '5.0']- },- {- name: 'couchdb',- fancyName: 'CouchDB',- baseImage: 'bitnami/couchdb',- baseImageARM: 'couchdb',- versions: ['3.2.2', '3.1.2', '2.3.1'],- versionsARM: ['3.2.2', '3.1.2', '2.3.1']- },- {- name: 'edgedb',- fancyName: 'EdgeDB',- baseImage: 'edgedb/edgedb',- versions: ['latest', '2.1', '2.0', '1.4']- }-];--export async function getFreeSSHLocalPort(id: string): Promise<number | boolean> {- const { default: isReachable } = await import('is-port-reachable');- const { remoteIpAddress, sshLocalPort } = await prisma.destinationDocker.findUnique({- where: { id }- });- if (sshLocalPort) {- return Number(sshLocalPort);- }-- const data = await prisma.setting.findFirst();- const { minPort, maxPort } = data;-- const ports = await prisma.destinationDocker.findMany({- where: { sshLocalPort: { not: null }, remoteIpAddress: { not: remoteIpAddress } }- });-- const alreadyConfigured = await prisma.destinationDocker.findFirst({- where: {- remoteIpAddress,- id: { not: id },- sshLocalPort: { not: null }- }- });- if (alreadyConfigured?.sshLocalPort) {- await prisma.destinationDocker.update({- where: { id },- data: { sshLocalPort: alreadyConfigured.sshLocalPort }- });- return Number(alreadyConfigured.sshLocalPort);- }- const range = generateRangeArray(minPort, maxPort);- const availablePorts = range.filter((port) => !ports.map((p) => p.sshLocalPort).includes(port));- for (const port of availablePorts) {- const found = await isReachable(port, { host: 'localhost' });- if (!found) {- await prisma.destinationDocker.update({- where: { id },- data: { sshLocalPort: Number(port) }- });- return Number(port);- }- }- return false;-}--/**- * Update the ssh config file with a host- *- * @param id Destination ID- * @returns- */-export async function createRemoteEngineConfiguration(id: string) {- const sshKeyFile = `/tmp/id_rsa-${id}`;- const localPort = await getFreeSSHLocalPort(id);- const {- sshKey: { privateKey },- remoteIpAddress,- remotePort,- remoteUser- } = await prisma.destinationDocker.findFirst({ where: { id }, include: { sshKey: true } });-- // Write new keyfile- await fs.writeFile(sshKeyFile, decrypt(privateKey) + '\n', { encoding: 'utf8', mode: 400 });-- const Host = `${remoteIpAddress}-remote`;-- // Removes previous ssh-keys- try {- await executeCommand({ command: `ssh-keygen -R ${Host}` });- await executeCommand({ command: `ssh-keygen -R ${remoteIpAddress}` });- await executeCommand({ command: `ssh-keygen -R localhost:${localPort}` });- } catch (error) {- //- }-- const homedir = os.homedir();- let currentConfigFileContent = '';- try {- // Read the current config file- currentConfigFileContent = (await fs.readFile(`${homedir}/.ssh/config`)).toString();- } catch (error) {- // File doesn't exist, so we do nothing, a new one is going to be created- }-- // Parse the config file- const config = SSHConfig.parse(currentConfigFileContent);-- // Remove current config for the given host- const found = config.find({ Host });- const foundIp = config.find({ Host: remoteIpAddress });-- if (found) config.remove({ Host });- if (foundIp) config.remove({ Host: remoteIpAddress });-- // Create the new config- config.append({- Host,- Hostname: remoteIpAddress,- Port: remotePort.toString(),- User: remoteUser,- StrictHostKeyChecking: 'no',- IdentityFile: sshKeyFile,- ControlMaster: 'auto',- ControlPath: `${homedir}/.ssh/coolify-${remoteIpAddress}-%r@%h:%p`,- ControlPersist: '10m'- });-- // Check if .ssh folder exists, and if not create one- try {- await fs.stat(`${homedir}/.ssh/`);- } catch (error) {- await fs.mkdir(`${homedir}/.ssh/`);- }-- // Write the config- return await fs.writeFile(`${homedir}/.ssh/config`, SSHConfig.stringify(config));-}--export async function executeCommand({- command,- dockerId = null,- sshCommand = false,- shell = false,- stream = false,- buildId,- applicationId,- debug-}: {- command: string;- sshCommand?: boolean;- shell?: boolean;- stream?: boolean;- dockerId?: string;- buildId?: string;- applicationId?: string;- debug?: boolean;-}): Promise<ExecaChildProcess<string>> {- const { execa, execaCommand } = await import('execa');- const { parse } = await import('shell-quote');- const parsedCommand = parse(command);- const dockerCommand = parsedCommand[0];- const dockerArgs = parsedCommand.slice(1);-- if (dockerId) {- let { remoteEngine, remoteIpAddress, engine } = await prisma.destinationDocker.findUnique({- where: { id: dockerId }- });- if (remoteEngine) {- await createRemoteEngineConfiguration(dockerId);- engine = `ssh://${remoteIpAddress}-remote`;- } else {- engine = 'unix:///var/run/docker.sock';- }- if (process.env.CODESANDBOX_HOST) {- if (command.startsWith('docker compose')) {- command = command.replace(/docker compose/gi, 'docker-compose');- }- }- if (sshCommand) {- if (shell) {- return execaCommand(`ssh ${remoteIpAddress}-remote ${command}`);- }- return await execa('ssh', [`${remoteIpAddress}-remote`, dockerCommand, ...dockerArgs]);- }- if (stream) {- return await new Promise(async (resolve, reject) => {- let subprocess = null;- if (shell) {- subprocess = execaCommand(command, {- env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine }- });- } else {- subprocess = execa(dockerCommand, dockerArgs, {- env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine }- });- }- const logs = [];- subprocess.stdout.on('data', async (data) => {- const stdout = data.toString();- const array = stdout.split('\n');- for (const line of array) {- if (line !== '\n' && line !== '') {- const log = {- line: `${line.replace('\n', '')}`,- buildId,- applicationId- };- logs.push(log);- if (debug) {- await saveBuildLog(log);- }- }- }- });- subprocess.stderr.on('data', async (data) => {- const stderr = data.toString();- const array = stderr.split('\n');- for (const line of array) {- if (line !== '\n' && line !== '') {- const log = {- line: `${line.replace('\n', '')}`,- buildId,- applicationId- };- logs.push(log);- if (debug) {- await saveBuildLog(log);- }- }- }- });- subprocess.on('exit', async (code) => {- if (code === 0) {- resolve(code);- } else {- if (!debug) {- for (const log of logs) {- await saveBuildLog(log);- }- }- reject(code);- }- });- });- } else {- if (shell) {- return await execaCommand(command, {- env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine }- });- } else {- return await execa(dockerCommand, dockerArgs, {- env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine }- });- }- }- } else {- if (shell) {- return execaCommand(command, { shell: true });- }- return await execa(dockerCommand, dockerArgs);- }-}--export async function startTraefikProxy(id: string): Promise<void> {- const { engine, network, remoteEngine, remoteIpAddress } =- await prisma.destinationDocker.findUnique({ where: { id } });- const { found } = await checkContainer({- dockerId: id,- container: 'coolify-proxy',- remove: true- });- const { id: settingsId, ipv4, ipv6 } = await listSettings();-- if (!found) {- const { stdout: coolifyNetwork } = await executeCommand({- dockerId: id,- command: `docker network ls --filter 'name=coolify-infra' --no-trunc --format "{{json .}}"`- });-- if (!coolifyNetwork) {- await executeCommand({- dockerId: id,- command: `docker network create --attachable coolify-infra`- });- }- const { stdout: Config } = await executeCommand({- dockerId: id,- command: `docker network inspect ${network} --format '{{json .IPAM.Config }}'`- });- const ip = JSON.parse(Config)[0].Gateway;- let traefikUrl = mainTraefikEndpoint;- if (remoteEngine) {- let ip = null;- if (isDev) {- ip = getAPIUrl();- } else {- ip = `http://${ipv4 || ipv6}:3000`;- }- traefikUrl = `${ip}/webhooks/traefik/remote/${id}`;- }- await executeCommand({- dockerId: id,- command: `docker run --restart always \- --add-host 'host.docker.internal:host-gateway' \- ${ip ? `--add-host 'host.docker.internal:${ip}'` : ''} \- -v coolify-traefik-letsencrypt:/etc/traefik/acme \- -v /var/run/docker.sock:/var/run/docker.sock \- --network coolify-infra \- -p ${proxyPort ? `${proxyPort}:80` : `80:80`} \- -p ${proxySecurePort ? `${proxySecurePort}:443` : `443:443`} \- ${isDev ? '-p "8080:8080"' : ''} \- --name coolify-proxy \- -d ${defaultTraefikImage} \- ${isDev ? '--api.insecure=true' : ''} \- --entrypoints.web.address=:80 \- --entrypoints.web.forwardedHeaders.insecure=true \- --entrypoints.websecure.address=:443 \- --entrypoints.websecure.forwardedHeaders.insecure=true \- --providers.docker=true \- --providers.docker.exposedbydefault=false \- --providers.http.endpoint=${traefikUrl} \- --providers.http.pollTimeout=5s \- --certificatesresolvers.letsencrypt.acme.httpchallenge=true \- --certificatesresolvers.letsencrypt.acme.storage=/etc/traefik/acme/acme.json \- --certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web \- --log.level=error`- });- await prisma.destinationDocker.update({- where: { id },- data: { isCoolifyProxyUsed: true }- });- }- // Configure networks for local docker engine- if (engine) {- const destinations = await prisma.destinationDocker.findMany({ where: { engine } });- for (const destination of destinations) {- await configureNetworkTraefikProxy(destination);- }- }- // Configure networks for remote docker engine- if (remoteEngine) {- const destinations = await prisma.destinationDocker.findMany({ where: { remoteIpAddress } });- for (const destination of destinations) {- await configureNetworkTraefikProxy(destination);- }- }-}--export async function configureNetworkTraefikProxy(destination: any): Promise<void> {- const { id } = destination;- const { stdout: networks } = await executeCommand({- dockerId: id,- command: `docker ps -a --filter name=coolify-proxy --format '{{json .Networks}}'`- });- const configuredNetworks = networks.replace(/"/g, '').replace('\n', '').split(',');- if (!configuredNetworks.includes(destination.network)) {- await executeCommand({- dockerId: destination.id,- command: `docker network connect ${destination.network} coolify-proxy`- });- }-}--export async function stopTraefikProxy(- id: string-): Promise<{ stdout: string; stderr: string } | Error> {- const { found } = await checkContainer({ dockerId: id, container: 'coolify-proxy' });- await prisma.destinationDocker.update({- where: { id },- data: { isCoolifyProxyUsed: false }- });- try {- if (found) {- await executeCommand({- dockerId: id,- command: `docker stop -t 0 coolify-proxy && docker rm coolify-proxy`,- shell: true- });- }- } catch (error) {- return error;- }-}--export async function listSettings(): Promise<any> {- return await prisma.setting.findUnique({ where: { id: '0' } });-}--export function generateToken() {- return jsonwebtoken.sign(- {- nbf: Math.floor(Date.now() / 1000) - 30- },- process.env['COOLIFY_SECRET_KEY']- );-}-export function generatePassword({- length = 24,- symbols = false,- isHex = false-}: { length?: number; symbols?: boolean; isHex?: boolean } | null): string {- if (isHex) {- return crypto.randomBytes(length).toString('hex');- }- const password = generator.generate({- length,- numbers: true,- strict: true,- symbols- });-- return password;-}--type DatabaseConfiguration =- | {- volume: string;- image: string;- command?: string;- ulimits: Record<string, unknown>;- privatePort: number;- environmentVariables: {- MYSQL_DATABASE: string;- MYSQL_PASSWORD: string;- MYSQL_ROOT_USER: string;- MYSQL_USER: string;- MYSQL_ROOT_PASSWORD: string;- };- }- | {- volume: string;- image: string;- command?: string;- ulimits: Record<string, unknown>;- privatePort: number;- environmentVariables: {- MONGO_INITDB_ROOT_USERNAME?: string;- MONGO_INITDB_ROOT_PASSWORD?: string;- MONGODB_ROOT_USER?: string;- MONGODB_ROOT_PASSWORD?: string;- };- }- | {- volume: string;- image: string;- command?: string;- ulimits: Record<string, unknown>;- privatePort: number;- environmentVariables: {- MARIADB_ROOT_USER: string;- MARIADB_ROOT_PASSWORD: string;- MARIADB_USER: string;- MARIADB_PASSWORD: string;- MARIADB_DATABASE: string;- };- }- | {- volume: string;- image: string;- command?: string;- ulimits: Record<string, unknown>;- privatePort: number;- environmentVariables: {- POSTGRES_PASSWORD?: string;- POSTGRES_USER?: string;- POSTGRES_DB?: string;- POSTGRESQL_POSTGRES_PASSWORD?: string;- POSTGRESQL_USERNAME?: string;- POSTGRESQL_PASSWORD?: string;- POSTGRESQL_DATABASE?: string;- };- }- | {- volume: string;- image: string;- command?: string;- ulimits: Record<string, unknown>;- privatePort: number;- environmentVariables: {- REDIS_AOF_ENABLED: string;- REDIS_PASSWORD: string;- };- }- | {- volume: string;- image: string;- command?: string;- ulimits: Record<string, unknown>;- privatePort: number;- environmentVariables: {- COUCHDB_PASSWORD: string;- COUCHDB_USER: string;- };- }- | {- volume: string;- image: string;- command?: string;- ulimits: Record<string, unknown>;- privatePort: number;- environmentVariables: {- EDGEDB_SERVER_PASSWORD: string;- EDGEDB_SERVER_USER: string;- EDGEDB_SERVER_DATABASE: string;- EDGEDB_SERVER_TLS_CERT_MODE: string;- };- };-export function generateDatabaseConfiguration(database: any): DatabaseConfiguration {- const { id, dbUser, dbUserPassword, rootUser, rootUserPassword, defaultDatabase, version, type } =- database;- const baseImage = getDatabaseImage(type);- if (type === 'mysql') {- const configuration = {- privatePort: 3306,- environmentVariables: {- MYSQL_USER: dbUser,- MYSQL_PASSWORD: dbUserPassword,- MYSQL_ROOT_PASSWORD: rootUserPassword,- MYSQL_ROOT_USER: rootUser,- MYSQL_DATABASE: defaultDatabase- },- image: `${baseImage}:${version}`,- volume: `${id}-${type}-data:/bitnami/mysql/data`,- ulimits: {}- };- if (isARM()) {- configuration.volume = `${id}-${type}-data:/var/lib/mysql`;- }- return configuration;- } else if (type === 'mariadb') {- const configuration: DatabaseConfiguration = {- privatePort: 3306,- environmentVariables: {- MARIADB_ROOT_USER: rootUser,- MARIADB_ROOT_PASSWORD: rootUserPassword,- MARIADB_USER: dbUser,- MARIADB_PASSWORD: dbUserPassword,- MARIADB_DATABASE: defaultDatabase- },- image: `${baseImage}:${version}`,- volume: `${id}-${type}-data:/bitnami/mariadb`,- ulimits: {}- };- if (isARM()) {- configuration.volume = `${id}-${type}-data:/var/lib/mysql`;- }- return configuration;- } else if (type === 'mongodb') {- const configuration: DatabaseConfiguration = {- privatePort: 27017,- environmentVariables: {- MONGODB_ROOT_USER: rootUser,- MONGODB_ROOT_PASSWORD: rootUserPassword- },- image: `${baseImage}:${version}`,- volume: `${id}-${type}-data:/bitnami/mongodb`,- ulimits: {}- };- if (isARM()) {- configuration.environmentVariables = {- MONGO_INITDB_ROOT_USERNAME: rootUser,- MONGO_INITDB_ROOT_PASSWORD: rootUserPassword- };- configuration.volume = `${id}-${type}-data:/data/db`;- }- return configuration;- } else if (type === 'postgresql') {- const configuration: DatabaseConfiguration = {- privatePort: 5432,- environmentVariables: {- POSTGRESQL_POSTGRES_PASSWORD: rootUserPassword,- POSTGRESQL_PASSWORD: dbUserPassword,- POSTGRESQL_USERNAME: dbUser,- POSTGRESQL_DATABASE: defaultDatabase- },- image: `${baseImage}:${version}`,- volume: `${id}-${type}-data:/bitnami/postgresql`,- ulimits: {}- };- if (isARM()) {- configuration.volume = `${id}-${type}-data:/var/lib/postgresql`;- configuration.environmentVariables = {- POSTGRES_PASSWORD: dbUserPassword,- POSTGRES_USER: dbUser,- POSTGRES_DB: defaultDatabase- };- }- return configuration;- } else if (type === 'redis') {- const {- settings: { appendOnly }- } = database;- const configuration: DatabaseConfiguration = {- privatePort: 6379,- command: undefined,- environmentVariables: {- REDIS_PASSWORD: dbUserPassword,- REDIS_AOF_ENABLED: appendOnly ? 'yes' : 'no'- },- image: `${baseImage}:${version}`,- volume: `${id}-${type}-data:/bitnami/redis/data`,- ulimits: {}- };- if (isARM()) {- configuration.volume = `${id}-${type}-data:/data`;- configuration.command = `/usr/local/bin/redis-server --appendonly ${appendOnly ? 'yes' : 'no'- } --requirepass ${dbUserPassword}`;- }- return configuration;- } else if (type === 'couchdb') {- const configuration: DatabaseConfiguration = {- privatePort: 5984,- environmentVariables: {- COUCHDB_PASSWORD: dbUserPassword,- COUCHDB_USER: dbUser- },- image: `${baseImage}:${version}`,- volume: `${id}-${type}-data:/bitnami/couchdb`,- ulimits: {}- };- if (isARM()) {- configuration.volume = `${id}-${type}-data:/opt/couchdb/data`;- }- return configuration;- } else if (type === 'edgedb') {- const configuration: DatabaseConfiguration = {- privatePort: 5656,- environmentVariables: {- EDGEDB_SERVER_PASSWORD: rootUserPassword,- EDGEDB_SERVER_USER: rootUser,- EDGEDB_SERVER_DATABASE: defaultDatabase,- EDGEDB_SERVER_TLS_CERT_MODE: 'generate_self_signed'- },- image: `${baseImage}:${version}`,- volume: `${id}-${type}-data:/var/lib/edgedb/data`,- ulimits: {}- };- return configuration;- }-}-export function isARM() {- const arch = process.arch;- if (arch === 'arm' || arch === 'arm64' || arch === 'aarch' || arch === 'aarch64') {- return true;- }- return false;-}-export function getDatabaseImage(type: string): string {- const found = supportedDatabaseTypesAndVersions.find((t) => t.name === type);- if (found) {- if (isARM()) {- return found.baseImageARM || found.baseImage;- }- return found.baseImage;- }- return '';-}--export function getDatabaseVersions(type: string): string[] {- const found = supportedDatabaseTypesAndVersions.find((t) => t.name === type);- if (found) {- if (isARM()) {- return found.versionsARM || found.versions;- }- return found.versions;- }- return [];-}--export type ComposeFile = {- version: ComposerFileVersion;- services: Record<string, ComposeFileService>;- networks: Record<string, ComposeFileNetwork>;- volumes?: Record<string, ComposeFileVolume>;-};--export type ComposeFileService = {- container_name: string;- image?: string;- networks: string[];- environment?: Record<string, unknown>;- volumes?: string[];- ulimits?: unknown;- labels?: string[];- env_file?: string[];- extra_hosts?: string[];- restart: ComposeFileRestartOption;- depends_on?: string[];- command?: string;- ports?: string[];- build?:- | {- context: string;- dockerfile: string;- args?: Record<string, unknown>;- }- | string;- deploy?: {- restart_policy?: {- condition?: string;- delay?: string;- max_attempts?: number;- window?: string;- };- };-};--export type ComposerFileVersion =- | '3.8'- | '3.7'- | '3.6'- | '3.5'- | '3.4'- | '3.3'- | '3.2'- | '3.1'- | '3.0'- | '2.4'- | '2.3'- | '2.2'- | '2.1'- | '2.0';--export type ComposeFileRestartOption = 'no' | 'always' | 'on-failure' | 'unless-stopped';--export type ComposeFileNetwork = {- external: boolean;-};--export type ComposeFileVolume = {- external?: boolean;- name?: string;-};--export async function makeLabelForStandaloneDatabase({ id, image, volume }) {- const database = await prisma.database.findFirst({ where: { id } });- delete database.destinationDockerId;- delete database.createdAt;- delete database.updatedAt;- return [- 'coolify.managed=true',- `coolify.version=${version}`,- `coolify.type=standalone-database`,- `coolify.name=${database.name}`,- `coolify.configuration=${base64Encode(- JSON.stringify({- version,- image,- volume,- ...database- })- )}`- ];-}-export const createDirectories = async ({- repository,- buildId-}: {- repository: string;- buildId: string;-}): Promise<{ workdir: string; repodir: string }> => {- if (repository) repository = repository.replaceAll(' ', '');- const repodir = `/tmp/build-sources/${repository}/`;- const workdir = `/tmp/build-sources/${repository}/${buildId}`;- let workdirFound = false;- try {- workdirFound = !!(await fs.stat(workdir));- } catch (error) { }- if (workdirFound) {- await executeCommand({ command: `rm -fr ${workdir}` });- }- await executeCommand({ command: `mkdir -p ${workdir}` });- return {- workdir,- repodir- };-};--export async function stopDatabaseContainer(database: any): Promise<boolean> {- let everStarted = false;- const {- id,- destinationDockerId,- destinationDocker: { engine, id: dockerId }- } = database;- if (destinationDockerId) {- try {- const { stdout } = await executeCommand({- dockerId,- command: `docker inspect --format '{{json .State}}' ${id}`- });-- if (stdout) {- everStarted = true;- await removeContainer({ id, dockerId });- }- } catch (error) {- //- }- }- return everStarted;-}--export async function stopTcpHttpProxy(- id: string,- destinationDocker: any,- publicPort: number,- forceName: string = null-): Promise<{ stdout: string; stderr: string } | Error> {- const { id: dockerId } = destinationDocker;- let container = `${id}-${publicPort}`;- if (forceName) container = forceName;- const { found } = await checkContainer({ dockerId, container });- try {- if (found) {- return await executeCommand({- dockerId,- command: `docker stop -t 0 ${container} && docker rm ${container}`,- shell: true- });- }- } catch (error) {- return error;- }-}--export async function updatePasswordInDb(database, user, newPassword, isRoot) {- const {- id,- type,- rootUser,- rootUserPassword,- dbUser,- dbUserPassword,- defaultDatabase,- destinationDockerId,- destinationDocker: { id: dockerId }- } = database;- if (destinationDockerId) {- if (type === 'mysql') {- await executeCommand({- dockerId,- command: `docker exec ${id} mysql -u ${rootUser} -p${rootUserPassword} -e \"ALTER USER '${user}'@'%' IDENTIFIED WITH caching_sha2_password BY '${newPassword}';\"`- });- } else if (type === 'mariadb') {- await executeCommand({- dockerId,- command: `docker exec ${id} mysql -u ${rootUser} -p${rootUserPassword} -e \"SET PASSWORD FOR '${user}'@'%' = PASSWORD('${newPassword}');\"`- });- } else if (type === 'postgresql') {- if (isRoot) {- await executeCommand({- dockerId,- command: `docker exec ${id} psql postgresql://postgres:${rootUserPassword}@${id}:5432/${defaultDatabase} -c "ALTER role postgres WITH PASSWORD '${newPassword}'"`- });- } else {- await executeCommand({- dockerId,- command: `docker exec ${id} psql postgresql://${dbUser}:${dbUserPassword}@${id}:5432/${defaultDatabase} -c "ALTER role ${user} WITH PASSWORD '${newPassword}'"`- });- }- } else if (type === 'mongodb') {- await executeCommand({- dockerId,- command: `docker exec ${id} mongo 'mongodb://${rootUser}:${rootUserPassword}@${id}:27017/admin?readPreference=primary&ssl=false' --eval "db.changeUserPassword('${user}','${newPassword}')"`- });- } else if (type === 'redis') {- await executeCommand({- dockerId,- command: `docker exec ${id} redis-cli -u redis://${dbUserPassword}@${id}:6379 --raw CONFIG SET requirepass ${newPassword}`- });- }- }-}-export async function checkExposedPort({- id,- configuredPort,- exposePort,- engine,- remoteEngine,- remoteIpAddress-}: {- id: string;- configuredPort?: number;- exposePort: number;- engine: string;- remoteEngine: boolean;- remoteIpAddress?: string;-}) {- if (exposePort < 1024 || exposePort > 65535) {- throw { status: 500, message: `Exposed Port needs to be between 1024 and 65535.` };- }- if (configuredPort) {- if (configuredPort !== exposePort) {- const availablePort = await getFreeExposedPort(- id,- exposePort,- engine,- remoteEngine,- remoteIpAddress- );- if (availablePort.toString() !== exposePort.toString()) {- throw { status: 500, message: `Port ${exposePort} is already in use.` };- }- }- } else {- const availablePort = await getFreeExposedPort(- id,- exposePort,- engine,- remoteEngine,- remoteIpAddress- );- if (availablePort.toString() !== exposePort.toString()) {- throw { status: 500, message: `Port ${exposePort} is already in use.` };- }- }-}-export async function getFreeExposedPort(id, exposePort, engine, remoteEngine, remoteIpAddress) {- const { default: checkPort } = await import('is-port-reachable');- if (remoteEngine) {- const applicationUsed = await (- await prisma.application.findMany({- where: {- exposePort: { not: null },- id: { not: id },- destinationDocker: { remoteIpAddress }- },- select: { exposePort: true }- })- ).map((a) => a.exposePort);- const serviceUsed = await (- await prisma.service.findMany({- where: {- exposePort: { not: null },- id: { not: id },- destinationDocker: { remoteIpAddress }- },- select: { exposePort: true }- })- ).map((a) => a.exposePort);- const usedPorts = [...applicationUsed, ...serviceUsed];- if (usedPorts.includes(exposePort)) {- return false;- }- const found = await checkPort(exposePort, { host: remoteIpAddress });- if (!found) {- return exposePort;- }- return false;- } else {- const applicationUsed = await (- await prisma.application.findMany({- where: { exposePort: { not: null }, id: { not: id }, destinationDocker: { engine } },- select: { exposePort: true }- })- ).map((a) => a.exposePort);- const serviceUsed = await (- await prisma.service.findMany({- where: { exposePort: { not: null }, id: { not: id }, destinationDocker: { engine } },- select: { exposePort: true }- })- ).map((a) => a.exposePort);- const usedPorts = [...applicationUsed, ...serviceUsed];- if (usedPorts.includes(exposePort)) {- return false;- }- const found = await checkPort(exposePort, { host: 'localhost' });- if (!found) {- return exposePort;- }- return false;- }-}-export function generateRangeArray(start, end) {- return Array.from({ length: end - start }, (v, k) => k + start);-}-export async function getFreePublicPort({ id, remoteEngine, engine, remoteIpAddress }) {- const { default: isReachable } = await import('is-port-reachable');- const data = await prisma.setting.findFirst();- const { minPort, maxPort } = data;- if (remoteEngine) {- const dbUsed = await (- await prisma.database.findMany({- where: {- publicPort: { not: null },- id: { not: id },- destinationDocker: { remoteIpAddress }- },- select: { publicPort: true }- })- ).map((a) => a.publicPort);- const wpFtpUsed = await (- await prisma.wordpress.findMany({- where: {- ftpPublicPort: { not: null },- id: { not: id },- service: { destinationDocker: { remoteIpAddress } }- },- select: { ftpPublicPort: true }- })- ).map((a) => a.ftpPublicPort);- const wpUsed = await (- await prisma.wordpress.findMany({- where: {- mysqlPublicPort: { not: null },- id: { not: id },- service: { destinationDocker: { remoteIpAddress } }- },- select: { mysqlPublicPort: true }- })- ).map((a) => a.mysqlPublicPort);- const minioUsed = await (- await prisma.minio.findMany({- where: {- publicPort: { not: null },- id: { not: id },- service: { destinationDocker: { remoteIpAddress } }- },- select: { publicPort: true }- })- ).map((a) => a.publicPort);- const usedPorts = [...dbUsed, ...wpFtpUsed, ...wpUsed, ...minioUsed];- const range = generateRangeArray(minPort, maxPort);- const availablePorts = range.filter((port) => !usedPorts.includes(port));- for (const port of availablePorts) {- const found = await isReachable(port, { host: remoteIpAddress });- if (!found) {- return port;- }- }- return false;- } else {- const dbUsed = await (- await prisma.database.findMany({- where: { publicPort: { not: null }, id: { not: id }, destinationDocker: { engine } },- select: { publicPort: true }- })- ).map((a) => a.publicPort);- const wpFtpUsed = await (- await prisma.wordpress.findMany({- where: {- ftpPublicPort: { not: null },- id: { not: id },- service: { destinationDocker: { engine } }- },- select: { ftpPublicPort: true }- })- ).map((a) => a.ftpPublicPort);- const wpUsed = await (- await prisma.wordpress.findMany({- where: {- mysqlPublicPort: { not: null },- id: { not: id },- service: { destinationDocker: { engine } }- },- select: { mysqlPublicPort: true }- })- ).map((a) => a.mysqlPublicPort);- const minioUsed = await (- await prisma.minio.findMany({- where: {- publicPort: { not: null },- id: { not: id },- service: { destinationDocker: { engine } }- },- select: { publicPort: true }- })- ).map((a) => a.publicPort);- const usedPorts = [...dbUsed, ...wpFtpUsed, ...wpUsed, ...minioUsed];- const range = generateRangeArray(minPort, maxPort);- const availablePorts = range.filter((port) => !usedPorts.includes(port));- for (const port of availablePorts) {- const found = await isReachable(port, { host: 'localhost' });- if (!found) {- return port;- }- }- return false;- }-}--export async function startTraefikTCPProxy(- destinationDocker: any,- id: string,- publicPort: number,- privatePort: number,- type?: string-): Promise<{ stdout: string; stderr: string } | Error> {- const { network, id: dockerId, remoteEngine } = destinationDocker;- const container = `${id}-${publicPort}`;- const { found } = await checkContainer({ dockerId, container, remove: true });- const { ipv4, ipv6 } = await listSettings();-- let dependentId = id;- if (type === 'wordpressftp') dependentId = `${id}-ftp`;- const { found: foundDependentContainer } = await checkContainer({- dockerId,- container: dependentId,- remove: true- });- try {- if (foundDependentContainer && !found) {- const { stdout: Config } = await executeCommand({- dockerId,- command: `docker network inspect ${network} --format '{{json .IPAM.Config }}'`- });-- const ip = JSON.parse(Config)[0].Gateway;- let traefikUrl = otherTraefikEndpoint;- if (remoteEngine) {- let ip = null;- if (isDev) {- ip = getAPIUrl();- } else {- ip = `http://${ipv4 || ipv6}:3000`;- }- traefikUrl = `${ip}/webhooks/traefik/other.json`;- }- const tcpProxy = {- version: '3.8',- services: {- [`${id}-${publicPort}`]: {- container_name: container,- image: defaultTraefikImage,- command: [- `--entrypoints.tcp.address=:${publicPort}`,- `--entryPoints.tcp.forwardedHeaders.insecure=true`,- `--providers.http.endpoint=${traefikUrl}?id=${id}&privatePort=${privatePort}&publicPort=${publicPort}&type=tcp&address=${dependentId}`,- '--providers.http.pollTimeout=10s',- '--log.level=error'- ],- ports: [`${publicPort}:${publicPort}`],- extra_hosts: ['host.docker.internal:host-gateway', `host.docker.internal: ${ip}`],- volumes: ['/var/run/docker.sock:/var/run/docker.sock'],- networks: ['coolify-infra', network]- }- },- networks: {- [network]: {- external: false,- name: network- },- 'coolify-infra': {- external: false,- name: 'coolify-infra'- }- }- };- await fs.writeFile(`/tmp/docker-compose-${id}.yaml`, yaml.dump(tcpProxy));- await executeCommand({- dockerId,- command: `docker compose -f /tmp/docker-compose-${id}.yaml up -d`- });- await fs.rm(`/tmp/docker-compose-${id}.yaml`);- }- if (!foundDependentContainer && found) {- await executeCommand({- dockerId,- command: `docker stop -t 0 ${container} && docker rm ${container}`,- shell: true- });- }- } catch (error) {- return error;- }-}--export async function getServiceFromDB({- id,- teamId-}: {- id: string;- teamId: string;-}): Promise<any> {- const settings = await prisma.setting.findFirst();- const body = await prisma.service.findFirst({- where: { id, teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: {- destinationDocker: true,- persistentStorage: true,- serviceSecret: true,- serviceSetting: true,- wordpress: true,- plausibleAnalytics: true- }- });- if (!body) {- return null;- }- // body.type = fixType(body.type);-- if (body?.serviceSecret.length > 0) {- body.serviceSecret = body.serviceSecret.map((s) => {- s.value = decrypt(s.value);- return s;- });- }- if (body.wordpress) {- body.wordpress.ftpPassword = decrypt(body.wordpress.ftpPassword);- }-- return { ...body, settings };-}--export function fixType(type) {- return type?.replaceAll(' ', '').toLowerCase() || null;-}--export function makeLabelForServices(type) {- return [- 'coolify.managed=true',- `coolify.version=${version}`,- `coolify.type=service`,- `coolify.service.type=${type}`- ];-}-export function errorHandler({- status = 500,- message = 'Unknown error.',- type = 'normal'-}: {- status: number;- message: string | any;- type?: string | null;-}) {- if (message.message) message = message.message;- if (message.includes('Unique constraint failed')) {- message = 'This data is unique and already exists. Please try again with a different value.';- }- if (type === 'normal') {- Sentry.captureException(message);- }- throw { status, message };-}-export async function generateSshKeyPair(): Promise<{ publicKey: string; privateKey: string }> {- return await new Promise((resolve, reject) => {- forge.pki.rsa.generateKeyPair({ bits: 4096, workers: -1 }, function (err, keys) {- if (keys) {- resolve({- publicKey: forge.ssh.publicKeyToOpenSSH(keys.publicKey),- privateKey: forge.ssh.privateKeyToOpenSSH(keys.privateKey)- });- } else {- reject(keys);- }- });- });-}--export async function stopBuild(buildId, applicationId) {- let count = 0;- await new Promise<void>(async (resolve, reject) => {- const { destinationDockerId, status } = await prisma.build.findFirst({- where: { id: buildId }- });- const { id: dockerId } = await prisma.destinationDocker.findFirst({- where: { id: destinationDockerId }- });- const interval = setInterval(async () => {- try {- if (status === 'failed' || status === 'canceled') {- clearInterval(interval);- return resolve();- }- if (count > 15) {- clearInterval(interval);- if (scheduler.workers.has('deployApplication')) {- scheduler.workers.get('deployApplication').postMessage('cancel');- }- await cleanupDB(buildId, applicationId);- return reject(new Error('Canceled.'));- }- const { stdout: buildContainers } = await executeCommand({- dockerId,- command: `docker container ls --filter "label=coolify.buildId=${buildId}" --format '{{json .}}'`- });- if (buildContainers) {- const containersArray = buildContainers.trim().split('\n');- for (const container of containersArray) {- const containerObj = JSON.parse(container);- const id = containerObj.ID;- if (!containerObj.Names.startsWith(`${applicationId} `)) {- await removeContainer({ id, dockerId });- clearInterval(interval);- if (scheduler.workers.has('deployApplication')) {- scheduler.workers.get('deployApplication').postMessage('cancel');- }- await cleanupDB(buildId, applicationId);- return resolve();- }- }- }- count++;- } catch (error) { }- }, 100);- });-}--async function cleanupDB(buildId: string, applicationId: string) {- const data = await prisma.build.findUnique({ where: { id: buildId } });- if (data?.status === 'queued' || data?.status === 'running') {- await prisma.build.update({ where: { id: buildId }, data: { status: 'canceled' } });- }- await saveBuildLog({ line: 'Canceled.', buildId, applicationId });-}--export function convertTolOldVolumeNames(type) {- if (type === 'nocodb') {- return 'nc';- }-}--export async function cleanupDockerStorage(dockerId) {- // Cleanup images that are not used by any container- try {- await executeCommand({ dockerId, command: `docker image prune -af` });- } catch (error) { }-- // Prune coolify managed containers- try {- await executeCommand({- dockerId,- command: `docker container prune -f --filter "label=coolify.managed=true"`- });- } catch (error) { }-- // Cleanup build caches- try {- await executeCommand({ dockerId, command: `docker builder prune -af` });- } catch (error) { }-}--export function persistentVolumes(id, persistentStorage, config) {- let volumeSet = new Set();- if (Object.keys(config).length > 0) {- for (const [key, value] of Object.entries(config)) {- if (value.volumes) {- for (const volume of value.volumes) {- if (!volume.startsWith('/')) {- volumeSet.add(volume);- }- }- }- }- }- const volumesArray = Array.from(volumeSet);- const persistentVolume =- persistentStorage?.map((storage) => {- return `${id}${storage.path.replace(/\//gi, '-')}:${storage.path}`;- }) || [];-- let volumes = [...persistentVolume];- if (volumesArray) volumes = [...volumesArray, ...volumes];- const composeVolumes =- (volumes.length > 0 &&- volumes.map((volume) => {- return {- [`${volume.split(':')[0]}`]: {- name: volume.split(':')[0]- }- };- })) ||- [];-- const volumeMounts = Object.assign({}, ...composeVolumes) || {};- return { volumeMounts };-}-export function defaultComposeConfiguration(network: string): any {- return {- networks: [network],- restart: 'on-failure',- deploy: {- restart_policy: {- condition: 'on-failure',- delay: '5s',- max_attempts: 10,- window: '120s'- }- }- };-}-export function decryptApplication(application: any) {- if (application) {- if (application?.gitSource?.githubApp?.clientSecret) {- application.gitSource.githubApp.clientSecret =- decrypt(application.gitSource.githubApp.clientSecret) || null;- }- if (application?.gitSource?.githubApp?.webhookSecret) {- application.gitSource.githubApp.webhookSecret =- decrypt(application.gitSource.githubApp.webhookSecret) || null;- }- if (application?.gitSource?.githubApp?.privateKey) {- application.gitSource.githubApp.privateKey =- decrypt(application.gitSource.githubApp.privateKey) || null;- }- if (application?.gitSource?.gitlabApp?.appSecret) {- application.gitSource.gitlabApp.appSecret =- decrypt(application.gitSource.gitlabApp.appSecret) || null;- }- if (application?.secrets.length > 0) {- application.secrets = application.secrets.map((s: any) => {- s.value = decrypt(s.value) || null;- return s;- });- }-- return application;- }-}--export async function pushToRegistry(- application: any,- workdir: string,- tag: string,- imageName: string,- customTag: string-) {- const location = `${workdir}/.docker`;- const tagCommand = `docker tag ${application.id}:${tag} ${imageName}:${customTag}`;- const pushCommand = `docker --config ${location} push ${imageName}:${customTag}`;- await executeCommand({- dockerId: application.destinationDockerId,- command: tagCommand- });- await executeCommand({- dockerId: application.destinationDockerId,- command: pushCommand- });-}--function parseSecret(secret, isBuild) {- if (secret.value.includes('$')) {- secret.value = secret.value.replaceAll('$', '$$$$');- }- if (secret.value.includes('\\n')) {- if (isBuild) {- return `ARG ${secret.name}=${secret.value}`;- } else {- return `${secret.name}=${secret.value}`;- }- } else if (secret.value.includes(' ')) {- if (isBuild) {- return `ARG ${secret.name}='${secret.value}'`;- } else {- return `${secret.name}='${secret.value}'`;- }- } else {- if (isBuild) {- return `ARG ${secret.name}=${secret.value}`;- } else {- return `${secret.name}=${secret.value}`;- }- }-}-export function generateSecrets(- secrets: Array<any>,- pullmergeRequestId: string,- isBuild = false,- port = null,- compose = false-): Array<string> {- const envs = [];- const isPRMRSecret = secrets.filter((s) => s.isPRMRSecret);- const normalSecrets = secrets.filter((s) => !s.isPRMRSecret);- if (pullmergeRequestId && isPRMRSecret.length > 0) {- isPRMRSecret.forEach((secret) => {- if (isBuild && !secret.isBuildSecret) {- return;- }- const build = isBuild && secret.isBuildSecret;- envs.push(parseSecret(secret, compose ? false : build));- });- }- if (!pullmergeRequestId && normalSecrets.length > 0) {- normalSecrets.forEach((secret) => {- if (isBuild && !secret.isBuildSecret) {- return;- }- const build = isBuild && secret.isBuildSecret;- envs.push(parseSecret(secret, compose ? false : build));- });- }- const portFound = envs.filter((env) => env.startsWith('PORT'));- if (portFound.length === 0 && port && !isBuild) {- envs.push(`PORT=${port}`);- }- const nodeEnv = envs.filter((env) => env.startsWith('NODE_ENV'));- if (nodeEnv.length === 0 && !isBuild) {- envs.push(`NODE_ENV=production`);- }- return envs;-}diff --git a/apps/api/src/lib/dayjs.ts b/apps/api/src/lib/dayjs.tsdeleted file mode 100644index 9ff5b0a1a0..0000000000--- a/apps/api/src/lib/dayjs.ts+++ /dev/null@@ -1,7 +0,0 @@-import dayjs from 'dayjs';-import utc from 'dayjs/plugin/utc.js';-import relativeTime from 'dayjs/plugin/relativeTime.js';-dayjs.extend(utc);-dayjs.extend(relativeTime);--export { dayjs as day };diff --git a/apps/api/src/lib/docker.ts b/apps/api/src/lib/docker.tsdeleted file mode 100644index 0e2822d592..0000000000--- a/apps/api/src/lib/docker.ts+++ /dev/null@@ -1,95 +0,0 @@-import { executeCommand } from './common';--export function formatLabelsOnDocker(data) {- return data.trim().split('\n').map(a => JSON.parse(a)).map((container) => {- const labels = container.Labels.split(',')- let jsonLabels = {}- labels.forEach(l => {- const name = l.split('=')[0]- const value = l.split('=')[1]- jsonLabels = { ...jsonLabels, ...{ [name]: value } }- })- container.Labels = jsonLabels;- return container- })-}-export async function checkContainer({ dockerId, container, remove = false }: { dockerId: string, container: string, remove?: boolean }): Promise<{ found: boolean, status?: { isExited: boolean, isRunning: boolean, isRestarting: boolean } }> {- let containerFound = false;- try {- const { stdout } = await executeCommand({- dockerId,- command:- `docker inspect --format '{{json .State}}' ${container}`- });- containerFound = true- const parsedStdout = JSON.parse(stdout);- const status = parsedStdout.Status;- const isRunning = status === 'running';- const isRestarting = status === 'restarting'- const isExited = status === 'exited'- if (status === 'created') {- await executeCommand({- dockerId,- command:- `docker rm ${container}`- });- }- if (remove && status === 'exited') {- await executeCommand({- dockerId,- command:- `docker rm ${container}`- });- }-- return {- found: containerFound,- status: {- isRunning,- isRestarting,- isExited- }- };- } catch (err) {- // Container not found- }- return {- found: false- };--}--export async function isContainerExited(dockerId: string, containerName: string): Promise<boolean> {- let isExited = false;- try {- const { stdout } = await executeCommand({ dockerId, command: `docker inspect -f '{{.State.Status}}' ${containerName}` })- if (stdout.trim() === 'exited') {- isExited = true;- }- } catch (error) {- //- }-- return isExited;-}--export async function removeContainer({- id,- dockerId-}: {- id: string;- dockerId: string;-}): Promise<void> {- try {- const { stdout } = await executeCommand({ dockerId, command: `docker inspect --format '{{json .State}}' ${id}` })- if (JSON.parse(stdout).Running) {- await executeCommand({ dockerId, command: `docker stop -t 0 ${id}` })- await executeCommand({ dockerId, command: `docker rm ${id}` })- }- if (JSON.parse(stdout).Status === 'exited') {- await executeCommand({ dockerId, command: `docker rm ${id}` })- }- } catch (error) {- throw error;- }-}diff --git a/apps/api/src/lib/importers/github.ts b/apps/api/src/lib/importers/github.tsdeleted file mode 100644index 1313b77c5f..0000000000--- a/apps/api/src/lib/importers/github.ts+++ /dev/null@@ -1,94 +0,0 @@--import jsonwebtoken from 'jsonwebtoken';-import { saveBuildLog } from '../buildPacks/common';-import { decrypt, executeCommand, prisma } from '../common';--export default async function ({- applicationId,- workdir,- githubAppId,- repository,- apiUrl,- gitCommitHash,- htmlUrl,- branch,- buildId,- customPort,- forPublic-}: {- applicationId: string;- workdir: string;- githubAppId: string;- repository: string;- apiUrl: string;- gitCommitHash?: string;- htmlUrl: string;- branch: string;- buildId: string;- customPort: number;- forPublic?: boolean;-}): Promise<string> {- const { default: got } = await import('got')- const url = htmlUrl.replace('https://', '').replace('http://', '');- if (forPublic) {- await saveBuildLog({- line: `Cloning ${repository}:${branch}...`,- buildId,- applicationId- });- if (gitCommitHash) {- await saveBuildLog({- line: `Checking out ${gitCommitHash} commit...`,- buildId,- applicationId- });- }- await executeCommand({- command:- `git clone -q -b ${branch} https://${url}/${repository}.git ${workdir}/ && cd ${workdir} && git checkout ${gitCommitHash || ""} && git submodule update --init --recursive && git lfs pull && cd .. `,- shell: true- });-- } else {- const body = await prisma.githubApp.findUnique({ where: { id: githubAppId } });- if (body.privateKey) body.privateKey = decrypt(body.privateKey);- const { privateKey, appId, installationId } = body- const githubPrivateKey = privateKey.replace(/\\n/g, '\n').replace(/"/g, '');-- const payload = {- iat: Math.round(new Date().getTime() / 1000),- exp: Math.round(new Date().getTime() / 1000 + 60),- iss: appId- };- const jwtToken = jsonwebtoken.sign(payload, githubPrivateKey, {- algorithm: 'RS256'- });- const { token } = await got- .post(`${apiUrl}/app/installations/${installationId}/access_tokens`, {- headers: {- Authorization: `Bearer ${jwtToken}`,- Accept: 'application/vnd.github.machine-man-preview+json'- }- })- .json();- await saveBuildLog({- line: `Cloning ${repository}:${branch}...`,- buildId,- applicationId- });- if (gitCommitHash) {- await saveBuildLog({- line: `Checking out ${gitCommitHash} commit...`,- buildId,- applicationId- });- }- await executeCommand({- command:- `git clone -q -b ${branch} https://x-access-token:${token}@${url}/${repository}.git --config core.sshCommand="ssh -p ${customPort}" ${workdir}/ && cd ${workdir} && git checkout ${gitCommitHash || ""} && git submodule update --init --recursive && git lfs pull && cd .. `,- shell: true- });- }- const { stdout: commit } = await executeCommand({ command: `cd ${workdir}/ && git rev-parse HEAD`, shell: true });- return commit.replace('\n', '');-}diff --git a/apps/api/src/lib/importers/gitlab.ts b/apps/api/src/lib/importers/gitlab.tsdeleted file mode 100644index d75c3bbef3..0000000000--- a/apps/api/src/lib/importers/gitlab.ts+++ /dev/null@@ -1,65 +0,0 @@-import { saveBuildLog } from "../buildPacks/common";-import { executeCommand } from "../common";--export default async function ({- applicationId,- workdir,- repodir,- htmlUrl,- gitCommitHash,- repository,- branch,- buildId,- privateSshKey,- customPort,- forPublic,- customUser,-}: {- applicationId: string;- workdir: string;- repository: string;- htmlUrl: string;- branch: string;- buildId: string;- repodir: string;- gitCommitHash: string;- privateSshKey: string;- customPort: number;- forPublic: boolean;- customUser: string;-}): Promise<string> {- const url = htmlUrl.replace('https://', '').replace('http://', '').replace(/\/$/, '');- if (!forPublic) {- await executeCommand({ command: `echo '${privateSshKey}' > ${repodir}/id.rsa`, shell: true });- await executeCommand({ command: `chmod 600 ${repodir}/id.rsa` });- }-- await saveBuildLog({- line: `Cloning ${repository}:${branch}...`,- buildId,- applicationId- });- if (gitCommitHash) {- await saveBuildLog({- line: `Checking out ${gitCommitHash} commit...`,- buildId,- applicationId- });- }- if (forPublic) {- await executeCommand({- command:- `git clone -q -b ${branch} https://${url}/${repository}.git ${workdir}/ && cd ${workdir}/ && git checkout ${gitCommitHash || ""} && git submodule update --init --recursive && git lfs pull && cd .. `, shell: true- }- );- } else {- await executeCommand({- command:- `git clone -q -b ${branch} ${customUser}@${url}:${repository}.git --config core.sshCommand="ssh -p ${customPort} -q -i ${repodir}id.rsa -o StrictHostKeyChecking=no" ${workdir}/ && cd ${workdir}/ && git checkout ${gitCommitHash || ""} && git submodule update --init --recursive && git lfs pull && cd .. `, shell: true- }- );- }-- const { stdout: commit } = await executeCommand({ command: `cd ${workdir}/ && git rev-parse HEAD`, shell: true });- return commit.replace('\n', '');-}diff --git a/apps/api/src/lib/importers/index.ts b/apps/api/src/lib/importers/index.tsdeleted file mode 100644index 1934438901..0000000000--- a/apps/api/src/lib/importers/index.ts+++ /dev/null@@ -1,4 +0,0 @@-import github from './github';-import gitlab from './gitlab';--export { github, gitlab };diff --git a/apps/api/src/lib/scheduler.ts b/apps/api/src/lib/scheduler.tsdeleted file mode 100644index b1d1731202..0000000000--- a/apps/api/src/lib/scheduler.ts+++ /dev/null@@ -1,29 +0,0 @@-import Bree from 'bree';-import path from 'path';-import Cabin from 'cabin';-import TSBree from '@breejs/ts-worker';--export const isDev = process.env.NODE_ENV === 'development';--Bree.extend(TSBree);--const options: any = {- defaultExtension: 'js',- logger: false,- // logger: false,- // workerMessageHandler: async ({ name, message }) => {- // if (name === 'deployApplication' && message?.deploying) {- // if (scheduler.workers.has('autoUpdater') || scheduler.workers.has('cleanupStorage')) {- // scheduler.workers.get('deployApplication').postMessage('cancel')- // }- // }- // },- jobs: [- { name: 'deployApplication' },- ],-};-if (isDev) options.root = path.join(__dirname, '../jobs');--export const scheduler = new Bree(options);--diff --git a/apps/api/src/lib/services.ts b/apps/api/src/lib/services.tsdeleted file mode 100644index 23e472d6e3..0000000000--- a/apps/api/src/lib/services.ts+++ /dev/null@@ -1,47 +0,0 @@-import { isARM, isDev } from './common';-import fs from 'fs/promises';-export async function getTemplates() {- const templatePath = isDev ? './templates.json' : '/app/templates.json';- const open = await fs.open(templatePath, 'r');- try {- let data = await open.readFile({ encoding: 'utf-8' });- let jsonData = JSON.parse(data);- if (isARM()) {- jsonData = jsonData.filter((d) => d.arch !== 'amd64');- }- return jsonData;- } catch (error) {- return [];- } finally {- await open?.close();- }-}-const compareSemanticVersions = (a: string, b: string) => {- const a1 = a.split('.');- const b1 = b.split('.');- const len = Math.min(a1.length, b1.length);- for (let i = 0; i < len; i++) {- const a2 = +a1[i] || 0;- const b2 = +b1[i] || 0;- if (a2 !== b2) {- return a2 > b2 ? 1 : -1;- }- }- return b1.length - a1.length;-};-export async function getTags(type: string) {- try {- if (type) {- const tagsPath = isDev ? './tags.json' : '/app/tags.json';- const data = await fs.readFile(tagsPath, 'utf8');- let tags = JSON.parse(data);- if (tags) {- tags = tags.find((tag: any) => tag.name.includes(type));- tags.tags = tags.tags.sort(compareSemanticVersions).reverse();- return tags;- }- }- } catch (error) {- return [];- }-}diff --git a/apps/api/src/lib/services/common.ts b/apps/api/src/lib/services/common.tsdeleted file mode 100644index 0d7cec42e0..0000000000--- a/apps/api/src/lib/services/common.ts+++ /dev/null@@ -1,39 +0,0 @@--import { decrypt, prisma } from '../common';--export async function removeService({ id }: { id: string }): Promise<void> {- await prisma.serviceSecret.deleteMany({ where: { serviceId: id } });- await prisma.serviceSetting.deleteMany({ where: { serviceId: id } });- await prisma.servicePersistentStorage.deleteMany({ where: { serviceId: id } });- await prisma.meiliSearch.deleteMany({ where: { serviceId: id } });- await prisma.fider.deleteMany({ where: { serviceId: id } });- await prisma.ghost.deleteMany({ where: { serviceId: id } });- await prisma.umami.deleteMany({ where: { serviceId: id } });- await prisma.hasura.deleteMany({ where: { serviceId: id } });- await prisma.plausibleAnalytics.deleteMany({ where: { serviceId: id } });- await prisma.minio.deleteMany({ where: { serviceId: id } });- await prisma.vscodeserver.deleteMany({ where: { serviceId: id } });- await prisma.wordpress.deleteMany({ where: { serviceId: id } });- await prisma.glitchTip.deleteMany({ where: { serviceId: id } });- await prisma.moodle.deleteMany({ where: { serviceId: id } });- await prisma.appwrite.deleteMany({ where: { serviceId: id } });- await prisma.searxng.deleteMany({ where: { serviceId: id } });- await prisma.weblate.deleteMany({ where: { serviceId: id } });- await prisma.taiga.deleteMany({ where: { serviceId: id } });-- await prisma.service.delete({ where: { id } });-}-export async function verifyAndDecryptServiceSecrets(id: string) {- const secrets = await prisma.serviceSecret.findMany({ where: { serviceId: id } })- let decryptedSecrets = secrets.map(secret => {- const { name, value } = secret- if (value) {- let rawValue = decrypt(value)- rawValue = rawValue.replaceAll(/\$/gi, '$$$')- return { name, value: rawValue }- }- return { name, value }-- })- return decryptedSecrets-}\ No newline at end of filediff --git a/apps/api/src/lib/services/handlers.ts b/apps/api/src/lib/services/handlers.tsdeleted file mode 100644index c0f33bd02d..0000000000--- a/apps/api/src/lib/services/handlers.ts+++ /dev/null@@ -1,250 +0,0 @@-import type { FastifyReply, FastifyRequest } from 'fastify';-import fs from 'fs/promises';-import yaml from 'js-yaml';-import path from 'path';-import { asyncSleep, ComposeFile, createDirectories, decrypt, defaultComposeConfiguration, errorHandler, executeCommand, getServiceFromDB, isARM, makeLabelForServices, persistentVolumes, prisma, stopTcpHttpProxy } from '../common';-import { parseAndFindServiceTemplates } from '../../routes/api/v1/services/handlers';--import { ServiceStartStop } from '../../routes/api/v1/services/types';-import { OnlyId } from '../../types';-import { verifyAndDecryptServiceSecrets } from './common';--export async function stopService(request: FastifyRequest<ServiceStartStop>) {- try {- const { id } = request.params;- const teamId = request.user.teamId;- const { destinationDockerId } = await getServiceFromDB({ id, teamId });- if (destinationDockerId) {- const { stdout: containers } = await executeCommand({- dockerId: destinationDockerId,- command: `docker ps -a --filter 'label=com.docker.compose.project=${id}' --format {{.ID}}`- })- if (containers) {- const containerArray = containers.split('\n');- if (containerArray.length > 0) {- for (const container of containerArray) {- await executeCommand({ dockerId: destinationDockerId, command: `docker stop -t 0 ${container}` })- await executeCommand({ dockerId: destinationDockerId, command: `docker rm --force ${container}` })- }- }- }- return {}- }- throw { status: 500, message: 'Could not stop containers.' }- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function startService(request: FastifyRequest<ServiceStartStop>, fastify: any) {- try {- const { id } = request.params;- const teamId = request.user.teamId;- const service = await getServiceFromDB({ id, teamId });- const arm = isARM();- const { type, destinationDockerId, destinationDocker, persistentStorage, exposePort } =- service;-- const { workdir } = await createDirectories({ repository: type, buildId: id });- const template: any = await parseAndFindServiceTemplates(service, workdir, true)- const network = destinationDockerId && destinationDocker.network;- const config = {};- for (const s in template.services) {- let newEnvironments = []- if (template.services[s]?.environment?.length > 0) {- for (const environment of template.services[s].environment) {- let [env, ...value] = environment.split("=");- value = value.join("=")- if (!value.startsWith('$$secret') && value !== '') {- newEnvironments.push(`${env}=${value}`)- }- }- }- const secrets = await verifyAndDecryptServiceSecrets(id)- for (const secret of secrets) {- const { name, value } = secret- if (value) {- const foundEnv = !!template.services[s].environment?.find(env => env.startsWith(`${name}=`))- const foundNewEnv = !!newEnvironments?.find(env => env.startsWith(`${name}=`))- if (foundEnv && !foundNewEnv) {- newEnvironments.push(`${name}=${value}`)- }- if (!foundEnv && !foundNewEnv && s === id) {- newEnvironments.push(`${name}=${value}`)- }- }- }- const customVolumes = await prisma.servicePersistentStorage.findMany({ where: { serviceId: id } })- let volumes = new Set()- if (arm && template.services[s]?.volumesArm?.length > 0) {- template.services[s].volumesArm.forEach(v => volumes.add(v))- } else {- if (template.services[s]?.volumes?.length > 0) {- template.services[s].volumes.forEach(v => volumes.add(v))- }- }- // Workaround: old plausible analytics service wrong volume id name- if (service.type === 'plausibleanalytics' && service.plausibleAnalytics?.id) {- let temp = Array.from(volumes)- temp.forEach(a => {- const t = a.replace(service.id, service.plausibleAnalytics.id)- volumes.delete(a)- volumes.add(t)- })- }-- if (customVolumes.length > 0) {- for (const customVolume of customVolumes) {- const { volumeName, path, containerId } = customVolume- if (volumes && volumes.size > 0 && !volumes.has(`${volumeName}:${path}`) && containerId === service) {- volumes.add(`${volumeName}:${path}`)- }- }- }- let ports = []- if (template.services[s].proxy?.length > 0) {- for (const proxy of template.services[s].proxy) {- if (proxy.hostPort) {- ports.push(`${proxy.hostPort}:${proxy.port}`)- }- }- } else {- if (template.services[s].ports?.length === 1) {- for (const port of template.services[s].ports) {- if (exposePort) {- ports.push(`${exposePort}:${port}`)- }- }- }- }- let image = template.services[s].image- if (arm && template.services[s].imageArm) {- image = template.services[s].imageArm- }- config[s] = {- container_name: s,- build: template.services[s].build || undefined,- command: template.services[s].command,- entrypoint: template.services[s]?.entrypoint,- image,- expose: template.services[s].ports,- ports: ports.length > 0 ? ports : undefined,- volumes: Array.from(volumes),- environment: newEnvironments,- depends_on: template.services[s]?.depends_on,- ulimits: template.services[s]?.ulimits,- cap_drop: template.services[s]?.cap_drop,- cap_add: template.services[s]?.cap_add,- labels: makeLabelForServices(type),- ...defaultComposeConfiguration(network),- }- // Generate files for builds- if (template.services[s]?.files?.length > 0) {- if (!config[s].build) {- config[s].build = {- context: workdir,- dockerfile: `Dockerfile.${s}`- }- }- let Dockerfile = `- FROM ${template.services[s].image}`- for (const file of template.services[s].files) {- const { location, content } = file;- const source = path.join(workdir, location);- await fs.mkdir(path.dirname(source), { recursive: true });- await fs.writeFile(source, content);- Dockerfile += `- COPY .${location} ${location}`- }- await fs.writeFile(`${workdir}/Dockerfile.${s}`, Dockerfile);- }- }- const { volumeMounts } = persistentVolumes(id, persistentStorage, config)- const composeFile: ComposeFile = {- version: '3.8',- services: config,- networks: {- [network]: {- external: true- }- },- volumes: volumeMounts- }- const composeFileDestination = `${workdir}/docker-compose.yaml`;- await fs.writeFile(composeFileDestination, yaml.dump(composeFile));- await startServiceContainers(fastify, id, teamId, destinationDocker.id, composeFileDestination)-- // Workaround: Stop old minio proxies- if (service.type === 'minio') {- try {- const { stdout: containers } = await executeCommand({- dockerId: destinationDocker.id,- command:- `docker container ls -a --filter 'name=${id}-' --format {{.ID}}`- });- if (containers) {- const containerArray = containers.split('\n');- if (containerArray.length > 0) {- for (const container of containerArray) {- await executeCommand({ dockerId: destinationDockerId, command: `docker stop -t 0 ${container}` })- await executeCommand({ dockerId: destinationDockerId, command: `docker rm --force ${container}` })- }- }- }- } catch (error) { }- try {- const { stdout: containers } = await executeCommand({- dockerId: destinationDocker.id,- command:- `docker container ls -a --filter 'name=${id}-' --format {{.ID}}`- });- if (containers) {- const containerArray = containers.split('\n');- if (containerArray.length > 0) {- for (const container of containerArray) {- await executeCommand({ dockerId: destinationDockerId, command: `docker stop -t 0 ${container}` })- await executeCommand({ dockerId: destinationDockerId, command: `docker rm --force ${container}` })- }- }- }- } catch (error) { }- }- return {}- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-async function startServiceContainers(fastify, id, teamId, dockerId, composeFileDestination) {- try {- fastify.io.to(teamId).emit(`start-service`, { serviceId: id, state: 'Pulling images...' })- await executeCommand({ dockerId, command: `docker compose -f ${composeFileDestination} pull` })- } catch (error) { }- fastify.io.to(teamId).emit(`start-service`, { serviceId: id, state: 'Building images...' })- await executeCommand({ dockerId, command: `docker compose -f ${composeFileDestination} build --no-cache` })- fastify.io.to(teamId).emit(`start-service`, { serviceId: id, state: 'Creating containers...' })- await executeCommand({ dockerId, command: `docker compose -f ${composeFileDestination} create` })- fastify.io.to(teamId).emit(`start-service`, { serviceId: id, state: 'Starting containers...' })- await executeCommand({ dockerId, command: `docker compose -f ${composeFileDestination} start` })- await asyncSleep(1000);- await executeCommand({ dockerId, command: `docker compose -f ${composeFileDestination} up -d` })- fastify.io.to(teamId).emit(`start-service`, { serviceId: id, state: 0 })-}-export async function migrateAppwriteDB(request: FastifyRequest<OnlyId>, reply: FastifyReply) {- try {- const { id } = request.params- const teamId = request.user.teamId;- const {- destinationDockerId,- destinationDocker,- } = await getServiceFromDB({ id, teamId });- if (destinationDockerId) {- await executeCommand({- dockerId: destinationDocker.id,- command: `docker exec ${id} migrate`- })- return await reply.code(201).send()- }- throw { status: 500, message: 'Could cleanup logs.' }- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}diff --git a/apps/api/src/lib/services/serviceFields.ts b/apps/api/src/lib/services/serviceFields.tsdeleted file mode 100644index 22549e9a5b..0000000000--- a/apps/api/src/lib/services/serviceFields.ts+++ /dev/null@@ -1,867 +0,0 @@-// Example:-// export const nocodb = [{-// name: 'postgreslUser',-// isEditable: false,-// isLowerCase: false,-// isNumber: false,-// isBoolean: false,-// isEncrypted: false-// }]--export const plausibleAnalytics = [{- name: 'email',- isEditable: true,- isLowerCase: true,- isNumber: false,- isBoolean: false,- isEncrypted: false-}, {- name: 'username',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'password',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'postgresqlUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'postgresqlDatabase',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlPublicPort',- isEditable: false,- isLowerCase: false,- isNumber: true,- isBoolean: false,- isEncrypted: false-},-{- name: 'secretKeyBase',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'scriptName',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-}]-export const minio = [{- name: 'apiFqdn',- isEditable: true,- isLowerCase: true,- isNumber: false,- isBoolean: false,- isEncrypted: false-}, {- name: 'rootUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'rootUserPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-}]-export const vscodeserver = [{- name: 'password',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-}]-export const wordpress = [{- name: 'extraConfig',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mysqlHost',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mysqlPort',- isEditable: true,- isLowerCase: false,- isNumber: true,- isBoolean: false,- isEncrypted: false-},-{- name: 'mysqlUser',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mysqlPassword',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'mysqlRootUser',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mysqlRootUserPassword',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'mysqlDatabase',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'ftpPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-}]-export const ghost = [{- name: 'defaultEmail',- isEditable: false,- isLowerCase: true,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'defaultPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'mariadbUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mariadbPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'mariadbRootUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mariadbRootUserPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'mariadbDatabase',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-}]-export const meiliSearch = [{- name: 'masterKey',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-}]-export const umami = [{- name: 'postgresqlUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'postgresqlDatabase',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'umamiAdminPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'hashSalt',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-}]-export const hasura = [{- name: 'postgresqlUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'postgresqlDatabase',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'graphQLAdminPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-}]-export const fider = [{- name: 'jwtSecret',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-}, {- name: 'postgresqlUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'emailNoreply',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'emailSmtpHost',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'emailSmtpPassword',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'emailSmtpPort',- isEditable: true,- isLowerCase: false,- isNumber: true,- isBoolean: false,- isEncrypted: false-},-{- name: 'emailSmtpUser',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'emailSmtpEnableStartTls',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: true,- isEncrypted: false-},-{- name: 'emailMailgunApiKey',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'emailMailgunDomain',- isEditable: true,- isLowerCase: true,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'emailMailgunRegion',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-}]-export const moodle = [{- name: 'defaultEmail',- isEditable: true,- isLowerCase: true,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'defaultUsername',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'defaultPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'mariadbUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mariadbPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'mariadbRootUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mariadbRootUserPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'mariadbDatabase',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-}]--export const appwrite = [{- name: 'opensslKeyV1',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'executorSecret',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'redisPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'mariadbHost',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mariadbPort',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mariadbUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mariadbPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'mariadbRootUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mariadbRootUserPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'mariadbDatabase',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-}]--export const glitchTip = [{- name: 'postgresqlUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'postgresqlDatabase',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlPublicPort',- isEditable: false,- isLowerCase: false,- isNumber: true,- isBoolean: false,- isEncrypted: false-},-{- name: 'secretKeyBase',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'emailSmtpHost',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'emailSmtpPassword',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'emailSmtpUseSsl',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: true,- isEncrypted: false-},-{- name: 'emailSmtpUseSsl',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: true,- isEncrypted: false-},-{- name: 'emailSmtpPort',- isEditable: true,- isLowerCase: false,- isNumber: true,- isBoolean: false,- isEncrypted: false-},-{- name: 'emailSmtpUser',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'defaultEmail',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'defaultUsername',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'defaultPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'defaultEmailFrom',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'emailUrl',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'emailBackend',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'mailgunApiKey',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'sendgridApiKey',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'enableOpenUserRegistration',- isEditable: true,- isLowerCase: false,- isNumber: false,- isBoolean: true,- isEncrypted: false-}]--export const searxng = [{- name: 'secretKey',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'redisPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-}]--export const weblate = [{- name: 'adminPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'postgresqlHost',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlPort',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'postgresqlDatabase',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-}]-export const taiga = [{- name: 'secretKey',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'djangoAdminUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'djangoAdminPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'rabbitMQUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'rabbitMQPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'postgresqlHost',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlPort',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlUser',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-},-{- name: 'postgresqlPassword',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: true-},-{- name: 'postgresqlDatabase',- isEditable: false,- isLowerCase: false,- isNumber: false,- isBoolean: false,- isEncrypted: false-}]\ No newline at end of filediff --git a/apps/api/src/plugins/jwt.ts b/apps/api/src/plugins/jwt.tsdeleted file mode 100644index 029aecd94d..0000000000--- a/apps/api/src/plugins/jwt.ts+++ /dev/null@@ -1,33 +0,0 @@-import fp from 'fastify-plugin'-import fastifyJwt, { FastifyJWTOptions } from '@fastify/jwt'--declare module "@fastify/jwt" {- interface FastifyJWT {- user: {- userId: string,- teamId: string,- permission: string,- isAdmin: boolean- }- }-}--export default fp<FastifyJWTOptions>(async (fastify, opts) => {- fastify.register(fastifyJwt, {- secret: fastify.config.COOLIFY_SECRET_KEY- })-- fastify.decorate("authenticate", async function (request, reply) {- try {- await request.jwtVerify()- } catch (err) {- reply.send(err)- }- })-})--declare module 'fastify' {- export interface FastifyInstance {- authenticate(): Promise<void>- }-}diff --git a/apps/api/src/realtime/index.ts b/apps/api/src/realtime/index.tsdeleted file mode 100644index 288c17bea2..0000000000--- a/apps/api/src/realtime/index.ts+++ /dev/null@@ -1,29 +0,0 @@--export default async (fastify) => {- fastify.io.use((socket, next) => {- const { token } = socket.handshake.auth;- if (token && fastify.jwt.verify(token)) {- next();- } else {- return next(new Error("unauthorized event"));- }- });- fastify.io.on('connection', (socket: any) => {- const { token } = socket.handshake.auth;- const { teamId } = fastify.jwt.decode(token);- socket.join(teamId);- // console.info('Socket connected!', socket.id)- // console.info('Socket joined team!', teamId)- // socket.on('message', (message) => {- // console.log(message)- // })- // socket.on('error', (err) => {- // console.log(err)- // })- })- // fastify.io.on("error", (err) => {- // if (err && err.message === "unauthorized event") {- // fastify.io.disconnect();- // }- // });-}diff --git a/apps/api/src/routes/api/v1/applications/handlers.ts b/apps/api/src/routes/api/v1/applications/handlers.tsdeleted file mode 100644index 8621a93ca8..0000000000--- a/apps/api/src/routes/api/v1/applications/handlers.ts+++ /dev/null@@ -1,1856 +0,0 @@-import cuid from 'cuid';-import crypto from 'node:crypto';-import jsonwebtoken from 'jsonwebtoken';-import { FastifyReply } from 'fastify';-import fs from 'fs/promises';-import yaml from 'js-yaml';-import csv from 'csvtojson';--import { day } from '../../../../lib/dayjs';-import {- saveDockerRegistryCredentials,- setDefaultBaseImage,- setDefaultConfiguration-} from '../../../../lib/buildPacks/common';-import {- checkDomainsIsValidInDNS,- checkExposedPort,- createDirectories,- decrypt,- defaultComposeConfiguration,- encrypt,- errorHandler,- executeCommand,- generateSecrets,- generateSshKeyPair,- getContainerUsage,- getDomain,- isDev,- isDomainConfigured,- listSettings,- prisma,- stopBuild,- uniqueName-} from '../../../../lib/common';-import { checkContainer, formatLabelsOnDocker, removeContainer } from '../../../../lib/docker';--import type { FastifyRequest } from 'fastify';-import type {- GetImages,- CancelDeployment,- CheckDNS,- CheckRepository,- DeleteApplication,- DeleteSecret,- DeleteStorage,- GetApplicationLogs,- GetBuildIdLogs,- SaveApplication,- SaveApplicationSettings,- SaveApplicationSource,- SaveDeployKey,- SaveDestination,- SaveSecret,- SaveStorage,- DeployApplication,- CheckDomain,- StopPreviewApplication,- RestartPreviewApplication,- GetBuilds,- RestartApplication-} from './types';-import { OnlyId } from '../../../../types';--function filterObject(obj, callback) {- return Object.fromEntries(Object.entries(obj).filter(([key, val]) => callback(val, key)));-}--export async function listApplications(request: FastifyRequest) {- try {- const { teamId } = request.user;- const applications = await prisma.application.findMany({- where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { teams: true, destinationDocker: true, settings: true }- });- const settings = await prisma.setting.findFirst();- return {- applications,- settings- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getImages(request: FastifyRequest<GetImages>) {- try {- const { buildPack, deploymentType } = request.body;- let publishDirectory = undefined;- let port = undefined;- const { baseImage, baseBuildImage, baseBuildImages, baseImages } = setDefaultBaseImage(- buildPack,- deploymentType- );- if (buildPack === 'nextjs') {- if (deploymentType === 'static') {- publishDirectory = 'out';- port = '80';- } else {- publishDirectory = '';- port = '3000';- }- }- if (buildPack === 'nuxtjs') {- if (deploymentType === 'static') {- publishDirectory = 'dist';- port = '80';- } else {- publishDirectory = '';- port = '3000';- }- }-- return { baseImage, baseImages, baseBuildImage, baseBuildImages, publishDirectory, port };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function cleanupUnconfiguredApplications(request: FastifyRequest<any>) {- try {- const teamId = request.user.teamId;- const applications = await prisma.application.findMany({- where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { settings: true, destinationDocker: true, teams: true }- });- for (const application of applications) {- if (application?.buildPack === 'compose') {- continue;- }- if (- !application.buildPack ||- !application.destinationDockerId ||- !application.branch ||- (!application.settings?.isBot && !application?.fqdn)- ) {- if (application?.destinationDockerId && application.destinationDocker?.network) {- const { stdout: containers } = await executeCommand({- dockerId: application.destinationDocker.id,- command: `docker ps -a --filter network=${application.destinationDocker.network} --filter name=${application.id} --format '{{json .}}'`- });- if (containers) {- const containersArray = containers.trim().split('\n');- for (const container of containersArray) {- const containerObj = JSON.parse(container);- const id = containerObj.ID;- await removeContainer({ id, dockerId: application.destinationDocker.id });- }- }- }- await prisma.applicationSettings.deleteMany({ where: { applicationId: application.id } });- await prisma.buildLog.deleteMany({ where: { applicationId: application.id } });- await prisma.build.deleteMany({ where: { applicationId: application.id } });- await prisma.secret.deleteMany({ where: { applicationId: application.id } });- await prisma.applicationPersistentStorage.deleteMany({- where: { applicationId: application.id }- });- await prisma.applicationConnectedDatabase.deleteMany({- where: { applicationId: application.id }- });- await prisma.application.deleteMany({ where: { id: application.id } });- }- }- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getApplicationStatus(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- const { teamId } = request.user;- const payload = [];- const application: any = await getApplicationFromDB(id, teamId);- if (application?.destinationDockerId) {- if (application.buildPack === 'compose') {- const { stdout: containers } = await executeCommand({- dockerId: application.destinationDocker.id,- command: `docker ps -a --filter "label=coolify.applicationId=${id}" --format '{{json .}}'`- });- const containersArray = containers.trim().split('\n');- if (containersArray.length > 0 && containersArray[0] !== '') {- for (const container of containersArray) {- let isRunning = false;- let isExited = false;- let isRestarting = false;- const containerObj = JSON.parse(container);- const status = containerObj.State;- if (status === 'running') {- isRunning = true;- }- if (status === 'exited') {- isExited = true;- }- if (status === 'restarting') {- isRestarting = true;- }- payload.push({- name: containerObj.Names,- status: {- isRunning,- isExited,- isRestarting- }- });- }- }- } else {- let isRunning = false;- let isExited = false;- let isRestarting = false;- const status = await checkContainer({- dockerId: application.destinationDocker.id,- container: id- });- if (status?.found) {- isRunning = status.status.isRunning;- isExited = status.status.isExited;- isRestarting = status.status.isRestarting;- payload.push({- name: id,- status: {- isRunning,- isExited,- isRestarting- }- });- }- }- }- return payload;- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getApplication(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- const { teamId } = request.user;- const appId = process.env['COOLIFY_APP_ID'];- const application: any = await getApplicationFromDB(id, teamId);- const settings = await listSettings();- return {- application,- appId,- settings- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function newApplication(request: FastifyRequest, reply: FastifyReply) {- try {- const name = uniqueName();- const { teamId } = request.user;- const { id } = await prisma.application.create({- data: {- name,- teams: { connect: { id: teamId } },- settings: { create: { debug: false, previews: false } }- }- });- return reply.code(201).send({ id });- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-function decryptApplication(application: any) {- if (application) {- if (application?.gitSource?.githubApp?.clientSecret) {- application.gitSource.githubApp.clientSecret =- decrypt(application.gitSource.githubApp.clientSecret) || null;- }- if (application?.gitSource?.githubApp?.webhookSecret) {- application.gitSource.githubApp.webhookSecret =- decrypt(application.gitSource.githubApp.webhookSecret) || null;- }- if (application?.gitSource?.githubApp?.privateKey) {- application.gitSource.githubApp.privateKey =- decrypt(application.gitSource.githubApp.privateKey) || null;- }- if (application?.gitSource?.gitlabApp?.appSecret) {- application.gitSource.gitlabApp.appSecret =- decrypt(application.gitSource.gitlabApp.appSecret) || null;- }- if (application?.secrets.length > 0) {- application.secrets = application.secrets.map((s: any) => {- s.value = decrypt(s.value) || null;- return s;- });- }-- return application;- }-}-export async function getApplicationFromDB(id: string, teamId: string) {- try {- let application = await prisma.application.findFirst({- where: { id, teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: {- destinationDocker: true,- settings: true,- gitSource: { include: { githubApp: true, gitlabApp: true } },- secrets: true,- persistentStorage: true,- connectedDatabase: true,- previewApplication: true,- dockerRegistry: true- }- });- if (!application) {- throw { status: 404, message: 'Application not found.' };- }- application = decryptApplication(application);- const buildPack = application?.buildPack || null;- const { baseImage, baseBuildImage, baseBuildImages, baseImages } =- setDefaultBaseImage(buildPack);-- // Set default build images- if (!application.baseImage) {- application.baseImage = baseImage;- }- if (!application.baseBuildImage) {- application.baseBuildImage = baseBuildImage;- }- return { ...application, baseBuildImages, baseImages };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getApplicationFromDBWebhook(projectId: number, branch: string) {- try {- let applications = await prisma.application.findMany({- where: { projectId, branch, settings: { autodeploy: true } },- include: {- destinationDocker: true,- settings: true,- gitSource: { include: { githubApp: true, gitlabApp: true } },- secrets: true,- persistentStorage: true,- connectedDatabase: true- }- });- if (applications.length === 0) {- throw { status: 500, message: 'Application not configured.', type: 'webhook' };- }- applications = applications.map((application: any) => {- application = decryptApplication(application);- const { baseImage, baseBuildImage, baseBuildImages, baseImages } = setDefaultBaseImage(- application.buildPack- );-- // Set default build images- if (!application.baseImage) {- application.baseImage = baseImage;- }- if (!application.baseBuildImage) {- application.baseBuildImage = baseBuildImage;- }- application.baseBuildImages = baseBuildImages;- application.baseImages = baseImages;- return application;- });-- return applications;- } catch ({ status, message, type }) {- return errorHandler({ status, message, type });- }-}-export async function saveApplication(- request: FastifyRequest<SaveApplication>,- reply: FastifyReply-) {- try {- const { id } = request.params;- let {- name,- buildPack,- fqdn,- port,- exposePort,- installCommand,- buildCommand,- startCommand,- baseDirectory,- publishDirectory,- pythonWSGI,- pythonModule,- pythonVariable,- dockerFileLocation,- denoMainFile,- denoOptions,- gitCommitHash,- baseImage,- baseBuildImage,- deploymentType,- baseDatabaseBranch,- dockerComposeFile,- dockerComposeFileLocation,- dockerComposeConfiguration,- simpleDockerfile,- dockerRegistryImageName- } = request.body;- if (port) port = Number(port);- if (exposePort) {- exposePort = Number(exposePort);- }- const {- destinationDocker: { engine, remoteEngine, remoteIpAddress },- exposePort: configuredPort- } = await prisma.application.findUnique({- where: { id },- include: { destinationDocker: true }- });- if (exposePort)- await checkExposedPort({- id,- configuredPort,- exposePort,- engine,- remoteEngine,- remoteIpAddress- });- if (denoOptions) denoOptions = denoOptions.trim();- const defaultConfiguration = await setDefaultConfiguration({- buildPack,- port,- installCommand,- startCommand,- buildCommand,- publishDirectory,- baseDirectory,- dockerFileLocation,- dockerComposeFileLocation,- denoMainFile- });- if (baseDatabaseBranch) {- await prisma.application.update({- where: { id },- data: {- name,- fqdn,- exposePort,- pythonWSGI,- pythonModule,- pythonVariable,- denoOptions,- baseImage,- gitCommitHash,- baseBuildImage,- deploymentType,- dockerComposeFile,- dockerComposeFileLocation,- dockerComposeConfiguration,- simpleDockerfile,- dockerRegistryImageName,- ...defaultConfiguration,- connectedDatabase: { update: { hostedDatabaseDBName: baseDatabaseBranch } }- }- });- } else {- await prisma.application.update({- where: { id },- data: {- name,- fqdn,- exposePort,- pythonWSGI,- pythonModule,- gitCommitHash,- pythonVariable,- denoOptions,- baseImage,- baseBuildImage,- deploymentType,- dockerComposeFile,- dockerComposeFileLocation,- dockerComposeConfiguration,- simpleDockerfile,- dockerRegistryImageName,- ...defaultConfiguration- }- });- }-- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function saveApplicationSettings(- request: FastifyRequest<SaveApplicationSettings>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const {- debug,- previews,- dualCerts,- autodeploy,- branch,- projectId,- isBot,- isDBBranching,- isCustomSSL,- isHttp2- } = request.body;- await prisma.application.update({- where: { id },- data: {- fqdn: isBot ? null : undefined,- settings: {- update: {- debug,- previews,- dualCerts,- autodeploy,- isBot,- isDBBranching,- isCustomSSL,- isHttp2- }- }- },- include: { destinationDocker: true }- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function stopPreviewApplication(- request: FastifyRequest<StopPreviewApplication>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { pullmergeRequestId } = request.body;- const { teamId } = request.user;- const application: any = await getApplicationFromDB(id, teamId);- if (application?.destinationDockerId) {- const container = `${id}-${pullmergeRequestId}`;- const { id: dockerId } = application.destinationDocker;- const { found } = await checkContainer({ dockerId, container });- if (found) {- await removeContainer({ id: container, dockerId: application.destinationDocker.id });- }- await prisma.previewApplication.deleteMany({- where: { applicationId: application.id, pullmergeRequestId }- });- }- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function restartApplication(- request: FastifyRequest<RestartApplication>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { imageId = null } = request.body;- const { teamId } = request.user;- const application: any = await getApplicationFromDB(id, teamId);- if (application?.destinationDockerId) {- const buildId = cuid();- const { id: dockerId, network } = application.destinationDocker;- const {- dockerRegistry,- secrets,- pullmergeRequestId,- port,- repository,- persistentStorage,- id: applicationId,- buildPack,- exposePort- } = application;- let location = null;-- let envs = [];- if (secrets.length > 0) {- envs = [...envs, ...generateSecrets(secrets, pullmergeRequestId, false, port)];- }-- const { workdir } = await createDirectories({ repository, buildId });- const labels = [];- let image = null;- if (imageId) {- image = imageId;- } else {- const { stdout: container } = await executeCommand({- dockerId,- command: `docker container ls --filter 'label=com.docker.compose.service=${id}' --format '{{json .}}'`- });- const containersArray = container.trim().split('\n');- for (const container of containersArray) {- const containerObj = formatLabelsOnDocker(container);- image = containerObj[0].Image;- Object.keys(containerObj[0].Labels).forEach(function (key) {- if (key.startsWith('coolify')) {- labels.push(`${key}=${containerObj[0].Labels[key]}`);- }- });- }- }- if (dockerRegistry) {- const { url, username, password } = dockerRegistry;- location = await saveDockerRegistryCredentials({ url, username, password, workdir });- }-- let imageFoundLocally = false;- try {- await executeCommand({- dockerId,- command: `docker image inspect ${image}`- });- imageFoundLocally = true;- } catch (error) {- //- }- let imageFoundRemotely = false;- try {- await executeCommand({- dockerId,- command: `docker ${location ? `--config ${location}` : ''} pull ${image}`- });- imageFoundRemotely = true;- } catch (error) {- //- }-- if (!imageFoundLocally && !imageFoundRemotely) {- throw { status: 500, message: 'Image not found, cannot restart application.' };- }-- const volumes =- persistentStorage?.map((storage) => {- return `${applicationId}${storage.path.replace(/\//gi, '-')}:${buildPack !== 'docker' ? '/app' : ''- }${storage.path}`;- }) || [];- const composeVolumes = volumes.map((volume) => {- return {- [`${volume.split(':')[0]}`]: {- name: volume.split(':')[0]- }- };- });- const composeFile = {- version: '3.8',- services: {- [applicationId]: {- image,- container_name: applicationId,- volumes,- environment: envs,- labels,- depends_on: [],- expose: [port],- ...(exposePort ? { ports: [`${exposePort}:${port}`] } : {}),- ...defaultComposeConfiguration(network)- }- },- networks: {- [network]: {- external: true- }- },- volumes: Object.assign({}, ...composeVolumes)- };- await fs.writeFile(`${workdir}/docker-compose.yml`, yaml.dump(composeFile));- try {- await executeCommand({ dockerId, command: `docker stop -t 0 ${id}` });- await executeCommand({ dockerId, command: `docker rm ${id}` });- } catch (error) {- //- }-- await executeCommand({- dockerId,- command: `docker compose --project-directory ${workdir} -f ${workdir}/docker-compose.yml up -d`- });- return reply.code(201).send();- }- throw { status: 500, message: 'Application cannot be restarted.' };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function stopApplication(request: FastifyRequest<OnlyId>, reply: FastifyReply) {- try {- const { id } = request.params;- const { teamId } = request.user;- const application: any = await getApplicationFromDB(id, teamId);- if (application?.destinationDockerId) {- const { id: dockerId } = application.destinationDocker;- if (application.buildPack === 'compose') {- const { stdout: containers } = await executeCommand({- dockerId: application.destinationDocker.id,- command: `docker ps -a --filter "label=coolify.applicationId=${id}" --format '{{json .}}'`- });- const containersArray = containers.trim().split('\n');- if (containersArray.length > 0 && containersArray[0] !== '') {- for (const container of containersArray) {- const containerObj = JSON.parse(container);- await removeContainer({- id: containerObj.ID,- dockerId: application.destinationDocker.id- });- }- }- return;- }- const { found } = await checkContainer({ dockerId, container: id });- if (found) {- await removeContainer({ id, dockerId: application.destinationDocker.id });- }- }- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function deleteApplication(- request: FastifyRequest<DeleteApplication>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { teamId } = request.user;- const application = await prisma.application.findUnique({- where: { id },- include: { destinationDocker: true, teams: true }- });- if (teamId !== '0' && !application.teams.some((team) => team.id === teamId)) {- throw { status: 403, message: 'You are not allowed to delete this application.' };- }- if (application?.destinationDocker?.id && application.destinationDocker?.network) {- const { stdout: containers } = await executeCommand({- dockerId: application.destinationDocker.id,- command: `docker ps -a --filter network=${application.destinationDocker.network} --filter name=${id} --format '{{json .}}'`- });- if (containers) {- const containersArray = containers.trim().split('\n');- for (const container of containersArray) {- const containerObj = JSON.parse(container);- const id = containerObj.ID;- await removeContainer({ id, dockerId: application.destinationDocker.id });- }- }- }- await prisma.applicationSettings.deleteMany({ where: { application: { id } } });- await prisma.buildLog.deleteMany({ where: { applicationId: id } });- await prisma.build.deleteMany({ where: { applicationId: id } });- await prisma.secret.deleteMany({ where: { applicationId: id } });- await prisma.applicationPersistentStorage.deleteMany({ where: { applicationId: id } });- await prisma.applicationConnectedDatabase.deleteMany({ where: { applicationId: id } });- await prisma.previewApplication.deleteMany({ where: { applicationId: id } });- if (teamId === '0') {- await prisma.application.deleteMany({ where: { id } });- } else {- await prisma.application.deleteMany({ where: { id, teams: { some: { id: teamId } } } });- }- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function checkDomain(request: FastifyRequest<CheckDomain>) {- try {- const { id } = request.params;- const { domain } = request.query;- const {- fqdn,- settings: { dualCerts }- } = await prisma.application.findUnique({ where: { id }, include: { settings: true } });- // TODO: Disabled this because it is having problems with remote docker engines.- // return await checkDomainsIsValidInDNS({ hostname: domain, fqdn, dualCerts });- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function checkDNS(request: FastifyRequest<CheckDNS>) {- try {- const { id } = request.params;- let { exposePort, fqdn, forceSave, dualCerts } = request.body;- if (!fqdn) {- return {};- } else {- fqdn = fqdn.toLowerCase();- }- if (exposePort) exposePort = Number(exposePort);-- const {- destinationDocker: { engine, remoteIpAddress, remoteEngine },- exposePort: configuredPort- } = await prisma.application.findUnique({- where: { id },- include: { destinationDocker: true }- });- const { isDNSCheckEnabled } = await prisma.setting.findFirst({});-- const found = await isDomainConfigured({ id, fqdn, remoteIpAddress });- if (found) {- throw {- status: 500,- message: `Domain ${getDomain(fqdn).replace('www.', '')} is already in use!`- };- }- if (exposePort)- await checkExposedPort({- id,- configuredPort,- exposePort,- engine,- remoteEngine,- remoteIpAddress- });- // TODO: Disabled this because it is having problems with remote docker engines.- // if (isDNSCheckEnabled && !isDev && !forceSave) {- // let hostname = request.hostname.split(':')[0];- // if (remoteEngine) hostname = remoteIpAddress;- // return await checkDomainsIsValidInDNS({ hostname, fqdn, dualCerts });- // }- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getUsage(request) {- try {- const { id } = request.params;- const teamId = request.user?.teamId;- let usage = {};-- const application: any = await getApplicationFromDB(id, teamId);- if (application.destinationDockerId) {- [usage] = await Promise.all([getContainerUsage(application.destinationDocker.id, id)]);- }- return {- usage- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getDockerImages(request) {- try {- const { id } = request.params;- const teamId = request.user?.teamId;- const application: any = await getApplicationFromDB(id, teamId);- let imagesAvailables = [];- try {- const { stdout } = await executeCommand({- dockerId: application.destinationDocker.id,- command: `docker images --format '{{.Repository}}#{{.Tag}}#{{.CreatedAt}}'`- });- const { stdout: runningImage } = await executeCommand({- dockerId: application.destinationDocker.id,- command: `docker ps -a --filter 'label=com.docker.compose.service=${id}' --format {{.Image}}`- });- const images = stdout- .trim()- .split('\n')- .filter((image) => image.includes(id) && !image.includes('-cache'));- for (const image of images) {- const [repository, tag, createdAt] = image.split('#');- if (tag.includes('-')) {- continue;- }- const [year, time] = createdAt.split(' ');- imagesAvailables.push({- repository,- tag,- createdAt: day(year + time).unix()- });- }-- imagesAvailables = imagesAvailables.sort((a, b) => b.tag - a.tag);-- return {- imagesAvailables,- runningImage- };- } catch (error) {- console.log(error);- return {- imagesAvailables- };- }- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getUsageByContainer(request) {- try {- const { id, containerId } = request.params;- const teamId = request.user?.teamId;- let usage = {};-- const application: any = await getApplicationFromDB(id, teamId);- if (application.destinationDockerId) {- [usage] = await Promise.all([- getContainerUsage(application.destinationDocker.id, containerId)- ]);- }- return {- usage- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function deployApplication(request: FastifyRequest<DeployApplication>) {- try {- const { id } = request.params;- const teamId = request.user?.teamId;- const { pullmergeRequestId = null, branch, forceRebuild } = request.body;- const buildId = cuid();- const application = await getApplicationFromDB(id, teamId);- if (application) {- if (!application?.configHash) {- const configHash = crypto- .createHash('sha256')- .update(- JSON.stringify({- buildPack: application.buildPack,- port: application.port,- exposePort: application.exposePort,- installCommand: application.installCommand,- buildCommand: application.buildCommand,- startCommand: application.startCommand- })- )- .digest('hex');- await prisma.application.update({ where: { id }, data: { configHash } });- }- await prisma.application.update({ where: { id }, data: { updatedAt: new Date() } });- if (application.gitSourceId) {- await prisma.build.create({- data: {- id: buildId,- applicationId: id,- sourceBranch: branch,- branch: application.branch,- pullmergeRequestId: pullmergeRequestId?.toString(),- forceRebuild,- destinationDockerId: application.destinationDocker?.id,- gitSourceId: application.gitSource?.id,- githubAppId: application.gitSource?.githubApp?.id,- gitlabAppId: application.gitSource?.gitlabApp?.id,- status: 'queued',- type: pullmergeRequestId- ? application.gitSource?.githubApp?.id- ? 'manual_pr'- : 'manual_mr'- : 'manual'- }- });- } else {- await prisma.build.create({- data: {- id: buildId,- applicationId: id,- branch: 'latest',- forceRebuild,- destinationDockerId: application.destinationDocker?.id,- status: 'queued',- type: 'manual'- }- });- }-- return {- buildId- };- }- throw { status: 500, message: 'Application not found!' };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function saveApplicationSource(- request: FastifyRequest<SaveApplicationSource>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { gitSourceId, forPublic, type, simpleDockerfile } = request.body;- if (forPublic) {- const publicGit = await prisma.gitSource.findFirst({ where: { type, forPublic } });- await prisma.application.update({- where: { id },- data: { gitSource: { connect: { id: publicGit.id } } }- });- }- if (simpleDockerfile) {- await prisma.application.update({- where: { id },- data: { simpleDockerfile, settings: { update: { autodeploy: false } } }- });- }- if (gitSourceId) {- await prisma.application.update({- where: { id },- data: { gitSource: { connect: { id: gitSourceId } } }- });- }-- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getGitHubToken(request: FastifyRequest<OnlyId>, reply: FastifyReply) {- try {- const { default: got } = await import('got');- const { id } = request.params;- const { teamId } = request.user;- const application: any = await getApplicationFromDB(id, teamId);- const payload = {- iat: Math.round(new Date().getTime() / 1000),- exp: Math.round(new Date().getTime() / 1000 + 60),- iss: application.gitSource.githubApp.appId- };- const githubToken = jsonwebtoken.sign(payload, application.gitSource.githubApp.privateKey, {- algorithm: 'RS256'- });- const { token } = await got- .post(- `${application.gitSource.apiUrl}/app/installations/${application.gitSource.githubApp.installationId}/access_tokens`,- {- headers: {- Authorization: `Bearer ${githubToken}`- }- }- )- .json();- return reply.code(201).send({- token- });- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function checkRepository(request: FastifyRequest<CheckRepository>) {- try {- const { id } = request.params;- const { repository, branch } = request.query;- const application = await prisma.application.findUnique({- where: { id },- include: { gitSource: true }- });- const found = await prisma.application.findFirst({- where: {- branch,- repository,- gitSource: { type: application.gitSource.type },- id: { not: id }- }- });- return {- used: found ? true : false- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveRepository(request, reply) {- try {- const { id } = request.params;- let {- repository,- branch,- projectId,- autodeploy,- webhookToken,- isPublicRepository = false- } = request.body;-- repository = repository.toLowerCase();-- projectId = Number(projectId);- if (webhookToken) {- await prisma.application.update({- where: { id },- data: {- repository,- branch,- projectId,- gitSource: {- update: {- gitlabApp: { update: { webhookToken: webhookToken ? webhookToken : undefined } }- }- },- settings: { update: { autodeploy, isPublicRepository } }- }- });- } else {- await prisma.application.update({- where: { id },- data: {- repository,- branch,- projectId,- settings: { update: { autodeploy, isPublicRepository } }- }- });- }- // if (!isPublicRepository) {- // const isDouble = await checkDoubleBranch(branch, projectId);- // if (isDouble) {- // await prisma.applicationSettings.updateMany({ where: { application: { branch, projectId } }, data: { autodeploy: false, isPublicRepository } })- // }- // }- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function saveDestination(- request: FastifyRequest<SaveDestination>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { destinationId } = request.body;- await prisma.application.update({- where: { id },- data: { destinationDocker: { connect: { id: destinationId } } }- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getBuildPack(request) {- try {- const { id } = request.params;- const teamId = request.user?.teamId;- const application: any = await getApplicationFromDB(id, teamId);- return {- type: application.gitSource?.type || 'dockerRegistry',- projectId: application.projectId,- repository: application.repository,- branch: application.branch,- apiUrl: application.gitSource?.apiUrl || null,- isPublicRepository: application.settings.isPublicRepository- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function saveRegistry(request, reply) {- try {- const { id } = request.params;- const { registryId } = request.body;- await prisma.application.update({- where: { id },- data: { dockerRegistry: { connect: { id: registryId } } }- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveBuildPack(request, reply) {- try {- const { id } = request.params;- const { buildPack } = request.body;- const { baseImage, baseBuildImage } = setDefaultBaseImage(buildPack);- await prisma.application.update({- where: { id },- data: { buildPack, baseImage, baseBuildImage }- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveConnectedDatabase(request, reply) {- try {- const { id } = request.params;- const { databaseId, type } = request.body;- await prisma.application.update({- where: { id },- data: {- connectedDatabase: {- upsert: {- create: { database: { connect: { id: databaseId } }, hostedDatabaseType: type },- update: { database: { connect: { id: databaseId } }, hostedDatabaseType: type }- }- }- }- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getSecrets(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;-- let secrets = await prisma.secret.findMany({- where: { applicationId: id, isPRMRSecret: false },- orderBy: { createdAt: 'asc' }- });- let previewSecrets = await prisma.secret.findMany({- where: { applicationId: id, isPRMRSecret: true },- orderBy: { createdAt: 'asc' }- });-- secrets = secrets.map((secret) => {- secret.value = decrypt(secret.value);- return secret;- });- previewSecrets = previewSecrets.map((secret) => {- secret.value = decrypt(secret.value);- return secret;- });-- return {- previewSecrets: previewSecrets.sort((a, b) => {- return ('' + a.name).localeCompare(b.name);- }),- secrets: secrets.sort((a, b) => {- return ('' + a.name).localeCompare(b.name);- })- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function updatePreviewSecret(- request: FastifyRequest<SaveSecret>,- reply: FastifyReply-) {- try {- const { id } = request.params;- let { name, value } = request.body;- if (value) {- value = encrypt(value.trim());- } else {- value = '';- }- await prisma.secret.updateMany({- where: { applicationId: id, name, isPRMRSecret: true },- data: { value }- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function updateSecret(request: FastifyRequest<SaveSecret>, reply: FastifyReply) {- try {- const { id } = request.params;- const { name, value, isBuildSecret = undefined } = request.body;- await prisma.secret.updateMany({- where: { applicationId: id, name },- data: { value: encrypt(value.trim()), isBuildSecret }- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveSecret(request: FastifyRequest<SaveSecret>, reply: FastifyReply) {- try {- const { id } = request.params;- const { name, value, isBuildSecret = false } = request.body;- const found = await prisma.secret.findMany({ where: { applicationId: id, name } });- if (found.length > 0) {- throw { message: 'Secret already exists.' };- }- await prisma.secret.create({- data: {- name,- value: encrypt(value.trim()),- isBuildSecret,- isPRMRSecret: false,- application: { connect: { id } }- }- });- await prisma.secret.create({- data: {- name,- value: encrypt(value.trim()),- isBuildSecret,- isPRMRSecret: true,- application: { connect: { id } }- }- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function deleteSecret(request: FastifyRequest<DeleteSecret>) {- try {- const { id } = request.params;- const { name } = request.body;- await prisma.secret.deleteMany({ where: { applicationId: id, name } });- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getStorages(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- const persistentStorages = await prisma.applicationPersistentStorage.findMany({- where: { applicationId: id }- });- return {- persistentStorages- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function saveStorage(request: FastifyRequest<SaveStorage>, reply: FastifyReply) {- try {- const { id } = request.params;- const { hostPath, path, newStorage, storageId } = request.body;-- if (newStorage) {- await prisma.applicationPersistentStorage.create({- data: { hostPath, path, application: { connect: { id } } }- });- } else {- await prisma.applicationPersistentStorage.update({- where: { id: storageId },- data: { hostPath, path }- });- }- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function deleteStorage(request: FastifyRequest<DeleteStorage>) {- try {- const { id } = request.params;- const { path } = request.body;- await prisma.applicationPersistentStorage.deleteMany({ where: { applicationId: id, path } });- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function restartPreview(- request: FastifyRequest<RestartPreviewApplication>,- reply: FastifyReply-) {- try {- const { id, pullmergeRequestId } = request.params;- const { teamId } = request.user;- const application: any = await getApplicationFromDB(id, teamId);- if (application?.destinationDockerId) {- const buildId = cuid();- const { id: dockerId, network } = application.destinationDocker;- const {- secrets,- port,- repository,- persistentStorage,- id: applicationId,- buildPack,- exposePort- } = application;-- let envs = [];- if (secrets.length > 0) {- envs = [...envs, ...generateSecrets(secrets, pullmergeRequestId, false, port)];- }- const { workdir } = await createDirectories({ repository, buildId });- const labels = [];- let image = null;- const { stdout: container } = await executeCommand({- dockerId,- command: `docker container ls --filter 'label=com.docker.compose.service=${id}-${pullmergeRequestId}' --format '{{json .}}'`- });- const containersArray = container.trim().split('\n');- for (const container of containersArray) {- const containerObj = formatLabelsOnDocker(container);- image = containerObj[0].Image;- Object.keys(containerObj[0].Labels).forEach(function (key) {- if (key.startsWith('coolify')) {- labels.push(`${key}=${containerObj[0].Labels[key]}`);- }- });- }- let imageFound = false;- try {- await executeCommand({- dockerId,- command: `docker image inspect ${image}`- });- imageFound = true;- } catch (error) {- //- }- if (!imageFound) {- throw { status: 500, message: 'Image not found, cannot restart application.' };- }-- const volumes =- persistentStorage?.map((storage) => {- return `${applicationId}${storage.path.replace(/\//gi, '-')}:${buildPack !== 'docker' ? '/app' : ''- }${storage.path}`;- }) || [];- const composeVolumes = volumes.map((volume) => {- return {- [`${volume.split(':')[0]}`]: {- name: volume.split(':')[0]- }- };- });- const composeFile = {- version: '3.8',- services: {- [`${applicationId}-${pullmergeRequestId}`]: {- image,- container_name: `${applicationId}-${pullmergeRequestId}`,- volumes,- environment: envs,- labels,- depends_on: [],- expose: [port],- ...(exposePort ? { ports: [`${exposePort}:${port}`] } : {}),- ...defaultComposeConfiguration(network)- }- },- networks: {- [network]: {- external: true- }- },- volumes: Object.assign({}, ...composeVolumes)- };- await fs.writeFile(`${workdir}/docker-compose.yml`, yaml.dump(composeFile));- await executeCommand({ dockerId, command: `docker stop -t 0 ${id}-${pullmergeRequestId}` });- await executeCommand({ dockerId, command: `docker rm ${id}-${pullmergeRequestId}` });- await executeCommand({- dockerId,- command: `docker compose --project-directory ${workdir} -f ${workdir}/docker-compose.yml up -d`- });- return reply.code(201).send();- }- throw { status: 500, message: 'Application cannot be restarted.' };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getPreviewStatus(request: FastifyRequest<RestartPreviewApplication>) {- try {- const { id, pullmergeRequestId } = request.params;- const { teamId } = request.user;- let isRunning = false;- let isExited = false;- let isRestarting = false;- let isBuilding = false;- const application: any = await getApplicationFromDB(id, teamId);- if (application?.destinationDockerId) {- const status = await checkContainer({- dockerId: application.destinationDocker.id,- container: `${id}-${pullmergeRequestId}`- });- if (status?.found) {- isRunning = status.status.isRunning;- isExited = status.status.isExited;- isRestarting = status.status.isRestarting;- }- const building = await prisma.build.findMany({- where: { applicationId: id, pullmergeRequestId, status: { in: ['queued', 'running'] } }- });- isBuilding = building.length > 0;- }- return {- isBuilding,- isRunning,- isRestarting,- isExited- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function loadPreviews(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- const application = await prisma.application.findUnique({- where: { id },- include: { destinationDocker: true }- });- const { stdout } = await executeCommand({- dockerId: application.destinationDocker.id,- command: `docker container ls --filter 'name=${id}-' --format "{{json .}}"`- });- if (stdout === '') {- throw { status: 500, message: 'No previews found.' };- }- const containers = formatLabelsOnDocker(stdout).filter(- (container) =>- container.Labels['coolify.configuration'] &&- container.Labels['coolify.type'] === 'standalone-application'- );-- const jsonContainers = containers- .map((container) =>- JSON.parse(Buffer.from(container.Labels['coolify.configuration'], 'base64').toString())- )- .filter((container) => {- return container.pullmergeRequestId && container.applicationId === id;- });- for (const container of jsonContainers) {- const found = await prisma.previewApplication.findMany({- where: {- applicationId: container.applicationId,- pullmergeRequestId: container.pullmergeRequestId- }- });- if (found.length === 0) {- await prisma.previewApplication.create({- data: {- pullmergeRequestId: container.pullmergeRequestId,- sourceBranch: container.branch,- customDomain: container.fqdn,- application: { connect: { id: container.applicationId } }- }- });- }- }- return {- previews: await prisma.previewApplication.findMany({ where: { applicationId: id } })- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getPreviews(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- const { teamId } = request.user;- let secrets = await prisma.secret.findMany({- where: { applicationId: id },- orderBy: { createdAt: 'desc' }- });- secrets = secrets.map((secret) => {- secret.value = decrypt(secret.value);- return secret;- });-- const applicationSecrets = secrets.filter((secret) => !secret.isPRMRSecret);- const PRMRSecrets = secrets.filter((secret) => secret.isPRMRSecret);- return {- applicationSecrets: applicationSecrets.sort((a, b) => {- return ('' + a.name).localeCompare(b.name);- }),- PRMRSecrets: PRMRSecrets.sort((a, b) => {- return ('' + a.name).localeCompare(b.name);- })- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getApplicationLogs(request: FastifyRequest<GetApplicationLogs>) {- try {- const { id, containerId } = request.params;- let { since = 0 } = request.query;- if (since !== 0) {- since = day(since).unix();- }- const {- destinationDockerId,- destinationDocker: { id: dockerId }- } = await prisma.application.findUnique({- where: { id },- include: { destinationDocker: true }- });- if (destinationDockerId) {- try {- const { default: ansi } = await import('strip-ansi');- const { stdout, stderr } = await executeCommand({- dockerId,- command: `docker logs --since ${since} --tail 5000 --timestamps ${containerId}`- });- const stripLogsStdout = stdout- .toString()- .split('\n')- .map((l) => ansi(l))- .filter((a) => a);- const stripLogsStderr = stderr- .toString()- .split('\n')- .map((l) => ansi(l))- .filter((a) => a);- return { logs: stripLogsStderr.concat(stripLogsStdout) };- } catch (error) {- const { statusCode, stderr } = error;- if (stderr.startsWith('Error: No such container')) {- return { logs: [], noContainer: true };- }- if (statusCode === 404) {- return {- logs: []- };- }- }- }- return {- message: 'No logs found.'- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getBuilds(request: FastifyRequest<GetBuilds>) {- try {- const { id } = request.params;- let { buildId, skip = 0 } = request.query;- if (typeof skip !== 'number') {- skip = Number(skip);- }-- let builds = [];-- const buildCount = await prisma.build.count({ where: { applicationId: id } });- if (buildId) {- builds = await prisma.build.findMany({ where: { applicationId: id, id: buildId } });- } else {- builds = await prisma.build.findMany({- where: { applicationId: id },- orderBy: { createdAt: 'desc' },- take: 5 + skip- });- }- builds = builds.map((build) => {- if (build.status === 'running') {- build.elapsed = (day().utc().diff(day(build.createdAt)) / 1000).toFixed(0);- }- return build;- });- return {- builds,- buildCount- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getBuildIdLogs(request: FastifyRequest<GetBuildIdLogs>) {- try {- // TODO: Fluentbit could still hold the logs, so we need to check if the logs are done- const { buildId, id } = request.params;- let { sequence = 0 } = request.query;- if (typeof sequence !== 'number') {- sequence = Number(sequence);- }- let file = `/app/logs/${id}_buildlog_${buildId}.csv`;- if (isDev) {- file = `${process.cwd()}/../../logs/${id}_buildlog_${buildId}.csv`;- }- const data = await prisma.build.findFirst({ where: { id: buildId } });- const createdAt = day(data.createdAt).utc();- try {- await fs.stat(file);- } catch (error) {- const logs = await prisma.buildLog.findMany({- where: { buildId, time: { gt: sequence } },- orderBy: { time: 'asc' }- });- const data = await prisma.build.findFirst({ where: { id: buildId } });- const createdAt = day(data.createdAt).utc();- return {- logs: logs.map((log) => {- log.time = Number(log.time);- return log;- }),- fromDb: true,- took: day().diff(createdAt) / 1000,- status: data?.status || 'queued'- };- }- const fileLogs = (await fs.readFile(file)).toString();- const decryptedLogs = await csv({ noheader: true }).fromString(fileLogs);- const logs = decryptedLogs- .map((log) => {- const parsed = {- time: log['field1'],- line: decrypt(log['field2'] + '","' + log['field3'])- };- return parsed;- })- .filter((log) => log.time > sequence);- return {- logs,- fromDb: false,- took: day().diff(createdAt) / 1000,- status: data?.status || 'queued'- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getGitLabSSHKey(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- const application = await prisma.application.findUnique({- where: { id },- include: { gitSource: { include: { gitlabApp: true } } }- });- return { publicKey: application.gitSource.gitlabApp.publicSshKey };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function saveGitLabSSHKey(request: FastifyRequest<OnlyId>, reply: FastifyReply) {- try {- const { id } = request.params;- const application = await prisma.application.findUnique({- where: { id },- include: { gitSource: { include: { gitlabApp: true } } }- });- if (!application.gitSource?.gitlabApp?.privateSshKey) {- const keys = await generateSshKeyPair();- const encryptedPrivateKey = encrypt(keys.privateKey);- await prisma.gitlabApp.update({- where: { id: application.gitSource.gitlabApp.id },- data: { privateSshKey: encryptedPrivateKey, publicSshKey: keys.publicKey }- });- return reply.code(201).send({ publicKey: keys.publicKey });- }- return { message: 'SSH key already exists' };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function saveDeployKey(request: FastifyRequest<SaveDeployKey>, reply: FastifyReply) {- try {- const { id } = request.params;- let { deployKeyId } = request.body;-- deployKeyId = Number(deployKeyId);- const application = await prisma.application.findUnique({- where: { id },- include: { gitSource: { include: { gitlabApp: true } } }- });- await prisma.gitlabApp.update({- where: { id: application.gitSource.gitlabApp.id },- data: { deployKeyId }- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function cancelDeployment(- request: FastifyRequest<CancelDeployment>,- reply: FastifyReply-) {- try {- const { buildId, applicationId } = request.body;- if (!buildId) {- throw { status: 500, message: 'buildId is required' };- }- await stopBuild(buildId, applicationId);- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function createdBranchDatabase(- database: any,- baseDatabaseBranch: string,- pullmergeRequestId: string-) {- try {- if (!baseDatabaseBranch) return;- const { id, type, destinationDockerId, rootUser, rootUserPassword, dbUser } = database;- if (destinationDockerId) {- if (type === 'postgresql') {- const decryptedRootUserPassword = decrypt(rootUserPassword);- await executeCommand({- dockerId: destinationDockerId,- command: `docker exec ${id} pg_dump -d "postgresql://postgres:${decryptedRootUserPassword}@${id}:5432/${baseDatabaseBranch}" --encoding=UTF8 --schema-only -f /tmp/${baseDatabaseBranch}.dump`- });- await executeCommand({- dockerId: destinationDockerId,- command: `docker exec ${id} psql postgresql://postgres:${decryptedRootUserPassword}@${id}:5432 -c "CREATE DATABASE branch_${pullmergeRequestId}"`- });- await executeCommand({- dockerId: destinationDockerId,- command: `docker exec ${id} psql -d "postgresql://postgres:${decryptedRootUserPassword}@${id}:5432/branch_${pullmergeRequestId}" -f /tmp/${baseDatabaseBranch}.dump`- });- await executeCommand({- dockerId: destinationDockerId,- command: `docker exec ${id} psql postgresql://postgres:${decryptedRootUserPassword}@${id}:5432 -c "ALTER DATABASE branch_${pullmergeRequestId} OWNER TO ${dbUser}"`- });- }- }- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function removeBranchDatabase(database: any, pullmergeRequestId: string) {- try {- const { id, type, destinationDockerId, rootUser, rootUserPassword } = database;- if (destinationDockerId) {- if (type === 'postgresql') {- const decryptedRootUserPassword = decrypt(rootUserPassword);- // Terminate all connections to the database- await executeCommand({- dockerId: destinationDockerId,- command: `docker exec ${id} psql postgresql://postgres:${decryptedRootUserPassword}@${id}:5432 -c "SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = 'branch_${pullmergeRequestId}' AND pid <> pg_backend_pid();"`- });-- await executeCommand({- dockerId: destinationDockerId,- command: `docker exec ${id} psql postgresql://postgres:${decryptedRootUserPassword}@${id}:5432 -c "DROP DATABASE branch_${pullmergeRequestId}"`- });- }- }- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}diff --git a/apps/api/src/routes/api/v1/applications/index.ts b/apps/api/src/routes/api/v1/applications/index.tsdeleted file mode 100644index 9943dcee69..0000000000--- a/apps/api/src/routes/api/v1/applications/index.ts+++ /dev/null@@ -1,80 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import { OnlyId } from '../../../../types';-import { cancelDeployment, checkDNS, checkDomain, checkRepository, cleanupUnconfiguredApplications, deleteApplication, deleteSecret, deleteStorage, deployApplication, getApplication, getApplicationLogs, getApplicationStatus, getBuildIdLogs, getBuildPack, getBuilds, getDockerImages, getGitHubToken, getGitLabSSHKey, getImages, getPreviews, getPreviewStatus, getSecrets, getStorages, getUsage, getUsageByContainer, listApplications, loadPreviews, newApplication, restartApplication, restartPreview, saveApplication, saveApplicationSettings, saveApplicationSource, saveBuildPack, saveConnectedDatabase, saveDeployKey, saveDestination, saveGitLabSSHKey, saveRegistry, saveRepository, saveSecret, saveStorage, stopApplication, stopPreviewApplication, updatePreviewSecret, updateSecret } from './handlers';--import type { CancelDeployment, CheckDNS, CheckDomain, CheckRepository, DeleteApplication, DeleteSecret, DeleteStorage, DeployApplication, GetApplicationLogs, GetBuildIdLogs, GetBuilds, GetImages, RestartApplication, RestartPreviewApplication, SaveApplication, SaveApplicationSettings, SaveApplicationSource, SaveDeployKey, SaveDestination, SaveSecret, SaveStorage, StopPreviewApplication } from './types';--const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.addHook('onRequest', async (request) => {- return await request.jwtVerify()- })- fastify.get('/', async (request) => await listApplications(request));- fastify.post<GetImages>('/images', async (request) => await getImages(request));-- fastify.post<any>('/cleanup/unconfigured', async (request) => await cleanupUnconfiguredApplications(request));-- fastify.post('/new', async (request, reply) => await newApplication(request, reply));-- fastify.get<OnlyId>('/:id', async (request) => await getApplication(request));- fastify.post<SaveApplication>('/:id', async (request, reply) => await saveApplication(request, reply));- fastify.delete<DeleteApplication>('/:id', async (request, reply) => await deleteApplication(request, reply));-- fastify.get<OnlyId>('/:id/status', async (request) => await getApplicationStatus(request));-- fastify.post<RestartApplication>('/:id/restart', async (request, reply) => await restartApplication(request, reply));- fastify.post<OnlyId>('/:id/stop', async (request, reply) => await stopApplication(request, reply));- fastify.post<StopPreviewApplication>('/:id/stop/preview', async (request, reply) => await stopPreviewApplication(request, reply));-- fastify.post<SaveApplicationSettings>('/:id/settings', async (request, reply) => await saveApplicationSettings(request, reply));-- fastify.get<CheckDomain>('/:id/check', async (request) => await checkDomain(request));- fastify.post<CheckDNS>('/:id/check', async (request) => await checkDNS(request));-- fastify.get<OnlyId>('/:id/secrets', async (request) => await getSecrets(request));- fastify.post<SaveSecret>('/:id/secrets', async (request, reply) => await saveSecret(request, reply));- fastify.put<SaveSecret>('/:id/secrets', async (request, reply) => await updateSecret(request, reply));- fastify.put<SaveSecret>('/:id/secrets/preview', async (request, reply) => await updatePreviewSecret(request, reply));- fastify.delete<DeleteSecret>('/:id/secrets', async (request) => await deleteSecret(request));-- fastify.get<OnlyId>('/:id/storages', async (request) => await getStorages(request));- fastify.post<SaveStorage>('/:id/storages', async (request, reply) => await saveStorage(request, reply));- fastify.delete<DeleteStorage>('/:id/storages', async (request) => await deleteStorage(request));-- fastify.get<OnlyId>('/:id/previews', async (request) => await getPreviews(request));- fastify.post<OnlyId>('/:id/previews/load', async (request) => await loadPreviews(request));- fastify.get<RestartPreviewApplication>('/:id/previews/:pullmergeRequestId/status', async (request) => await getPreviewStatus(request));- fastify.post<RestartPreviewApplication>('/:id/previews/:pullmergeRequestId/restart', async (request, reply) => await restartPreview(request, reply));-- fastify.get<GetApplicationLogs>('/:id/logs/:containerId', async (request) => await getApplicationLogs(request));- fastify.get<GetBuilds>('/:id/logs/build', async (request) => await getBuilds(request));- fastify.get<GetBuildIdLogs>('/:id/logs/build/:buildId', async (request) => await getBuildIdLogs(request));-- fastify.get('/:id/usage', async (request) => await getUsage(request))- fastify.get('/:id/usage/:containerId', async (request) => await getUsageByContainer(request))-- fastify.get('/:id/images', async (request) => await getDockerImages(request))-- fastify.post<DeployApplication>('/:id/deploy', async (request) => await deployApplication(request))- fastify.post<CancelDeployment>('/:id/cancel', async (request, reply) => await cancelDeployment(request, reply));-- fastify.post<SaveApplicationSource>('/:id/configuration/source', async (request, reply) => await saveApplicationSource(request, reply));-- fastify.get<CheckRepository>('/:id/configuration/repository', async (request) => await checkRepository(request));- fastify.post('/:id/configuration/repository', async (request, reply) => await saveRepository(request, reply));- fastify.post<SaveDestination>('/:id/configuration/destination', async (request, reply) => await saveDestination(request, reply));- fastify.get('/:id/configuration/buildpack', async (request) => await getBuildPack(request));- fastify.post('/:id/configuration/buildpack', async (request, reply) => await saveBuildPack(request, reply));-- fastify.post('/:id/configuration/registry', async (request, reply) => await saveRegistry(request, reply));-- fastify.post('/:id/configuration/database', async (request, reply) => await saveConnectedDatabase(request, reply));-- fastify.get<OnlyId>('/:id/configuration/sshkey', async (request) => await getGitLabSSHKey(request));- fastify.post<OnlyId>('/:id/configuration/sshkey', async (request, reply) => await saveGitLabSSHKey(request, reply));-- fastify.post<SaveDeployKey>('/:id/configuration/deploykey', async (request, reply) => await saveDeployKey(request, reply));-- fastify.get<OnlyId>('/:id/configuration/githubToken', async (request, reply) => await getGitHubToken(request, reply));-};--export default root;diff --git a/apps/api/src/routes/api/v1/applications/types.ts b/apps/api/src/routes/api/v1/applications/types.tsdeleted file mode 100644index 1c42f468a9..0000000000--- a/apps/api/src/routes/api/v1/applications/types.ts+++ /dev/null@@ -1,171 +0,0 @@-import type { OnlyId } from '../../../../types';--export interface SaveApplication extends OnlyId {- Body: {- name: string;- buildPack: string;- fqdn: string;- port: number;- exposePort: number;- installCommand: string;- buildCommand: string;- startCommand: string;- baseDirectory: string;- publishDirectory: string;- pythonWSGI: string;- pythonModule: string;- pythonVariable: string;- dockerFileLocation: string;- denoMainFile: string;- denoOptions: string;- baseImage: string;- gitCommitHash: string;- baseBuildImage: string;- deploymentType: string;- baseDatabaseBranch: string;- dockerComposeFile: string;- dockerComposeFileLocation: string;- dockerComposeConfiguration: string;- simpleDockerfile: string;- dockerRegistryImageName: string;- };-}-export interface SaveApplicationSettings extends OnlyId {- Querystring: { domain: string };- Body: {- debug: boolean;- previews: boolean;- dualCerts: boolean;- autodeploy: boolean;- branch: string;- projectId: number;- isBot: boolean;- isDBBranching: boolean;- isCustomSSL: boolean;- isHttp2: boolean;- };-}-export interface DeleteApplication extends OnlyId {- Querystring: { domain: string };- Body: { force: boolean };-}-export interface CheckDomain extends OnlyId {- Querystring: { domain: string };-}-export interface CheckDNS extends OnlyId {- Querystring: { domain: string };- Body: {- exposePort: number;- fqdn: string;- forceSave: boolean;- dualCerts: boolean;- };-}-export interface DeployApplication {- Querystring: { domain: string };- Body: { pullmergeRequestId: string | null; branch: string; forceRebuild?: boolean };-}-export interface GetImages {- Body: { buildPack: string; deploymentType: string };-}-export interface SaveApplicationSource extends OnlyId {- Body: {- gitSourceId?: string | null;- forPublic?: boolean;- type?: string;- simpleDockerfile?: string;- };-}-export interface CheckRepository extends OnlyId {- Querystring: { repository: string; branch: string };-}-export interface SaveDestination extends OnlyId {- Body: { destinationId: string };-}-export interface SaveSecret extends OnlyId {- Body: {- name: string;- value: string;- isBuildSecret: boolean;- previewSecret: boolean;- isNew: boolean;- };-}-export interface DeleteSecret extends OnlyId {- Body: { name: string };-}-export interface SaveStorage extends OnlyId {- Body: {- hostPath?: string;- path: string;- newStorage: boolean;- storageId: string;- };-}-export interface DeleteStorage extends OnlyId {- Body: {- path: string;- };-}-export interface GetApplicationLogs {- Params: {- id: string;- containerId: string;- };- Querystring: {- since: number;- };-}-export interface GetBuilds extends OnlyId {- Querystring: {- buildId: string;- skip: number;- };-}-export interface GetBuildIdLogs {- Params: {- id: string;- buildId: string;- };- Querystring: {- sequence: number;- };-}-export interface SaveDeployKey extends OnlyId {- Body: {- deployKeyId: number;- };-}-export interface CancelDeployment {- Body: {- buildId: string;- applicationId: string;- };-}-export interface DeployApplication extends OnlyId {- Body: {- pullmergeRequestId: string | null;- branch: string;- forceRebuild?: boolean;- };-}--export interface StopPreviewApplication extends OnlyId {- Body: {- pullmergeRequestId: string | null;- };-}-export interface RestartPreviewApplication {- Params: {- id: string;- pullmergeRequestId: string | null;- };-}-export interface RestartApplication {- Params: {- id: string;- };- Body: {- imageId: string | null;- };-}diff --git a/apps/api/src/routes/api/v1/base/index.ts b/apps/api/src/routes/api/v1/base/index.tsdeleted file mode 100644index b03aa197ff..0000000000--- a/apps/api/src/routes/api/v1/base/index.ts+++ /dev/null@@ -1,31 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import { errorHandler, isARM, listSettings, version } from '../../../../lib/common';--const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.addHook('onRequest', async (request) => {- try {- await request.jwtVerify();- } catch (error) {- return;- }- });- fastify.get('/', async (request) => {- const teamId = request.user?.teamId;- const settings = await listSettings();- try {- return {- ipv4: teamId ? settings.ipv4 : null,- ipv6: teamId ? settings.ipv6 : null,- version,- whiteLabeled: process.env.COOLIFY_WHITE_LABELED === 'true',- whiteLabeledIcon: process.env.COOLIFY_WHITE_LABELED_ICON,- isRegistrationEnabled: settings.isRegistrationEnabled,- isARM: isARM()- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }- });-};--export default root;diff --git a/apps/api/src/routes/api/v1/databases/handlers.ts b/apps/api/src/routes/api/v1/databases/handlers.tsdeleted file mode 100644index 982699fde7..0000000000--- a/apps/api/src/routes/api/v1/databases/handlers.ts+++ /dev/null@@ -1,607 +0,0 @@-import cuid from 'cuid';-import type { FastifyRequest } from 'fastify';-import { FastifyReply } from 'fastify';-import yaml from 'js-yaml';-import fs from 'fs/promises';-import {- ComposeFile,- createDirectories,- decrypt,- defaultComposeConfiguration,- encrypt,- errorHandler,- executeCommand,- generateDatabaseConfiguration,- generatePassword,- getContainerUsage,- getDatabaseImage,- getDatabaseVersions,- getFreePublicPort,- listSettings,- makeLabelForStandaloneDatabase,- prisma,- startTraefikTCPProxy,- stopDatabaseContainer,- stopTcpHttpProxy,- supportedDatabaseTypesAndVersions,- uniqueName,- updatePasswordInDb-} from '../../../../lib/common';-import { day } from '../../../../lib/dayjs';--import type { OnlyId } from '../../../../types';-import type {- DeleteDatabase,- DeleteDatabaseSecret,- GetDatabaseLogs,- SaveDatabase,- SaveDatabaseDestination,- SaveDatabaseSecret,- SaveDatabaseSettings,- SaveDatabaseType,- SaveVersion-} from './types';--export async function listDatabases(request: FastifyRequest) {- try {- const teamId = request.user.teamId;- const databases = await prisma.database.findMany({- where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { teams: true, destinationDocker: true }- });- return {- databases- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function newDatabase(request: FastifyRequest, reply: FastifyReply) {- try {- const teamId = request.user.teamId;-- const name = uniqueName();- const dbUser = cuid();- const dbUserPassword = encrypt(generatePassword({}));- const rootUser = cuid();- const rootUserPassword = encrypt(generatePassword({}));- const defaultDatabase = cuid();-- const { id } = await prisma.database.create({- data: {- name,- defaultDatabase,- dbUser,- dbUserPassword,- rootUser,- rootUserPassword,- teams: { connect: { id: teamId } },- settings: { create: { isPublic: false } }- }- });- return reply.code(201).send({ id });- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function cleanupUnconfiguredDatabases(request: FastifyRequest) {- try {- const teamId = request.user.teamId;- let databases = await prisma.database.findMany({- where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { settings: true, destinationDocker: true, teams: true }- });- for (const database of databases) {- if (!database?.version) {- const { id } = database;- if (database.destinationDockerId) {- const everStarted = await stopDatabaseContainer(database);- if (everStarted)- await stopTcpHttpProxy(id, database.destinationDocker, database.publicPort);- }- await prisma.databaseSettings.deleteMany({ where: { databaseId: id } });- await prisma.databaseSecret.deleteMany({ where: { databaseId: id } });- await prisma.database.delete({ where: { id } });- }- }- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getDatabaseStatus(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- const teamId = request.user.teamId;- let isRunning = false;-- const database = await prisma.database.findFirst({- where: { id, teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { destinationDocker: true, settings: true }- });- if (database) {- const { destinationDockerId, destinationDocker } = database;- if (destinationDockerId) {- try {- const { stdout } = await executeCommand({- dockerId: destinationDocker.id,- command: `docker inspect --format '{{json .State}}' ${id}`- });-- if (JSON.parse(stdout).Running) {- isRunning = true;- }- } catch (error) {- //- }- }- }- return {- isRunning- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getDatabase(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- const teamId = request.user.teamId;- const database = await prisma.database.findFirst({- where: { id, teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { destinationDocker: true, settings: true }- });- if (!database) {- throw { status: 404, message: 'Database not found.' };- }- const settings = await listSettings();- if (database.dbUserPassword) database.dbUserPassword = decrypt(database.dbUserPassword);- if (database.rootUserPassword) database.rootUserPassword = decrypt(database.rootUserPassword);- const configuration = generateDatabaseConfiguration(database, settings.arch);- return {- privatePort: configuration?.privatePort,- database,- versions: await getDatabaseVersions(database.type, settings.arch),- settings- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getDatabaseTypes(request: FastifyRequest) {- try {- return {- types: supportedDatabaseTypesAndVersions- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveDatabaseType(- request: FastifyRequest<SaveDatabaseType>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { type } = request.body;- await prisma.database.update({- where: { id },- data: { type }- });- return reply.code(201).send({});- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getVersions(request: FastifyRequest<OnlyId>) {- try {- const teamId = request.user.teamId;- const { id } = request.params;- const { type } = await prisma.database.findFirst({- where: { id, teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { destinationDocker: true, settings: true }- });- const { arch } = await listSettings();- const versions = getDatabaseVersions(type, arch);- return {- versions- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveVersion(request: FastifyRequest<SaveVersion>, reply: FastifyReply) {- try {- const { id } = request.params;- const { version } = request.body;-- await prisma.database.update({- where: { id },- data: {- version- }- });- return reply.code(201).send({});- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveDatabaseDestination(- request: FastifyRequest<SaveDatabaseDestination>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { destinationId } = request.body;-- const { arch } = await listSettings();- await prisma.database.update({- where: { id },- data: { destinationDocker: { connect: { id: destinationId } } }- });-- const {- destinationDockerId,- destinationDocker: { engine, id: dockerId },- version,- type- } = await prisma.database.findUnique({ where: { id }, include: { destinationDocker: true } });-- if (destinationDockerId) {- if (type && version) {- const baseImage = getDatabaseImage(type, arch);- executeCommand({ dockerId, command: `docker pull ${baseImage}:${version}` });- }- }- return reply.code(201).send({});- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getDatabaseUsage(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- const teamId = request.user.teamId;- let usage = {};-- const database = await prisma.database.findFirst({- where: { id, teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { destinationDocker: true, settings: true }- });- if (database.dbUserPassword) database.dbUserPassword = decrypt(database.dbUserPassword);- if (database.rootUserPassword) database.rootUserPassword = decrypt(database.rootUserPassword);- if (database.destinationDockerId) {- [usage] = await Promise.all([getContainerUsage(database.destinationDocker.id, id)]);- }- return {- usage- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function startDatabase(request: FastifyRequest<OnlyId>) {- try {- const teamId = request.user.teamId;- const { id } = request.params;-- const database = await prisma.database.findFirst({- where: { id, teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { destinationDocker: true, settings: true, databaseSecret: true }- });- const { arch } = await listSettings();- if (database.dbUserPassword) database.dbUserPassword = decrypt(database.dbUserPassword);- if (database.rootUserPassword) database.rootUserPassword = decrypt(database.rootUserPassword);- const {- type,- destinationDockerId,- destinationDocker,- publicPort,- settings: { isPublic },- databaseSecret- } = database;- const { privatePort, command, environmentVariables, image, volume, ulimits } =- generateDatabaseConfiguration(database, arch);-- const network = destinationDockerId && destinationDocker.network;- const volumeName = volume.split(':')[0];- const labels = await makeLabelForStandaloneDatabase({ id, image, volume });-- const { workdir } = await createDirectories({ repository: type, buildId: id });- if (databaseSecret.length > 0) {- databaseSecret.forEach((secret) => {- environmentVariables[secret.name] = decrypt(secret.value);- });- }- const composeFile: ComposeFile = {- version: '3.8',- services: {- [id]: {- container_name: id,- image,- command,- environment: environmentVariables,- volumes: [volume],- ulimits,- labels,- ...defaultComposeConfiguration(network)- }- },- networks: {- [network]: {- external: true- }- },- volumes: {- [volumeName]: {- name: volumeName- }- }- };- const composeFileDestination = `${workdir}/docker-compose.yaml`;- await fs.writeFile(composeFileDestination, yaml.dump(composeFile));- await executeCommand({- dockerId: destinationDocker.id,- command: `docker compose -f ${composeFileDestination} up -d`- });- if (isPublic) await startTraefikTCPProxy(destinationDocker, id, publicPort, privatePort);- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function stopDatabase(request: FastifyRequest<OnlyId>) {- try {- const teamId = request.user.teamId;- const { id } = request.params;- const database = await prisma.database.findFirst({- where: { id, teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { destinationDocker: true, settings: true }- });- if (database.dbUserPassword) database.dbUserPassword = decrypt(database.dbUserPassword);- if (database.rootUserPassword) database.rootUserPassword = decrypt(database.rootUserPassword);- const everStarted = await stopDatabaseContainer(database);- if (everStarted) await stopTcpHttpProxy(id, database.destinationDocker, database.publicPort);- await prisma.database.update({- where: { id },- data: {- settings: { upsert: { update: { isPublic: false }, create: { isPublic: false } } }- }- });- await prisma.database.update({ where: { id }, data: { publicPort: null } });- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getDatabaseLogs(request: FastifyRequest<GetDatabaseLogs>) {- try {- const { id } = request.params;- let { since = 0 } = request.query;- if (since !== 0) {- since = day(since).unix();- }- const {- destinationDockerId,- destinationDocker: { id: dockerId }- } = await prisma.database.findUnique({- where: { id },- include: { destinationDocker: true }- });- if (destinationDockerId) {- try {- const { default: ansi } = await import('strip-ansi');- const { stdout, stderr } = await executeCommand({- dockerId,- command: `docker logs --since ${since} --tail 5000 --timestamps ${id}`- });- const stripLogsStdout = stdout- .toString()- .split('\n')- .map((l) => ansi(l))- .filter((a) => a);- const stripLogsStderr = stderr- .toString()- .split('\n')- .map((l) => ansi(l))- .filter((a) => a);- return { logs: stripLogsStderr.concat(stripLogsStdout) };- } catch (error) {- const { statusCode } = error;- if (statusCode === 404) {- return {- logs: []- };- }- }- }- return {- message: 'No logs found.'- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function deleteDatabase(request: FastifyRequest<DeleteDatabase>) {- try {- const teamId = request.user.teamId;- const { id } = request.params;- const database = await prisma.database.findFirst({- where: { id, teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { destinationDocker: true, settings: true }- });- if (database.dbUserPassword) database.dbUserPassword = decrypt(database.dbUserPassword);- if (database.rootUserPassword) database.rootUserPassword = decrypt(database.rootUserPassword);- if (database.destinationDockerId) {- const everStarted = await stopDatabaseContainer(database);- if (everStarted) await stopTcpHttpProxy(id, database.destinationDocker, database.publicPort);- }- await prisma.databaseSettings.deleteMany({ where: { databaseId: id } });- await prisma.databaseSecret.deleteMany({ where: { databaseId: id } });- await prisma.database.delete({ where: { id } });- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveDatabase(request: FastifyRequest<SaveDatabase>, reply: FastifyReply) {- try {- const teamId = request.user.teamId;- const { id } = request.params;- const {- name,- defaultDatabase,- dbUser,- dbUserPassword,- rootUser,- rootUserPassword,- version,- isRunning- } = request.body;- const database = await prisma.database.findFirst({- where: { id, teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { destinationDocker: true, settings: true }- });- if (database.dbUserPassword) database.dbUserPassword = decrypt(database.dbUserPassword);- if (database.rootUserPassword) database.rootUserPassword = decrypt(database.rootUserPassword);- if (isRunning) {- if (database.dbUserPassword !== dbUserPassword) {- await updatePasswordInDb(database, dbUser, dbUserPassword, false);- } else if (database.rootUserPassword !== rootUserPassword) {- await updatePasswordInDb(database, rootUser, rootUserPassword, true);- }- }- const encryptedDbUserPassword = dbUserPassword && encrypt(dbUserPassword);- const encryptedRootUserPassword = rootUserPassword && encrypt(rootUserPassword);- await prisma.database.update({- where: { id },- data: {- name,- defaultDatabase,- dbUser,- dbUserPassword: encryptedDbUserPassword,- rootUser,- rootUserPassword: encryptedRootUserPassword,- version- }- });- return reply.code(201).send({});- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveDatabaseSettings(request: FastifyRequest<SaveDatabaseSettings>) {- try {- const teamId = request.user.teamId;- const { id } = request.params;- const { isPublic, appendOnly = true } = request.body;-- let publicPort = null;-- const {- destinationDocker: { remoteEngine, engine, remoteIpAddress }- } = await prisma.database.findUnique({ where: { id }, include: { destinationDocker: true } });-- if (isPublic) {- publicPort = await getFreePublicPort({ id, remoteEngine, engine, remoteIpAddress });- }- await prisma.database.update({- where: { id },- data: {- settings: { upsert: { update: { isPublic, appendOnly }, create: { isPublic, appendOnly } } }- }- });- const database = await prisma.database.findFirst({- where: { id, teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { destinationDocker: true, settings: true }- });- const { arch } = await listSettings();- if (database.dbUserPassword) database.dbUserPassword = decrypt(database.dbUserPassword);- if (database.rootUserPassword) database.rootUserPassword = decrypt(database.rootUserPassword);-- const { destinationDockerId, destinationDocker, publicPort: oldPublicPort } = database;- const { privatePort } = generateDatabaseConfiguration(database, arch);-- if (destinationDockerId) {- if (isPublic) {- await prisma.database.update({ where: { id }, data: { publicPort } });- await startTraefikTCPProxy(destinationDocker, id, publicPort, privatePort);- } else {- await prisma.database.update({ where: { id }, data: { publicPort: null } });- await stopTcpHttpProxy(id, destinationDocker, oldPublicPort);- }- }- return { publicPort };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getDatabaseSecrets(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- let secrets = await prisma.databaseSecret.findMany({- where: { databaseId: id },- orderBy: { createdAt: 'desc' }- });- secrets = secrets.map((secret) => {- secret.value = decrypt(secret.value);- return secret;- });-- return {- secrets- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function saveDatabaseSecret(- request: FastifyRequest<SaveDatabaseSecret>,- reply: FastifyReply-) {- try {- const { id } = request.params;- let { name, value, isNew } = request.body;-- if (isNew) {- const found = await prisma.databaseSecret.findFirst({ where: { name, databaseId: id } });- if (found) {- throw `Secret ${name} already exists.`;- } else {- value = encrypt(value.trim());- await prisma.databaseSecret.create({- data: { name, value, database: { connect: { id } } }- });- }- } else {- value = encrypt(value.trim());- const found = await prisma.databaseSecret.findFirst({ where: { databaseId: id, name } });-- if (found) {- await prisma.databaseSecret.updateMany({- where: { databaseId: id, name },- data: { value }- });- } else {- await prisma.databaseSecret.create({- data: { name, value, database: { connect: { id } } }- });- }- }- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function deleteDatabaseSecret(request: FastifyRequest<DeleteDatabaseSecret>) {- try {- const { id } = request.params;- const { name } = request.body;- await prisma.databaseSecret.deleteMany({ where: { databaseId: id, name } });- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}diff --git a/apps/api/src/routes/api/v1/databases/index.ts b/apps/api/src/routes/api/v1/databases/index.tsdeleted file mode 100644index 65f0d58f4e..0000000000--- a/apps/api/src/routes/api/v1/databases/index.ts+++ /dev/null@@ -1,44 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import { cleanupUnconfiguredDatabases, deleteDatabase, deleteDatabaseSecret, getDatabase, getDatabaseLogs, getDatabaseSecrets, getDatabaseStatus, getDatabaseTypes, getDatabaseUsage, getVersions, listDatabases, newDatabase, saveDatabase, saveDatabaseDestination, saveDatabaseSecret, saveDatabaseSettings, saveDatabaseType, saveVersion, startDatabase, stopDatabase } from './handlers';--import type { OnlyId } from '../../../../types';--import type { DeleteDatabase, SaveDatabaseType, DeleteDatabaseSecret, GetDatabaseLogs, SaveDatabase, SaveDatabaseDestination, SaveDatabaseSecret, SaveDatabaseSettings, SaveVersion } from './types';--const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.addHook('onRequest', async (request) => {- return await request.jwtVerify()- })- fastify.get('/', async (request) => await listDatabases(request));- fastify.post('/new', async (request, reply) => await newDatabase(request, reply));-- fastify.post<any>('/cleanup/unconfigured', async (request) => await cleanupUnconfiguredDatabases(request));-- fastify.get<OnlyId>('/:id', async (request) => await getDatabase(request));- fastify.post<SaveDatabase>('/:id', async (request, reply) => await saveDatabase(request, reply));- fastify.delete<DeleteDatabase>('/:id', async (request) => await deleteDatabase(request));-- fastify.get<OnlyId>('/:id/status', async (request) => await getDatabaseStatus(request));-- fastify.post<SaveDatabaseSettings>('/:id/settings', async (request) => await saveDatabaseSettings(request));-- fastify.get<OnlyId>('/:id/secrets', async (request) => await getDatabaseSecrets(request));- fastify.post<SaveDatabaseSecret>('/:id/secrets', async (request, reply) => await saveDatabaseSecret(request, reply));- fastify.delete<DeleteDatabaseSecret>('/:id/secrets', async (request) => await deleteDatabaseSecret(request));-- fastify.get('/:id/configuration/type', async (request) => await getDatabaseTypes(request));- fastify.post<SaveDatabaseType>('/:id/configuration/type', async (request, reply) => await saveDatabaseType(request, reply));-- fastify.get<OnlyId>('/:id/configuration/version', async (request) => await getVersions(request));- fastify.post<SaveVersion>('/:id/configuration/version', async (request, reply) => await saveVersion(request, reply));-- fastify.post<SaveDatabaseDestination>('/:id/configuration/destination', async (request, reply) => await saveDatabaseDestination(request, reply));-- fastify.get<OnlyId>('/:id/usage', async (request) => await getDatabaseUsage(request));- fastify.get<GetDatabaseLogs>('/:id/logs', async (request) => await getDatabaseLogs(request));-- fastify.post<OnlyId>('/:id/start', async (request) => await startDatabase(request));- fastify.post<OnlyId>('/:id/stop', async (request) => await stopDatabase(request));-};--export default root;diff --git a/apps/api/src/routes/api/v1/databases/types.ts b/apps/api/src/routes/api/v1/databases/types.tsdeleted file mode 100644index 554521e211..0000000000--- a/apps/api/src/routes/api/v1/databases/types.ts+++ /dev/null@@ -1,55 +0,0 @@-import type { OnlyId } from "../../../../types";--export interface SaveDatabaseType extends OnlyId {- Body: { type: string }-}-export interface DeleteDatabase extends OnlyId {- Body: { }-}-export interface SaveVersion extends OnlyId {- Body: {- version: string- }-}-export interface SaveDatabaseDestination extends OnlyId {- Body: {- destinationId: string- }-}-export interface GetDatabaseLogs extends OnlyId {- Querystring: {- since: number- }-}-export interface SaveDatabase extends OnlyId {- Body: {- name: string,- defaultDatabase: string,- dbUser: string,- dbUserPassword: string,- rootUser: string,- rootUserPassword: string,- version: string,- isRunning: boolean- }-}-export interface SaveDatabaseSettings extends OnlyId {- Body: {- isPublic: boolean,- appendOnly: boolean- }-}--export interface SaveDatabaseSecret extends OnlyId {- Body: {- name: string,- value: string,- isNew: string,- }-}-export interface DeleteDatabaseSecret extends OnlyId {- Body: {- name: string,- }-}-diff --git a/apps/api/src/routes/api/v1/destinations/handlers.ts b/apps/api/src/routes/api/v1/destinations/handlers.tsdeleted file mode 100644index f5ccb2614e..0000000000--- a/apps/api/src/routes/api/v1/destinations/handlers.ts+++ /dev/null@@ -1,279 +0,0 @@-import type { FastifyRequest } from 'fastify';-import { FastifyReply } from 'fastify';-import sshConfig from 'ssh-config'-import fs from 'fs/promises'-import os from 'os';--import { createRemoteEngineConfiguration, decrypt, errorHandler, executeCommand, listSettings, prisma, startTraefikProxy, stopTraefikProxy } from '../../../../lib/common';-import { checkContainer } from '../../../../lib/docker';--import type { OnlyId } from '../../../../types';-import type { CheckDestination, ListDestinations, NewDestination, Proxy, SaveDestinationSettings } from './types';--export async function listDestinations(request: FastifyRequest<ListDestinations>) {- try {- const teamId = request.user.teamId;- const { onlyVerified = false } = request.query- let destinations = []- if (teamId === '0') {- destinations = await prisma.destinationDocker.findMany({ include: { teams: true } });- } else {- destinations = await prisma.destinationDocker.findMany({- where: { teams: { some: { id: teamId } } },- include: { teams: true }- });- }- if (onlyVerified) {- destinations = destinations.filter(destination => destination.engine || (destination.remoteEngine && destination.remoteVerified))- }- return {- destinations- }- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function checkDestination(request: FastifyRequest<CheckDestination>) {- try {- const { network } = request.body;- const found = await prisma.destinationDocker.findFirst({ where: { network } });- if (found) {- throw {- message: `Network already exists: ${network}`- };- }- return {}- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function getDestination(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params- const teamId = request.user?.teamId;- const destination = await prisma.destinationDocker.findFirst({- where: { id, teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { sshKey: true, application: true, service: true, database: true }- });- if (!destination && id !== 'new') {- throw { status: 404, message: `Destination not found.` };- }- const settings = await listSettings();- const payload = {- destination,- settings- };- return {- ...payload- };-- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function newDestination(request: FastifyRequest<NewDestination>, reply: FastifyReply) {- try {- const teamId = request.user.teamId;- const { id } = request.params-- let { name, network, engine, isCoolifyProxyUsed, remoteIpAddress, remoteUser, remotePort } = request.body- if (id === 'new') {- if (engine) {- const { stdout } = await await executeCommand({ command: `docker network ls --filter 'name=^${network}$' --format '{{json .}}'` });- if (stdout === '') {- await await executeCommand({ command: `docker network create --attachable ${network}` });- }- await prisma.destinationDocker.create({- data: { name, teams: { connect: { id: teamId } }, engine, network, isCoolifyProxyUsed }- });- const destinations = await prisma.destinationDocker.findMany({ where: { engine } });- const destination = destinations.find((destination) => destination.network === network);- if (destinations.length > 0) {- const proxyConfigured = destinations.find(- (destination) => destination.network !== network && destination.isCoolifyProxyUsed === true- );- if (proxyConfigured) {- isCoolifyProxyUsed = !!proxyConfigured.isCoolifyProxyUsed;- }- await prisma.destinationDocker.updateMany({ where: { engine }, data: { isCoolifyProxyUsed } });- }- if (isCoolifyProxyUsed) {- await startTraefikProxy(destination.id);- }- return reply.code(201).send({ id: destination.id });- } else {- const destination = await prisma.destinationDocker.create({- data: { name, teams: { connect: { id: teamId } }, engine, network, isCoolifyProxyUsed, remoteEngine: true, remoteIpAddress, remoteUser, remotePort: Number(remotePort) }- });- return reply.code(201).send({ id: destination.id })- }- } else {- await prisma.destinationDocker.update({ where: { id }, data: { name, engine, network } });- return reply.code(201).send();- }-- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function deleteDestination(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params- const { network, remoteVerified, engine, isCoolifyProxyUsed } = await prisma.destinationDocker.findUnique({ where: { id } });- if (isCoolifyProxyUsed) {- if (engine || remoteVerified) {- const { stdout: found } = await executeCommand({- dockerId: id,- command: `docker ps -a --filter network=${network} --filter name=coolify-proxy --format '{{.}}'`- })- if (found) {- await executeCommand({ dockerId: id, command: `docker network disconnect ${network} coolify-proxy` })- await executeCommand({ dockerId: id, command: `docker network rm ${network}` })- }- }- }- await prisma.destinationDocker.delete({ where: { id } });- return {}- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function saveDestinationSettings(request: FastifyRequest<SaveDestinationSettings>) {- try {- const { engine, isCoolifyProxyUsed } = request.body;- await prisma.destinationDocker.updateMany({- where: { engine },- data: { isCoolifyProxyUsed }- });-- return {- status: 202- }- // return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function startProxy(request: FastifyRequest<Proxy>) {- const { id } = request.params- try {- await startTraefikProxy(id);- return {}- } catch ({ status, message }) {- await stopTraefikProxy(id);- return errorHandler({ status, message })- }-}-export async function stopProxy(request: FastifyRequest<Proxy>) {- const { id } = request.params- try {- await stopTraefikProxy(id);- return {}- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function restartProxy(request: FastifyRequest<Proxy>) {- const { id } = request.params- try {- await stopTraefikProxy(id);- await startTraefikProxy(id);- await prisma.destinationDocker.update({- where: { id },- data: { isCoolifyProxyUsed: true }- });- return {}- } catch ({ status, message }) {- await prisma.destinationDocker.update({- where: { id },- data: { isCoolifyProxyUsed: false }- });- return errorHandler({ status, message })- }-}--export async function assignSSHKey(request: FastifyRequest) {- try {- const { id: sshKeyId } = request.body;- const { id } = request.params;- await prisma.destinationDocker.update({ where: { id }, data: { sshKey: { connect: { id: sshKeyId } } } })- return {}- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function verifyRemoteDockerEngineFn(id: string) {- const { remoteIpAddress, network, isCoolifyProxyUsed } = await prisma.destinationDocker.findFirst({ where: { id } })- const daemonJson = `daemon-${id}.json`- try {- await executeCommand({ sshCommand: true, command: `docker network inspect ${network}`, dockerId: id });- } catch (error) {- await executeCommand({ command: `docker network create --attachable ${network}`, dockerId: id });- }-- try {- await executeCommand({ sshCommand: true, command: `docker network inspect coolify-infra`, dockerId: id });- } catch (error) {- await executeCommand({ command: `docker network create --attachable coolify-infra`, dockerId: id });- }-- if (isCoolifyProxyUsed) await startTraefikProxy(id);- let isUpdated = false;- let daemonJsonParsed = {- "live-restore": true,- "features": {- "buildkit": true- }- };- try {- const { stdout: daemonJson } = await executeCommand({ sshCommand: true, dockerId: id, command: `cat /etc/docker/daemon.json` });- daemonJsonParsed = JSON.parse(daemonJson);- if (!daemonJsonParsed['live-restore'] || daemonJsonParsed['live-restore'] !== true) {- isUpdated = true;- daemonJsonParsed['live-restore'] = true-- }- if (!daemonJsonParsed?.features?.buildkit) {- isUpdated = true;- daemonJsonParsed.features = {- buildkit: true- }- }- } catch (error) {- isUpdated = true;- }- try {- if (isUpdated) {- await executeCommand({ shell: true, command: `echo '${JSON.stringify(daemonJsonParsed, null, 2)}' > /tmp/${daemonJson}` })- await executeCommand({ dockerId: id, command: `scp /tmp/${daemonJson} ${remoteIpAddress}-remote:/etc/docker/daemon.json` });- await executeCommand({ command: `rm /tmp/${daemonJson}` })- await executeCommand({ sshCommand: true, dockerId: id, command: `systemctl restart docker` });- }- await prisma.destinationDocker.update({ where: { id }, data: { remoteVerified: true } })- } catch (error) {- throw new Error('Error while verifying remote docker engine')- }-}-export async function verifyRemoteDockerEngine(request: FastifyRequest<OnlyId>, reply: FastifyReply) {- const { id } = request.params;- try {- await verifyRemoteDockerEngineFn(id);- return reply.code(201).send()- } catch ({ status, message }) {- await prisma.destinationDocker.update({ where: { id }, data: { remoteVerified: false } })- return errorHandler({ status, message })- }-}--export async function getDestinationStatus(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params- const destination = await prisma.destinationDocker.findUnique({ where: { id } })- const { found: isRunning } = await checkContainer({ dockerId: destination.id, container: 'coolify-proxy', remove: true })- return {- isRunning- }- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}diff --git a/apps/api/src/routes/api/v1/destinations/index.ts b/apps/api/src/routes/api/v1/destinations/index.tsdeleted file mode 100644index 774afa285c..0000000000--- a/apps/api/src/routes/api/v1/destinations/index.ts+++ /dev/null@@ -1,29 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import { assignSSHKey, checkDestination, deleteDestination, getDestination, getDestinationStatus, listDestinations, newDestination, restartProxy, saveDestinationSettings, startProxy, stopProxy, verifyRemoteDockerEngine } from './handlers';--import type { OnlyId } from '../../../../types';-import type { CheckDestination, ListDestinations, NewDestination, Proxy, SaveDestinationSettings } from './types';--const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.addHook('onRequest', async (request) => {- return await request.jwtVerify()- })- fastify.get<ListDestinations>('/', async (request) => await listDestinations(request));- fastify.post<CheckDestination>('/check', async (request) => await checkDestination(request));-- fastify.get<OnlyId>('/:id', async (request) => await getDestination(request));- fastify.post<NewDestination>('/:id', async (request, reply) => await newDestination(request, reply));- fastify.delete<OnlyId>('/:id', async (request) => await deleteDestination(request));- fastify.get<OnlyId>('/:id/status', async (request) => await getDestinationStatus(request));-- fastify.post<SaveDestinationSettings>('/:id/settings', async (request) => await saveDestinationSettings(request));- fastify.post<Proxy>('/:id/start', async (request,) => await startProxy(request));- fastify.post<Proxy>('/:id/stop', async (request) => await stopProxy(request));- fastify.post<Proxy>('/:id/restart', async (request) => await restartProxy(request));-- fastify.post('/:id/configuration/sshKey', async (request) => await assignSSHKey(request));-- fastify.post<OnlyId>('/:id/verify', async (request, reply) => await verifyRemoteDockerEngine(request, reply));-};--export default root;diff --git a/apps/api/src/routes/api/v1/destinations/types.ts b/apps/api/src/routes/api/v1/destinations/types.tsdeleted file mode 100644index fe27422181..0000000000--- a/apps/api/src/routes/api/v1/destinations/types.ts+++ /dev/null@@ -1,29 +0,0 @@-import { OnlyId } from "../../../../types"--export interface ListDestinations {- Querystring: {- onlyVerified: string- }-}-export interface CheckDestination {- Body: {- network: string- }-}-export interface NewDestination extends OnlyId {- Body: {- name: string- network: string- engine: string- isCoolifyProxyUsed: boolean- }-}-export interface SaveDestinationSettings extends OnlyId {- Body: {- engine: string- isCoolifyProxyUsed: boolean- }-}-export interface Proxy extends OnlyId {--}\ No newline at end of filediff --git a/apps/api/src/routes/api/v1/handlers.ts b/apps/api/src/routes/api/v1/handlers.tsdeleted file mode 100644index 5cb283137e..0000000000--- a/apps/api/src/routes/api/v1/handlers.ts+++ /dev/null@@ -1,460 +0,0 @@-import { compareVersions } from 'compare-versions';-import cuid from 'cuid';-import bcrypt from 'bcryptjs';-import fs from 'fs/promises';-import yaml from 'js-yaml';-import {- asyncSleep,- cleanupDockerStorage,- errorHandler,- isDev,- listSettings,- prisma,- uniqueName,- version,- sentryDSN,- executeCommand-} from '../../../lib/common';-import { scheduler } from '../../../lib/scheduler';-import type { FastifyReply, FastifyRequest } from 'fastify';-import type { Login, Update } from '.';-import type { GetCurrentUser } from './types';--export async function hashPassword(password: string): Promise<string> {- const saltRounds = 15;- return bcrypt.hash(password, saltRounds);-}--export async function backup(request: FastifyRequest) {- try {- const { backupData } = request.params;- let std = null;- const [id, backupType, type, zipped, storage] = backupData.split(':');- console.log(id, backupType, type, zipped, storage);- const database = await prisma.database.findUnique({ where: { id } });- if (database) {- // await executeDockerCmd({- // dockerId: database.destinationDockerId,- // command: `docker pull coollabsio/backup:latest`,- // })- std = await executeCommand({- dockerId: database.destinationDockerId,- command: `docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v coolify-local-backup:/app/backups -e CONTAINERS_TO_BACKUP="${backupData}" coollabsio/backup`- });- }- if (std.stdout) {- return std.stdout;- }- if (std.stderr) {- return std.stderr;- }- return 'nope';- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function cleanupManually(request: FastifyRequest) {- try {- const { serverId } = request.body;- const destination = await prisma.destinationDocker.findUnique({- where: { id: serverId }- });- await cleanupDockerStorage(destination.id);- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function refreshTags() {- try {- const { default: got } = await import('got');- try {- if (isDev) {- let tags = await fs.readFile('./devTags.json', 'utf8');- try {- if (await fs.stat('./testTags.json')) {- const testTags = await fs.readFile('./testTags.json', 'utf8');- if (testTags.length > 0) {- tags = JSON.parse(tags).concat(JSON.parse(testTags));- }- }- } catch (error) {}- await fs.writeFile('./tags.json', tags);- } else {- const tags = await got.get('https://get.coollabs.io/coolify/service-tags.json').text();- await fs.writeFile('/app/tags.json', tags);- }- } catch (error) {- console.log(error);- }-- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function refreshTemplates() {- try {- const { default: got } = await import('got');- try {- if (isDev) {- let templates = await fs.readFile('./devTemplates.yaml', 'utf8');- try {- if (await fs.stat('./testTemplate.yaml')) {- templates = templates + (await fs.readFile('./testTemplate.yaml', 'utf8'));- }- } catch (error) {}- const response = await fs.readFile('./devTemplates.yaml', 'utf8');- await fs.writeFile('./templates.json', JSON.stringify(yaml.load(response)));- } else {- const response = await got- .get('https://get.coollabs.io/coolify/service-templates.yaml')- .text();- await fs.writeFile('/app/templates.json', JSON.stringify(yaml.load(response)));- }- } catch (error) {- console.log(error);- }- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function checkUpdate(request: FastifyRequest) {- try {- const { default: got } = await import('got');- const isStaging =- request.hostname === 'staging.coolify.io' || request.hostname === 'arm.coolify.io';- const currentVersion = version;- const { coolify } = await got- .get('https://get.coollabs.io/versions.json', {- searchParams: {- appId: process.env['COOLIFY_APP_ID'] || undefined,- version: currentVersion- }- })- .json();- const latestVersion = coolify.main.version;- const isUpdateAvailable = compareVersions(latestVersion, currentVersion);- if (isStaging) {- return {- isUpdateAvailable: true,- latestVersion: 'next'- };- }- return {- isUpdateAvailable: isStaging ? true : isUpdateAvailable === 1,- latestVersion- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function update(request: FastifyRequest<Update>) {- const { latestVersion } = request.body;- try {- if (!isDev) {- const { isAutoUpdateEnabled } = await prisma.setting.findFirst();- let image = `ghcr.io/coollabsio/coolify:${latestVersion}`;- try {- await executeCommand({ command: `docker pull ${image}` });- } catch (error) {- image = `coollabsio/coolify:${latestVersion}`;- await executeCommand({ command: `docker pull ${image}` });- }-- await executeCommand({ shell: true, command: `env | grep COOLIFY > .env` });- await executeCommand({- command: `sed -i '/COOLIFY_AUTO_UPDATE=/cCOOLIFY_AUTO_UPDATE=${isAutoUpdateEnabled}' .env`- });- await executeCommand({- shell: true,- command: `docker run --rm -tid --env-file .env -v /var/run/docker.sock:/var/run/docker.sock -v coolify-db ${image} /bin/sh -c "env | grep COOLIFY > .env && echo 'TAG=${latestVersion}' >> .env && docker stop -t 0 coolify coolify-fluentbit && docker rm coolify coolify-fluentbit && docker compose pull && docker compose up -d --force-recreate"`- });- return {};- } else {- await asyncSleep(2000);- return {};- }- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function resetQueue(request: FastifyRequest<any>) {- try {- const teamId = request.user.teamId;- if (teamId === '0') {- await prisma.build.updateMany({- where: { status: { in: ['queued', 'running'] } },- data: { status: 'canceled' }- });- scheduler.workers.get('deployApplication').postMessage('cancel');- }- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function restartCoolify(request: FastifyRequest<any>) {- try {- const teamId = request.user.teamId;- if (teamId === '0') {- if (!isDev) {- await executeCommand({ command: `docker restart coolify` });- return {};- } else {- return {};- }- }- throw {- status: 500,- message: 'You are not authorized to restart Coolify.'- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function showDashboard(request: FastifyRequest) {- try {- const userId = request.user.userId;- const teamId = request.user.teamId;- let applications = await prisma.application.findMany({- where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { settings: true, destinationDocker: true, teams: true }- });- const databases = await prisma.database.findMany({- where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { settings: true, destinationDocker: true, teams: true }- });- const services = await prisma.service.findMany({- where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { destinationDocker: true, teams: true }- });- const gitSources = await prisma.gitSource.findMany({- where: {- OR: [- { teams: { some: { id: teamId === '0' ? undefined : teamId } } },- { isSystemWide: true }- ]- },- include: { teams: true }- });- const destinations = await prisma.destinationDocker.findMany({- where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { teams: true }- });- const settings = await listSettings();-- let foundUnconfiguredApplication = false;- for (const application of applications) {- if (- ((!application.buildPack || !application.branch) && !application.simpleDockerfile) ||- !application.destinationDockerId ||- (!application.settings?.isBot && !application?.fqdn && application.buildPack !== 'compose')- ) {- foundUnconfiguredApplication = true;- }- }- let foundUnconfiguredService = false;- for (const service of services) {- if (!service.fqdn) {- foundUnconfiguredService = true;- }- }- let foundUnconfiguredDatabase = false;- for (const database of databases) {- if (!database.version) {- foundUnconfiguredDatabase = true;- }- }- return {- foundUnconfiguredApplication,- foundUnconfiguredDatabase,- foundUnconfiguredService,- applications,- databases,- services,- gitSources,- destinations,- settings- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function login(request: FastifyRequest<Login>, reply: FastifyReply) {- if (request.user) {- return reply.redirect('/dashboard');- } else {- const { email, password, isLogin } = request.body || {};- if (!email || !password) {- throw { status: 500, message: 'Email and password are required.' };- }- const users = await prisma.user.count();- const userFound = await prisma.user.findUnique({- where: { email },- include: { teams: true, permission: true },- rejectOnNotFound: false- });- if (!userFound && isLogin) {- throw { status: 500, message: 'User not found.' };- }- const { isRegistrationEnabled, id } = await prisma.setting.findFirst();- let uid = cuid();- let permission = 'read';- let isAdmin = false;-- if (users === 0) {- await prisma.setting.update({- where: { id },- data: { isRegistrationEnabled: false }- });- uid = '0';- }- if (userFound) {- if (userFound.type === 'email') {- if (userFound.password === 'RESETME') {- const hashedPassword = await hashPassword(password);- if (userFound.updatedAt < new Date(Date.now() - 1000 * 60 * 10)) {- if (userFound.id === '0') {- await prisma.user.update({- where: { email: userFound.email },- data: { password: 'RESETME' }- });- } else {- await prisma.user.update({- where: { email: userFound.email },- data: { password: 'RESETTIMEOUT' }- });- }-- throw {- status: 500,- message: 'Password reset link has expired. Please request a new one.'- };- } else {- await prisma.user.update({- where: { email: userFound.email },- data: { password: hashedPassword }- });- return {- userId: userFound.id,- teamId: userFound.id,- permission: userFound.permission,- isAdmin: true- };- }- }-- const passwordMatch = await bcrypt.compare(password, userFound.password);- if (!passwordMatch) {- throw {- status: 500,- message: 'Wrong password or email address.'- };- }- uid = userFound.id;- isAdmin = true;- }- } else {- permission = 'owner';- isAdmin = true;- if (!isRegistrationEnabled) {- throw {- status: 404,- message: 'Registration disabled by administrator.'- };- }- const hashedPassword = await hashPassword(password);- if (users === 0) {- await prisma.user.create({- data: {- id: uid,- email,- password: hashedPassword,- type: 'email',- teams: {- create: {- id: uid,- name: uniqueName(),- destinationDocker: { connect: { network: 'coolify' } }- }- },- permission: { create: { teamId: uid, permission: 'owner' } }- },- include: { teams: true }- });- } else {- await prisma.user.create({- data: {- id: uid,- email,- password: hashedPassword,- type: 'email',- teams: {- create: {- id: uid,- name: uniqueName()- }- },- permission: { create: { teamId: uid, permission: 'owner' } }- },- include: { teams: true }- });- }- }- return {- userId: uid,- teamId: uid,- permission,- isAdmin- };- }-}--export async function getCurrentUser(request: FastifyRequest<GetCurrentUser>, fastify) {- let token = null;- const { teamId } = request.query;- try {- const user = await prisma.user.findUnique({- where: { id: request.user.userId }- });- if (!user) {- throw 'User not found';- }- } catch (error) {- throw { status: 401, message: error };- }- if (teamId) {- try {- const user = await prisma.user.findFirst({- where: { id: request.user.userId, teams: { some: { id: teamId } } },- include: { teams: true, permission: true }- });- if (user) {- const permission = user.permission.find((p) => p.teamId === teamId).permission;- const payload = {- ...request.user,- teamId,- permission: permission || null,- isAdmin: permission === 'owner' || permission === 'admin'- };- token = fastify.jwt.sign(payload);- }- } catch (error) {- // No new token -> not switching teams- }- }- const pendingInvitations = await prisma.teamInvitation.findMany({- where: { uid: request.user.userId }- });- return {- settings: await prisma.setting.findUnique({ where: { id: '0' } }),- sentryDSN,- pendingInvitations,- token,- ...request.user- };-}diff --git a/apps/api/src/routes/api/v1/iam/handlers.ts b/apps/api/src/routes/api/v1/iam/handlers.tsdeleted file mode 100644index d61b173f29..0000000000--- a/apps/api/src/routes/api/v1/iam/handlers.ts+++ /dev/null@@ -1,491 +0,0 @@-import cuid from 'cuid';-import type { FastifyRequest } from 'fastify';-import { FastifyReply } from 'fastify';-import { decrypt, errorHandler, prisma, uniqueName } from '../../../../lib/common';-import { day } from '../../../../lib/dayjs';--import type { OnlyId } from '../../../../types';-import type { BodyId, DeleteUserFromTeam, InviteToTeam, SaveTeam, SetPermission } from './types';---export async function listAccounts(request: FastifyRequest) {- try {- const userId = request.user.userId;- const teamId = request.user.teamId;- const account = await prisma.user.findUnique({- where: { id: userId },- select: { id: true, email: true, teams: true }- });- let accounts = await prisma.user.findMany({ where: { teams: { some: { id: teamId } } }, select: { id: true, email: true, teams: true } });- if (teamId === '0') {- accounts = await prisma.user.findMany({ select: { id: true, email: true, teams: true } });- }- return {- account,- accounts- };- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function listTeams(request: FastifyRequest) {- try {- const userId = request.user.userId;- const teamId = request.user.teamId;- let allTeams = [];- if (teamId === '0') {- allTeams = await prisma.team.findMany({- where: { users: { none: { id: userId } } },- include: { permissions: true }- });- }- const ownTeams = await prisma.team.findMany({- where: { users: { some: { id: userId } } },- include: { permissions: true }- });- return {- ownTeams,- allTeams,- };- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function removeUserFromTeam(request: FastifyRequest<DeleteUserFromTeam>, reply: FastifyReply) {- try {- const { uid } = request.body;- const { id } = request.params;- const userId = request.user.userId;- const foundUser = await prisma.team.findMany({ where: { id, users: { some: { id: userId } } } });- if (foundUser.length === 0) {- return errorHandler({ status: 404, message: 'Team not found' });- }- await prisma.team.update({ where: { id }, data: { users: { disconnect: { id: uid } } } });- await prisma.permission.deleteMany({ where: { teamId: id, userId: uid } })- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function deleteTeam(request: FastifyRequest<OnlyId>, reply: FastifyReply) {- try {- const userId = request.user.userId;- const { id } = request.params;-- const aloneInTeams = await prisma.team.findMany({ where: { users: { every: { id: userId } }, id } });- if (aloneInTeams.length > 0) {- for (const team of aloneInTeams) {- const applications = await prisma.application.findMany({- where: { teams: { every: { id: team.id } } }- });- if (applications.length > 0) {- for (const application of applications) {- await prisma.application.update({- where: { id: application.id },- data: { teams: { connect: { id: '0' } } }- });- }- }- const services = await prisma.service.findMany({- where: { teams: { every: { id: team.id } } }- });- if (services.length > 0) {- for (const service of services) {- await prisma.service.update({- where: { id: service.id },- data: { teams: { connect: { id: '0' } } }- });- }- }- const databases = await prisma.database.findMany({- where: { teams: { every: { id: team.id } } }- });- if (databases.length > 0) {- for (const database of databases) {- await prisma.database.update({- where: { id: database.id },- data: { teams: { connect: { id: '0' } } }- });- }- }- const sources = await prisma.gitSource.findMany({- where: { teams: { every: { id: team.id } } }- });- if (sources.length > 0) {- for (const source of sources) {- await prisma.gitSource.update({- where: { id: source.id },- data: { teams: { connect: { id: '0' } } }- });- }- }- const destinations = await prisma.destinationDocker.findMany({- where: { teams: { every: { id: team.id } } }- });- if (destinations.length > 0) {- for (const destination of destinations) {- await prisma.destinationDocker.update({- where: { id: destination.id },- data: { teams: { connect: { id: '0' } } }- });- }- }- await prisma.teamInvitation.deleteMany({ where: { teamId: team.id } });- await prisma.permission.deleteMany({ where: { teamId: team.id } });- // await prisma.user.delete({ where: { id } });- await prisma.team.delete({ where: { id: team.id } });- }- }-- const notAloneInTeams = await prisma.team.findMany({ where: { users: { some: { id: userId } } } });- if (notAloneInTeams.length > 0) {- for (const team of notAloneInTeams) {- await prisma.team.update({- where: { id: team.id },- data: { users: { disconnect: { id } } }- });- }- }- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function newTeam(request: FastifyRequest, reply: FastifyReply) {- try {- const userId = request.user?.userId;- const name = uniqueName();- const { id } = await prisma.team.create({- data: {- name,- permissions: { create: { user: { connect: { id: userId } }, permission: 'owner' } },- users: { connect: { id: userId } }- }- });- return reply.code(201).send({ id })- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function getTeam(request: FastifyRequest<OnlyId>, reply: FastifyReply) {- try {- const userId = request.user.userId;- const teamId = request.user.teamId;- const { id } = request.params;-- const user = await prisma.user.findFirst({- where: { id: userId, teams: teamId === '0' ? undefined : { some: { id } } },- include: { permission: true }- });- if (!user) return reply.code(401).send()-- const permissions = await prisma.permission.findMany({- where: { teamId: id },- include: { user: { select: { id: true, email: true } } }- });- const team = await prisma.team.findUnique({ where: { id }, include: { permissions: true } });- const invitations = await prisma.teamInvitation.findMany({ where: { teamId: team.id } });- const { teams } = await prisma.user.findUnique({ where: { id: userId }, include: { teams: true } })- return {- currentTeam: teamId,- team,- teams,- permissions,- invitations- };- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function saveTeam(request: FastifyRequest<SaveTeam>, reply: FastifyReply) {- try {- const { id } = request.params;- const { name } = request.body;-- await prisma.team.update({ where: { id }, data: { name: { set: name } } });- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}--// export async function deleteUser(request: FastifyRequest, reply: FastifyReply) {-// try {-// const userId = request.user.userId;-// const { id } = request.params;--// const aloneInTeams = await prisma.team.findMany({ where: { users: { every: { id: userId } }, id } });-// if (aloneInTeams.length > 0) {-// for (const team of aloneInTeams) {-// const applications = await prisma.application.findMany({-// where: { teams: { every: { id: team.id } } }-// });-// if (applications.length > 0) {-// for (const application of applications) {-// await prisma.application.update({-// where: { id: application.id },-// data: { teams: { connect: { id: '0' } } }-// });-// }-// }-// const services = await prisma.service.findMany({-// where: { teams: { every: { id: team.id } } }-// });-// if (services.length > 0) {-// for (const service of services) {-// await prisma.service.update({-// where: { id: service.id },-// data: { teams: { connect: { id: '0' } } }-// });-// }-// }-// const databases = await prisma.database.findMany({-// where: { teams: { every: { id: team.id } } }-// });-// if (databases.length > 0) {-// for (const database of databases) {-// await prisma.database.update({-// where: { id: database.id },-// data: { teams: { connect: { id: '0' } } }-// });-// }-// }-// const sources = await prisma.gitSource.findMany({-// where: { teams: { every: { id: team.id } } }-// });-// if (sources.length > 0) {-// for (const source of sources) {-// await prisma.gitSource.update({-// where: { id: source.id },-// data: { teams: { connect: { id: '0' } } }-// });-// }-// }-// const destinations = await prisma.destinationDocker.findMany({-// where: { teams: { every: { id: team.id } } }-// });-// if (destinations.length > 0) {-// for (const destination of destinations) {-// await prisma.destinationDocker.update({-// where: { id: destination.id },-// data: { teams: { connect: { id: '0' } } }-// });-// }-// }-// await prisma.teamInvitation.deleteMany({ where: { teamId: team.id } });-// await prisma.permission.deleteMany({ where: { teamId: team.id } });-// await prisma.user.delete({ where: { id: userId } });-// await prisma.team.delete({ where: { id: team.id } });--// }-// }--// const notAloneInTeams = await prisma.team.findMany({ where: { users: { some: { id: userId } } } });-// if (notAloneInTeams.length > 0) {-// for (const team of notAloneInTeams) {-// await prisma.team.update({-// where: { id: team.id },-// data: { users: { disconnect: { id } } }-// });-// }-// }--// return reply.code(201).send()-// } catch (error) {-// console.log(error)-// throw { status: 500, message: error }-// }-// }--export async function inviteToTeam(request: FastifyRequest<InviteToTeam>, reply: FastifyReply) {- try {- const userId = request.user.userId;- const { email, permission, teamId, teamName } = request.body;- const userFound = await prisma.user.findUnique({ where: { email } });- if (!userFound) {- throw {- message: `No user found with '${email}' email address.`- };- }- const uid = userFound.id;- if (uid === userId) {- throw {- message: `Invitation to yourself? Whaaaaat?`- };- }- const alreadyInTeam = await prisma.team.findFirst({- where: { id: teamId, users: { some: { id: uid } } }- });- if (alreadyInTeam) {- throw {- message: `Already in the team.`- };- }- const invitationFound = await prisma.teamInvitation.findFirst({ where: { uid, teamId } });- if (invitationFound) {- if (day().toDate() < day(invitationFound.createdAt).add(1, 'day').toDate()) {- throw 'Invitiation already pending on user confirmation.'- } else {- await prisma.teamInvitation.delete({ where: { id: invitationFound.id } });- await prisma.teamInvitation.create({- data: { email, uid, teamId, teamName, permission }- });- return reply.code(201).send({ message: 'Invitiation sent.' })- }- } else {- await prisma.teamInvitation.create({- data: { email, uid, teamId, teamName, permission }- });- return reply.code(201).send({ message: 'Invitiation sent.' })-- }- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}--export async function acceptInvitation(request: FastifyRequest<BodyId>) {- try {- const userId = request.user.userId;- const { id } = request.body;- const invitation = await prisma.teamInvitation.findFirst({- where: { uid: userId },- rejectOnNotFound: true- });- await prisma.team.update({- where: { id: invitation.teamId },- data: { users: { connect: { id: userId } } }- });- await prisma.permission.create({- data: {- user: { connect: { id: userId } },- permission: invitation.permission,- team: { connect: { id: invitation.teamId } }- }- });- await prisma.teamInvitation.delete({ where: { id } });- return {}- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function revokeInvitation(request: FastifyRequest<BodyId>) {- try {- const { id } = request.body- await prisma.teamInvitation.delete({ where: { id } });- return {}- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}--export async function removeUser(request: FastifyRequest<BodyId>, reply: FastifyReply) {- try {- const { id } = request.body;- const user = await prisma.user.findUnique({ where: { id }, include: { teams: true, permission: true } });- if (user) {- const permissions = user.permission;- if (permissions.length > 0) {- for (const permission of permissions) {- await prisma.permission.deleteMany({ where: { id: permission.id, userId: id } });- }- }- const teams = user.teams;- if (teams.length > 0) {- for (const team of teams) {- const newTeam = await prisma.team.update({- where: { id: team.id },- data: { users: { disconnect: { id } } },- include: { applications: true, database: true, gitHubApps: true, gitLabApps: true, gitSources: true, destinationDocker: true, service: true, users: true }- });- if (newTeam.users.length === 0) {- if (newTeam.applications.length > 0) {- for (const application of newTeam.applications) {- await prisma.application.update({- where: { id: application.id },- data: { teams: { disconnect: { id: team.id }, connect: { id: '0' } } }- });- }- }- if (newTeam.database.length > 0) {- for (const database of newTeam.database) {- await prisma.database.update({- where: { id: database.id },- data: { teams: { disconnect: { id: team.id }, connect: { id: '0' } } }- });- }- }- if (newTeam.service.length > 0) {- for (const service of newTeam.service) {- await prisma.service.update({- where: { id: service.id },- data: { teams: { disconnect: { id: team.id }, connect: { id: '0' } } }- });- }- }- if (newTeam.gitHubApps.length > 0) {- for (const gitHubApp of newTeam.gitHubApps) {- await prisma.githubApp.update({- where: { id: gitHubApp.id },- data: { teams: { disconnect: { id: team.id }, connect: { id: '0' } } }- });- }- }- if (newTeam.gitLabApps.length > 0) {- for (const gitLabApp of newTeam.gitLabApps) {- await prisma.gitlabApp.update({- where: { id: gitLabApp.id },- data: { teams: { disconnect: { id: team.id }, connect: { id: '0' } } }- });- }- }- if (newTeam.gitSources.length > 0) {- for (const gitSource of newTeam.gitSources) {- await prisma.gitSource.update({- where: { id: gitSource.id },- data: { teams: { disconnect: { id: team.id }, connect: { id: '0' } } }- });- }- }- if (newTeam.destinationDocker.length > 0) {- for (const destinationDocker of newTeam.destinationDocker) {- await prisma.destinationDocker.update({- where: { id: destinationDocker.id },- data: { teams: { disconnect: { id: team.id }, connect: { id: '0' } } }- });- }- }- await prisma.team.delete({ where: { id: team.id } });- }- }- }- }- await prisma.user.delete({ where: { id } });- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}--export async function setPermission(request: FastifyRequest<SetPermission>, reply: FastifyReply) {- try {- const { userId, newPermission, permissionId } = request.body;- await prisma.permission.updateMany({- where: { id: permissionId, userId },- data: { permission: { set: newPermission } }- });- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}--export async function changePassword(request: FastifyRequest<BodyId>, reply: FastifyReply) {- try {- const { id } = request.body;- await prisma.user.update({ where: { id }, data: { password: 'RESETME' } });- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}\ No newline at end of filediff --git a/apps/api/src/routes/api/v1/iam/index.ts b/apps/api/src/routes/api/v1/iam/index.tsdeleted file mode 100644index e54d2b9fd7..0000000000--- a/apps/api/src/routes/api/v1/iam/index.ts+++ /dev/null@@ -1,32 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import { acceptInvitation, changePassword, deleteTeam, getTeam, inviteToTeam, listAccounts, listTeams, newTeam, removeUser, removeUserFromTeam, revokeInvitation, saveTeam, setPermission } from './handlers';--import type { OnlyId } from '../../../../types';-import type { BodyId, DeleteUserFromTeam, InviteToTeam, SaveTeam, SetPermission } from './types';--const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.addHook('onRequest', async (request) => {- return await request.jwtVerify()- })-- fastify.get('/', async (request) => await listAccounts(request));- fastify.post('/new', async (request, reply) => await newTeam(request, reply));- fastify.get('/teams', async (request) => await listTeams(request));-- fastify.get<OnlyId>('/team/:id', async (request, reply) => await getTeam(request, reply));- fastify.post<SaveTeam>('/team/:id', async (request, reply) => await saveTeam(request, reply));- fastify.delete<OnlyId>('/team/:id', async (request, reply) => await deleteTeam(request, reply));- fastify.post<DeleteUserFromTeam>('/team/:id/user/remove', async (request, reply) => await removeUserFromTeam(request, reply));-- fastify.post<InviteToTeam>('/team/:id/invitation/invite', async (request, reply) => await inviteToTeam(request, reply))- fastify.post<BodyId>('/team/:id/invitation/accept', async (request) => await acceptInvitation(request));- fastify.post<BodyId>('/team/:id/invitation/revoke', async (request) => await revokeInvitation(request));-- fastify.post<SetPermission>('/team/:id/permission', async (request, reply) => await setPermission(request, reply));-- fastify.delete<BodyId>('/user/remove', async (request, reply) => await removeUser(request, reply));- fastify.post<BodyId>('/user/password', async (request, reply) => await changePassword(request, reply));--};--export default root;diff --git a/apps/api/src/routes/api/v1/iam/types.ts b/apps/api/src/routes/api/v1/iam/types.tsdeleted file mode 100644index 959d3dac58..0000000000--- a/apps/api/src/routes/api/v1/iam/types.ts+++ /dev/null@@ -1,35 +0,0 @@-import { OnlyId } from "../../../../types"--export interface SaveTeam extends OnlyId {- Body: {- name: string- }-}-export interface DeleteUserFromTeam {- Body: {- uid: string- },- Params: {- id: string- }-}-export interface InviteToTeam {- Body: {- email: string,- permission: string,- teamId: string,- teamName: string- }-}-export interface BodyId {- Body: {- id: string- }-}-export interface SetPermission {- Body: {- userId: string,- newPermission: string,- permissionId: string- }-}\ No newline at end of filediff --git a/apps/api/src/routes/api/v1/index.ts b/apps/api/src/routes/api/v1/index.tsdeleted file mode 100644index 243683a592..0000000000--- a/apps/api/src/routes/api/v1/index.ts+++ /dev/null@@ -1,61 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import { checkUpdate, login, showDashboard, update, resetQueue, getCurrentUser, cleanupManually, restartCoolify, backup } from './handlers';-import { GetCurrentUser } from './types';--export interface Update {- Body: { latestVersion: string }-}-export interface Login {- Body: { email: string, password: string, isLogin: boolean }-}--const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.get('/', async function (_request, reply) {- return reply.redirect(302, '/');- });- fastify.post<Login>('/login', async (request, reply) => {- const payload = await login(request, reply)- const token = fastify.jwt.sign(payload)- return { token, payload }- });-- fastify.get<GetCurrentUser>('/user', {- onRequest: [fastify.authenticate]- }, async (request) => await getCurrentUser(request, fastify));-- fastify.get('/undead', async function () {- return { message: 'nope' };- });-- fastify.get('/update', {- onRequest: [fastify.authenticate]- }, async (request) => await checkUpdate(request));-- fastify.post<Update>(- '/update', {- onRequest: [fastify.authenticate]- },- async (request) => await update(request)- );- fastify.get('/resources', {- onRequest: [fastify.authenticate]- }, async (request) => await showDashboard(request));-- fastify.post('/internal/restart', {- onRequest: [fastify.authenticate]- }, async (request) => await restartCoolify(request));-- fastify.post('/internal/resetQueue', {- onRequest: [fastify.authenticate]- }, async (request) => await resetQueue(request));-- fastify.post('/internal/cleanup', {- onRequest: [fastify.authenticate]- }, async (request) => await cleanupManually(request));-- // fastify.get('/internal/backup/:backupData', {- // onRequest: [fastify.authenticate]- // }, async (request) => await backup(request));-};--export default root;diff --git a/apps/api/src/routes/api/v1/servers/handlers.ts b/apps/api/src/routes/api/v1/servers/handlers.tsdeleted file mode 100644index 9b163ab7bb..0000000000--- a/apps/api/src/routes/api/v1/servers/handlers.ts+++ /dev/null@@ -1,125 +0,0 @@-import type { FastifyRequest } from 'fastify';-import { errorHandler, prisma, executeCommand } from '../../../../lib/common';-import os from 'node:os';-import osu from 'node-os-utils';---export async function listServers(request: FastifyRequest) {- try {- const userId = request.user.userId;- const teamId = request.user.teamId;- let servers = await prisma.destinationDocker.findMany({ where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } }, distinct: ['remoteIpAddress', 'engine'] })- servers = servers.filter((server) => {- if (server.remoteEngine) {- if (server.remoteVerified) {- return server- }- } else {- return server- }- })- return {- servers- }- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-const mappingTable = [- ['K total memory', 'totalMemoryKB'],- ['K used memory', 'usedMemoryKB'],- ['K active memory', 'activeMemoryKB'],- ['K inactive memory', 'inactiveMemoryKB'],- ['K free memory', 'freeMemoryKB'],- ['K buffer memory', 'bufferMemoryKB'],- ['K swap cache', 'swapCacheKB'],- ['K total swap', 'totalSwapKB'],- ['K used swap', 'usedSwapKB'],- ['K free swap', 'freeSwapKB'],- ['non-nice user cpu ticks', 'nonNiceUserCpuTicks'],- ['nice user cpu ticks', 'niceUserCpuTicks'],- ['system cpu ticks', 'systemCpuTicks'],- ['idle cpu ticks', 'idleCpuTicks'],- ['IO-wait cpu ticks', 'ioWaitCpuTicks'],- ['IRQ cpu ticks', 'irqCpuTicks'],- ['softirq cpu ticks', 'softIrqCpuTicks'],- ['stolen cpu ticks', 'stolenCpuTicks'],- ['pages paged in', 'pagesPagedIn'],- ['pages paged out', 'pagesPagedOut'],- ['pages swapped in', 'pagesSwappedIn'],- ['pages swapped out', 'pagesSwappedOut'],- ['interrupts', 'interrupts'],- ['CPU context switches', 'cpuContextSwitches'],- ['boot time', 'bootTime'],- ['forks', 'forks']-];-function parseFromText(text) {- var data = {};- var lines = text.split(/\r?\n/);- for (const line of lines) {- for (const [key, value] of mappingTable) {- if (line.indexOf(key) >= 0) {- const values = line.match(/[0-9]+/)[0];- data[value] = parseInt(values, 10);- }- }- }- return data;-}-export async function showUsage(request: FastifyRequest) {- const { id } = request.params;- let { remoteEngine } = request.query- remoteEngine = remoteEngine === 'true' ? true : false- if (remoteEngine) {- const { stdout: stats } = await executeCommand({ sshCommand: true, dockerId: id, command: `vmstat -s` })- const { stdout: disks } = await executeCommand({ sshCommand: true, shell: true, dockerId: id, command: `df -m / --output=size,used,pcent|grep -v 'Used'| xargs` })- const { stdout: cpus } = await executeCommand({ sshCommand: true, dockerId: id, command: `nproc --all` })- const { stdout: cpuUsage } = await executeCommand({ sshCommand: true, shell: true, dockerId: id, command: `echo $[100-$(vmstat 1 2|tail -1|awk '{print $15}')]` })- const parsed: any = parseFromText(stats)- return {- usage: {- uptime: parsed.bootTime / 1024,- memory: {- totalMemMb: parsed.totalMemoryKB / 1024,- usedMemMb: parsed.usedMemoryKB / 1024,- freeMemMb: parsed.freeMemoryKB / 1024,- usedMemPercentage: (parsed.usedMemoryKB / parsed.totalMemoryKB) * 100,- freeMemPercentage: (parsed.totalMemoryKB - parsed.usedMemoryKB) / parsed.totalMemoryKB * 100- },- cpu: {- load: [0, 0, 0],- usage: cpuUsage,- count: cpus- },- disk: {- totalGb: (disks.split(' ')[0] / 1024).toFixed(1),- usedGb: (disks.split(' ')[1] / 1024).toFixed(1),- freeGb: (disks.split(' ')[0] - disks.split(' ')[1]).toFixed(1),- usedPercentage: disks.split(' ')[2].replace('%', ''),- freePercentage: 100 - disks.split(' ')[2].replace('%', '')- }-- }- }- } else {- try {- return {- usage: {- uptime: os.uptime(),- memory: await osu.mem.info(),- cpu: {- load: os.loadavg(),- usage: await osu.cpu.usage(),- count: os.cpus().length- },- disk: await osu.drive.info('/')- }-- };- } catch ({ status, message }) {- return errorHandler({ status, message })- }- }---}\ No newline at end of filediff --git a/apps/api/src/routes/api/v1/servers/index.ts b/apps/api/src/routes/api/v1/servers/index.tsdeleted file mode 100644index 7373d8cb40..0000000000--- a/apps/api/src/routes/api/v1/servers/index.ts+++ /dev/null@@ -1,14 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import { listServers, showUsage } from './handlers';---const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.addHook('onRequest', async (request) => {- return await request.jwtVerify()- })- fastify.get('/', async (request) => await listServers(request));- fastify.get('/usage/:id', async (request) => await showUsage(request));--};--export default root;diff --git a/apps/api/src/routes/api/v1/servers/types.ts b/apps/api/src/routes/api/v1/servers/types.tsdeleted file mode 100644index 26a896b8ef..0000000000--- a/apps/api/src/routes/api/v1/servers/types.ts+++ /dev/null@@ -1,27 +0,0 @@-import { OnlyId } from "../../../../types"--export interface SaveTeam extends OnlyId {- Body: {- name: string- }-}-export interface InviteToTeam {- Body: {- email: string,- permission: string,- teamId: string,- teamName: string- }-}-export interface BodyId {- Body: {- id: string- }-}-export interface SetPermission {- Body: {- userId: string,- newPermission: string,- permissionId: string- }-}\ No newline at end of filediff --git a/apps/api/src/routes/api/v1/services/handlers.ts b/apps/api/src/routes/api/v1/services/handlers.tsdeleted file mode 100644index 1c6cc79fe8..0000000000--- a/apps/api/src/routes/api/v1/services/handlers.ts+++ /dev/null@@ -1,1183 +0,0 @@-import type { FastifyReply, FastifyRequest } from 'fastify';-import fs from 'fs/promises';-import yaml from 'js-yaml';-import bcrypt from 'bcryptjs';-import cuid from 'cuid';--import {- prisma,- uniqueName,- getServiceFromDB,- getContainerUsage,- isDomainConfigured,- fixType,- decrypt,- encrypt,- ComposeFile,- getFreePublicPort,- getDomain,- errorHandler,- generatePassword,- isDev,- stopTcpHttpProxy,- checkDomainsIsValidInDNS,- checkExposedPort,- listSettings,- generateToken,- executeCommand-} from '../../../../lib/common';-import { day } from '../../../../lib/dayjs';-import { checkContainer } from '../../../../lib/docker';-import { removeService } from '../../../../lib/services/common';-import { getTags, getTemplates } from '../../../../lib/services';--import type {- ActivateWordpressFtp,- CheckService,- CheckServiceDomain,- DeleteServiceSecret,- DeleteServiceStorage,- GetServiceLogs,- SaveService,- SaveServiceDestination,- SaveServiceSecret,- SaveServiceSettings,- SaveServiceStorage,- SaveServiceType,- SaveServiceVersion,- ServiceStartStop,- SetGlitchTipSettings,- SetWordpressSettings-} from './types';-import type { OnlyId } from '../../../../types';--export async function listServices(request: FastifyRequest) {- try {- const teamId = request.user.teamId;- const services = await prisma.service.findMany({- where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { teams: true, destinationDocker: true }- });- return {- services- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function newService(request: FastifyRequest, reply: FastifyReply) {- try {- const teamId = request.user.teamId;- const name = uniqueName();-- const { id } = await prisma.service.create({- data: { name, teams: { connect: { id: teamId } } }- });- return reply.status(201).send({ id });- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function cleanupUnconfiguredServices(request: FastifyRequest) {- try {- const teamId = request.user.teamId;- let services = await prisma.service.findMany({- where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } },- include: { destinationDocker: true, teams: true }- });- for (const service of services) {- if (!service.fqdn) {- if (service.destinationDockerId) {- const { stdout: containers } = await executeCommand({- dockerId: service.destinationDockerId,- command: `docker ps -a --filter 'label=com.docker.compose.project=${service.id}' --format {{.ID}}`- });- if (containers) {- const containerArray = containers.split('\n');- if (containerArray.length > 0) {- for (const container of containerArray) {- await executeCommand({- dockerId: service.destinationDockerId,- command: `docker stop -t 0 ${container}`- });- await executeCommand({- dockerId: service.destinationDockerId,- command: `docker rm --force ${container}`- });- }- }- }- }- await removeService({ id: service.id });- }- }- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getServiceStatus(request: FastifyRequest<OnlyId>) {- try {- const teamId = request.user.teamId;- const { id } = request.params;- const service = await getServiceFromDB({ id, teamId });- const { destinationDockerId, settings } = service;- let payload = {};- if (destinationDockerId) {- const { stdout: containers } = await executeCommand({- dockerId: service.destinationDocker.id,- command: `docker ps -a --filter "label=com.docker.compose.project=${id}" --format '{{json .}}'`- });- if (containers) {- const containersArray = containers.trim().split('\n');- if (containersArray.length > 0 && containersArray[0] !== '') {- const templates = await getTemplates();- let template = templates.find((t) => t.type === service.type);- const templateStr = JSON.stringify(template);- if (templateStr) {- template = JSON.parse(templateStr.replaceAll('$$id', service.id));- }- for (const container of containersArray) {- let isRunning = false;- let isExited = false;- let isRestarting = false;- let isExcluded = false;- const containerObj = JSON.parse(container);- const exclude = template?.services[containerObj.Names]?.exclude;- if (exclude) {- payload[containerObj.Names] = {- status: {- isExcluded: true,- isRunning: false,- isExited: false,- isRestarting: false- }- };- continue;- }-- const status = containerObj.State;- if (status === 'running') {- isRunning = true;- }- if (status === 'exited') {- isExited = true;- }- if (status === 'restarting') {- isRestarting = true;- }- payload[containerObj.Names] = {- status: {- isExcluded,- isRunning,- isExited,- isRestarting- }- };- }- }- }- }- return payload;- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function parseAndFindServiceTemplates(- service: any,- workdir?: string,- isDeploy: boolean = false-) {- const templates = await getTemplates();- const foundTemplate = templates.find((t) => fixType(t.type) === service.type);- let parsedTemplate = {};- if (foundTemplate) {- if (!isDeploy) {- for (const [key, value] of Object.entries(foundTemplate.services)) {- const realKey = key.replace('$$id', service.id);- let name = value.name;- if (!name) {- if (Object.keys(foundTemplate.services).length === 1) {- name = foundTemplate.name || service.name.toLowerCase();- } else {- if (key === '$$id') {- name =- foundTemplate.name || key.replaceAll('$$id-', '') || service.name.toLowerCase();- } else {- name = key.replaceAll('$$id-', '') || service.name.toLowerCase();- }- }- }- parsedTemplate[realKey] = {- value,- name,- documentation:- value.documentation || foundTemplate.documentation || 'https://docs.coollabs.io',- image: value.image,- files: value?.files,- environment: [],- fqdns: [],- hostPorts: [],- proxy: {}- };- if (value.environment?.length > 0) {- for (const env of value.environment) {- let [envKey, ...envValue] = env.split('=');- envValue = envValue.join('=');- let variable = null;- if (foundTemplate?.variables) {- variable =- foundTemplate?.variables.find((v) => v.name === envKey) ||- foundTemplate?.variables.find((v) => v.id === envValue);- }- if (variable) {- const id = variable.id.replaceAll('$$', '');- const label = variable?.label;- const description = variable?.description;- const defaultValue = variable?.defaultValue;- const main = variable?.main || '$$id';- const type = variable?.type || 'input';- const placeholder = variable?.placeholder || '';- const readOnly = variable?.readOnly || false;- const required = variable?.required || false;- if (envValue.startsWith('$$config') || variable?.showOnConfiguration) {- if (envValue.startsWith('$$config_coolify')) {- continue;- }- parsedTemplate[realKey].environment.push({- id,- name: envKey,- value: envValue,- main,- label,- description,- defaultValue,- type,- placeholder,- required,- readOnly- });- }- }- }- }- if (value?.proxy && value.proxy.length > 0) {- for (const proxyValue of value.proxy) {- if (proxyValue.domain) {- const variable = foundTemplate?.variables.find((v) => v.id === proxyValue.domain);- if (variable) {- const { id, name, label, description, defaultValue, required = false } = variable;- const found = await prisma.serviceSetting.findFirst({- where: { serviceId: service.id, variableName: proxyValue.domain }- });- parsedTemplate[realKey].fqdns.push({- id,- name,- value: found?.value || '',- label,- description,- defaultValue,- required- });- }- }- if (proxyValue.hostPort) {- const variable = foundTemplate?.variables.find((v) => v.id === proxyValue.hostPort);- if (variable) {- const { id, name, label, description, defaultValue, required = false } = variable;- const found = await prisma.serviceSetting.findFirst({- where: { serviceId: service.id, variableName: proxyValue.hostPort }- });- parsedTemplate[realKey].hostPorts.push({- id,- name,- value: found?.value || '',- label,- description,- defaultValue,- required- });- }- }- }- }- }- } else {- parsedTemplate = foundTemplate;- }- let strParsedTemplate = JSON.stringify(parsedTemplate);-- // replace $$id and $$workdir- strParsedTemplate = strParsedTemplate.replaceAll('$$id', service.id);- strParsedTemplate = strParsedTemplate.replaceAll(- '$$core_version',- service.version || foundTemplate.defaultVersion- );-- // replace $$workdir- if (workdir) {- strParsedTemplate = strParsedTemplate.replaceAll('$$workdir', workdir);- }-- // replace $$config- if (service.serviceSetting.length > 0) {- for (const setting of service.serviceSetting) {- const { value, variableName } = setting;- const regex = new RegExp(`\\$\\$config_${variableName.replace('$$config_', '')}\"`, 'gi');- if (value === '$$generate_fqdn') {- strParsedTemplate = strParsedTemplate.replaceAll(regex, service.fqdn + '"' || '' + '"');- } else if (value === '$$generate_fqdn_slash') {- strParsedTemplate = strParsedTemplate.replaceAll(regex, service.fqdn + '/' + '"');- } else if (value === '$$generate_domain') {- strParsedTemplate = strParsedTemplate.replaceAll(regex, getDomain(service.fqdn) + '"');- } else if (service.destinationDocker?.network && value === '$$generate_network') {- strParsedTemplate = strParsedTemplate.replaceAll(- regex,- service.destinationDocker.network + '"'- );- } else {- strParsedTemplate = strParsedTemplate.replaceAll(regex, value + '"');- }- }- }-- // replace $$secret- if (service.serviceSecret.length > 0) {- for (const secret of service.serviceSecret) {- let { name, value } = secret;- name = name.toLowerCase();- const regexHashed = new RegExp(`\\$\\$hashed\\$\\$secret_${name}`, 'gi');- const regex = new RegExp(`\\$\\$secret_${name}`, 'gi');- if (value) {- strParsedTemplate = strParsedTemplate.replaceAll(- regexHashed,- bcrypt.hashSync(value.replaceAll('"', '\\"'), 10)- );- strParsedTemplate = strParsedTemplate.replaceAll(regex, value.replaceAll('"', '\\"'));- } else {- strParsedTemplate = strParsedTemplate.replaceAll(regexHashed, '');- strParsedTemplate = strParsedTemplate.replaceAll(regex, '');- }- }- }- parsedTemplate = JSON.parse(strParsedTemplate);- }- return parsedTemplate;-}--export async function getService(request: FastifyRequest<OnlyId>) {- try {- const teamId = request.user.teamId;- const { id } = request.params;- const service = await getServiceFromDB({ id, teamId });- if (!service) {- throw { status: 404, message: 'Service not found.' };- }- let template = {};- let tags = [];- if (service.type) {- template = await parseAndFindServiceTemplates(service);- tags = await getTags(service.type);- }- return {- settings: await listSettings(),- service,- template,- tags- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getServiceType(request: FastifyRequest) {- try {- return {- services: await getTemplates()- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveServiceType(- request: FastifyRequest<SaveServiceType>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { type } = request.body;- const templates = await getTemplates();- let foundTemplate = templates.find((t) => fixType(t.type) === fixType(type));- if (foundTemplate) {- foundTemplate = JSON.parse(JSON.stringify(foundTemplate).replaceAll('$$id', id));- if (foundTemplate.variables) {- if (foundTemplate.variables.length > 0) {- for (const variable of foundTemplate.variables) {- const { defaultValue } = variable;- const regex = /^\$\$.*\((\d+)\)$/g;- const length = Number(regex.exec(defaultValue)?.[1]) || undefined;- if (variable.defaultValue.startsWith('$$generate_password')) {- variable.value = generatePassword({ length });- } else if (variable.defaultValue.startsWith('$$generate_hex')) {- variable.value = generatePassword({ length, isHex: true });- } else if (variable.defaultValue.startsWith('$$generate_username')) {- variable.value = cuid();- } else if (variable.defaultValue.startsWith('$$generate_token')) {- variable.value = generateToken();- } else {- variable.value = variable.defaultValue || '';- }- const foundVariableSomewhereElse = foundTemplate.variables.find((v) =>- v.defaultValue.includes(variable.id)- );- if (foundVariableSomewhereElse) {- foundVariableSomewhereElse.value = foundVariableSomewhereElse.value.replaceAll(- variable.id,- variable.value- );- }- }- }- for (const variable of foundTemplate.variables) {- if (variable.id.startsWith('$$secret_')) {- const found = await prisma.serviceSecret.findFirst({- where: { name: variable.name, serviceId: id }- });- if (!found) {- await prisma.serviceSecret.create({- data: {- name: variable.name,- value: encrypt(variable.value) || '',- service: { connect: { id } }- }- });- }- }- if (variable.id.startsWith('$$config_')) {- const found = await prisma.serviceSetting.findFirst({- where: { name: variable.name, serviceId: id }- });- if (!found) {- await prisma.serviceSetting.create({- data: {- name: variable.name,- value: variable.value.toString(),- variableName: variable.id,- service: { connect: { id } }- }- });- }- }- }- }- for (const service of Object.keys(foundTemplate.services)) {- if (foundTemplate.services[service].volumes) {- for (const volume of foundTemplate.services[service].volumes) {- const [volumeName, path] = volume.split(':');- if (!volumeName.startsWith('/')) {- const found = await prisma.servicePersistentStorage.findFirst({- where: { volumeName, serviceId: id }- });- if (!found) {- await prisma.servicePersistentStorage.create({- data: {- volumeName,- path,- containerId: service,- predefined: true,- service: { connect: { id } }- }- });- }- }- }- }- }- await prisma.service.update({- where: { id },- data: {- type,- version: foundTemplate.defaultVersion,- templateVersion: foundTemplate.templateVersion- }- });-- if (type.startsWith('wordpress')) {- await prisma.service.update({ where: { id }, data: { wordpress: { create: {} } } });- }- return reply.code(201).send();- } else {- throw { status: 404, message: 'Service type not found.' };- }- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function saveServiceVersion(- request: FastifyRequest<SaveServiceVersion>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { version } = request.body;- await prisma.service.update({- where: { id },- data: { version }- });- return reply.code(201).send({});- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveServiceDestination(- request: FastifyRequest<SaveServiceDestination>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { destinationId } = request.body;- await prisma.service.update({- where: { id },- data: { destinationDocker: { connect: { id: destinationId } } }- });- return reply.code(201).send({});- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getServiceUsage(request: FastifyRequest<OnlyId>) {- try {- const teamId = request.user.teamId;- const { id } = request.params;- let usage = {};-- const service = await getServiceFromDB({ id, teamId });- if (service.destinationDockerId) {- [usage] = await Promise.all([getContainerUsage(service.destinationDocker.id, id)]);- }- return {- usage- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function getServiceLogs(request: FastifyRequest<GetServiceLogs>) {- try {- const { id, containerId } = request.params;- let { since = 0 } = request.query;- if (since !== 0) {- since = day(since).unix();- }- const {- destinationDockerId,- destinationDocker: { id: dockerId }- } = await prisma.service.findUnique({- where: { id },- include: { destinationDocker: true }- });- if (destinationDockerId) {- try {- const { default: ansi } = await import('strip-ansi');- const { stdout, stderr } = await executeCommand({- dockerId,- command: `docker logs --since ${since} --tail 5000 --timestamps ${containerId}`- });- const stripLogsStdout = stdout- .toString()- .split('\n')- .map((l) => ansi(l))- .filter((a) => a);- const stripLogsStderr = stderr- .toString()- .split('\n')- .map((l) => ansi(l))- .filter((a) => a);- return { logs: stripLogsStderr.concat(stripLogsStdout) };- // }- } catch (error) {- const { statusCode, stderr } = error;- if (stderr.startsWith('Error: No such container')) {- return { logs: [], noContainer: true };- }- if (statusCode === 404) {- return {- logs: []- };- }- }- }- return {- message: 'No logs found.'- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function deleteService(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- const teamId = request.user.teamId;- const { destinationDockerId } = await getServiceFromDB({ id, teamId });- if (destinationDockerId) {- const { stdout: containers } = await executeCommand({- dockerId: destinationDockerId,- command: `docker ps -a --filter 'label=com.docker.compose.project=${id}' --format {{.ID}}`- });- if (containers) {- const containerArray = containers.split('\n');- if (containerArray.length > 0) {- for (const container of containerArray) {- await executeCommand({- dockerId: destinationDockerId,- command: `docker stop -t 0 ${container}`- });- await executeCommand({- dockerId: destinationDockerId,- command: `docker rm --force ${container}`- });- }- }- }- }- await removeService({ id });- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveServiceSettings(- request: FastifyRequest<SaveServiceSettings>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { dualCerts } = request.body;- await prisma.service.update({- where: { id },- data: { dualCerts }- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function checkServiceDomain(request: FastifyRequest<CheckServiceDomain>) {- try {- const { id } = request.params;- const { domain } = request.query;- const { fqdn, dualCerts } = await prisma.service.findUnique({ where: { id } });- // TODO: Disabled this because it is having problems with remote docker engines.- // return await checkDomainsIsValidInDNS({ hostname: domain, fqdn, dualCerts });- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function checkService(request: FastifyRequest<CheckService>) {- try {- const { id } = request.params;- let { fqdn, exposePort, forceSave, dualCerts, otherFqdn = false } = request.body;-- const domainsList = await prisma.serviceSetting.findMany({- where: { variableName: { startsWith: '$$config_coolify_fqdn' } }- });-- if (fqdn) fqdn = fqdn.toLowerCase();- if (exposePort) exposePort = Number(exposePort);-- const {- destinationDocker: { remoteIpAddress, remoteEngine, engine },- exposePort: configuredPort- } = await prisma.service.findUnique({ where: { id }, include: { destinationDocker: true } });- const { isDNSCheckEnabled } = await prisma.setting.findFirst({});-- let found = await isDomainConfigured({ id, fqdn, remoteIpAddress, checkOwn: otherFqdn });- if (found) {- throw {- status: 500,- message: `Domain ${getDomain(fqdn).replace('www.', '')} is already in use!`- };- }- if (domainsList.find((d) => getDomain(d.value) === getDomain(fqdn))) {- throw {- status: 500,- message: `Domain ${getDomain(fqdn).replace('www.', '')} is already in use!`- };- }- if (exposePort)- await checkExposedPort({- id,- configuredPort,- exposePort,- engine,- remoteEngine,- remoteIpAddress- });- // TODO: Disabled this because it is having problems with remote docker engines.- // if (isDNSCheckEnabled && !isDev && !forceSave) {- // let hostname = request.hostname.split(':')[0];- // if (remoteEngine) hostname = remoteIpAddress;- // return await checkDomainsIsValidInDNS({ hostname, fqdn, dualCerts });- // }- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function saveService(request: FastifyRequest<SaveService>, reply: FastifyReply) {- try {- const { id } = request.params;- let { name, fqdn, exposePort, type, serviceSetting, version } = request.body;- if (fqdn) fqdn = fqdn.toLowerCase();- if (exposePort) exposePort = Number(exposePort);- type = fixType(type);-- const data = {- fqdn,- name,- exposePort,- version- };- const templates = await getTemplates();- const service = await prisma.service.findUnique({ where: { id } });- const foundTemplate = templates.find((t) => fixType(t.type) === fixType(service.type));- for (const setting of serviceSetting) {- let { id: settingId, name, value, changed = false, isNew = false, variableName } = setting;- if (value) {- if (changed) {- await prisma.serviceSetting.update({ where: { id: settingId }, data: { value: value.replace(/\n/, "\\n") } });- }- if (isNew) {- if (!variableName) {- variableName = foundTemplate?.variables.find((v) => v.name === name).id;- }- await prisma.serviceSetting.create({- data: { name, value, variableName, service: { connect: { id } } }- });- }- }- }- await prisma.service.update({- where: { id },- data- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getServiceSecrets(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- const teamId = request.user.teamId;- const service = await getServiceFromDB({ id, teamId });- let secrets = await prisma.serviceSecret.findMany({- where: { serviceId: id },- orderBy: { createdAt: 'desc' }- });- const templates = await getTemplates();- const foundTemplate = templates.find((t) => fixType(t.type) === service.type);- secrets = secrets.map((secret) => {- const foundVariable = foundTemplate?.variables.find((v) => v.name === secret.name) || null;- if (foundVariable) {- secret.readOnly = foundVariable.readOnly;- }- secret.value = decrypt(secret.value);- return secret;- });-- return {- secrets- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function saveServiceSecret(- request: FastifyRequest<SaveServiceSecret>,- reply: FastifyReply-) {- try {- const { id } = request.params;- let { name, value, isNew } = request.body;- if (isNew) {- const found = await prisma.serviceSecret.findFirst({ where: { name, serviceId: id } });- if (found) {- throw `Secret ${name} already exists.`;- } else {- value = encrypt(value.trim());- await prisma.serviceSecret.create({- data: { name, value, service: { connect: { id } } }- });- }- } else {- value = encrypt(value.trim());- const found = await prisma.serviceSecret.findFirst({ where: { serviceId: id, name } });-- if (found) {- await prisma.serviceSecret.updateMany({- where: { serviceId: id, name },- data: { value }- });- } else {- await prisma.serviceSecret.create({- data: { name, value, service: { connect: { id } } }- });- }- }- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function deleteServiceSecret(request: FastifyRequest<DeleteServiceSecret>) {- try {- const { id } = request.params;- const { name } = request.body;- await prisma.serviceSecret.deleteMany({ where: { serviceId: id, name } });- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function getServiceStorages(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params;- const persistentStorages = await prisma.servicePersistentStorage.findMany({- where: { serviceId: id }- });- return {- persistentStorages- };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function saveServiceStorage(- request: FastifyRequest<SaveServiceStorage>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { path, isNewStorage, storageId, containerId } = request.body;-- if (isNewStorage) {- const volumeName = `${id}-custom${path.replace(/\//gi, '-')}`;- const found = await prisma.servicePersistentStorage.findFirst({- where: { path, containerId }- });- if (found) {- throw {- status: 500,- message: 'Persistent storage already exists for this container and path.'- };- }- await prisma.servicePersistentStorage.create({- data: { path, volumeName, containerId, service: { connect: { id } } }- });- } else {- await prisma.servicePersistentStorage.update({- where: { id: storageId },- data: { path, containerId }- });- }- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function deleteServiceStorage(request: FastifyRequest<DeleteServiceStorage>) {- try {- const { storageId } = request.body;- await prisma.servicePersistentStorage.deleteMany({ where: { id: storageId } });- return {};- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function setSettingsService(- request: FastifyRequest<ServiceStartStop & SetWordpressSettings & SetGlitchTipSettings>,- reply: FastifyReply-) {- try {- const { type } = request.params;- if (type === 'wordpress') {- return await setWordpressSettings(request, reply);- }- if (type === 'glitchtip') {- return await setGlitchTipSettings(request, reply);- }- throw `Service type ${type} not supported.`;- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-async function setGlitchTipSettings(- request: FastifyRequest<SetGlitchTipSettings>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { enableOpenUserRegistration, emailSmtpUseSsl, emailSmtpUseTls } = request.body;- await prisma.glitchTip.update({- where: { serviceId: id },- data: { enableOpenUserRegistration, emailSmtpUseSsl, emailSmtpUseTls }- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-async function setWordpressSettings(- request: FastifyRequest<ServiceStartStop & SetWordpressSettings>,- reply: FastifyReply-) {- try {- const { id } = request.params;- const { ownMysql } = request.body;- await prisma.wordpress.update({- where: { serviceId: id },- data: { ownMysql }- });- return reply.code(201).send();- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}--export async function activatePlausibleUsers(request: FastifyRequest<OnlyId>, reply: FastifyReply) {- try {- const { id } = request.params;- const teamId = request.user.teamId;- const { destinationDockerId, destinationDocker, serviceSecret } = await getServiceFromDB({- id,- teamId- });- if (destinationDockerId) {- const databaseUrl = serviceSecret.find((secret) => secret.name === 'DATABASE_URL');- if (databaseUrl) {- await executeCommand({- dockerId: destinationDocker.id,- command: `docker exec ${id}-postgresql psql -H ${databaseUrl.value} -c "UPDATE users SET email_verified = true;"`- });- return await reply.code(201).send();- }- }- throw { status: 500, message: 'Could not activate users.' };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function cleanupPlausibleLogs(request: FastifyRequest<OnlyId>, reply: FastifyReply) {- try {- const { id } = request.params;- const teamId = request.user.teamId;- const { destinationDockerId, destinationDocker } = await getServiceFromDB({ id, teamId });- if (destinationDockerId) {- await executeCommand({- dockerId: destinationDocker.id,- command: `docker exec ${id}-clickhouse /usr/bin/clickhouse-client -q \\"SELECT name FROM system.tables WHERE name LIKE '%log%';\\"| xargs -I{} /usr/bin/clickhouse-client -q \"TRUNCATE TABLE system.{};\"`,- shell: true- });- return await reply.code(201).send();- }- throw { status: 500, message: 'Could cleanup logs.' };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}-export async function activateWordpressFtp(- request: FastifyRequest<ActivateWordpressFtp>,- reply: FastifyReply-) {- const { id } = request.params;- const { ftpEnabled } = request.body;-- const {- service: {- destinationDocker: { engine, remoteEngine, remoteIpAddress }- }- } = await prisma.wordpress.findUnique({- where: { serviceId: id },- include: { service: { include: { destinationDocker: true } } }- });-- const publicPort = await getFreePublicPort({ id, remoteEngine, engine, remoteIpAddress });-- let ftpUser = cuid();- let ftpPassword = generatePassword({});-- const hostkeyDir = isDev ? '/tmp/hostkeys' : '/app/ssl/hostkeys';- try {- const data = await prisma.wordpress.update({- where: { serviceId: id },- data: { ftpEnabled },- include: { service: { include: { destinationDocker: true } } }- });- const {- service: { destinationDockerId, destinationDocker },- ftpPublicPort,- ftpUser: user,- ftpPassword: savedPassword,- ftpHostKey,- ftpHostKeyPrivate- } = data;- const { network, engine } = destinationDocker;- if (ftpEnabled) {- if (user) ftpUser = user;- if (savedPassword) ftpPassword = decrypt(savedPassword);-- // TODO: rewrite these to usable without shell- const { stdout: password } = await executeCommand({- command: `echo ${ftpPassword} | openssl passwd -1 -stdin`,- shell: true- });- if (destinationDockerId) {- try {- await fs.stat(hostkeyDir);- } catch (error) {- await executeCommand({ command: `mkdir -p ${hostkeyDir}` });- }- if (!ftpHostKey) {- await executeCommand({- command: `ssh-keygen -t ed25519 -f ssh_host_ed25519_key -N "" -q -f ${hostkeyDir}/${id}.ed25519`- });- const { stdout: ftpHostKey } = await executeCommand({- command: `cat ${hostkeyDir}/${id}.ed25519`- });- await prisma.wordpress.update({- where: { serviceId: id },- data: { ftpHostKey: encrypt(ftpHostKey) }- });- } else {- await executeCommand({- command: `echo "${decrypt(ftpHostKey)}" > ${hostkeyDir}/${id}.ed25519`,- shell: true- });- }- if (!ftpHostKeyPrivate) {- await executeCommand({- command: `ssh-keygen -t rsa -b 4096 -N "" -f ${hostkeyDir}/${id}.rsa`- });- const { stdout: ftpHostKeyPrivate } = await executeCommand({- command: `cat ${hostkeyDir}/${id}.rsa`- });- await prisma.wordpress.update({- where: { serviceId: id },- data: { ftpHostKeyPrivate: encrypt(ftpHostKeyPrivate) }- });- } else {- await executeCommand({- command: `echo "${decrypt(ftpHostKeyPrivate)}" > ${hostkeyDir}/${id}.rsa`,- shell: true- });- }-- await prisma.wordpress.update({- where: { serviceId: id },- data: {- ftpPublicPort: publicPort,- ftpUser: user ? undefined : ftpUser,- ftpPassword: savedPassword ? undefined : encrypt(ftpPassword)- }- });-- try {- const { found: isRunning } = await checkContainer({- dockerId: destinationDocker.id,- container: `${id}-ftp`- });- if (isRunning) {- await executeCommand({- dockerId: destinationDocker.id,- command: `docker stop -t 0 ${id}-ftp && docker rm ${id}-ftp`,- shell: true- });- }- } catch (error) { }- const volumes = [- `${id}-wordpress-data:/home/${ftpUser}/wordpress`,- `${isDev ? hostkeyDir : '/var/lib/docker/volumes/coolify-ssl-certs/_data/hostkeys'- }/${id}.ed25519:/etc/ssh/ssh_host_ed25519_key`,- `${isDev ? hostkeyDir : '/var/lib/docker/volumes/coolify-ssl-certs/_data/hostkeys'- }/${id}.rsa:/etc/ssh/ssh_host_rsa_key`,- `${isDev ? hostkeyDir : '/var/lib/docker/volumes/coolify-ssl-certs/_data/hostkeys'- }/${id}.sh:/etc/sftp.d/chmod.sh`- ];-- const compose: ComposeFile = {- version: '3.8',- services: {- [`${id}-ftp`]: {- image: `atmoz/sftp:alpine`,- command: `'${ftpUser}:${password.replace('\n', '').replace(/\$/g, '$$$')}:e:33'`,- extra_hosts: ['host.docker.internal:host-gateway'],- container_name: `${id}-ftp`,- volumes,- networks: [network],- depends_on: [],- restart: 'always'- }- },- networks: {- [network]: {- external: true- }- },- volumes: {- [`${id}-wordpress-data`]: {- external: true,- name: `${id}-wordpress-data`- }- }- };- await fs.writeFile(- `${hostkeyDir}/${id}.sh`,- `#!/bin/bash\nchmod 600 /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_rsa_key\nuserdel -f xfs\nchown -R 33:33 /home/${ftpUser}/wordpress/`- );- await executeCommand({ command: `chmod +x ${hostkeyDir}/${id}.sh` });- await fs.writeFile(`${hostkeyDir}/${id}-docker-compose.yml`, yaml.dump(compose));- await executeCommand({- dockerId: destinationDocker.id,- command: `docker compose -f ${hostkeyDir}/${id}-docker-compose.yml up -d`- });- }- return reply.code(201).send({- publicPort,- ftpUser,- ftpPassword- });- } else {- await prisma.wordpress.update({- where: { serviceId: id },- data: { ftpPublicPort: null }- });- try {- await executeCommand({- dockerId: destinationDocker.id,- command: `docker stop -t 0 ${id}-ftp && docker rm ${id}-ftp`,- shell: true- });- } catch (error) {- //- }- await stopTcpHttpProxy(id, destinationDocker, ftpPublicPort);- return {};- }- } catch ({ status, message }) {- return errorHandler({ status, message });- } finally {- try {- await executeCommand({- command: `rm -fr ${hostkeyDir}/${id}-docker-compose.yml ${hostkeyDir}/${id}.ed25519 ${hostkeyDir}/${id}.ed25519.pub ${hostkeyDir}/${id}.rsa ${hostkeyDir}/${id}.rsa.pub ${hostkeyDir}/${id}.sh`- });- } catch (error) { }- }-}diff --git a/apps/api/src/routes/api/v1/services/index.ts b/apps/api/src/routes/api/v1/services/index.tsdeleted file mode 100644index dc23abe057..0000000000--- a/apps/api/src/routes/api/v1/services/index.ts+++ /dev/null@@ -1,84 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import {- activatePlausibleUsers,- activateWordpressFtp,- checkService,- checkServiceDomain,- cleanupPlausibleLogs,- cleanupUnconfiguredServices,- deleteService,- deleteServiceSecret,- deleteServiceStorage,- getService,- getServiceLogs,- getServiceSecrets,- getServiceStatus,- getServiceStorages,- getServiceType,- getServiceUsage,- listServices,- newService,- saveService,- saveServiceDestination,- saveServiceSecret,- saveServiceSettings,- saveServiceStorage,- saveServiceType,- saveServiceVersion,- setSettingsService,-} from './handlers';--import type { OnlyId } from '../../../../types';-import type { ActivateWordpressFtp, CheckService, CheckServiceDomain, DeleteServiceSecret, DeleteServiceStorage, GetServiceLogs, SaveService, SaveServiceDestination, SaveServiceSecret, SaveServiceSettings, SaveServiceStorage, SaveServiceType, SaveServiceVersion, ServiceStartStop, SetGlitchTipSettings, SetWordpressSettings } from './types';-import { migrateAppwriteDB, startService, stopService } from '../../../../lib/services/handlers';--const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.addHook('onRequest', async (request) => {- return await request.jwtVerify()- })- fastify.get('/', async (request) => await listServices(request));- fastify.post('/new', async (request, reply) => await newService(request, reply));-- fastify.post<any>('/cleanup/unconfigured', async (request) => await cleanupUnconfiguredServices(request));-- fastify.get<OnlyId>('/:id', async (request) => await getService(request));- fastify.post<SaveService>('/:id', async (request, reply) => await saveService(request, reply));- fastify.delete<OnlyId>('/:id', async (request) => await deleteService(request));-- fastify.get<OnlyId>('/:id/status', async (request) => await getServiceStatus(request));-- fastify.get<CheckServiceDomain>('/:id/check', async (request) => await checkServiceDomain(request));- fastify.post<CheckService>('/:id/check', async (request) => await checkService(request));-- fastify.post<SaveServiceSettings>('/:id/settings', async (request, reply) => await saveServiceSettings(request, reply));-- fastify.get<OnlyId>('/:id/secrets', async (request) => await getServiceSecrets(request));- fastify.post<SaveServiceSecret>('/:id/secrets', async (request, reply) => await saveServiceSecret(request, reply));- fastify.delete<DeleteServiceSecret>('/:id/secrets', async (request) => await deleteServiceSecret(request));-- fastify.get<OnlyId>('/:id/storages', async (request) => await getServiceStorages(request));- fastify.post<SaveServiceStorage>('/:id/storages', async (request, reply) => await saveServiceStorage(request, reply));- fastify.delete<DeleteServiceStorage>('/:id/storages', async (request) => await deleteServiceStorage(request));-- fastify.get('/:id/configuration/type', async (request) => await getServiceType(request));- fastify.post<SaveServiceType>('/:id/configuration/type', async (request, reply) => await saveServiceType(request, reply));-- fastify.post<SaveServiceVersion>('/:id/configuration/version', async (request, reply) => await saveServiceVersion(request, reply));-- fastify.post<SaveServiceDestination>('/:id/configuration/destination', async (request, reply) => await saveServiceDestination(request, reply));-- fastify.get<OnlyId>('/:id/usage', async (request) => await getServiceUsage(request));- fastify.get<GetServiceLogs>('/:id/logs/:containerId', async (request) => await getServiceLogs(request));-- fastify.post<ServiceStartStop>('/:id/start', async (request) => await startService(request, fastify));- fastify.post<ServiceStartStop>('/:id/stop', async (request) => await stopService(request));- fastify.post<ServiceStartStop & SetWordpressSettings & SetGlitchTipSettings>('/:id/:type/settings', async (request, reply) => await setSettingsService(request, reply));-- fastify.post<OnlyId>('/:id/plausibleanalytics/activate', async (request, reply) => await activatePlausibleUsers(request, reply));- fastify.post<OnlyId>('/:id/plausibleanalytics/cleanup', async (request, reply) => await cleanupPlausibleLogs(request, reply));- fastify.post<ActivateWordpressFtp>('/:id/wordpress/ftp', async (request, reply) => await activateWordpressFtp(request, reply));-- fastify.post<OnlyId>('/:id/appwrite/migrate', async (request, reply) => await migrateAppwriteDB(request, reply));-};--export default root;diff --git a/apps/api/src/routes/api/v1/services/types.ts b/apps/api/src/routes/api/v1/services/types.tsdeleted file mode 100644index 253c5bcab8..0000000000--- a/apps/api/src/routes/api/v1/services/types.ts+++ /dev/null@@ -1,105 +0,0 @@-import { OnlyId } from "../../../../types";--export interface SaveServiceType extends OnlyId {- Body: {- type: string- }-}-export interface SaveServiceVersion extends OnlyId {- Body: {- version: string- }-}-export interface SaveServiceDestination extends OnlyId {- Body: {- destinationId: string- }-}-export interface GetServiceLogs{- Params: {- id: string,- containerId: string- },- Querystring: {- since: number,- }-}-export interface SaveServiceSettings extends OnlyId {- Body: {- dualCerts: boolean- }-}-export interface CheckServiceDomain extends OnlyId {- Querystring: {- domain: string- }-}-export interface CheckService extends OnlyId {- Body: {- fqdn: string,- forceSave: boolean,- dualCerts: boolean,- exposePort: number,- otherFqdn: boolean- }-}-export interface SaveService extends OnlyId {- Body: {- name: string,- fqdn: string,- exposePort: number,- version: string,- serviceSetting: any- type: string- }-}-export interface SaveServiceSecret extends OnlyId {- Body: {- name: string,- value: string,- isNew: string,- }-}-export interface DeleteServiceSecret extends OnlyId {- Body: {- name: string,- }-}-export interface SaveServiceStorage extends OnlyId {- Body: {- path: string,- containerId: string,- storageId: string,- isNewStorage: boolean,- }-}--export interface DeleteServiceStorage extends OnlyId {- Body: {- storageId: string,- }-}-export interface ServiceStartStop {- Params: {- id?: string,- type: string,- }-}-export interface SetWordpressSettings extends OnlyId {- Body: {- ownMysql: boolean- }-}-export interface ActivateWordpressFtp extends OnlyId {- Body: {- ftpEnabled: boolean- }-}--export interface SetGlitchTipSettings extends OnlyId {- Body: {- enableOpenUserRegistration: boolean,- emailSmtpUseSsl: boolean,- emailSmtpUseTls: boolean- }-}diff --git a/apps/api/src/routes/api/v1/settings/handlers.ts b/apps/api/src/routes/api/v1/settings/handlers.tsdeleted file mode 100644index 1f0ecb0068..0000000000--- a/apps/api/src/routes/api/v1/settings/handlers.ts+++ /dev/null@@ -1,235 +0,0 @@-import { promises as dns } from 'dns';-import { X509Certificate } from 'node:crypto';-import * as Sentry from '@sentry/node';-import type { FastifyReply, FastifyRequest } from 'fastify';-import { checkDomainsIsValidInDNS, decrypt, encrypt, errorHandler, executeCommand, getDomain, isDev, isDNSValid, isDomainConfigured, listSettings, prisma, sentryDSN, version } from '../../../../lib/common';-import { AddDefaultRegistry, CheckDNS, CheckDomain, DeleteDomain, OnlyIdInBody, SaveSettings, SaveSSHKey, SetDefaultRegistry } from './types';---export async function listAllSettings(request: FastifyRequest) {- try {- const teamId = request.user.teamId;- const settings = await listSettings();- const sshKeys = await prisma.sshKey.findMany({ where: { team: { id: teamId } } })- let registries = await prisma.dockerRegistry.findMany({ where: { team: { id: teamId } } })- registries = registries.map((registry) => {- if (registry.password) {- registry.password = decrypt(registry.password)- }- return registry- })- const unencryptedKeys = []- if (sshKeys.length > 0) {- for (const key of sshKeys) {- unencryptedKeys.push({ id: key.id, name: key.name, privateKey: decrypt(key.privateKey), createdAt: key.createdAt })- }- }- const certificates = await prisma.certificate.findMany({ where: { team: { id: teamId } } })- let cns = [];- for (const certificate of certificates) {- const x509 = new X509Certificate(certificate.cert);- cns.push({ commonName: x509.subject.split('\n').find((s) => s.startsWith('CN=')).replace('CN=', ''), id: certificate.id, createdAt: certificate.createdAt })- }-- return {- settings,- certificates: cns,- sshKeys: unencryptedKeys,- registries- }- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function saveSettings(request: FastifyRequest<SaveSettings>, reply: FastifyReply) {- try {- let {- previewSeparator,- numberOfDockerImagesKeptLocally,- doNotTrack,- fqdn,- isAPIDebuggingEnabled,- isRegistrationEnabled,- dualCerts,- minPort,- maxPort,- isAutoUpdateEnabled,- isDNSCheckEnabled,- DNSServers,- proxyDefaultRedirect- } = request.body- const { id, previewSeparator: SetPreviewSeparator } = await listSettings();- if (numberOfDockerImagesKeptLocally) {- numberOfDockerImagesKeptLocally = Number(numberOfDockerImagesKeptLocally)- }- if (previewSeparator == '') {- previewSeparator = '.'- }- if (SetPreviewSeparator != previewSeparator) {- const applications = await prisma.application.findMany({ where: { previewApplication: { some: { id: { not: undefined } } } }, include: { previewApplication: true } })- for (const application of applications) {- for (const preview of application.previewApplication) {- const { protocol } = new URL(preview.customDomain)- const { pullmergeRequestId } = preview- const { fqdn } = application- const newPreviewDomain = `${protocol}//${pullmergeRequestId}${previewSeparator}${getDomain(fqdn)}`- await prisma.previewApplication.update({ where: { id: preview.id }, data: { customDomain: newPreviewDomain } })- }- }- }-- await prisma.setting.update({- where: { id },- data: { previewSeparator, numberOfDockerImagesKeptLocally, doNotTrack, isRegistrationEnabled, dualCerts, isAutoUpdateEnabled, isDNSCheckEnabled, DNSServers, isAPIDebuggingEnabled }- });- if (fqdn) {- await prisma.setting.update({ where: { id }, data: { fqdn } });- }- await prisma.setting.update({ where: { id }, data: { proxyDefaultRedirect } });- if (minPort && maxPort) {- await prisma.setting.update({ where: { id }, data: { minPort, maxPort } });- }- if (doNotTrack === false) {- // Sentry.init({- // dsn: sentryDSN,- // environment: isDev ? 'development' : 'production',- // release: version- // });- // console.log('Sentry initialized')- }- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function deleteDomain(request: FastifyRequest<DeleteDomain>, reply: FastifyReply) {- try {- const { fqdn } = request.body- const { DNSServers } = await listSettings();- if (DNSServers) {- dns.setServers([...DNSServers.split(',')]);- }- let ip;- try {- ip = await dns.resolve(fqdn);- } catch (error) {- // Do not care.- }- await prisma.setting.update({ where: { fqdn }, data: { fqdn: null } });- return reply.redirect(302, ip ? `http://${ip[0]}:3000/settings` : undefined)- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}--export async function checkDomain(request: FastifyRequest<CheckDomain>) {- try {- const { id } = request.params;- let { fqdn, forceSave, dualCerts, isDNSCheckEnabled } = request.body- if (fqdn) fqdn = fqdn.toLowerCase();- const found = await isDomainConfigured({ id, fqdn });- if (found) {- throw { message: "Domain already configured" };- }- if (isDNSCheckEnabled && !forceSave && !isDev) {- const hostname = request.hostname.split(':')[0]- return await checkDomainsIsValidInDNS({ hostname, fqdn, dualCerts });- }- return {};- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function checkDNS(request: FastifyRequest<CheckDNS>) {- try {- const { domain } = request.params;- await isDNSValid(request.hostname, domain);- return {}- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}--export async function saveSSHKey(request: FastifyRequest<SaveSSHKey>, reply: FastifyReply) {- try {- const teamId = request.user.teamId;- const { privateKey, name } = request.body;- const found = await prisma.sshKey.findMany({ where: { name } })- if (found.length > 0) {- throw {- message: "Name already used. Choose another one please."- }- }- const encryptedSSHKey = encrypt(privateKey)- await prisma.sshKey.create({ data: { name, privateKey: encryptedSSHKey, team: { connect: { id: teamId } } } })- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function deleteSSHKey(request: FastifyRequest<OnlyIdInBody>, reply: FastifyReply) {- try {- const teamId = request.user.teamId;- const { id } = request.body;- await prisma.sshKey.deleteMany({ where: { id, teamId } })- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}--export async function deleteCertificates(request: FastifyRequest<OnlyIdInBody>, reply: FastifyReply) {- try {- const teamId = request.user.teamId;- const { id } = request.body;- await executeCommand({ command: `docker exec coolify-proxy sh -c 'rm -f /etc/traefik/acme/custom/${id}-key.pem /etc/traefik/acme/custom/${id}-cert.pem'`, shell: true })- await prisma.certificate.deleteMany({ where: { id, teamId } })- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}--export async function setDockerRegistry(request: FastifyRequest<SetDefaultRegistry>, reply: FastifyReply) {- try {- const teamId = request.user.teamId;- const { id, username, password } = request.body;-- let encryptedPassword = ''- if (password) encryptedPassword = encrypt(password)-- if (teamId === '0') {- await prisma.dockerRegistry.update({ where: { id }, data: { username, password: encryptedPassword } })- } else {- await prisma.dockerRegistry.updateMany({ where: { id, teamId }, data: { username, password: encryptedPassword } })- }- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function addDockerRegistry(request: FastifyRequest<AddDefaultRegistry>, reply: FastifyReply) {- try {- const teamId = request.user.teamId;- const { name, url, username, password } = request.body;-- let encryptedPassword = ''- if (password) encryptedPassword = encrypt(password)- await prisma.dockerRegistry.create({ data: { name, url, username, password: encryptedPassword, team: { connect: { id: teamId } } } })-- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function deleteDockerRegistry(request: FastifyRequest<OnlyIdInBody>, reply: FastifyReply) {- try {- const teamId = request.user.teamId;- const { id } = request.body;- await prisma.application.updateMany({ where: { dockerRegistryId: id }, data: { dockerRegistryId: null } })- await prisma.dockerRegistry.deleteMany({ where: { id, teamId } })- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}\ No newline at end of filediff --git a/apps/api/src/routes/api/v1/settings/index.ts b/apps/api/src/routes/api/v1/settings/index.tsdeleted file mode 100644index 2ba8b178af..0000000000--- a/apps/api/src/routes/api/v1/settings/index.ts+++ /dev/null@@ -1,62 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import { X509Certificate } from 'node:crypto';--import { encrypt, errorHandler, prisma } from '../../../../lib/common';-import { addDockerRegistry, checkDNS, checkDomain, deleteCertificates, deleteDockerRegistry, deleteDomain, deleteSSHKey, listAllSettings, saveSettings, saveSSHKey, setDockerRegistry } from './handlers';-import { AddDefaultRegistry, CheckDNS, CheckDomain, DeleteDomain, OnlyIdInBody, SaveSettings, SaveSSHKey, SetDefaultRegistry } from './types';---const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.addHook('onRequest', async (request) => {- return await request.jwtVerify()- })- fastify.get('/', async (request) => await listAllSettings(request));- fastify.post<SaveSettings>('/', async (request, reply) => await saveSettings(request, reply));- fastify.delete<DeleteDomain>('/', async (request, reply) => await deleteDomain(request, reply));-- fastify.get<CheckDNS>('/check', async (request) => await checkDNS(request));- fastify.post<CheckDomain>('/check', async (request) => await checkDomain(request));-- fastify.post<SaveSSHKey>('/sshKey', async (request, reply) => await saveSSHKey(request, reply));- fastify.delete<OnlyIdInBody>('/sshKey', async (request, reply) => await deleteSSHKey(request, reply));-- fastify.post<SetDefaultRegistry>('/registry', async (request, reply) => await setDockerRegistry(request, reply));- fastify.post<AddDefaultRegistry>('/registry/new', async (request, reply) => await addDockerRegistry(request, reply));- fastify.delete<OnlyIdInBody>('/registry', async (request, reply) => await deleteDockerRegistry(request, reply));-- fastify.post('/upload', async (request) => {- try {- const teamId = request.user.teamId;- const certificates = await prisma.certificate.findMany({})- let cns = [];- for (const certificate of certificates) {- const x509 = new X509Certificate(certificate.cert);- cns.push(x509.subject.split('\n').find((s) => s.startsWith('CN=')).replace('CN=', ''))- }- const parts = await request.files()- let key = null- let cert = null- for await (const part of parts) {- const name = part.fieldname- if (name === 'key') key = (await part.toBuffer()).toString()- if (name === 'cert') cert = (await part.toBuffer()).toString()- }- const x509 = new X509Certificate(cert);- const cn = x509.subject.split('\n').find((s) => s.startsWith('CN=')).replace('CN=', '')- if (cns.includes(cn)) {- throw {- message: `A certificate with ${cn} common name already exists.`- }- }- await prisma.certificate.create({ data: { cert, key: encrypt(key), team: { connect: { id: teamId } } } })- await prisma.applicationSettings.updateMany({ where: { application: { AND: [{ fqdn: { endsWith: cn } }, { fqdn: { startsWith: 'https' } }] } }, data: { isCustomSSL: true } })- return { message: 'Certificated uploaded' }- } catch ({ status, message }) {- return errorHandler({ status, message });- }-- });- fastify.delete<OnlyIdInBody>('/certificate', async (request, reply) => await deleteCertificates(request, reply))-};--export default root;diff --git a/apps/api/src/routes/api/v1/settings/types.ts b/apps/api/src/routes/api/v1/settings/types.tsdeleted file mode 100644index 418f2661fb..0000000000--- a/apps/api/src/routes/api/v1/settings/types.ts+++ /dev/null@@ -1,69 +0,0 @@-import { OnlyId } from "../../../../types"--export interface SaveSettings {- Body: {- previewSeparator: string,- numberOfDockerImagesKeptLocally: number,- doNotTrack: boolean,- fqdn: string,- isAPIDebuggingEnabled: boolean,- isRegistrationEnabled: boolean,- dualCerts: boolean,- minPort: number,- maxPort: number,- isAutoUpdateEnabled: boolean,- isDNSCheckEnabled: boolean,- DNSServers: string,- proxyDefaultRedirect: string- }-}-export interface DeleteDomain {- Body: {- fqdn: string- }-}-export interface CheckDomain extends OnlyId {- Body: {- fqdn: string,- forceSave: boolean,- dualCerts: boolean,- isDNSCheckEnabled: boolean,- }-}-export interface CheckDNS {- Params: {- domain: string,- }-}-export interface SaveSSHKey {- Body: {- privateKey: string,- name: string- }-}-export interface DeleteSSHKey {- Body: {- id: string- }-}-export interface OnlyIdInBody {- Body: {- id: string- }-}--export interface SetDefaultRegistry {- Body: {- id: string- username: string- password: string- }-}-export interface AddDefaultRegistry {- Body: {- url: string- name: string- username: string- password: string- }-}\ No newline at end of filediff --git a/apps/api/src/routes/api/v1/sources/handlers.ts b/apps/api/src/routes/api/v1/sources/handlers.tsdeleted file mode 100644index 61849526ac..0000000000--- a/apps/api/src/routes/api/v1/sources/handlers.ts+++ /dev/null@@ -1,191 +0,0 @@-import cuid from 'cuid';-import type { FastifyRequest } from 'fastify';-import { FastifyReply } from 'fastify';-import { decrypt, encrypt, errorHandler, prisma } from '../../../../lib/common';-import { OnlyId } from '../../../../types';-import { CheckGitLabOAuthId, SaveGitHubSource, SaveGitLabSource } from './types';--export async function listSources(request: FastifyRequest) {- try {- const teamId = request.user?.teamId;- const sources = await prisma.gitSource.findMany({- where: { OR: [{ teams: { some: { id: teamId === "0" ? undefined : teamId } } }, { isSystemWide: true }] },- include: { teams: true, githubApp: true, gitlabApp: true }- });- return {- sources- }- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function saveSource(request, reply) {- try {- const { id } = request.params- let { name, htmlUrl, apiUrl, customPort, customUser, isSystemWide } = request.body- if (customPort) customPort = Number(customPort)- await prisma.gitSource.update({- where: { id },- data: { name, htmlUrl, apiUrl, customPort, customUser, isSystemWide }- });- return reply.code(201).send()- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function getSource(request: FastifyRequest<OnlyId>) {- try {- const { id } = request.params- const { teamId } = request.user- const settings = await prisma.setting.findFirst({});-- if (id === 'new') {- return {- source: {- name: null,- type: null,- htmlUrl: null,- apiUrl: null,- organization: null,- customPort: 22,- customUser: 'git',- },- settings- }- }-- const source = await prisma.gitSource.findFirst({- where: { id, OR: [{ teams: { some: { id: teamId === "0" ? undefined : teamId } } }, { isSystemWide: true }] },- include: { githubApp: true, gitlabApp: true }- });- if (!source) {- throw { status: 404, message: 'Source not found.' }- }-- if (source?.githubApp?.clientSecret)- source.githubApp.clientSecret = decrypt(source.githubApp.clientSecret);- if (source?.githubApp?.webhookSecret)- source.githubApp.webhookSecret = decrypt(source.githubApp.webhookSecret);- if (source?.githubApp?.privateKey) source.githubApp.privateKey = decrypt(source.githubApp.privateKey);- if (source?.gitlabApp?.appSecret) source.gitlabApp.appSecret = decrypt(source.gitlabApp.appSecret);-- return {- source,- settings- };-- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}--export async function deleteSource(request) {- try {- const { id } = request.params- const source = await prisma.gitSource.delete({- where: { id },- include: { githubApp: true, gitlabApp: true }- });- if (source.githubAppId) {- await prisma.githubApp.delete({ where: { id: source.githubAppId } });- }- if (source.gitlabAppId) {- await prisma.gitlabApp.delete({ where: { id: source.gitlabAppId } });- }- return {}- } catch ({ status, message }) {- return errorHandler({ status, message })- }--}-export async function saveGitHubSource(request: FastifyRequest<SaveGitHubSource>) {- try {- const { teamId } = request.user-- const { id } = request.params- let { name, htmlUrl, apiUrl, organization, customPort, isSystemWide } = request.body-- if (customPort) customPort = Number(customPort)- if (id === 'new') {- const newId = cuid()- await prisma.gitSource.create({- data: {- id: newId,- name,- htmlUrl,- apiUrl,- organization,- customPort,- isSystemWide,- type: 'github',- teams: { connect: { id: teamId } }- }- });- return {- id: newId- }- }- throw { status: 500, message: 'Wrong request.' }- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function saveGitLabSource(request: FastifyRequest<SaveGitLabSource>) {- try {- const { id } = request.params- const { teamId } = request.user- let { type, name, htmlUrl, apiUrl, oauthId, appId, appSecret, groupName, customPort, customUser } =- request.body-- if (oauthId) oauthId = Number(oauthId);- if (customPort) customPort = Number(customPort)- const encryptedAppSecret = encrypt(appSecret);-- if (id === 'new') {- const newId = cuid()- await prisma.gitSource.create({ data: { id: newId, type, apiUrl, htmlUrl, name, customPort, customUser, teams: { connect: { id: teamId } } } });- await prisma.gitlabApp.create({- data: {- teams: { connect: { id: teamId } },- appId,- oauthId,- groupName,- appSecret: encryptedAppSecret,- gitSource: { connect: { id: newId } }- }- });- return {- status: 201,- id: newId- }- } else {- await prisma.gitSource.update({ where: { id }, data: { type, apiUrl, htmlUrl, name, customPort, customUser } });- await prisma.gitlabApp.update({- where: { id },- data: {- appId,- oauthId,- groupName,- appSecret: encryptedAppSecret,- }- });- }- return { status: 201 };-- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}--export async function checkGitLabOAuthID(request: FastifyRequest<CheckGitLabOAuthId>) {- try {- const { oauthId } = request.body- const found = await prisma.gitlabApp.findFirst({ where: { oauthId: Number(oauthId) } });- if (found) {- throw { status: 500, message: 'OAuthID already configured in Coolify.' }- }- return {}- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}\ No newline at end of filediff --git a/apps/api/src/routes/api/v1/sources/index.ts b/apps/api/src/routes/api/v1/sources/index.tsdeleted file mode 100644index 3d904162fc..0000000000--- a/apps/api/src/routes/api/v1/sources/index.ts+++ /dev/null@@ -1,22 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import { checkGitLabOAuthID, deleteSource, getSource, listSources, saveGitHubSource, saveGitLabSource, saveSource } from './handlers';--import type { OnlyId } from '../../../../types';-import type { CheckGitLabOAuthId, SaveGitHubSource, SaveGitLabSource } from './types';--const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.addHook('onRequest', async (request) => {- return await request.jwtVerify()- })- fastify.get('/', async (request) => await listSources(request));-- fastify.get<OnlyId>('/:id', async (request) => await getSource(request));- fastify.post('/:id', async (request, reply) => await saveSource(request, reply));- fastify.delete('/:id', async (request) => await deleteSource(request));-- fastify.post<CheckGitLabOAuthId>('/:id/check', async (request) => await checkGitLabOAuthID(request));- fastify.post<SaveGitHubSource>('/:id/github', async (request) => await saveGitHubSource(request));- fastify.post<SaveGitLabSource>('/:id/gitlab', async (request) => await saveGitLabSource(request));-};--export default root;diff --git a/apps/api/src/routes/api/v1/sources/types.ts b/apps/api/src/routes/api/v1/sources/types.tsdeleted file mode 100644index bbccd2e7b3..0000000000--- a/apps/api/src/routes/api/v1/sources/types.ts+++ /dev/null@@ -1,31 +0,0 @@-import { OnlyId } from "../../../../types";--export interface SaveGitHubSource extends OnlyId {- Body: {- name: string,- htmlUrl: string,- apiUrl: string,- organization: string,- customPort: number,- isSystemWide: boolean- }-}-export interface SaveGitLabSource extends OnlyId {- Body: {- type: string,- name: string,- htmlUrl: string,- apiUrl: string,- oauthId: number,- appId: string,- appSecret: string,- groupName: string,- customPort: number,- customUser: string,- }-}-export interface CheckGitLabOAuthId extends OnlyId {- Body: {- oauthId: number,- }-}\ No newline at end of filediff --git a/apps/api/src/routes/api/v1/types.ts b/apps/api/src/routes/api/v1/types.tsdeleted file mode 100644index 945355df7f..0000000000--- a/apps/api/src/routes/api/v1/types.ts+++ /dev/null@@ -1,3 +0,0 @@-export interface GetCurrentUser {- Querystring: { teamId: string }-}\ No newline at end of filediff --git a/apps/api/src/routes/webhooks/github/handlers.ts b/apps/api/src/routes/webhooks/github/handlers.tsdeleted file mode 100644index 5e0f2bbbaa..0000000000--- a/apps/api/src/routes/webhooks/github/handlers.ts+++ /dev/null@@ -1,265 +0,0 @@-import cuid from "cuid";-import crypto from "crypto";-import { encrypt, errorHandler, getDomain, getUIUrl, isDev, prisma } from "../../../lib/common";-import { checkContainer, removeContainer } from "../../../lib/docker";-import { createdBranchDatabase, getApplicationFromDBWebhook, removeBranchDatabase } from "../../api/v1/applications/handlers";--import type { FastifyReply, FastifyRequest } from "fastify";-import type { GitHubEvents, InstallGithub } from "./types";--export async function installGithub(request: FastifyRequest<InstallGithub>, reply: FastifyReply): Promise<any> {- try {- const { gitSourceId, installation_id } = request.query;- const source = await prisma.gitSource.findUnique({- where: { id: gitSourceId },- include: { githubApp: true }- });- await prisma.githubApp.update({- where: { id: source.githubAppId },- data: { installationId: Number(installation_id) }- });- if (isDev) {- return reply.redirect(`${getUIUrl()}/sources/${gitSourceId}`)- } else {- return reply.redirect(`/sources/${gitSourceId}`)- }-- } catch ({ status, message }) {- return errorHandler({ status, message })- }--}-export async function configureGitHubApp(request, reply) {- try {- const { default: got } = await import('got')- const { code, state } = request.query;- const { apiUrl } = await prisma.gitSource.findFirst({- where: { id: state },- include: { githubApp: true, gitlabApp: true }- });-- const data: any = await got.post(`${apiUrl}/app-manifests/${code}/conversions`).json()- const { id, client_id, slug, client_secret, pem, webhook_secret } = data-- const encryptedClientSecret = encrypt(client_secret);- const encryptedWebhookSecret = encrypt(webhook_secret);- const encryptedPem = encrypt(pem);- await prisma.githubApp.create({- data: {- appId: id,- name: slug,- clientId: client_id,- clientSecret: encryptedClientSecret,- webhookSecret: encryptedWebhookSecret,- privateKey: encryptedPem,- gitSource: { connect: { id: state } }- }- });- if (isDev) {- return reply.redirect(`${getUIUrl()}/sources/${state}`)- } else {- return reply.redirect(`/sources/${state}`)- }- } catch ({ status, message }) {- return errorHandler({ status, message })- }-}-export async function gitHubEvents(request: FastifyRequest<GitHubEvents>): Promise<any> {- try {- const allowedGithubEvents = ['push', 'pull_request', 'ping', 'installation'];- const allowedActions = ['opened', 'reopened', 'synchronize', 'closed'];- const githubEvent = request.headers['x-github-event']?.toString().toLowerCase();- const githubSignature = request.headers['x-hub-signature-256']?.toString().toLowerCase();- if (!allowedGithubEvents.includes(githubEvent)) {- throw { status: 500, message: 'Event not allowed.', type: 'webhook' }- }- if (githubEvent === 'ping') {- return { pong: 'cool' }- }- if (githubEvent === 'installation') {- return { status: 'cool' }- }- let projectId, branch;- const body = request.body- if (githubEvent === 'push') {- projectId = body.repository.id;- branch = body.ref.includes('/') ? body.ref.split('/')[2] : body.ref;- } else if (githubEvent === 'pull_request') {- projectId = body.pull_request.base.repo.id;- branch = body.pull_request.base.ref- }- if (!projectId || !branch) {- throw { status: 500, message: 'Cannot parse projectId or branch from the webhook?!', type: 'webhook' }- }- const applicationsFound = await getApplicationFromDBWebhook(projectId, branch);- const settings = await prisma.setting.findUnique({ where: { id: '0' } });- if (applicationsFound && applicationsFound.length > 0) {- for (const application of applicationsFound) {- const buildId = cuid();- const webhookSecret = application.gitSource.githubApp.webhookSecret || null;- //@ts-ignore- const hmac = crypto.createHmac('sha256', webhookSecret);- const digest = Buffer.from(- 'sha256=' + hmac.update(JSON.stringify(body)).digest('hex'),- 'utf8'- );- if (!isDev) {- const checksum = Buffer.from(githubSignature, 'utf8');- //@ts-ignore- if (checksum.length !== digest.length || !crypto.timingSafeEqual(digest, checksum)) {- throw { status: 500, message: 'SHA256 checksum failed. Are you doing something fishy?', type: 'webhook' }- };- }-- if (githubEvent === 'push') {- if (!application.configHash) {- const configHash = crypto- //@ts-ignore- .createHash('sha256')- .update(- JSON.stringify({- buildPack: application.buildPack,- port: application.port,- exposePort: application.exposePort,- installCommand: application.installCommand,- buildCommand: application.buildCommand,- startCommand: application.startCommand- })- )- .digest('hex');- await prisma.application.update({- where: { id: application.id },- data: { configHash }- });- }-- await prisma.application.update({- where: { id: application.id },- data: { updatedAt: new Date() }- });- await prisma.build.create({- data: {- id: buildId,- applicationId: application.id,- destinationDockerId: application.destinationDocker.id,- gitSourceId: application.gitSource.id,- githubAppId: application.gitSource.githubApp?.id,- gitlabAppId: application.gitSource.gitlabApp?.id,- status: 'queued',- type: 'webhook_commit'- }- });- console.log(`Webhook for ${application.name} queued.`)-- } else if (githubEvent === 'pull_request') {- const pullmergeRequestId = body.number.toString();- const pullmergeRequestAction = body.action;- const sourceBranch = body.pull_request.head.ref- const sourceRepository = body.pull_request.head.repo.full_name- if (!allowedActions.includes(pullmergeRequestAction)) {- throw { status: 500, message: 'Action not allowed.', type: 'webhook' }- }-- if (application.settings.previews) {- if (application.destinationDockerId) {- const { found: isRunning } = await checkContainer(- {- dockerId: application.destinationDocker.id,- container: application.id- }- );- if (!isRunning) {- throw { status: 500, message: 'Application not running.', type: 'webhook' }- }- }- if (- pullmergeRequestAction === 'opened' ||- pullmergeRequestAction === 'reopened' ||- pullmergeRequestAction === 'synchronize'- ) {-- await prisma.application.update({- where: { id: application.id },- data: { updatedAt: new Date() }- });- let previewApplicationId = undefined- if (pullmergeRequestId) {- const foundPreviewApplications = await prisma.previewApplication.findMany({ where: { applicationId: application.id, pullmergeRequestId } })- if (foundPreviewApplications.length > 0) {- previewApplicationId = foundPreviewApplications[0].id- } else {- const protocol = application.fqdn.includes('https://') ? 'https://' : 'http://'- const previewApplication = await prisma.previewApplication.create({- data: {- pullmergeRequestId,- sourceBranch,- customDomain: `${protocol}${pullmergeRequestId}${settings.previewSeparator}${getDomain(application.fqdn)}`,- application: { connect: { id: application.id } }- }- })- previewApplicationId = previewApplication.id- }- }- // if (application.connectedDatabase && pullmergeRequestAction === 'opened' || pullmergeRequestAction === 'reopened') {- // // Coolify hosted database- // if (application.connectedDatabase.databaseId) {- // const databaseId = application.connectedDatabase.databaseId;- // const database = await prisma.database.findUnique({ where: { id: databaseId } });- // if (database) {- // await createdBranchDatabase(database, application.connectedDatabase.hostedDatabaseDBName, pullmergeRequestId);- // }- // }- // }- await prisma.build.create({- data: {- id: buildId,- sourceRepository,- pullmergeRequestId,- previewApplicationId,- sourceBranch,- applicationId: application.id,- destinationDockerId: application.destinationDocker.id,- gitSourceId: application.gitSource.id,- githubAppId: application.gitSource.githubApp?.id,- gitlabAppId: application.gitSource.gitlabApp?.id,- status: 'queued',- type: 'webhook_pr'- }- });-- return {- message: 'Queued. Thank you!'- };- } else if (pullmergeRequestAction === 'closed') {- if (application.destinationDockerId) {- const id = `${application.id}-${pullmergeRequestId}`;- try {- await removeContainer({ id, dockerId: application.destinationDocker.id });- } catch (error) { }- }- const foundPreviewApplications = await prisma.previewApplication.findMany({ where: { applicationId: application.id, pullmergeRequestId } })- if (foundPreviewApplications.length > 0) {- for (const preview of foundPreviewApplications) {- await prisma.previewApplication.delete({ where: { id: preview.id } })- }- }- return {- message: 'PR closed. Thank you!'- };- // if (application?.connectedDatabase?.databaseId) {- // const databaseId = application.connectedDatabase.databaseId;- // const database = await prisma.database.findUnique({ where: { id: databaseId } });- // if (database) {- // await removeBranchDatabase(database, pullmergeRequestId);- // }- // }- }- }- }- }- }- } catch ({ status, message, type }) {- return errorHandler({ status, message, type })- }--}\ No newline at end of filediff --git a/apps/api/src/routes/webhooks/github/index.ts b/apps/api/src/routes/webhooks/github/index.tsdeleted file mode 100644index c4a3afbb9b..0000000000--- a/apps/api/src/routes/webhooks/github/index.ts+++ /dev/null@@ -1,12 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import { configureGitHubApp, gitHubEvents, installGithub } from './handlers';--import type { GitHubEvents, InstallGithub } from './types';--const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.get('/', async (request, reply) => configureGitHubApp(request, reply));- fastify.get<InstallGithub>('/install', async (request, reply) => installGithub(request, reply));- fastify.post<GitHubEvents>('/events', async (request, reply) => gitHubEvents(request));-};--export default root;diff --git a/apps/api/src/routes/webhooks/github/types.ts b/apps/api/src/routes/webhooks/github/types.tsdeleted file mode 100644index 3591256083..0000000000--- a/apps/api/src/routes/webhooks/github/types.ts+++ /dev/null@@ -1,31 +0,0 @@-export interface InstallGithub {- Querystring: {- gitSourceId: string,- installation_id: string- }-}-export interface GitHubEvents {- Body: {- number: string,- action: string,- repository: {- id: string,- },- ref: string,- pull_request: {- base: {- ref: string,- repo: {- id: string,- }- },- head: {- ref: string,- repo: {- id: string,- full_name: string,- }- }- }- }-}\ No newline at end of filediff --git a/apps/api/src/routes/webhooks/gitlab/handlers.ts b/apps/api/src/routes/webhooks/gitlab/handlers.tsdeleted file mode 100644index a3ac977058..0000000000--- a/apps/api/src/routes/webhooks/gitlab/handlers.ts+++ /dev/null@@ -1,195 +0,0 @@-import cuid from "cuid";-import crypto from "crypto";-import type { FastifyReply, FastifyRequest } from "fastify";-import { errorHandler, getAPIUrl, getDomain, getUIUrl, isDev, listSettings, prisma } from "../../../lib/common";-import { checkContainer, removeContainer } from "../../../lib/docker";-import { getApplicationFromDB, getApplicationFromDBWebhook } from "../../api/v1/applications/handlers";--import type { ConfigureGitLabApp, GitLabEvents } from "./types";--export async function configureGitLabApp(request: FastifyRequest<ConfigureGitLabApp>, reply: FastifyReply) {- try {- const { default: got } = await import('got')- const { code, state } = request.query;- const { fqdn } = await listSettings();- const { gitSource: { gitlabApp: { appId, appSecret }, htmlUrl } }: any = await getApplicationFromDB(state, undefined);-- let domain = `http://${request.hostname}`;- if (fqdn) domain = fqdn;- if (isDev) {- domain = getAPIUrl();- }-- const { access_token } = await got.post(`${htmlUrl}/oauth/token`, {- searchParams: {- client_id: appId,- client_secret: appSecret,- code,- state,- grant_type: 'authorization_code',- redirect_uri: `${domain}/webhooks/gitlab`- }- }).json()- if (isDev) {- return reply.redirect(`${getUIUrl()}/webhooks/success?token=${access_token}`)- }- return reply.redirect(`/webhooks/success?token=${access_token}`)- } catch ({ status, message, ...other }) {- return errorHandler({ status, message })- }-}-export async function gitLabEvents(request: FastifyRequest<GitLabEvents>) {- const { object_kind: objectKind, ref, project_id } = request.body- try {- const allowedActions = ['opened', 'reopen', 'close', 'open', 'update'];- const webhookToken = request.headers['x-gitlab-token'];- if (!webhookToken && !isDev) {- throw { status: 500, message: 'Invalid webhookToken.', type: 'webhook' }- }- const settings = await prisma.setting.findUnique({ where: { id: '0' } });- if (objectKind === 'push') {- const projectId = Number(project_id);- const branch = ref.split('/')[2];- const applicationsFound = await getApplicationFromDBWebhook(projectId, branch);- if (applicationsFound && applicationsFound.length > 0) {- for (const application of applicationsFound) {- const buildId = cuid();- if (!application.configHash) {- const configHash = crypto- .createHash('sha256')- .update(- JSON.stringify({- buildPack: application.buildPack,- port: application.port,- exposePort: application.exposePort,- installCommand: application.installCommand,- buildCommand: application.buildCommand,- startCommand: application.startCommand- })- )- .digest('hex');- await prisma.application.update({- where: { id: application.id },- data: { configHash }- });- }- await prisma.application.update({- where: { id: application.id },- data: { updatedAt: new Date() }- });- await prisma.build.create({- data: {- id: buildId,- applicationId: application.id,- destinationDockerId: application.destinationDocker.id,- gitSourceId: application.gitSource.id,- githubAppId: application.gitSource.githubApp?.id,- gitlabAppId: application.gitSource.gitlabApp?.id,- status: 'queued',- type: 'webhook_commit'- }- });- }- }- } else if (objectKind === 'merge_request') {- const { object_attributes: { work_in_progress: isDraft, action, source_branch: sourceBranch, target_branch: targetBranch, source: { path_with_namespace: sourceRepository } }, project: { id } } = request.body- const pullmergeRequestId = request.body.object_attributes.iid.toString();- const projectId = Number(id);- if (!allowedActions.includes(action)) {- throw { status: 500, message: 'Action not allowed.', type: 'webhook' }- }- if (isDraft) {- throw { status: 500, message: 'Draft MR, do nothing.', type: 'webhook' }- }- const applicationsFound = await getApplicationFromDBWebhook(projectId, targetBranch);- if (applicationsFound && applicationsFound.length > 0) {- for (const application of applicationsFound) {- const buildId = cuid();- if (application.settings.previews) {- if (application.destinationDockerId) {- const { found: isRunning } = await checkContainer(- {- dockerId: application.destinationDocker.id,- container: application.id- }- );- if (!isRunning) {- throw { status: 500, message: 'Application not running.', type: 'webhook' }- }- }- if (!isDev && application.gitSource.gitlabApp.webhookToken !== webhookToken) {- throw { status: 500, message: 'Invalid webhookToken. Are you doing something nasty?!', type: 'webhook' }- }- if (- action === 'opened' ||- action === 'reopen' ||- action === 'open' ||- action === 'update'- ) {- await prisma.application.update({- where: { id: application.id },- data: { updatedAt: new Date() }- });- let previewApplicationId = undefined- if (pullmergeRequestId) {- const foundPreviewApplications = await prisma.previewApplication.findMany({ where: { applicationId: application.id, pullmergeRequestId } })- if (foundPreviewApplications.length > 0) {- previewApplicationId = foundPreviewApplications[0].id- } else {- const protocol = application.fqdn.includes('https://') ? 'https://' : 'http://'- const previewApplication = await prisma.previewApplication.create({- data: {- pullmergeRequestId,- sourceBranch,- customDomain: `${protocol}${pullmergeRequestId}${settings.previewSeparator}${getDomain(application.fqdn)}`,- application: { connect: { id: application.id } }- }- })- previewApplicationId = previewApplication.id- }- }- await prisma.build.create({- data: {- id: buildId,- pullmergeRequestId,- previewApplicationId,- sourceRepository,- sourceBranch,- applicationId: application.id,- destinationDockerId: application.destinationDocker.id,- gitSourceId: application.gitSource.id,- githubAppId: application.gitSource.githubApp?.id,- gitlabAppId: application.gitSource.gitlabApp?.id,- status: 'queued',- type: 'webhook_mr'- }- });- return {- message: 'Queued. Thank you!'- };- } else if (action === 'close') {- if (application.destinationDockerId) {- const id = `${application.id}-${pullmergeRequestId}`;- try {- await removeContainer({ id, dockerId: application.destinationDocker.id });- } catch (error) { }- }- const foundPreviewApplications = await prisma.previewApplication.findMany({ where: { applicationId: application.id, pullmergeRequestId } })- if (foundPreviewApplications.length > 0) {- for (const preview of foundPreviewApplications) {- await prisma.previewApplication.delete({ where: { id: preview.id } })- }- }- return {- message: 'MR closed. Thank you!'- };-- }- }- }- }- }- } catch ({ status, message, type }) {- return errorHandler({ status, message, type })- }-}\ No newline at end of filediff --git a/apps/api/src/routes/webhooks/gitlab/index.ts b/apps/api/src/routes/webhooks/gitlab/index.tsdeleted file mode 100644index 77f3067e43..0000000000--- a/apps/api/src/routes/webhooks/gitlab/index.ts+++ /dev/null@@ -1,11 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import { configureGitLabApp, gitLabEvents } from './handlers';--import type { ConfigureGitLabApp, GitLabEvents } from './types';--const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.get<ConfigureGitLabApp>('/', async (request, reply) => configureGitLabApp(request, reply));- fastify.post<GitLabEvents>('/events', async (request) => gitLabEvents(request));-};--export default root;diff --git a/apps/api/src/routes/webhooks/gitlab/types.ts b/apps/api/src/routes/webhooks/gitlab/types.tsdeleted file mode 100644index f2f1e1e3aa..0000000000--- a/apps/api/src/routes/webhooks/gitlab/types.ts+++ /dev/null@@ -1,27 +0,0 @@-export interface ConfigureGitLabApp {- Querystring: {- code: string,- state: string- }-}-export interface GitLabEvents {- Body: {- object_attributes: {- work_in_progress: string- source: {- path_with_namespace: string- }- isDraft: string- action: string- source_branch: string- target_branch: string- iid: string- },- project: {- id: string- },- object_kind: string,- ref: string,- project_id: string- }-}\ No newline at end of filediff --git a/apps/api/src/routes/webhooks/traefik/handlers.ts b/apps/api/src/routes/webhooks/traefik/handlers.tsdeleted file mode 100644index 2667c54ca8..0000000000--- a/apps/api/src/routes/webhooks/traefik/handlers.ts+++ /dev/null@@ -1,768 +0,0 @@-import { FastifyRequest } from 'fastify';-import { errorHandler, getDomain, isDev, prisma, executeCommand } from '../../../lib/common';-import { getTemplates } from '../../../lib/services';-import { OnlyId } from '../../../types';-import { parseAndFindServiceTemplates } from '../../api/v1/services/handlers';--function generateServices(serviceId, containerId, port, isHttp2 = false, isHttps = false) {- if (isHttp2) {- return {- [serviceId]: {- loadbalancer: {- servers: [- {- url: `${isHttps ? 'https' : 'http'}://${containerId}:${port}`- }- ]- }- },- [`${serviceId}-http2`]: {- loadbalancer: {- servers: [- {- url: `h2c://${containerId}:${port}`- }- ]- }- }- };- }- return {- [serviceId]: {- loadbalancer: {- servers: [- {- url: `http://${containerId}:${port}`- }- ]- }- }- };-}-function generateRouters(- serviceId,- domain,- nakedDomain,- pathPrefix,- isHttps,- isWWW,- isDualCerts,- isCustomSSL,- isHttp2 = false-) {- let rule = `Host(\`${nakedDomain}\`)${pathPrefix ? ` && PathPrefix(\`${pathPrefix}\`)` : ''}`;- let ruleWWW = `Host(\`www.${nakedDomain}\`)${- pathPrefix ? ` && PathPrefix(\`${pathPrefix}\`)` : ''- }`;- let http: any = {- entrypoints: ['web'],- rule,- service: `${serviceId}`,- priority: 2,- middlewares: []- };- let https: any = {- entrypoints: ['websecure'],- rule,- service: `${serviceId}`,- priority: 2,- tls: {- certresolver: 'letsencrypt'- },- middlewares: []- };- let httpWWW: any = {- entrypoints: ['web'],- rule: ruleWWW,- service: `${serviceId}`,- priority: 2,- middlewares: []- };- let httpsWWW: any = {- entrypoints: ['websecure'],- rule: ruleWWW,- service: `${serviceId}`,- priority: 2,- tls: {- certresolver: 'letsencrypt'- },- middlewares: []- };- // 2. http + non-www only- if (!isHttps && !isWWW) {- https.middlewares.push('redirect-to-http');- httpsWWW.middlewares.push('redirect-to-http');-- httpWWW.middlewares.push('redirect-to-non-www');- httpsWWW.middlewares.push('redirect-to-non-www');- delete https.tls;- delete httpsWWW.tls;- }-- // 3. http + www only- if (!isHttps && isWWW) {- https.middlewares.push('redirect-to-http');- httpsWWW.middlewares.push('redirect-to-http');-- http.middlewares.push('redirect-to-www');- https.middlewares.push('redirect-to-www');- delete https.tls;- delete httpsWWW.tls;- }- // 5. https + non-www only- if (isHttps && !isWWW) {- http.middlewares.push('redirect-to-https');- httpWWW.middlewares.push('redirect-to-https');- if (!isDualCerts) {- httpWWW.middlewares.push('redirect-to-non-www');- httpsWWW.middlewares.push('redirect-to-non-www');- }- if (isCustomSSL) {- if (isDualCerts) {- https.tls = true;- httpsWWW.tls = true;- } else {- https.tls = true;- delete httpsWWW.tls.certresolver;- httpsWWW.tls.domains = {- main: domain- };- }- } else {- if (!isDualCerts) {- delete httpsWWW.tls.certresolver;- httpsWWW.tls.domains = {- main: domain- };- }- }- }- // 6. https + www only- if (isHttps && isWWW) {- http.middlewares.push('redirect-to-https');- httpWWW.middlewares.push('redirect-to-https');- if (!isDualCerts) {- http.middlewares.push('redirect-to-www');- https.middlewares.push('redirect-to-www');- }- if (isCustomSSL) {- if (isDualCerts) {- https.tls = true;- httpsWWW.tls = true;- } else {- httpsWWW.tls = true;- delete https.tls.certresolver;- https.tls.domains = {- main: domain- };- }- } else {- if (!isDualCerts) {- delete https.tls.certresolver;- https.tls.domains = {- main: domain- };- }- }- }- if (isHttp2) {- let http2 = {- ...http,- service: `${serviceId}-http2`,- rule: `${rule} && HeadersRegexp(\`Content-Type\`, \`application/grpc*\`)`- };- let http2WWW = {- ...httpWWW,- service: `${serviceId}-http2`,- rule: `${rule} && HeadersRegexp(\`Content-Type\`, \`application/grpc*\`)`- };- let https2 = {- ...https,- service: `${serviceId}-http2`,- rule: `${rule} && HeadersRegexp(\`Content-Type\`, \`application/grpc*\`)`- };-- let https2WWW = {- ...httpsWWW,- service: `${serviceId}-http2`,- rule: `${rule} && HeadersRegexp(\`Content-Type\`, \`application/grpc*\`)`- };- return {- [`${serviceId}-${pathPrefix}`]: { ...http },- [`${serviceId}-${pathPrefix}-http2`]: { ...http2 },- [`${serviceId}-${pathPrefix}-secure`]: { ...https },- [`${serviceId}-${pathPrefix}-secure-http2`]: { ...https2 },- [`${serviceId}-${pathPrefix}-www`]: { ...httpWWW },- [`${serviceId}-${pathPrefix}-www-http2`]: { ...http2WWW },- [`${serviceId}-${pathPrefix}-secure-www`]: { ...httpsWWW },- [`${serviceId}-${pathPrefix}-secure-www-http2`]: { ...https2WWW }- };- }- return {- [`${serviceId}-${pathPrefix}`]: { ...http },- [`${serviceId}-${pathPrefix}-secure`]: { ...https },- [`${serviceId}-${pathPrefix}-www`]: { ...httpWWW },- [`${serviceId}-${pathPrefix}-secure-www`]: { ...httpsWWW }- };-}-export async function proxyConfiguration(request: FastifyRequest<OnlyId>, remote: boolean = false) {- const traefik = {- tls: {- certificates: []- },- http: {- routers: {},- services: {},- middlewares: {- 'redirect-to-https': {- redirectscheme: {- scheme: 'https'- }- },- 'redirect-to-http': {- redirectscheme: {- scheme: 'http'- }- },- 'redirect-to-non-www': {- redirectregex: {- regex: '^https?://www\\.(.+)',- replacement: 'http://${1}'- }- },- 'redirect-to-www': {- redirectregex: {- regex: '^https?://(?:www\\.)?(.+)',- replacement: 'http://www.${1}'- }- }- }- }- };- try {- const { id = null } = request.params;- const coolifySettings = await prisma.setting.findFirst();- if (coolifySettings.isTraefikUsed && coolifySettings.proxyDefaultRedirect) {- traefik.http.routers['catchall-http'] = {- entrypoints: ['web'],- rule: 'HostRegexp(`{catchall:.*}`)',- service: 'noop',- priority: 1,- middlewares: ['redirect-regexp']- };- traefik.http.routers['catchall-https'] = {- entrypoints: ['websecure'],- rule: 'HostRegexp(`{catchall:.*}`)',- service: 'noop',- priority: 1,- middlewares: ['redirect-regexp']- };- traefik.http.middlewares['redirect-regexp'] = {- redirectregex: {- regex: '(.*)',- replacement: coolifySettings.proxyDefaultRedirect,- permanent: false- }- };- traefik.http.services['noop'] = {- loadBalancer: {- servers: [- {- url: ''- }- ]- }- };- }- const sslpath = '/etc/traefik/acme/custom';-- let certificates = await prisma.certificate.findMany({- where: {- team: {- applications: { some: { settings: { isCustomSSL: true } } },- destinationDocker: { some: { remoteEngine: false, isCoolifyProxyUsed: true } }- }- }- });-- if (remote) {- certificates = await prisma.certificate.findMany({- where: {- team: {- applications: { some: { settings: { isCustomSSL: true } } },- destinationDocker: {- some: { id, remoteEngine: true, isCoolifyProxyUsed: true, remoteVerified: true }- }- }- }- });- }-- let parsedCertificates = [];- for (const certificate of certificates) {- parsedCertificates.push({- certFile: `${sslpath}/${certificate.id}-cert.pem`,- keyFile: `${sslpath}/${certificate.id}-key.pem`- });- }- if (parsedCertificates.length > 0) {- traefik.tls.certificates = parsedCertificates;- }-- let applications = [];- let services = [];- if (id) {- applications = await prisma.application.findMany({- where: { destinationDocker: { id } },- include: { destinationDocker: true, settings: true }- });- services = await prisma.service.findMany({- where: { destinationDocker: { id } },- include: {- destinationDocker: true,- persistentStorage: true,- serviceSecret: true,- serviceSetting: true- },- orderBy: { createdAt: 'desc' }- });- } else {- applications = await prisma.application.findMany({- where: { destinationDocker: { remoteEngine: false } },- include: { destinationDocker: true, settings: true }- });- services = await prisma.service.findMany({- where: { destinationDocker: { remoteEngine: false } },- include: {- destinationDocker: true,- persistentStorage: true,- serviceSecret: true,- serviceSetting: true- },- orderBy: { createdAt: 'desc' }- });- }-- if (applications.length > 0) {- const dockerIds = new Set();- const runningContainers = {};- applications.forEach((app) => dockerIds.add(app.destinationDocker.id));- for (const dockerId of dockerIds) {- const { stdout: container } = await executeCommand({- dockerId,- command: `docker container ls --filter 'label=coolify.managed=true' --format '{{ .Names}}'`- });- if (container) {- const containersArray = container.trim().split('\n');- if (containersArray.length > 0) {- runningContainers[dockerId] = containersArray;- }- }- }- for (const application of applications) {- try {- const {- fqdn,- id,- port,- buildPack,- dockerComposeConfiguration,- destinationDocker,- destinationDockerId,- settings- } = application;- if (!destinationDockerId) {- continue;- }- if (- !runningContainers[destinationDockerId] ||- runningContainers[destinationDockerId].length === 0 ||- runningContainers[destinationDockerId].filter((container) => container.startsWith(id))- .length === 0- ) {- continue;- }- if (buildPack === 'compose') {- const services = Object.entries(JSON.parse(dockerComposeConfiguration));- if (services.length > 0) {- for (const service of services) {- const [key, value] = service;- if (key && value) {- if (!value.fqdn || !value.port) {- continue;- }- const { fqdn, port } = value;- const containerId = `${id}-${key}`;- const domain = getDomain(fqdn);- const nakedDomain = domain.replace(/^www\./, '');- const isHttps = fqdn.startsWith('https://');- const isWWW = fqdn.includes('www.');- const pathPrefix = '/';- const isCustomSSL = false;- const dualCerts = false;- const serviceId = `${id}-${port || 'default'}`;-- traefik.http.routers = {- ...traefik.http.routers,- ...generateRouters(- serviceId,- domain,- nakedDomain,- pathPrefix,- isHttps,- isWWW,- dualCerts,- isCustomSSL- )- };- traefik.http.services = {- ...traefik.http.services,- ...generateServices(serviceId, containerId, port)- };- }- }- }- continue;- }- const { previews, dualCerts, isCustomSSL, isHttp2 } = settings;- const { network, id: dockerId } = destinationDocker;- if (!fqdn) {- continue;- }- const domain = getDomain(fqdn);- const nakedDomain = domain.replace(/^www\./, '');- const isHttps = fqdn.startsWith('https://');- const isWWW = fqdn.includes('www.');- const pathPrefix = '/';- const serviceId = `${id}-${port || 'default'}`;- traefik.http.routers = {- ...traefik.http.routers,- ...generateRouters(- serviceId,- domain,- nakedDomain,- pathPrefix,- isHttps,- isWWW,- dualCerts,- isCustomSSL,- isHttp2- )- };- traefik.http.services = {- ...traefik.http.services,- ...generateServices(serviceId, id, port, isHttp2, isHttps)- };- if (previews) {- const { stdout } = await executeCommand({- dockerId,- command: `docker container ls --filter="status=running" --filter="network=${network}" --filter="name=${id}-" --format="{{json .Names}}"`- });- if (stdout) {- const containers = stdout- .trim()- .split('\n')- .filter((a) => a)- .map((c) => c.replace(/"/g, ''));- if (containers.length > 0) {- for (const container of containers) {- const previewDomain = `${container.split('-')[1]}${- coolifySettings.previewSeparator- }${domain}`;- const nakedDomain = previewDomain.replace(/^www\./, '');- const pathPrefix = '/';- const serviceId = `${container}-${port || 'default'}`;- traefik.http.routers = {- ...traefik.http.routers,- ...generateRouters(- serviceId,- previewDomain,- nakedDomain,- pathPrefix,- isHttps,- isWWW,- dualCerts,- isCustomSSL- )- };- traefik.http.services = {- ...traefik.http.services,- ...generateServices(serviceId, container, port, isHttp2)- };- }- }- }- }- } catch (error) {- console.log(error);- }- }- }- if (services.length > 0) {- const dockerIds = new Set();- const runningContainers = {};- services.forEach((app) => dockerIds.add(app.destinationDocker.id));- for (const dockerId of dockerIds) {- const { stdout: container } = await executeCommand({- dockerId,- command: `docker container ls --filter 'label=coolify.managed=true' --format '{{ .Names}}'`- });- if (container) {- const containersArray = container.trim().split('\n');- if (containersArray.length > 0) {- runningContainers[dockerId] = containersArray;- }- }- }- for (const service of services) {- try {- let { fqdn, id, type, destinationDockerId, dualCerts, serviceSetting } = service;- if (!fqdn) {- continue;- }- if (!destinationDockerId) {- continue;- }- if (- !runningContainers[destinationDockerId] ||- runningContainers[destinationDockerId].length === 0 ||- !runningContainers[destinationDockerId].includes(id)- ) {- continue;- }- const templates = await getTemplates();- let found = templates.find((a) => a.type === type);- if (!found) {- continue;- }- found = JSON.parse(JSON.stringify(found).replaceAll('$$id', id));- for (const oneService of Object.keys(found.services)) {- const isDomainAndProxyConfiguration =- found?.services[oneService]?.proxy?.filter((p) => p.port) ?? [];- if (isDomainAndProxyConfiguration.length > 0) {- const template: any = await parseAndFindServiceTemplates(service, null, true);- const { proxy } = template.services[oneService] || found.services[oneService];- for (let configuration of proxy) {- if (configuration.domain) {- const setting = serviceSetting.find(- (a) => a.variableName === configuration.domain- );- if (setting) {- configuration.domain = configuration.domain.replace(- configuration.domain,- setting.value- );- }- }- const foundPortVariable = serviceSetting.find(- (a) => a.name.toLowerCase() === 'port'- );- if (foundPortVariable) {- configuration.port = foundPortVariable.value;- }- let port, pathPrefix, customDomain;- if (configuration) {- port = configuration?.port;- pathPrefix = configuration?.pathPrefix || '/';- customDomain = configuration?.domain;- }- if (customDomain) {- fqdn = customDomain;- } else {- fqdn = service.fqdn;- }- const domain = getDomain(fqdn);- const nakedDomain = domain.replace(/^www\./, '');- const isHttps = fqdn.startsWith('https://');- const isWWW = fqdn.includes('www.');- const isCustomSSL = false;- const serviceId = `${oneService}-${port || 'default'}`;- traefik.http.routers = {- ...traefik.http.routers,- ...generateRouters(- serviceId,- domain,- nakedDomain,- pathPrefix,- isHttps,- isWWW,- dualCerts,- isCustomSSL- )- };- traefik.http.services = {- ...traefik.http.services,- ...generateServices(serviceId, oneService, port)- };- }- } else {- if (found.services[oneService].ports && found.services[oneService].ports.length > 0) {- for (let [index, port] of found.services[oneService].ports.entries()) {- if (port == 22) continue;- if (index === 0) {- const foundPortVariable = serviceSetting.find(- (a) => a.name.toLowerCase() === 'port'- );- if (foundPortVariable) {- port = foundPortVariable.value;- }- }- const domain = getDomain(fqdn);- const nakedDomain = domain.replace(/^www\./, '');- const isHttps = fqdn.startsWith('https://');- const isWWW = fqdn.includes('www.');- const pathPrefix = '/';- const isCustomSSL = false;- const serviceId = `${oneService}-${port || 'default'}`;- traefik.http.routers = {- ...traefik.http.routers,- ...generateRouters(- serviceId,- domain,- nakedDomain,- pathPrefix,- isHttps,- isWWW,- dualCerts,- isCustomSSL- )- };- traefik.http.services = {- ...traefik.http.services,- ...generateServices(serviceId, id, port)- };- }- }- }- }- } catch (error) {- console.log(error);- }- }- }- if (!remote) {- const { fqdn, dualCerts } = await prisma.setting.findFirst();- if (!fqdn) {- return;- }- const domain = getDomain(fqdn);- const nakedDomain = domain.replace(/^www\./, '');- const isHttps = fqdn.startsWith('https://');- const isWWW = fqdn.includes('www.');- const id = isDev ? 'host.docker.internal' : 'coolify';- const container = isDev ? 'host.docker.internal' : 'coolify';- const port = 3000;- const pathPrefix = '/';- const isCustomSSL = false;- const serviceId = `${id}-${port || 'default'}`;- traefik.http.routers = {- ...traefik.http.routers,- ...generateRouters(- serviceId,- domain,- nakedDomain,- pathPrefix,- isHttps,- isWWW,- dualCerts,- isCustomSSL- )- };- traefik.http.services = {- ...traefik.http.services,- ...generateServices(serviceId, container, port)- };- }- } catch (error) {- console.log(error);- } finally {- if (Object.keys(traefik.http.routers).length === 0) {- traefik.http.routers = null;- }- if (Object.keys(traefik.http.services).length === 0) {- traefik.http.services = null;- }- return traefik;- }-}--export async function otherProxyConfiguration(request: FastifyRequest<TraefikOtherConfiguration>) {- try {- const { id } = request.query;- if (id) {- const { privatePort, publicPort, type, address = id } = request.query;- let traefik = {};- if (publicPort && type && privatePort) {- if (type === 'tcp') {- traefik = {- [type]: {- routers: {- [id]: {- entrypoints: [type],- rule: `HostSNI(\`*\`)`,- service: id- }- },- services: {- [id]: {- loadbalancer: {- servers: [{ address: `${address}:${privatePort}` }]- }- }- }- }- };- } else if (type === 'http') {- const service = await prisma.service.findFirst({- where: { id }- });- if (service && service?.fqdn) {- const domain = getDomain(service.fqdn);- const isHttps = service.fqdn.startsWith('https://');- traefik = {- [type]: {- routers: {- [id]: {- entrypoints: [type],- rule: `Host(\`${domain}:${privatePort}\`)`,- service: id- }- },- services: {- [id]: {- loadbalancer: {- servers: [{ url: `http://${id}:${privatePort}` }]- }- }- }- }- };- if (isHttps) {- if (isDev) {- traefik[type].routers[id].tls = {- domains: {- main: `${domain}`- }- };- } else {- traefik[type].routers[id].tls = {- certresolver: 'letsencrypt'- };- }- }- } else {- throw { status: 500 };- }- }- } else {- throw { status: 500 };- }- return {- ...traefik- };- }- throw { status: 500 };- } catch ({ status, message }) {- return errorHandler({ status, message });- }-}diff --git a/apps/api/src/routes/webhooks/traefik/index.ts b/apps/api/src/routes/webhooks/traefik/index.tsdeleted file mode 100644index ed7298ef9e..0000000000--- a/apps/api/src/routes/webhooks/traefik/index.ts+++ /dev/null@@ -1,14 +0,0 @@-import { FastifyPluginAsync } from 'fastify';-import { OnlyId } from '../../../types';-import { proxyConfiguration, otherProxyConfiguration } from './handlers';-import { OtherProxyConfiguration } from './types';--const root: FastifyPluginAsync = async (fastify): Promise<void> => {- fastify.get<OnlyId>('/main.json', async (request, reply) => proxyConfiguration(request, false));- fastify.get<OnlyId>('/remote/:id', async (request) => proxyConfiguration(request, true));- fastify.get<OtherProxyConfiguration>('/other.json', async (request, reply) =>- otherProxyConfiguration(request)- );-};--export default root;diff --git a/apps/api/src/routes/webhooks/traefik/types.ts b/apps/api/src/routes/webhooks/traefik/types.tsdeleted file mode 100644index 141066111f..0000000000--- a/apps/api/src/routes/webhooks/traefik/types.ts+++ /dev/null@@ -1,9 +0,0 @@-export interface OtherProxyConfiguration {- Querystring: {- id: string,- privatePort: number,- publicPort: number,- type: string,- address: string- }-}\ No newline at end of filediff --git a/apps/api/src/types.ts b/apps/api/src/types.tsdeleted file mode 100644index d4ab019535..0000000000--- a/apps/api/src/types.ts+++ /dev/null@@ -1,4 +0,0 @@-export interface OnlyId {- Params: { id?: string },-}-diff --git a/apps/api/tags.json b/apps/api/tags.jsondeleted file mode 100644index a788801e24..0000000000--- a/apps/api/tags.json+++ /dev/null@@ -1,983 +0,0 @@-[- {- "name": "appsmith",- "image": "appsmith/appsmith-ce",- "tags": [- "v1.9.3",- "v1.9.1",- "v1.8.15",- "v1.8.12",- "v1.8.10",- "v1.8.9",- "v1.8.7",- "v1.8.5",- "v1.8.3",- "v1.8.0",- "v1.7.13",- "v1.7.11",- "v1.7.8",- "v1.7.6",- "v1.7.4",- "v1.7.2",- "v1.7.1",- "v1.6.22",- "v1.6.20",- "v1.6.19",- "v1.6.17",- "v1.6.15",- "v1.6.13",- "v1.6.11",- "v1.6.9",- "v1.6.7",- "v1.6.5",- "v1.6.3",- "v1.6.1",- "v1.5.30"- ]- },- {- "name": "appwrite",- "image": "appwrite/appwrite",- "tags": [- "1.2.0",- "1.1.2",- "1.1.0",- "1.0.3",- "1.0.1",- "1.0.0",- "0.15.2",- "0.15.0",- "0.14.2",- "0.14.0",- "0.13.4",- "0.13.2",- "0.13.0",- "0.12.3",- "0.12.1",- "0.12.0",- "0.11.2",- "0.11.0",- "0.10.4",- "0.10.2",- "0.10.0",- "0.9.3",- "0.9.1",- "0.8.0",- "0.7.1",- "0.6.2",- "0.6.0",- "0.5.2",- "0.5.0",- "0.3.1"- ]- },- {- "name": "directus-postgresql",- "image": "directus/directus",- "tags": [- "9.22.3",- "9.22.0",- "9.21.0",- "9.20.4",- "9.20.2",- "9.20.0",- "9.19.2",- "9.18.0",- "9.17.4",- "9.17.2",- "9.17.0",- "9.16.0",- "9.15.0",- "9.14.5",- "9.14.3",- "9.14.0",- "9.13.0",- "9.12.2",- "9.12.0",- "9.11.0",- "9.10.0",- "9.9.0",- "9.8.0",- "9.7.0",- "9.6.0",- "9.5.2",- "9.5.0",- "9.4.2",- "9.4.0",- "9.3.0"- ]- },- {- "name": "fider",- "image": "getfider/fider",- "tags": [- "stable",- "master",- "main",- "dev",- "SHA_ee6e83cfaadadaa56ab76e089e01f5631af3506f",- "SHA_deb4f9b4f561d890d8a80e6872fea9a98a265cc6",- "SHA_d5cc307909d43447200483d76b5db74d8ed8349e",- "SHA_d1674476577a7fd3c88fc29f91c3f35f5bd6a260",- "SHA_d107cbb157abca6576110080736213efe0955cff",- "SHA_c9c55b2f5b33a76015241b97e03cfac1254b42a7",- "SHA_bcf451a3cb02d5c8a489fd30309249296057b084",- "SHA_bbfe419639514f949a042807addf0fde7d4de225",- "SHA_adc3afc4c7bcf96931a5f90cab65c282d860dbfd",- "SHA_ab5283ae95334f10b5041402dce79e333c472015",- "SHA_a3f4cb5ed0a4ee2d726705fc426636364aac17a1",- "SHA_a18224142bf51bc6463c3d22f45f62287902e9a6",- "SHA_8e5cff30d95963eaee2587488d351e0d658c8195",- "SHA_8cabe2817ce7ccaf2f0a9fdbb1b5d3411de87f81",- "SHA_7851f9da566132d87fa2a63004e78c3bc9c09c6c",- "SHA_6c0f2bed1754e9d579eb9575129a6e3dbc529c32",- "SHA_603508c8790d6a6fb1e852df1a58ead8e5b3ea6c",- "SHA_55efacf164a4749b50ee68ae8925e7dc9dfa3a0c",- "SHA_4bdd291ce61e5f5dfc063fa1b2d9be8c9ff1d4c4",- "SHA_3fba9cb6a9ceab0c78c6cff3220610f591f657cb",- "SHA_3d635b57606a9885babe91fe975b11429e0f2c38",- "SHA_3b794edbd9789a8aa38ecd3714bc536a675d3058",- "SHA_3570c454ad3252b690608f7bf8051737d8519f8a",- "SHA_263e2709fd145f3ea511e5557e170102899995b0",- "SHA_255c30ed012fc4c39ffc97efc1d3b00425b17c72",- "SHA_17f92b16ef790003338f0926fc8d791a9a61333c"- ]- },- {- "name": "ghost-mariadb",- "image": "bitnami/ghost",- "tags": [- "5.30.1",- "5.30.0",- "5.29.0",- "5.28.0",- "5.27.0",- "5.26.4",- "5.26.3",- "5.26.2",- "5.26.1",- "5.26.0",- "5.25.5",- "5.25.4",- "5.25.3",- "5.25.2",- "5.25.1",- "5.25.0",- "5.24.2",- "5.24.1",- "5.24.0",- "5.23.0",- "5.22.11",- "5.22.10",- "5.22.9",- "5.22.8",- "5.22.7",- "5.22.6",- "5.22.5",- "5.22.4",- "5.22.3",- "5.22.2",- "4.48.8"- ]- },- {- "name": "ghost-mysql",- "image": "library/ghost",- "tags": [- "5.30.0",- "5.29.0",- "5.28.0",- "5.27.0",- "5.26.4",- "5.26.3",- "5.26.2",- "5.26.1",- "5.25.5",- "5.25.3",- "5.25.2",- "5.25.1",- "5.25.0",- "5.24.2",- "5.24.1",- "5.23.0",- "5.22.11",- "5.22.10",- "5.22.9",- "5.22.8",- "5.22.4",- "5.22.1",- "5.20.0",- "5.19.3",- "5.19.0",- "5.18.0",- "5.17.2",- "5.17.1",- "5.17.0",- "5.16.2"- ]- },- {- "name": "ghost-only",- "image": "library/ghost",- "tags": [- "5.30.0",- "5.29.0",- "5.28.0",- "5.27.0",- "5.26.4",- "5.26.3",- "5.26.2",- "5.26.1",- "5.25.5",- "5.25.3",- "5.25.2",- "5.25.1",- "5.25.0",- "5.24.2",- "5.24.1",- "5.23.0",- "5.22.11",- "5.22.10",- "5.22.9",- "5.22.8",- "5.22.4",- "5.22.1",- "5.20.0",- "5.19.3",- "5.19.0",- "5.18.0",- "5.17.2",- "5.17.1",- "5.17.0",- "5.16.2"- ]- },- {- "name": "gitea",- "image": "gitea/gitea",- "tags": [- "1.18.0",- "1.17.4",- "1.17.3",- "1.17.2",- "1.17.1",- "1.17.0",- "1.16.9",- "1.16.8",- "1.16.7",- "1.16.6",- "1.16.5",- "1.16.4",- "1.16.3",- "1.16.2",- "1.16.1",- "1.16.0",- "1.15.11",- "1.15.10",- "1.15.9",- "1.15.8",- "1.15.7",- "1.15.6",- "1.15.5",- "1.15.4",- "1.15.3",- "1.15.2",- "1.15.1",- "1.15.0",- "1.14.7",- "1.14.6"- ]- },- {- "name": "glitchtip",- "image": "glitchtip/glitchtip",- "tags": [- "v3.0.2",- "v3.0.0",- "v2.0.7",- "v2.0.5",- "v2.0.2",- "v2.0.0",- "v1.12.4",- "v1.12.2",- "v1.12.0",- "v1.10.3",- "v1.10.1",- "v1.9.2",- "v1.9.0",- "v1.8.4",- "v1.8.2",- "v1.8.0",- "v1.7.1",- "v1.6.4",- "v1.6.2",- "v1.6.0",- "v1.5.3",- "v1.5.1",- "v1.4.1",- "v1.3.3",- "v1.3.1",- "v1.2.6",- "v1.2.4",- "v1.2.2",- "v1.2.0",- "v1.1.2"- ]- },- {- "name": "grafana",- "image": "grafana/grafana",- "tags": [- "9.3.2",- "9.3.1",- "9.3.0",- "9.2.8",- "9.2.7",- "9.2.6",- "9.2.5",- "9.2.4",- "9.2.3",- "9.2.2",- "9.2.1",- "9.2.0",- "9.1.8",- "9.1.7",- "9.1.6",- "9.1.5",- "9.1.4",- "9.1.3",- "9.1.2",- "9.1.1",- "9.1.0",- "9.0.9",- "9.0.8",- "9.0.7",- "9.0.6",- "9.0.5",- "9.0.4",- "9.0.3",- "9.0.2",- "9.0.1"- ]- },- {- "name": "hasura",- "image": "hasura/graphql-engine",- "tags": [- "v2.16.1",- "v2.16.0",- "v2.15.2",- "v2.14.1",- "v2.13.2",- "v2.12.1",- "v2.11.3",- "v2.10.2",- "v2.9.0",- "v2.8.4",- "v2.8.3",- "v2.8.2",- "v2.8.1",- "v2.8.0",- "v2.7.0",- "v2.6.2",- "v2.6.1",- "v2.6.0",- "v2.5.2",- "v2.5.1",- "v2.5.0",- "v2.4.0",- "v2.3.1",- "v2.3.0",- "v2.2.2",- "v2.2.1",- "v2.2.0",- "v2.1.1",- "v2.1.0",- "v2.0.10"- ]- },- {- "name": "keycloak",- "image": "quay.io/keycloak/keycloak",- "tags": [- "9.0.3",- "9.0.0",- "8.0.1",- "7.0.0",- "6.0.1",- "6.0.0",- "20.0.3",- "20.0.2",- "20.0.1",- "20.0.0",- "19.0.3",- "19.0.1",- "19.0.0",- "18.0.1",- "18.0.0",- "17.0.1",- "17.0.0",- "16.1.0",- "15.1.1",- "15.0.2",- "15.0.0",- "13.0.1",- "12.0.4",- "12.0.2",- "12.0.0",- "11.0.2",- "11.0.0",- "10.0.1"- ]- },- {- "name": "languagetool",- "image": "silviof/docker-languagetool",- "tags": ["latest", "6.0", "5.8", "5.7", "5.6", "5.5", "5.4", "5.3"]- },- {- "name": "lavalink",- "image": "fredboat/lavalink",- "tags": ["3.7.0", "3.6.1", "3.5.1", "v2.0.1"]- },- {- "name": "libretranslate",- "image": "libretranslate/libretranslate",- "tags": ["v1.3.8", "v1.3.6", "v1.3.4", "v1.3.2", "v1.3.0", "v1.2.8"]- },- {- "name": "meilisearch",- "image": "getmeili/meilisearch",- "tags": [- "v0.30.5",- "v0.30.3",- "v0.30.1",- "v0.30.0",- "v0.29.3",- "v0.29.1",- "v0.29.0",- "v0.28.1",- "v0.28.0",- "v0.27.1",- "v0.27.0",- "v0.26.1",- "v0.26.0",- "v0.25.1",- "v0.25.0",- "v0.23.1",- "v0.23.0",- "v0.21.1",- "v0.21.0",- "v0.20.0",- "v0.19.0",- "v0.18.1",- "v0.18.0",- "v0.17.0",- "v0.16.0",- "0.14.1",- "v0.14.1",- "v0.14.0",- "v0.12.0",- "v0.11.0"- ]- },- {- "name": "minio",- "image": "minio/minio",- "tags": [- "RELEASE.2023-01-12T02-06-16Z",- "RELEASE.2023-01-06T18-11-18Z",- "RELEASE.2023-01-02T09-40-09Z",- "RELEASE.2022-12-12T19-27-27Z",- "RELEASE.2022-12-07T00-56-37Z",- "RELEASE.2022-12-02T19-19-22Z",- "RELEASE.2022-11-29T23-40-49Z",- "RELEASE.2022-11-26T22-43-32Z",- "RELEASE.2022-11-17T23-20-09Z",- "RELEASE.2022-11-11T03-44-20Z",- "RELEASE.2022-11-10T18-20-21Z",- "RELEASE.2022-11-08T05-27-07Z",- "RELEASE.2022-10-29T06-21-33Z",- "RELEASE.2022-10-24T18-35-07Z.hotfix.7906ac5be",- "RELEASE.2022-10-24T18-35-07Z",- "RELEASE.2022-10-21T22-37-48Z",- "RELEASE.2022-10-20T00-55-09Z",- "RELEASE.2022-10-15T19-57-03Z",- "RELEASE.2022-10-08T20-11-00Z",- "RELEASE.2022-10-05T14-58-27Z",- "RELEASE.2022-10-02T19-29-29Z",- "RELEASE.2022-09-25T15-44-53Z",- "RELEASE.2022-09-22T18-57-27Z",- "RELEASE.2022-09-17T00-09-45Z.hotfix.f76e5da9f",- "RELEASE.2022-09-17T00-09-45Z.fips",- "RELEASE.2022-09-07T22-25-02Z.fips",- "RELEASE.2022-09-01T23-53-36Z.fips",- "RELEASE.2022-08-26T19-53-15Z.fips",- "RELEASE.2022-08-25T07-17-05Z.fips",- "RELEASE.2022-08-22T23-53-06Z.hotfix.5fa3967bb"- ]- },- {- "name": "n8n",- "image": "n8nio/n8n",- "tags": [- "0.210.1",- "0.210.0",- "0.209.4",- "0.209.3",- "0.209.2",- "0.209.1",- "0.209.0",- "0.208.1",- "0.208.0",- "0.207.1",- "0.207.0",- "0.206.1",- "0.205.0",- "0.204.0",- "0.203.1",- "0.202.1",- "0.202.0",- "0.201.0",- "0.200.1",- "0.199.0",- "0.198.1",- "0.198.0",- "0.197.1",- "0.197.0",- "0.196.0",- "0.195.5",- "0.195.4",- "0.195.3",- "0.195.2",- "0.195.1"- ]- },- {- "name": "nocodb",- "image": "nocodb/nocodb",- "tags": [- "0.101.2",- "0.101.0",- "0.100.1",- "0.99.2",- "0.99.0",- "0.98.3",- "0.98.1",- "0.97.0",- "0.96.3",- "0.96.1",- "0.92.4",- "0.92.0",- "0.91.8",- "0.91.6",- "0.91.1",- "0.90.11",- "0.90.8",- "0.90.5",- "0.90.3",- "0.90.1",- "0.84.16",- "0.84.14",- "0.84.10",- "0.84.9",- "0.84.7",- "0.84.3",- "0.83.8",- "0.83.5",- "0.83.2",- "0.83.0"- ]- },- {- "name": "openblocks",- "image": "openblocksdev/openblocks-ce",- "tags": ["1.1.3", "1.1.1", "1.0.21"]- },- {- "name": "plausibleanalytics-arm",- "image": "plausible/analytics",- "tags": [- "v1.5.1",- "v1.5.0",- "v1.4.3",- "v1.4.1",- "v1.4.0",- "v1.3.0",- "v1.2.0",- "v1.1.0",- "v1.0.0"- ]- },- {- "name": "plausibleanalytics",- "image": "plausible/analytics",- "tags": [- "v1.5.1",- "v1.5.0",- "v1.4.3",- "v1.4.1",- "v1.4.0",- "v1.3.0",- "v1.2.0",- "v1.1.0",- "v1.0.0"- ]- },- { "name": "pocketbase", "image": "coollabsio/pocketbase", "tags": ["0.11.0", "0.10.2", "0.8.0"] },- {- "name": "searxng",- "image": "searxng/searxng",- "tags": [- "2023.01.15-52d41559",- "2023.01.15-13b0c251",- "2023.01.14-b720a495",- "2023.01.14-449aebae",- "2023.01.14-18d895ff",- "2023.01.09-afd71a6c",- "2023.01.09-a90ed481",- "2023.01.08-54e63839",- "2023.01.08-4e735b28",- "2023.01.08-217395b8",- "2023.01.08-0c429d70",- "2023.01.07-cb7b0916",- "2023.01.07-a98c5156",- "2023.01.07-633ba8b1",- "2023.01.07-4e355564",- "2023.01.06-b241015e",- "2023.01.06-269a72ee",- "2023.01.05-aba969cc",- "2022.12.30-b6d98be7",- "2022.12.30-647a0aa9",- "2022.12.30-17516290",- "2022.12.29-d531f893",- "2022.12.29-9b31976c",- "2022.12.29-76cd808a",- "2022.12.29-3ec58b06",- "2022.12.29-174e6851",- "2022.12.26-0d489617",- "2022.12.23-e8f72d70",- "2022.12.23-a2d506d4",- "2022.12.22-d75ae7c8"- ]- },- {- "name": "trilium",- "image": "zadam/trilium",- "tags": [- "0.58.4",- "0.57.4",- "0.57.2",- "0.56.1",- "0.55.1",- "0.54.2",- "0.53.2",- "0.52.4",- "0.52.2",- "0.51.2",- "0.50.3",- "0.50.1",- "0.49.5",- "0.49.3",- "0.48.9",- "0.48.7",- "0.48.4",- "0.48.2",- "0.47.8",- "0.47.6",- "0.47.4",- "0.47.2",- "0.46.7",- "0.46.5",- "0.45.10",- "0.45.9",- "0.45.7",- "0.45.5",- "0.45.3",- "0.44.8"- ]- },- {- "name": "umami-postgresql",- "image": "ghcr.io/umami-software/umami",- "tags": [- "postgresql-v1.39.5",- "postgresql-v1.39.4",- "postgresql-v1.39.3",- "postgresql-v1.39.2",- "postgresql-v1.39.1",- "postgresql-v1.39.0",- "postgresql-v1.38.0",- "postgresql-v1.37.0",- "postgresql-v1.36.1",- "postgresql-v1.36.0",- "postgresql-v1.35.0",- "postgresql-v1.34.0",- "postgresql-v1.33.3",- "postgresql-latest",- "mysql-v1.39.5",- "mysql-v1.39.4",- "mysql-v1.39.3",- "mysql-v1.39.2",- "mysql-v1.39.1",- "mysql-v1.39.0",- "mysql-v1.38.0",- "mysql-v1.37.0",- "mysql-v1.36.1",- "mysql-v1.36.0",- "mysql-v1.35.0",- "mysql-v1.34.0",- "mysql-v1.33.3",- "mysql-latest"- ]- },- {- "name": "umami",- "image": "ghcr.io/umami-software/umami",- "tags": [- "postgresql-v1.39.5",- "postgresql-v1.39.4",- "postgresql-v1.39.3",- "postgresql-v1.39.2",- "postgresql-v1.39.1",- "postgresql-v1.39.0",- "postgresql-v1.38.0",- "postgresql-v1.37.0",- "postgresql-v1.36.1",- "postgresql-v1.36.0",- "postgresql-v1.35.0",- "postgresql-v1.34.0",- "postgresql-v1.33.3",- "postgresql-latest",- "mysql-v1.39.5",- "mysql-v1.39.4",- "mysql-v1.39.3",- "mysql-v1.39.2",- "mysql-v1.39.1",- "mysql-v1.39.0",- "mysql-v1.38.0",- "mysql-v1.37.0",- "mysql-v1.36.1",- "mysql-v1.36.0",- "mysql-v1.35.0",- "mysql-v1.34.0",- "mysql-v1.33.3",- "mysql-latest"- ]- },- {- "name": "uptimekuma",- "image": "louislam/uptime-kuma",- "tags": [- "1.19.4",- "1.19.3",- "1.19.2",- "1.19.1",- "1.19.0",- "1.18.5",- "1.18.4",- "1.18.3",- "1.18.2",- "1.18.1",- "1.18.0",- "1.17.1",- "1.17.0",- "1.16.1",- "1.16.0",- "1.15.1",- "1.15.0",- "1.14.1",- "1.14.0",- "1.13.2",- "1.13.1",- "1.13.0",- "1.12.1",- "1.11.4",- "1.11.3",- "1.11.2",- "1.11.1",- "1.11.0",- "1.10.2",- "1.10.1"- ]- },- {- "name": "vaultwarden",- "image": "vaultwarden/server",- "tags": [- "1.27.0",- "1.26.0",- "1.25.2",- "1.25.1",- "1.25.0",- "1.24.0",- "1.23.1",- "1.23.0",- "1.22.2",- "1.22.1",- "1.22.0",- "1.21.0"- ]- },- {- "name": "vscodeserver",- "image": "codercom/code-server",- "tags": [- "4.9.1",- "4.9.0",- "4.8.3",- "4.8.2",- "4.8.1",- "4.8.0",- "4.7.0",- "4.6.0",- "4.5.1",- "4.4.0",- "4.2.0",- "4.0.2",- "3.11.1",- "3.10.2",- "3.10.0",- "3.9.3",- "3.9.1",- "3.8.1",- "3.7.4",- "3.7.2",- "3.7.0",- "3.6.1",- "3.5.0",- "3.4.0",- "3.3.0",- "3.2.0",- "3.1.1",- "3.1.0",- "3.0.2",- "3.0.0"- ]- },- {- "name": "weblate",- "image": "weblate/weblate",- "tags": [- "latest",- "edge-2023-01-13-e824b551f23c3679467e38b06366744a06aa3b0c",- "edge-2023-01-13-468b996565e6b62edb78d40b515c476e0d860273",- "edge-2023-01-12-fe3d58b14f119eb5501220e9f096949c2e1ec2d3",- "edge-2023-01-12-112f75f9ee9e118ad493215f89742e6e091be8d0",- "edge-2023-01-11-f7bb190993e329d1529694e8cc7f5e0a80ccd615",- "edge-2023-01-11-e8ef3183aa7723f32c2b60c7c3b89910f2c7c593",- "edge-2023-01-11-155231f6cde18a65e3f35093d66dd0ce93aa7154",- "edge-2023-01-10-e47516e4022f87c019e61998b556b69111187aa9",- "edge-2023-01-10-98c6b38c746165adb27b2a8e93a74fa9ab64f17c",- "edge-2023-01-10-1df5c9dd96a6d8650f6881942fecbe33e1884295",- "edge-2023-01-09-7029b7b6c630be7cdac07d1629573dd2b81bc05f",- "edge-2023-01-09-4b05a878aa25b2c544a4e77027769b5934ec561f",- "edge-2023-01-07-df50259ff209720b0fd3c983bd7a5d01b564149c",- "edge-2023-01-07-719b3034de0ed369cd63554ea652f11142b9a540",- "edge-2023-01-07-14d4aec6cd8e1e6e0b7c1dc3a9cf4a74ccfc5e37",- "edge-2023-01-07-00f2d980c4388d799ba0df3a27c10bf941b7edd3",- "edge-2023-01-04-e92fe933b22e36e92f6de57a0ecb16752852d815",- "edge-2023-01-04-4c413c6ba33c39a6b7f3238f255bc09c69e96345",- "edge-2023-01-02-fd57652cce9dd2a12c7ff1dc644f5a969e57ea76",- "edge-2023-01-02-738d270784bca0cfaaef59e6cfb8c307f68a9939",- "edge-2023-01-02-3f6a7a183bbda4dc2e8d7e468370adc6f9e50527",- "edge-2023-01-01-5580a7a4755bf71403c85999fb4dff2078293403",- "edge-2022-12-29-8f422f23930880809a26d1207f9e43315ef54ad2",- "edge-2022-12-28-375fd99195711641246ccd09e3ce394d6928eaef",- "edge-2022-12-25-358c8ce6071f2781ae027bbc3a46d906ce08d9e7",- "edge-2022-12-24-3e1503494ce06ad6ff32f02db1a7d59224e5c860",- "edge-2022-12-21-cac4b09f943fe97700e3a33b7caf23277d2fcc11",- "edge-2022-12-21-3a8dd1bf66a7295f3512346bc1c97d55c5649dcf",- "edge-2022-12-16-e93caa3b014543b716b946f2c7fbf4a8f9be6099"- ]- },- {- "name": "whoogle",- "image": "benbusby/whoogle-search",- "tags": [- "0.8.0",- "0.7.3",- "0.7.1",- "0.6.0",- "0.5.3",- "0.5.1",- "0.4.1",- "0.3.2",- "v0.3.0",- "0.1.2",- "0.1.0"- ]- },- {- "name": "wordpress-only",- "image": "library/wordpress",- "tags": [- "php8.2-fpm-alpine",- "php8.2-fpm",- "php8.2-apache",- "php8.2",- "php8.1-fpm-alpine",- "php8.1-fpm",- "php8.1-apache",- "php8.1",- "php8.0-fpm-alpine",- "php8.0-fpm",- "php8.0-apache",- "php8.0",- "php7.4-fpm-alpine",- "php7.4-fpm",- "php7.4-apache",- "php7.4",- "php7.3-fpm-alpine",- "php7.3-fpm",- "php7.3-apache",- "php7.3",- "php7.2-fpm-alpine",- "php7.2-fpm",- "php7.2-apache",- "php7.2",- "php7.1-fpm-alpine",- "php7.1-fpm",- "php7.1-apache",- "php7.1",- "php7.0-fpm-alpine",- "php7.0-fpm"- ]- },- {- "name": "wordpress",- "image": "library/wordpress",- "tags": [- "php8.2-fpm-alpine",- "php8.2-fpm",- "php8.2-apache",- "php8.2",- "php8.1-fpm-alpine",- "php8.1-fpm",- "php8.1-apache",- "php8.1",- "php8.0-fpm-alpine",- "php8.0-fpm",- "php8.0-apache",- "php8.0",- "php7.4-fpm-alpine",- "php7.4-fpm",- "php7.4-apache",- "php7.4",- "php7.3-fpm-alpine",- "php7.3-fpm",- "php7.3-apache",- "php7.3",- "php7.2-fpm-alpine",- "php7.2-fpm",- "php7.2-apache",- "php7.2",- "php7.1-fpm-alpine",- "php7.1-fpm",- "php7.1-apache",- "php7.1",- "php7.0-fpm-alpine",- "php7.0-fpm"- ]- }-]diff --git a/apps/api/templates.json b/apps/api/templates.jsondeleted file mode 100644index 5c1b4188b6..0000000000--- a/apps/api/templates.json+++ /dev/null@@ -1 +0,0 @@-[{"templateVersion":"1.0.0","defaultVersion":"9.22","documentation":"https://docs.directus.io/getting-started/introduction.html","type":"directus-postgresql","name":"Directus","subname":"(PostgreSQL)","description":"Directus is a free and open-source headless CMS framework for managing custom SQL-based databases.","labels":["CMS","headless"],"services":{"$$id":{"name":"Directus","depends_on":["$$id-postgresql","$$id-redis"],"image":"directus/directus:$$core_version","volumes":["$$id-uploads:/directus/uploads","$$id-database:/directus/database","$$id-extensions:/directus/extensions"],"environment":["KEY=$$secret_key","SECRET=$$secret_secret","DB_CLIENT=pg","DB_CONNECTION_STRING=$$secret_db_connection_string","CACHE_ENABLED=true","CACHE_STORE=redis","CACHE_REDIS=$$secret_cache_redis","ADMIN_EMAIL=$$config_admin_email","ADMIN_PASSWORD=$$secret_admin_password","CACHE_AUTO_PURGE=true","PUBLIC_URL=$$config_public_url"],"ports":["8055"]},"$$id-postgresql":{"name":"Directus PostgreSQL","depends_on":[],"image":"postgres:14-alpine","volumes":["$$id-postgresql-data:/var/lib/postgresql/data"],"environment":["POSTGRES_USER=$$config_postgres_user","POSTGRES_PASSWORD=$$secret_postgres_password","POSTGRES_DB=$$config_postgres_db"],"ports":[]},"$$id-redis":{"name":"Directus Redis","depends_on":[],"image":"redis:7.0.4-alpine","command":"--maxmemory 512mb --maxmemory-policy allkeys-lru --maxmemory-samples 5","volumes":["$$id-redis:/data"],"environment":[]}},"variables":[{"id":"$$config_public_url","name":"PUBLIC_URL","label":"Public URL","defaultValue":"$$generate_fqdn","description":""},{"id":"$$secret_db_connection_string","name":"DB_CONNECTION_STRING","label":"Directus Database Url","defaultValue":"postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db","description":""},{"id":"$$config_postgres_db","main":"$$id-postgresql","name":"POSTGRES_DB","label":"Database","defaultValue":"directus","description":""},{"id":"$$config_postgres_user","main":"$$id-postgresql","name":"POSTGRES_USER","label":"User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_postgres_password","main":"$$id-postgresql","name":"POSTGRES_PASSWORD","label":"Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true},{"id":"$$secret_cache_redis","name":"CACHE_REDIS","label":"Redis Url","defaultValue":"redis://$$id-redis:6379","description":""},{"id":"$$config_admin_email","name":"ADMIN_EMAIL","label":"Initial Admin Email","defaultValue":"[email protected]","description":"The email address of the first user that is automatically created. You can change it later in Directus."},{"id":"$$secret_admin_password","name":"ADMIN_PASSWORD","label":"Initial Admin Password","defaultValue":"$$generate_password","description":"The password of the first user that is automatically created.","showOnConfiguration":true},{"id":"$$secret_key","name":"KEY","label":"Key","defaultValue":"$$generate_password","description":"Unique identifier for the project.","showOnConfiguration":true},{"id":"$$secret_secret","name":"SECRET","label":"Secret","defaultValue":"$$generate_password","description":"Secret string for the project.","showOnConfiguration":true}]},{"templateVersion":"1.0.0","defaultVersion":"v1.3.8","documentation":"https://github.com/LibreTranslate/LibreTranslate","description":"Free and Open Source Machine Translation API. 100% self-hosted, offline capable and easy to setup.","type":"libretranslate","name":"Libretranslate","labels":["translator","argos","python","libretranslate"],"services":{"$$id":{"name":"Libretranslate","image":"libretranslate/libretranslate:$$core_version","environment":["LT_HOST=0.0.0.0","LT_SUGGESTIONS=true","LT_CHAR_LIMIT=$$config_lt_char_limit","LT_REQ_LIMIT=$$config_lt_req_limit","LT_BATCH_LIMIT=$$config_lt_batch_limit","LT_GA_ID=$$config_lt_ga_id","LT_DISABLE_WEB_UI=$$config_lt_web_ui"],"volumes":["$$id-libretranslate:/libretranslate"],"ports":["5000"]}},"variables":[{"id":"$$config_lt_char_limit","name":"LT_CHAR_LIMIT","label":"Char limit","defaultValue":"5000","description":"Set character limit."},{"id":"$$config_lt_req_limit","name":"LT_REQ_LIMIT","label":"Request limit","defaultValue":"5000","description":"Set maximum number of requests per minute per client."},{"id":"$$config_lt_batch_limit","name":"LT_BATCH_LIMIT","label":"Batch Limit","defaultValue":"5000","description":"Set maximum number of texts to translate in a batch request."},{"id":"$$config_lt_ga_id","name":"LT_GA_ID","label":"Google Analytics ID","defaultValue":"","description":"Enable Google Analytics on the API client page by providing an ID"},{"id":"$$config_lt_web_ui","name":"LT_DISABLE_WEB_UI","label":"Web UI","defaultValue":"false","description":"Disable or enable web ui. True or false."}]},{"templateVersion":"1.0.0","defaultVersion":"0.8.0","documentation":"https://github.com/benbusby/whoogle-search","type":"whoogle","name":"Whoogle Search","description":"A self-hosted, ad-free, privacy-respecting metasearch engine","labels":["search","google"],"services":{"$$id":{"name":"Whoogle Search","documentation":"https://github.com/benbusby/whoogle-search","depends_on":[],"image":"benbusby/whoogle-search:$$core_version","cap_drop":["ALL"],"environment":["WHOOGLE_USER=$$config_whoogle_username","WHOOGLE_PASS=$$secret_whoogle_password","WHOOGLE_CONFIG_PREFERENCES_KEY=$$secret_whoogle_preferences_key"],"ulimits":{"nofile":{"soft":262144,"hard":262144}},"ports":["5000"]}},"variables":[{"id":"$$config_whoogle_username","name":"WHOOGLE_USER","label":"Whoogle User","defaultValue":"$$generate_username","description":"Username to log into Whoogle"},{"id":"$$secret_whoogle_password","name":"WHOOGLE_PASSWORD","label":"Whoogle Password","defaultValue":"$$generate_password","description":"Password to log into Whoogle","showOnConfiguration":true},{"id":"$$secret_whoogle_preferences_key","name":"WHOOGLE_CONFIG_PREFERENCES_KEY","label":"Whoogle preferences key","defaultValue":"$$generate_password","description":"password to encrypt preferences"}]},{"templateVersion":"1.0.0","defaultVersion":"1.1.5","documentation":"https://docs.openblocks.dev/","type":"openblocks","name":"Openblocks","description":"The Open Source Retool Alternative","services":{"$$id":{"image":"openblocksdev/openblocks-ce:$$core_version","volumes":["$$id-stacks-data:/openblocks-stacks"],"ports":["3000"]}}},{"templateVersion":"1.0.0","defaultVersion":"0.12.3","documentation":"https://pocketbase.io/docs/","type":"pocketbase","name":"Pocketbase","description":"Open Source realtime backend in 1 file","services":{"$$id":{"image":"coollabsio/pocketbase:$$core_version","volumes":["$$id-data:/app/pb_data"],"ports":["8080"]}}},{"templateVersion":"1.0.0","defaultVersion":"v1.5.1","documentation":"https://plausible.io/doc/","type":"plausibleanalytics-arm","name":"Plausible Analytics (ARM)","description":"A lightweight and open-source website analytics tool.","labels":["analytics","statistics","plausible","gdpr","no-cookie","google analytics"],"services":{"$$id":{"name":"Plausible Analytics","command":"sh -c \"sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin && /entrypoint.sh run\"","depends_on":["$$id-postgresql","$$id-clickhouse"],"image":"plausible/analytics:$$core_version","environment":["ADMIN_USER_EMAIL=$$config_admin_user_email","ADMIN_USER_NAME=$$config_admin_user_name","ADMIN_USER_PWD=$$secret_admin_user_pwd","BASE_URL=$$config_base_url","SECRET_KEY_BASE=$$secret_secret_key_base","DISABLE_AUTH=$$config_disable_auth","DISABLE_REGISTRATION=$$config_disable_registration","DATABASE_URL=$$secret_database_url","CLICKHOUSE_DATABASE_URL=$$secret_clickhouse_database_url"],"ports":["8000"]},"$$id-postgresql":{"name":"PostgreSQL","image":"postgres:14-alpine","volumes":["$$id-postgresql-data:/var/lib/postgresql/data"],"environment":["POSTGRES_PASSWORD=$$secret_postgres_password","POSTGRES_USER=$$config_postgres_user","POSTGRES_DB=$$config_postgres_db"]},"$$id-clickhouse":{"name":"Clickhouse","volumes":["$$id-clickhouse-data:/var/lib/clickhouse"],"image":"clickhouse/clickhouse-server:22.6-alpine","ulimits":{"nofile":{"soft":262144,"hard":262144}},"files":[{"location":"/etc/clickhouse-server/users.d/logging.xml","content":"<yandex><logger><level>warning</level><console>true</console></logger><query_thread_log remove=\"remove\"/><query_log remove=\"remove\"/><text_log remove=\"remove\"/><trace_log remove=\"remove\"/><metric_log remove=\"remove\"/><asynchronous_metric_log remove=\"remove\"/><session_log remove=\"remove\"/><part_log remove=\"remove\"/></yandex>"},{"location":"/etc/clickhouse-server/config.d/logging.xml","content":"<yandex><profiles><default><log_queries>0</log_queries><log_query_threads>0</log_query_threads></default></profiles></yandex>"},{"location":"/docker-entrypoint-initdb.d/init.query","content":"CREATE DATABASE IF NOT EXISTS plausible;"},{"location":"/docker-entrypoint-initdb.d/init-db.sh","content":"clickhouse client --queries-file /docker-entrypoint-initdb.d/init.query"}]}},"variables":[{"id":"$$config_base_url","name":"BASE_URL","label":"Base URL","defaultValue":"$$generate_fqdn","description":"You must set this to the FQDN of the Plausible Analytics instance. This is used to generate the links to the Plausible Analytics instance."},{"id":"$$secret_database_url","name":"DATABASE_URL","label":"Database URL for PostgreSQL","defaultValue":"postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db","description":""},{"id":"$$secret_clickhouse_database_url","name":"CLICKHOUSE_DATABASE_URL","label":"Database URL for Clickhouse","defaultValue":"http://$$id-clickhouse:8123/plausible","description":""},{"id":"$$config_admin_user_email","name":"ADMIN_USER_EMAIL","label":"Admin Email Address","defaultValue":"[email protected]","description":"This is the admin email. Please change it."},{"id":"$$config_admin_user_name","name":"ADMIN_USER_NAME","label":"Admin User Name","defaultValue":"$$generate_username","description":"This is the admin username. Please change it."},{"id":"$$secret_admin_user_pwd","name":"ADMIN_USER_PWD","label":"Admin User Password","defaultValue":"$$generate_password","description":"This is the admin password. Please change it.","showOnConfiguration":true},{"id":"$$secret_secret_key_base","name":"SECRET_KEY_BASE","label":"Secret Key Base","defaultValue":"$$generate_hex(64)","description":""},{"id":"$$config_disable_auth","name":"DISABLE_AUTH","label":"Authentication","defaultValue":"false","description":""},{"id":"$$config_disable_registration","name":"DISABLE_REGISTRATION","label":"Registration","defaultValue":"true","description":""},{"id":"$$config_postgres_user","main":"$$id-postgresql","name":"POSTGRES_USER","label":"PostgreSQL Username","defaultValue":"postgresql","description":""},{"id":"$$secret_postgres_password","main":"$$id-postgresql","name":"POSTGRES_PASSWORD","label":"PostgreSQL Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true},{"id":"$$config_postgres_db","main":"$$id-postgresql","name":"POSTGRES_DB","label":"PostgreSQL Database","defaultValue":"plausible","description":""},{"id":"$$config_scriptName","name":"SCRIPT_NAME","label":"Custom Script Name","defaultValue":"plausible.js","description":"This is the default script name."}]},{"templateVersion":"1.0.0","defaultVersion":"1.18","documentation":"https://docs.gitea.io","type":"gitea","name":"Gitea","description":"Gitea is a community managed lightweight code hosting solution written in Go.","labels":["storage","git"],"services":{"$$id":{"name":"Gitea","documentation":"https://docs.gitea.io","image":"gitea/gitea:$$core_version","volumes":["$$id-data:/data","/etc/timezone:/etc/timezone:ro","/etc/localtime:/etc/localtime:ro"],"environment":["USER_UID=1000","USER_GID=1000","DOMAIN=$$config_domain","SSH_DOMAIN=$$config_ssh_domain","ROOT_URL=$$config_root_url","SECRET_KEY=$$secret_secret_key","INTERNAL_TOKEN=$$secret_internal_token","SSH_PORT=22","START_SSH_SERVER=$$config_start_ssh_server"],"ports":["3000","22"],"proxy":[{"port":"22","hostPort":"$$config_hostport_ssh"}]}},"variables":[{"id":"$$config_hostport_ssh","name":"SSH_PORT","label":"SSH Port","defaultValue":"8022","description":"","required":true},{"id":"$$config_domain","name":"DOMAIN","label":"Domain","defaultValue":"$$generate_domain","description":""},{"id":"$$config_ssh_domain","name":"SSH_DOMAIN","label":"SSH Domain","defaultValue":"$$generate_domain","description":""},{"id":"$$config_start_ssh_server","name":"START_SSH_SERVER","label":"Start SSH Server","defaultValue":"true","description":""},{"id":"$$config_root_url","name":"ROOT_URL","label":"Root URL of Gitea","defaultValue":"$$generate_fqdn_slash","description":""},{"id":"$$secret_secret_key","name":"SECRET_KEY","label":"Secret Key","defaultValue":"$$generate_hex(32)","description":""},{"id":"$$secret_internal_token","name":"INTERNAL_TOKEN","label":"Internal JWT Token","defaultValue":"$$generate_token","description":""}]},{"templateVersion":"1.0.0","defaultVersion":"20.0","documentation":"https://www.keycloak.org/documentation","type":"keycloak","name":"Keycloak","description":"Keycloak provides user federation, strong authentication, user management, fine-grained authorization, and more.","labels":["authentication","authorization","oidconnect","saml2"],"services":{"$$id":{"name":"Keycloak","command":"start --db=postgres --features=token-exchange --import-realm","depends_on":["$$id-postgresql"],"image":"quay.io/keycloak/keycloak:$$core_version","volumes":["$$id-import:/opt/keycloak/data/import"],"environment":["KC_HEALTH_ENABLED=true","KC_PROXY=edge","KC_DB=postgres","KC_HOSTNAME=$$config_keycloak_domain","KEYCLOAK_ADMIN=$$config_admin_user","KEYCLOAK_ADMIN_PASSWORD=$$secret_keycloak_admin_password","KC_DB_PASSWORD=$$secret_postgres_password","KC_DB_USERNAME=$$config_postgres_user","KC_DB_URL=$$secret_keycloak_database_url"],"ports":["8080"]},"$$id-postgresql":{"name":"PostgreSQL","depends_on":[],"image":"postgres:14-alpine","volumes":["$$id-postgresql-data:/var/lib/postgresql/data"],"environment":["POSTGRES_USER=$$config_postgres_user","POSTGRES_PASSWORD=$$secret_postgres_password","POSTGRES_DB=$$config_postgres_db"],"ports":[]}},"variables":[{"id":"$$config_keycloak_domain","name":"KEYCLOAK_DOMAIN","label":"Keycloak Domain","defaultValue":"$$generate_domain","description":""},{"id":"$$secret_keycloak_database_url","name":"KEYCLOAK_DATABASE_URL","label":"Keycloak Database Url","defaultValue":"jdbc:postgresql://$$id-postgresql:5432/$$config_postgres_db","description":""},{"id":"$$config_admin_user","name":"KEYCLOAK_ADMIN","label":"Keycloak Admin User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_keycloak_admin_password","name":"KEYCLOAK_ADMIN_PASSWORD","label":"Keycloak Admin Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true},{"id":"$$config_postgres_user","main":"$$id-postgresql","name":"POSTGRES_USER","label":"PostgreSQL User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_postgres_password","main":"$$id-postgresql","name":"POSTGRES_PASSWORD","label":"PostgreSQL Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true},{"id":"$$config_postgres_db","main":"$$id-postgresql","name":"POSTGRES_DB","label":"PostgreSQL Database","defaultValue":"keycloak","description":""}]},{"templateVersion":"1.0.0","defaultVersion":"v3.7","documentation":"https://github.com/freyacodes/Lavalink","description":"Standalone audio sending node based on Lavaplayer.","type":"lavalink","name":"Lavalink","labels":["discord","discord bot","audio","lavalink","jda"],"services":{"$$id":{"name":"Lavalink","image":"fredboat/lavalink:$$core_version","environment":[],"volumes":["$$id-lavalink:/lavalink"],"ports":["$$config_port"],"files":[{"location":"/opt/Lavalink/application.yml","content":"server:\n port: 2333\n address: 0.0.0.0\nlavalink:\n server:\n password: \"$$secret_password\"\n sources:\n youtube: true\n bandcamp: true\n soundcloud: true\n twitch: true\n vimeo: true\n http: true\n local: false\n\nlogging:\n file:\n path: ./logs/\n\n level:\n root: INFO\n lavalink: INFO\n\n logback:\n rollingpolicy:\n max-file-size: 1GB\n max-history: 30"}]}},"variables":[{"id":"$$secret_password","name":"PASSWORD","label":"Password","defaultValue":"$$generate_password","required":true}]},{"templateVersion":"1.0.0","defaultVersion":"v1.9.6","documentation":"https://docs.appsmith.com/getting-started/setup/instance-configuration/","type":"appsmith","name":"Appsmith","description":"Fastest way to build internal apps over any database or API.","services":{"$$id":{"image":"appsmith/appsmith-ce:$$core_version","environment":["APPSMITH_MAIL_ENABLED=$$config_appsmith_mail_enabled","APPSMITH_DISABLE_TELEMETRY=$$config_appsmith_disable_telemetry","APPSMITH_DISABLE_INTERCOM=$$config_appsmith_disable_intercom"],"volumes":["$$id-stacks-data:/appsmith-stacks"],"ports":["80"]}},"variables":[{"id":"$$config_appsmith_mail_enabled","name":"APPSMITH_MAIL_ENABLED","label":"Enable Mail","defaultValue":"false","description":""},{"id":"$$config_appsmith_disable_telemetry","name":"APPSMITH_DISABLE_TELEMETRY","label":"Disable Telemetry","defaultValue":"true","description":""},{"id":"$$config_appsmith_disable_intercom","name":"APPSMITH_DISABLE_INTERCOM","label":"Disable Intercom","defaultValue":"true","description":""}]},{"templateVersion":"1.0.0","defaultVersion":"0.58.4","documentation":"https://hub.docker.com/r/zadam/trilium","description":"A hierarchical note taking application with focus on building large personal knowledge bases.","labels":["personal","knowledge","notes","wiki"],"type":"trilium","name":"Trilium Notes","services":{"$$id":{"image":"zadam/trilium:$$core_version","environment":[],"volumes":["$$id-trilium:/home/node/trilium-data"],"ports":["8080"]}},"variables":[]},{"templateVersion":"1.0.0","defaultVersion":"1.19.4","documentation":"https://hub.docker.com/r/louislam/uptime-kuma","description":"A free & fancy self-hosted monitoring tool.","labels":["uptime"],"type":"uptimekuma","name":"UptimeKuma","services":{"$$id":{"image":"louislam/uptime-kuma:$$core_version","environment":[],"volumes":["$$id-uptimekuma:/app/data"],"ports":["3001"]}},"variables":[]},{"templateVersion":"1.0.0","defaultVersion":"6.0","documentation":"https://hub.docker.com/r/silviof/docker-languagetool","description":"A multilingual grammar, style and spell checker.","type":"languagetool","name":"LanguageTool","services":{"$$id":{"image":"silviof/docker-languagetool:$$core_version","environment":[],"volumes":["$$id-ngrams:/ngrams"],"ports":["8010"]}},"variables":[]},{"templateVersion":"1.0.0","defaultVersion":"1.27.0","documentation":"https://hub.docker.com/r/vaultwarden/server","description":"Bitwarden compatible server written in Rust.","type":"vaultwarden","name":"VaultWarden","labels":["bitwarden","password manager"],"services":{"$$id":{"image":"vaultwarden/server:$$core_version","environment":[],"volumes":["$$id-data:/data"],"ports":["80"]}},"variables":[]},{"templateVersion":"1.0.0","defaultVersion":"9.3.2","documentation":"https://hub.docker.com/r/grafana/grafana","type":"grafana","name":"Grafana","description":"Grafana allows you to query, visualize, alert on and understand your metrics.","labels":["monitoring","metrics","dashboard"],"services":{"$$id":{"image":"grafana/grafana:$$core_version","environment":[],"volumes":["$$id-config:/etc/grafana","$$id-grafana:/var/lib/grafana"],"ports":["3000"]}},"variables":[]},{"templateVersion":"1.0.0","defaultVersion":"1.2.0","documentation":"https://appwrite.io/docs","type":"appwrite","name":"Appwrite","description":"Secure Backend Server for Web, Mobile & Flutter Developers.","labels":["serverless","backend","storage","api"],"services":{"$$id":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_WORKER_PER_CORE=$$config__app_worker_per_core","_APP_LOCALE=$$config__app_locale","_APP_CONSOLE_WHITELIST_ROOT=$$config__app_console_whitelist_root","_APP_CONSOLE_WHITELIST_EMAILS=$$config__app_console_whitelist_emails","_APP_CONSOLE_WHITELIST_IPS=$$config__app_console_whitelist_ips","_APP_SYSTEM_EMAIL_NAME=$$config__app_system_email_name","_APP_SYSTEM_EMAIL_ADDRESS=$$config__app_system_email_address","_APP_SYSTEM_SECURITY_EMAIL_ADDRESS=$$config__app_system_security_email_address","_APP_SYSTEM_RESPONSE_FORMAT=$$config__app_system_response_format","_APP_OPTIONS_ABUSE=$$config__app_options_abuse","_APP_OPTIONS_FORCE_HTTPS=$$config__app_options_force_https","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_DOMAIN=$$config__app_domain","_APP_DOMAIN_TARGET=$$config__app_domain_target","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_DB_HOST=$$config__app_db_host","_APP_DB_PORT=$$config__app_db_port","_APP_DB_SCHEMA=$$config__app_db_schema","_APP_DB_USER=$$config__app_db_user","_APP_DB_PASS=$$secret__app_db_pass","_APP_SMTP_HOST=$$config__app_smtp_host","_APP_SMTP_PORT=$$config__app_smtp_port","_APP_SMTP_SECURE=$$config__app_smtp_secure","_APP_SMTP_USERNAME=$$config__app_smtp_username","_APP_SMTP_PASSWORD=$$secret__app_smtp_password","_APP_USAGE_STATS=$$config__app_usage_stats","_APP_INFLUXDB_HOST=$$config__app_influxdb_host","_APP_INFLUXDB_PORT=$$config__app_influxdb_port","_APP_STORAGE_LIMIT=$$config__app_storage_limit","_APP_STORAGE_PREVIEW_LIMIT=$$config__app_storage_preview_limit","_APP_STORAGE_ANTIVIRUS=$$config__app_storage_antivirus_enabled","_APP_STORAGE_ANTIVIRUS_HOST=$$config__app_storage_antivirus_host","_APP_STORAGE_ANTIVIRUS_PORT=$$config__app_storage_antivirus_port","_APP_STORAGE_DEVICE=$$config__app_storage_device","_APP_STORAGE_S3_ACCESS_KEY=$$secret__app_storage_s3_access_key","_APP_STORAGE_S3_SECRET=$$secret__app_storage_s3_secret","_APP_STORAGE_S3_REGION=$$config__app_storage_s3_region","_APP_STORAGE_S3_BUCKET=$$config__app_storage_s3_bucket","_APP_STORAGE_DO_SPACES_ACCESS_KEY=$$secret__app_storage_do_spaces_access_key","_APP_STORAGE_DO_SPACES_SECRET=$$secret__app_storage_do_spaces_secret","_APP_STORAGE_DO_SPACES_REGION=$$config__app_storage_do_spaces_region","_APP_STORAGE_DO_SPACES_BUCKET=$$config__app_storage_do_spaces_bucket","_APP_STORAGE_BACKBLAZE_ACCESS_KEY=$$secret__app_storage_backblaze_access_key","_APP_STORAGE_BACKBLAZE_SECRET=$$secret__app_storage_backblaze_secret","_APP_STORAGE_BACKBLAZE_REGION=$$config__app_storage_backblaze_region","_APP_STORAGE_BACKBLAZE_BUCKET=$$config__app_storage_backblaze_bucket","_APP_STORAGE_LINODE_ACCESS_KEY=$$secret__app_storage_linode_access_key","_APP_STORAGE_LINODE_SECRET=$$secret__app_storage_linode_secret","_APP_STORAGE_LINODE_REGION=$$config__app_storage_linode_region","_APP_STORAGE_LINODE_BUCKET=$$config__app_storage_linode_bucket","_APP_STORAGE_WASABI_ACCESS_KEY=$$secret__app_storage_wasabi_access_key","_APP_STORAGE_WASABI_SECRET=$$secret__app_storage_wasabi_secret","_APP_STORAGE_WASABI_REGION=$$config__app_storage_wasabi_region","_APP_STORAGE_WASABI_BUCKET=$$config__app_storage_wasabi_bucket","_APP_FUNCTIONS_SIZE_LIMIT=$$config__app_functions_size_limit","_APP_FUNCTIONS_TIMEOUT=$$config__app_functions_timeout","_APP_FUNCTIONS_BUILD_TIMEOUT=$$config__app_functions_build_timeout","_APP_FUNCTIONS_CONTAINERS=$$config__app_functions_containers","_APP_FUNCTIONS_CPUS=$$config__app_functions_cpus","_APP_FUNCTIONS_MEMORY=$$config__app_functions_memory_allocated","_APP_FUNCTIONS_MEMORY_SWAP=$$config__app_functions_memory_swap","_APP_FUNCTIONS_RUNTIMES=$$config__app_functions_runtimes","_APP_EXECUTOR_SECRET=$$secret__app_executor_secret","_APP_EXECUTOR_HOST=$$config__app_executor_host","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","_APP_STATSD_HOST=$$config__app_statsd_host","_APP_STATSD_PORT=$$config__app_statsd_port","_APP_MAINTENANCE_INTERVAL=$$config__app_maintenance_interval","_APP_MAINTENANCE_RETENTION_EXECUTION=$$config__app_maintenance_retention_execution","_APP_MAINTENANCE_RETENTION_CACHE=$$config__app_maintenance_retention_cache","_APP_MAINTENANCE_RETENTION_ABUSE=$$config__app_maintenance_retention_abuse","_APP_MAINTENANCE_RETENTION_AUDIT=$$config__app_maintenance_retention_audit","_APP_SMS_PROVIDER=$$config__app_sms_provider","_APP_SMS_FROM=$$config__app_sms_from","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":["$$id-uploads:/storage/uploads","$$id-cache:/storage/cache","$$id-config:/storage/config","$$id-certificates:/storage/certificates","$$id-functions:/storage/functions"],"ports":["80"],"proxy":[{"port":"80"}]},"$$id-executor":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_FUNCTIONS_TIMEOUT=$$config__app_functions_timeout","_APP_FUNCTIONS_BUILD_TIMEOUT=$$config__app_functions_build_timeout","_APP_FUNCTIONS_CONTAINERS=$$config__app_functions_containers","_APP_FUNCTIONS_RUNTIMES=$$config__app_functions_runtimes","_APP_FUNCTIONS_CPUS=$$config__app_functions_cpus","_APP_FUNCTIONS_MEMORY=$$config__app_functions_memory_allocated","_APP_FUNCTIONS_MEMORY_SWAP=$$config__app_functions_memory_swap","_APP_FUNCTIONS_INACTIVE_THRESHOLD=$$config__app_functions_inactive_threshold","_APP_EXECUTOR_SECRET=$$secret__app_executor_secret","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","_APP_STORAGE_DEVICE=$$config__app_storage_device","_APP_STORAGE_S3_ACCESS_KEY=$$secret__app_storage_s3_access_key","_APP_STORAGE_S3_SECRET=$$secret__app_storage_s3_secret","_APP_STORAGE_S3_REGION=$$config__app_storage_s3_region","_APP_STORAGE_S3_BUCKET=$$config__app_storage_s3_bucket","_APP_STORAGE_DO_SPACES_ACCESS_KEY=$$secret__app_storage_do_spaces_access_key","_APP_STORAGE_DO_SPACES_SECRET=$$secret__app_storage_do_spaces_secret","_APP_STORAGE_DO_SPACES_REGION=$$config__app_storage_do_spaces_region","_APP_STORAGE_DO_SPACES_BUCKET=$$config__app_storage_do_spaces_bucket","_APP_STORAGE_BACKBLAZE_ACCESS_KEY=$$secret__app_storage_backblaze_access_key","_APP_STORAGE_BACKBLAZE_SECRET=$$secret__app_storage_backblaze_secret","_APP_STORAGE_BACKBLAZE_REGION=$$config__app_storage_backblaze_region","_APP_STORAGE_BACKBLAZE_BUCKET=$$config__app_storage_backblaze_bucket","_APP_STORAGE_LINODE_ACCESS_KEY=$$secret__app_storage_linode_access_key","_APP_STORAGE_LINODE_SECRET=$$secret__app_storage_linode_secret","_APP_STORAGE_LINODE_REGION=$$config__app_storage_linode_region","_APP_STORAGE_LINODE_BUCKET=$$config__app_storage_linode_bucket","_APP_STORAGE_WASABI_ACCESS_KEY=$$secret__app_storage_wasabi_access_key","_APP_STORAGE_WASABI_SECRET=$$secret__app_storage_wasabi_secret","_APP_STORAGE_WASABI_REGION=$$config__app_storage_wasabi_region","_APP_STORAGE_WASABI_BUCKET=$$config__app_storage_wasabi_bucket","DOCKERHUB_PULL_USERNAME=$$config_dockerhub_pull_username","DOCKERHUB_PULL_PASSWORD=$$secret_dockerhub_pull_password","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":["$$id-functions:/storage/functions","$$id-builds:/storage/builds","/var/run/docker.sock:/var/run/docker.sock","/tmp:/tmp:rw"],"entrypoint":"executor"},"$$id-influxdb":{"image":"appwrite/influxdb:1.5.0","environment":[],"volumes":["$$id-influxdb:/var/lib/influxdb"]},"$$id-maintenance":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_DOMAIN=$$config__app_domain","_APP_DOMAIN_TARGET=$$config__app_domain_target","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_DB_HOST=$$config__app_db_host","_APP_DB_PORT=$$config__app_db_port","_APP_DB_SCHEMA=$$config__app_db_schema","_APP_DB_USER=$$config__app_db_user","_APP_DB_PASS=$$secret__app_db_pass","_APP_MAINTENANCE_INTERVAL=$$config__app_maintenance_interval","_APP_MAINTENANCE_RETENTION_EXECUTION=$$config__app_maintenance_retention_execution","_APP_MAINTENANCE_RETENTION_CACHE=$$config__app_maintenance_retention_cache","_APP_MAINTENANCE_RETENTION_ABUSE=$$config__app_maintenance_retention_abuse","_APP_MAINTENANCE_RETENTION_AUDIT=$$config__app_maintenance_retention_audit","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":[],"entrypoint":"maintenance"},"$$id-mariadb":{"image":"mariadb:10.7","command":"--innodb-flush-method fsync","environment":["MARIADB_ROOT_PASSWORD=$$secret__app_db_root_pass","MARIADB_DATABASE=$$config__app_db_schema","MARIADB_USER=$$config__app_db_user","MARIADB_PASSWORD=$$secret__app_db_pass","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":["$$id-mariadb:/var/lib/mysql"]},"$$id-realtime":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_WORKER_PER_CORE=$$config__app_worker_per_core","_APP_OPTIONS_ABUSE=$$config__app_options_abuse","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_DB_HOST=$$config__app_db_host","_APP_DB_PORT=$$config__app_db_port","_APP_DB_SCHEMA=$$config__app_db_schema","_APP_DB_USER=$$config__app_db_user","_APP_DB_PASS=$$secret__app_db_pass","_APP_USAGE_STATS=$$config__app_usage_stats","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":[],"entrypoint":"realtime","proxy":[{"port":"80","pathPrefix":"/v1/realtime"}]},"$$id-redis":{"image":"redis:7.0.4-alpine","command":"--maxmemory 512mb --maxmemory-policy allkeys-lru --maxmemory-samples 5","environment":[],"volumes":["$$id-redis:/data"]},"$$id-schedule":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":[],"entrypoint":"schedule"},"$$id-telegraf":{"image":"appwrite/telegraf:1.4.0","environment":["_APP_INFLUXDB_HOST=$$config__app_influxdb_host","_APP_INFLUXDB_PORT=$$config__app_influxdb_port","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":["$$id-influxdb:/var/lib/influxdb"]},"$$id-usage-database":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_DB_HOST=$$config__app_db_host","_APP_DB_PORT=$$config__app_db_port","_APP_DB_SCHEMA=$$config__app_db_schema","_APP_DB_USER=$$config__app_db_user","_APP_DB_PASS=$$secret__app_db_pass","_APP_INFLUXDB_HOST=$$config__app_influxdb_host","_APP_INFLUXDB_PORT=$$config__app_influxdb_port","_APP_USAGE_TIMESERIES_INTERVAL=$$config__app_usage_timeseries_interval","_APP_USAGE_DATABASE_INTERVAL=$$config__app_usage_database_interval","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":[],"entrypoint":"usage --type database"},"$$id-usage":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_DB_HOST=$$config__app_db_host","_APP_DB_PORT=$$config__app_db_port","_APP_DB_SCHEMA=$$config__app_db_schema","_APP_DB_USER=$$config__app_db_user","_APP_DB_PASS=$$secret__app_db_pass","_APP_INFLUXDB_HOST=$$config__app_influxdb_host","_APP_INFLUXDB_PORT=$$config__app_influxdb_port","_APP_USAGE_TIMESERIES_INTERVAL=$$config__app_usage_timeseries_interval","_APP_USAGE_DATABASE_INTERVAL=$$config__app_usage_database_interval","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":[],"entrypoint":"usage --type timeseries"},"$$id-worker-audits":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_DB_HOST=$$config__app_db_host","_APP_DB_PORT=$$config__app_db_port","_APP_DB_SCHEMA=$$config__app_db_schema","_APP_DB_USER=$$config__app_db_user","_APP_DB_PASS=$$secret__app_db_pass","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":[],"entrypoint":"worker-audits"},"$$id-worker-builds":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_EXECUTOR_SECRET=$$secret__app_executor_secret","_APP_EXECUTOR_HOST=$$config__app_executor_host","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_DB_HOST=$$config__app_db_host","_APP_DB_PORT=$$config__app_db_port","_APP_DB_SCHEMA=$$config__app_db_schema","_APP_DB_USER=$$config__app_db_user","_APP_DB_PASS=$$secret__app_db_pass","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":[],"entrypoint":"worker-builds"},"$$id-worker-certificates":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_DOMAIN=$$config__app_domain","_APP_DOMAIN_TARGET=$$config__app_domain_target","_APP_SYSTEM_SECURITY_EMAIL_ADDRESS=$$config__app_system_security_email_address","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_DB_HOST=$$config__app_db_host","_APP_DB_PORT=$$config__app_db_port","_APP_DB_SCHEMA=$$config__app_db_schema","_APP_DB_USER=$$config__app_db_user","_APP_DB_PASS=$$secret__app_db_pass","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":["$$id-config:/storage/config","$$id-certificates:/storage/certificates"],"entrypoint":"worker-certificates"},"$$id-worker-databases":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_DB_HOST=$$config__app_db_host","_APP_DB_PORT=$$config__app_db_port","_APP_DB_SCHEMA=$$config__app_db_schema","_APP_DB_USER=$$config__app_db_user","_APP_DB_PASS=$$secret__app_db_pass","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":[],"entrypoint":"worker-databases"},"$$id-worker-deletes":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_DB_HOST=$$config__app_db_host","_APP_DB_PORT=$$config__app_db_port","_APP_DB_SCHEMA=$$config__app_db_schema","_APP_DB_USER=$$config__app_db_user","_APP_DB_PASS=$$secret__app_db_pass","_APP_STORAGE_DEVICE=$$config__app_storage_device","_APP_STORAGE_S3_ACCESS_KEY=$$secret__app_storage_s3_access_key","_APP_STORAGE_S3_SECRET=$$secret__app_storage_s3_secret","_APP_STORAGE_S3_REGION=$$config__app_storage_s3_region","_APP_STORAGE_S3_BUCKET=$$config__app_storage_s3_bucket","_APP_STORAGE_DO_SPACES_ACCESS_KEY=$$secret__app_storage_do_spaces_access_key","_APP_STORAGE_DO_SPACES_SECRET=$$secret__app_storage_do_spaces_secret","_APP_STORAGE_DO_SPACES_REGION=$$config__app_storage_do_spaces_region","_APP_STORAGE_DO_SPACES_BUCKET=$$config__app_storage_do_spaces_bucket","_APP_STORAGE_BACKBLAZE_ACCESS_KEY=$$secret__app_storage_backblaze_access_key","_APP_STORAGE_BACKBLAZE_SECRET=$$secret__app_storage_backblaze_secret","_APP_STORAGE_BACKBLAZE_REGION=$$config__app_storage_backblaze_region","_APP_STORAGE_BACKBLAZE_BUCKET=$$config__app_storage_backblaze_bucket","_APP_STORAGE_LINODE_ACCESS_KEY=$$secret__app_storage_linode_access_key","_APP_STORAGE_LINODE_SECRET=$$secret__app_storage_linode_secret","_APP_STORAGE_LINODE_REGION=$$config__app_storage_linode_region","_APP_STORAGE_LINODE_BUCKET=$$config__app_storage_linode_bucket","_APP_STORAGE_WASABI_ACCESS_KEY=$$secret__app_storage_wasabi_access_key","_APP_STORAGE_WASABI_SECRET=$$secret__app_storage_wasabi_secret","_APP_STORAGE_WASABI_REGION=$$config__app_storage_wasabi_region","_APP_STORAGE_WASABI_BUCKET=$$config__app_storage_wasabi_bucket","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","_APP_EXECUTOR_SECRET=$$secret__app_executor_secret","_APP_EXECUTOR_HOST=$$config__app_executor_host","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":["$$id-uploads:/storage/uploads","$$id-cache:/storage/cache","$$id-functions:/storage/functions","$$id-builds:/storage/builds","$$id-certificates:/storage/certificates"],"entrypoint":"worker-deletes"},"$$id-worker-functions":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_DB_HOST=$$config__app_db_host","_APP_DB_PORT=$$config__app_db_port","_APP_DB_SCHEMA=$$config__app_db_schema","_APP_DB_USER=$$config__app_db_user","_APP_DB_PASS=$$secret__app_db_pass","_APP_FUNCTIONS_TIMEOUT=$$config__app_functions_timeout","_APP_EXECUTOR_SECRET=$$secret__app_executor_secret","_APP_EXECUTOR_HOST=$$config__app_executor_host","_APP_USAGE_STATS=$$config__app_usage_stats","DOCKERHUB_PULL_USERNAME=$$config_dockerhub_pull_username","DOCKERHUB_PULL_PASSWORD=$$secret_dockerhub_pull_password","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":[],"entrypoint":"worker-functions"},"$$id-worker-mails":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_SYSTEM_EMAIL_NAME=$$config__app_system_email_name","_APP_SYSTEM_EMAIL_ADDRESS=$$config__app_system_email_address","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_SMTP_HOST=$$config__app_smtp_host","_APP_SMTP_PORT=$$config__app_smtp_port","_APP_SMTP_SECURE=$$config__app_smtp_secure","_APP_SMTP_USERNAME=$$config__app_smtp_username","_APP_SMTP_PASSWORD=$$secret__app_smtp_password","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":[],"entrypoint":"worker-mails"},"$$id-worker-messaging":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_SMS_PROVIDER=$$config__app_sms_provider","_APP_SMS_FROM=$$config__app_sms_from","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":[],"entrypoint":"worker-messaging"},"$$id-worker-webhooks":{"image":"appwrite/appwrite:$$core_version","environment":["_APP_ENV=$$config__app_env","_APP_OPENSSL_KEY_V1=$$secret__app_openssl_key_v1","_APP_SYSTEM_SECURITY_EMAIL_ADDRESS=$$config__app_system_security_email_address","_APP_REDIS_HOST=$$config__app_redis_host","_APP_REDIS_PORT=$$config__app_redis_port","_APP_REDIS_USER=$$config__app_redis_user","_APP_REDIS_PASS=$$secret__app_redis_pass","_APP_LOGGING_PROVIDER=$$config__app_logging_provider","_APP_LOGGING_CONFIG=$$config__app_logging_config","OPEN_RUNTIMES_NETWORK=$$config_open_runtimes_network"],"volumes":[],"entrypoint":"worker-webhooks"}},"variables":[{"id":"$$config__app_influxdb_host","name":"_APP_INFLUXDB_HOST","label":"InfluxDB | _APP_INFLUXDB_HOST","defaultValue":"$$id-influxdb","description":""},{"id":"$$config__app_influxdb_port","name":"_APP_INFLUXDB_PORT","label":"InfluxDB | _APP_INFLUXDB_PORT","defaultValue":"8086","description":"InfluxDB server TCP port."},{"id":"$$config__app_env","name":"_APP_ENV","label":"General | _APP_ENV","defaultValue":"production","description":"Set your server running environment."},{"id":"$$config__app_worker_per_core","name":"_APP_WORKER_PER_CORE","label":"General | _APP_WORKER_PER_CORE","defaultValue":"6","description":"Internal Worker per core for the API, Realtime and Executor containers. Can be configured to optimize performance."},{"id":"$$config__app_locale","name":"_APP_LOCALE","label":"General | _APP_LOCALE","defaultValue":"en","description":"Set your Appwrite's locale. By default, the locale is set to 'en'."},{"id":"$$config__app_console_whitelist_root","name":"_APP_CONSOLE_WHITELIST_ROOT","label":"General | _APP_CONSOLE_WHITELIST_ROOT","defaultValue":"enabled","description":"This option allows you to disable the creation of new users on the Appwrite console. When enabled only 1 user will be able to use the registration form. New users can be added by inviting them to your project. By default this option is enabled."},{"id":"$$config__app_console_whitelist_emails","name":"_APP_CONSOLE_WHITELIST_EMAILS","label":"General | _APP_CONSOLE_WHITELIST_EMAILS","defaultValue":"","description":"This option allows you to limit creation of new users on the Appwrite console. This option is very useful for small teams or sole developers. To enable it, pass a list of allowed email addresses separated by a comma."},{"id":"$$config__app_console_whitelist_ips","name":"_APP_CONSOLE_WHITELIST_IPS","label":"General | _APP_CONSOLE_WHITELIST_IPS","defaultValue":"","description":"This last option allows you to limit creation of users in Appwrite console for users sharing the same set of IP addresses. This option is very useful for team working with a VPN service or a company IP.\\n\\nTo enable/activate this option, pass a list of allowed IP addresses separated by a comma."},{"id":"$$config__app_system_email_name","name":"_APP_SYSTEM_EMAIL_NAME","label":"General | _APP_SYSTEM_EMAIL_NAME","defaultValue":"Appwrite","description":"This is the sender name value that will appear on email messages sent to developers from the Appwrite console. You can use url encoded strings for spaces and special chars."},{"id":"$$config__app_system_email_address","name":"_APP_SYSTEM_EMAIL_ADDRESS","label":"General | _APP_SYSTEM_EMAIL_ADDRESS","defaultValue":"[email protected]","description":"This is the sender email address that will appear on email messages sent to developers from the Appwrite console. You should choose an email address that is allowed to be used from your SMTP server to avoid the server email ending in the users' SPAM folders."},{"id":"$$config__app_system_security_email_address","name":"_APP_SYSTEM_SECURITY_EMAIL_ADDRESS","label":"General | _APP_SYSTEM_SECURITY_EMAIL_ADDRESS","defaultValue":"[email protected]","description":"This is the email address used to issue SSL certificates for custom domains or the user agent in your webhooks payload."},{"id":"$$config__app_system_response_format","name":"_APP_SYSTEM_RESPONSE_FORMAT","label":"General | _APP_SYSTEM_RESPONSE_FORMAT","defaultValue":"","description":"Use this environment variable to set the default Appwrite HTTP response format to support an older version of Appwrite. This option is useful to overcome breaking changes between versions. You can also use the X-Appwrite-Response-Format HTTP request header to overwrite the response for a specific request. This variable accepts any valid Appwrite version. To use the current version format, leave the value of the variable empty."},{"id":"$$config__app_options_abuse","name":"_APP_OPTIONS_ABUSE","label":"General | _APP_OPTIONS_ABUSE","defaultValue":"enabled","description":"Allows you to disable abuse checks and API rate limiting. By default, set to 'enabled'. To cancel the abuse checking, set to 'disabled'. It is not recommended to disable this check-in a production environment."},{"id":"$$config__app_options_force_https","name":"_APP_OPTIONS_FORCE_HTTPS","label":"General | _APP_OPTIONS_FORCE_HTTPS","defaultValue":"disabled","description":"Allows you to force HTTPS connection to your API. This feature redirects any HTTP call to HTTPS and adds the 'Strict-Transport-Security' header to all HTTP responses."},{"id":"$$secret__app_openssl_key_v1","name":"_APP_OPENSSL_KEY_V1","label":"General | _APP_OPENSSL_KEY_V1","defaultValue":"$$generate_hex(256)","description":"This is your server private secret key that is used to encrypt all sensitive data on your server. Appwrite server encrypts all secret data on your server like webhooks, HTTP passwords, user sessions, and storage files. Keep it a secret and have a backup for it."},{"id":"$$config__app_domain","name":"_APP_DOMAIN","label":"General | _APP_DOMAIN","defaultValue":"$$generate_domain","description":"Your Appwrite domain address. When setting a public suffix domain, Appwrite will attempt to issue a valid SSL certificate automatically. When used with a dev domain, Appwrite will assign a self-signed SSL certificate. The default value is 'localhost'."},{"id":"$$config__app_domain_target","name":"_APP_DOMAIN_TARGET","label":"General | _APP_DOMAIN_TARGET","defaultValue":"$$generate_fqdn","description":"A DNS A record hostname to serve as a CNAME target for your Appwrite custom domains. You can use the same value as used for the Appwrite '_APP_DOMAIN' variable. The default value is 'localhost'."},{"id":"$$config__app_redis_host","name":"_APP_REDIS_HOST","label":"Redis | _APP_REDIS_HOST","defaultValue":"$$id-redis","description":""},{"id":"$$config__app_redis_port","name":"_APP_REDIS_PORT","label":"Redis | _APP_REDIS_PORT","defaultValue":"6379","description":"Redis server TCP port."},{"id":"$$config__app_redis_user","name":"_APP_REDIS_USER","label":"Redis | _APP_REDIS_USER","defaultValue":"","description":"Redis server user. This is an optional variable. Default value is an empty string."},{"id":"$$secret__app_redis_pass","name":"_APP_REDIS_PASS","label":"Redis | _APP_REDIS_PASS","defaultValue":"","description":"Redis server password. This is an optional variable. Default value is an empty string."},{"id":"$$config__app_db_host","name":"_APP_DB_HOST","label":"MariaDB | _APP_DB_HOST","defaultValue":"$$id-mariadb","description":""},{"id":"$$config__app_db_port","name":"_APP_DB_PORT","label":"MariaDB | _APP_DB_PORT","defaultValue":"3306","description":"MariaDB server TCP port."},{"id":"$$config__app_db_schema","name":"_APP_DB_SCHEMA","label":"MariaDB | _APP_DB_SCHEMA","defaultValue":"appwrite","description":"MariaDB server database schema."},{"id":"$$config__app_db_user","name":"_APP_DB_USER","label":"MariaDB | _APP_DB_USER","defaultValue":"user","description":"MariaDB server user name."},{"id":"$$secret__app_db_root_pass","name":"MARIADB_ROOT_PASSWORD","label":"MariaDB | MARIADB_ROOT_PASSWORD","defaultValue":"$$generate_hex(16)","description":"MariaDB server root user password."},{"id":"$$secret__app_db_pass","name":"_APP_DB_PASS","label":"MariaDB | _APP_DB_PASS","defaultValue":"$$generate_hex(16)","description":"MariaDB server user password."},{"id":"$$config__app_smtp_host","name":"_APP_SMTP_HOST","label":"SMTP | _APP_SMTP_HOST","defaultValue":"","description":"SMTP server host name address. Use an empty string to disable all mail sending from the server. The default value for this variable is an empty string."},{"id":"$$config__app_smtp_port","name":"_APP_SMTP_PORT","label":"SMTP | _APP_SMTP_PORT","defaultValue":"","description":"SMTP server TCP port. Empty by default."},{"id":"$$config__app_smtp_secure","name":"_APP_SMTP_SECURE","label":"SMTP | _APP_SMTP_SECURE","defaultValue":"","description":"SMTP secure connection protocol. Empty by default, change to 'tls' if running on a secure connection."},{"id":"$$config__app_smtp_username","name":"_APP_SMTP_USERNAME","label":"SMTP | _APP_SMTP_USERNAME","defaultValue":"","description":"SMTP server user name. Empty by default."},{"id":"$$secret__app_smtp_password","name":"_APP_SMTP_PASSWORD","label":"SMTP | _APP_SMTP_PASSWORD","defaultValue":"","description":"SMTP server user password. Empty by default."},{"id":"$$config__app_usage_stats","name":"_APP_USAGE_STATS","label":"General | _APP_USAGE_STATS","defaultValue":"enabled","description":"This variable allows you to disable the collection and displaying of usage stats. This value is set to 'enabled' by default, to disable the usage stats set the value to 'disabled'. When disabled, it's recommended to turn off the Worker Usage, Influxdb and Telegraf containers for better resource usage."},{"id":"$$config__app_storage_limit","name":"_APP_STORAGE_LIMIT","label":"Storage | _APP_STORAGE_LIMIT","defaultValue":"30000000","description":"Maximum file size allowed for file upload. The default value is 30MB. You should pass your size limit value in bytes."},{"id":"$$config__app_storage_preview_limit","name":"_APP_STORAGE_PREVIEW_LIMIT","label":"Storage | _APP_STORAGE_PREVIEW_LIMIT","defaultValue":"20000000","description":"Maximum file size allowed for file image preview. The default value is 20MB. You should pass your size limit value in bytes."},{"id":"$$config__app_storage_antivirus_enabled","name":"_APP_STORAGE_ANTIVIRUS","label":"Storage | _APP_STORAGE_ANTIVIRUS","defaultValue":"disabled","description":"This variable allows you to disable the internal anti-virus scans. This value is set to 'disabled' by default, to enable the scans set the value to 'enabled'. Before enabling, you must add the ClamAV service and depend on it on main Appwrite service."},{"id":"$$config__app_storage_antivirus_host","name":"_APP_STORAGE_ANTIVIRUS_HOST","label":"Storage | _APP_STORAGE_ANTIVIRUS_HOST","defaultValue":"clamav","description":"ClamAV server host name address."},{"id":"$$config__app_storage_antivirus_port","name":"_APP_STORAGE_ANTIVIRUS_PORT","label":"Storage | _APP_STORAGE_ANTIVIRUS_PORT","defaultValue":"3310","description":"ClamAV server TCP port."},{"id":"$$config__app_storage_device","name":"_APP_STORAGE_DEVICE","label":"Storage | _APP_STORAGE_DEVICE","defaultValue":"Local","description":"Select default storage device. The default value is 'Local'. List of supported adapters are 'Local', 'S3', 'DOSpaces', 'Backblaze', 'Linode' and 'Wasabi'."},{"id":"$$secret__app_storage_s3_access_key","name":"_APP_STORAGE_S3_ACCESS_KEY","label":"Storage | _APP_STORAGE_S3_ACCESS_KEY","defaultValue":"","description":"AWS S3 storage access key. Required when the storage adapter is set to S3. You can get your access key from your AWS console."},{"id":"$$secret__app_storage_s3_secret","name":"_APP_STORAGE_S3_SECRET","label":"Storage | _APP_STORAGE_S3_SECRET","defaultValue":"","description":"AWS S3 storage secret key. Required when the storage adapter is set to S3. You can get your secret key from your AWS console."},{"id":"$$config__app_storage_s3_region","name":"_APP_STORAGE_S3_REGION","label":"Storage | _APP_STORAGE_S3_REGION","defaultValue":"us-east-1","description":"AWS S3 storage region. Required when storage adapter is set to S3. You can find your region info for your bucket from AWS console."},{"id":"$$config__app_storage_s3_bucket","name":"_APP_STORAGE_S3_BUCKET","label":"Storage | _APP_STORAGE_S3_BUCKET","defaultValue":"","description":"AWS S3 storage bucket. Required when storage adapter is set to S3. You can create buckets in your AWS console."},{"id":"$$secret__app_storage_do_spaces_access_key","name":"_APP_STORAGE_DO_SPACES_ACCESS_KEY","label":"Storage | _APP_STORAGE_DO_SPACES_ACCESS_KEY","defaultValue":"","description":"DigitalOcean spaces access key. Required when the storage adapter is set to DOSpaces. You can get your access key from your DigitalOcean console."},{"id":"$$secret__app_storage_do_spaces_secret","name":"_APP_STORAGE_DO_SPACES_SECRET","label":"Storage | _APP_STORAGE_DO_SPACES_SECRET","defaultValue":"","description":"DigitalOcean spaces secret key. Required when the storage adapter is set to DOSpaces. You can get your secret key from your DigitalOcean console."},{"id":"$$config__app_storage_do_spaces_region","name":"_APP_STORAGE_DO_SPACES_REGION","label":"Storage | _APP_STORAGE_DO_SPACES_REGION","defaultValue":"us-east-1","description":"DigitalOcean spaces region. Required when storage adapter is set to DOSpaces. You can find your region info for your space from DigitalOcean console."},{"id":"$$config__app_storage_do_spaces_bucket","name":"_APP_STORAGE_DO_SPACES_BUCKET","label":"Storage | _APP_STORAGE_DO_SPACES_BUCKET","defaultValue":"","description":"DigitalOcean spaces bucket. Required when storage adapter is set to DOSpaces. You can create spaces in your DigitalOcean console."},{"id":"$$secret__app_storage_backblaze_access_key","name":"_APP_STORAGE_BACKBLAZE_ACCESS_KEY","label":"Storage | _APP_STORAGE_BACKBLAZE_ACCESS_KEY","defaultValue":"","description":"Backblaze access key. Required when the storage adapter is set to Backblaze. Your Backblaze keyID will be your access key. You can get your keyID from your Backblaze console."},{"id":"$$secret__app_storage_backblaze_secret","name":"_APP_STORAGE_BACKBLAZE_SECRET","label":"Storage | _APP_STORAGE_BACKBLAZE_SECRET","defaultValue":"","description":"Backblaze secret key. Required when the storage adapter is set to Backblaze. Your Backblaze applicationKey will be your secret key. You can get your applicationKey from your Backblaze console."},{"id":"$$config__app_storage_backblaze_region","name":"_APP_STORAGE_BACKBLAZE_REGION","label":"Storage | _APP_STORAGE_BACKBLAZE_REGION","defaultValue":"us-west-004","description":"Backblaze region. Required when storage adapter is set to Backblaze. You can find your region info from your Backblaze console."},{"id":"$$config__app_storage_backblaze_bucket","name":"_APP_STORAGE_BACKBLAZE_BUCKET","label":"Storage | _APP_STORAGE_BACKBLAZE_BUCKET","defaultValue":"","description":"Backblaze bucket. Required when storage adapter is set to Backblaze. You can create your bucket from your Backblaze console."},{"id":"$$secret__app_storage_linode_access_key","name":"_APP_STORAGE_LINODE_ACCESS_KEY","label":"Storage | _APP_STORAGE_LINODE_ACCESS_KEY","defaultValue":"","description":"Linode object storage access key. Required when the storage adapter is set to Linode. You can get your access key from your Linode console."},{"id":"$$secret__app_storage_linode_secret","name":"_APP_STORAGE_LINODE_SECRET","label":"Storage | _APP_STORAGE_LINODE_SECRET","defaultValue":"","description":"Linode object storage secret key. Required when the storage adapter is set to Linode. You can get your secret key from your Linode console."},{"id":"$$config__app_storage_linode_region","name":"_APP_STORAGE_LINODE_REGION","label":"Storage | _APP_STORAGE_LINODE_REGION","defaultValue":"eu-central-1","description":"Linode object storage region. Required when storage adapter is set to Linode. You can find your region info from your Linode console."},{"id":"$$config__app_storage_linode_bucket","name":"_APP_STORAGE_LINODE_BUCKET","label":"Storage | _APP_STORAGE_LINODE_BUCKET","defaultValue":"","description":"Linode object storage bucket. Required when storage adapter is set to Linode. You can create buckets in your Linode console."},{"id":"$$secret__app_storage_wasabi_access_key","name":"_APP_STORAGE_WASABI_ACCESS_KEY","label":"Storage | _APP_STORAGE_WASABI_ACCESS_KEY","defaultValue":"","description":"Wasabi access key. Required when the storage adapter is set to Wasabi. You can get your access key from your Wasabi console."},{"id":"$$secret__app_storage_wasabi_secret","name":"_APP_STORAGE_WASABI_SECRET","label":"Storage | _APP_STORAGE_WASABI_SECRET","defaultValue":"","description":"Wasabi secret key. Required when the storage adapter is set to Wasabi. You can get your secret key from your Wasabi console."},{"id":"$$config__app_storage_wasabi_region","name":"_APP_STORAGE_WASABI_REGION","label":"Storage | _APP_STORAGE_WASABI_REGION","defaultValue":"eu-central-1","description":"Wasabi region. Required when storage adapter is set to Wasabi. You can find your region info from your Wasabi console."},{"id":"$$config__app_storage_wasabi_bucket","name":"_APP_STORAGE_WASABI_BUCKET","label":"Storage | _APP_STORAGE_WASABI_BUCKET","defaultValue":"","description":"Wasabi bucket. Required when storage adapter is set to Wasabi. You can create buckets in your Wasabi console."},{"id":"$$config__app_functions_size_limit","name":"_APP_FUNCTIONS_SIZE_LIMIT","label":"Functions | _APP_FUNCTIONS_SIZE_LIMIT","defaultValue":"30000000","description":"The maximum size deployment in bytes. The default value is 30MB."},{"id":"$$config__app_functions_timeout","name":"_APP_FUNCTIONS_TIMEOUT","label":"Functions | _APP_FUNCTIONS_TIMEOUT","defaultValue":"900","description":"The maximum number of seconds allowed as a timeout value when creating a new function. The default value is 900 seconds."},{"id":"$$config__app_functions_build_timeout","name":"_APP_FUNCTIONS_BUILD_TIMEOUT","label":"Functions | _APP_FUNCTIONS_BUILD_TIMEOUT","defaultValue":"900","description":"The maximum number of seconds allowed as a timeout value when building a new function. The default value is 900 seconds."},{"id":"$$config__app_functions_containers","name":"_APP_FUNCTIONS_CONTAINERS","label":"Functions | _APP_FUNCTIONS_CONTAINERS","defaultValue":"10","description":"The maximum number of containers Appwrite is allowed to keep alive in the background for function environments. Running containers allow faster execution time as there is no need to recreate each container every time a function gets executed. The default value is 10."},{"id":"$$config__app_functions_cpus","name":"_APP_FUNCTIONS_CPUS","label":"Functions | _APP_FUNCTIONS_CPUS","defaultValue":"","description":"The maximum number of CPU core a single cloud function is allowed to use. Please note that setting a value higher than available cores will result in a function error, which might result in an error. The default value is empty. When it's empty, CPU limit will be disabled."},{"id":"$$config__app_functions_memory_allocated","name":"_APP_FUNCTIONS_MEMORY","label":"Functions | _APP_FUNCTIONS_MEMORY","defaultValue":"","description":"The maximum amount of memory a single cloud function is allowed to use in megabytes. The default value is empty. When it's empty, memory limit will be disabled."},{"id":"$$config__app_functions_memory_swap","name":"_APP_FUNCTIONS_MEMORY_SWAP","label":"Functions | _APP_FUNCTIONS_MEMORY_SWAP","defaultValue":"","description":"The maximum amount of swap memory a single cloud function is allowed to use in megabytes. The default value is empty. When it's empty, swap memory limit will be disabled."},{"id":"$$config__app_functions_runtimes","name":"_APP_FUNCTIONS_RUNTIMES","label":"Functions | _APP_FUNCTIONS_RUNTIMES","defaultValue":"node-18.0","description":"This option allows you to limit the available environments for cloud functions. This option is very useful for low-cost servers to safe disk space.\nTo enable/activate this option, pass a list of allowed environments separated by a comma.\nCurrently, supported environments are: node-14.5, node-16.0, node-18.0, php-8.0, php-8.1, ruby-3.0, ruby-3.1, python-3.8, python-3.9, python-3.10, deno-1.21, deno-1.24, dart-2.15, dart-2.16, dart-2.17, dotnet-3.1, dotnet-6.0, java-8.0, java-11.0, java-17.0, java-18.0, swift-5.5, kotlin-1.6, cpp-17.0"},{"id":"$$secret__app_executor_secret","name":"_APP_EXECUTOR_SECRET","label":"Functions | _APP_EXECUTOR_SECRET","defaultValue":"$$generate_hex(16)","description":"The secret key used by Appwrite to communicate with the function executor."},{"id":"$$config__app_executor_host","name":"_APP_EXECUTOR_HOST","label":"","defaultValue":"http://$$id-executor/v1","description":""},{"id":"$$config__app_logging_provider","name":"_APP_LOGGING_PROVIDER","label":"General | _APP_LOGGING_PROVIDER","defaultValue":"","description":"This variable allows you to enable logging errors to 3rd party providers. This value is empty by default, to enable the logger set the value to one of 'sentry', 'raygun', 'appsignal', 'logowl'"},{"id":"$$config__app_logging_config","name":"_APP_LOGGING_CONFIG","label":"General | _APP_LOGGING_CONFIG","defaultValue":"","description":"This variable configures authentication to 3rd party error logging providers. If using Sentry, this should be 'SENTRY_API_KEY;SENTRY_APP_ID'. If using Raygun, this should be Raygun API key. If using AppSignal, this should be AppSignal API key. If using LogOwl, this should be LogOwl Service Ticket."},{"id":"$$config__app_statsd_host","name":"_APP_STATSD_HOST","label":"","defaultValue":"$$id-telegraf","description":""},{"id":"$$config__app_statsd_port","name":"_APP_STATSD_PORT","label":"StatsD | _APP_STATSD_PORT","defaultValue":"8125","description":"StatsD server TCP port."},{"id":"$$config__app_maintenance_interval","name":"_APP_MAINTENANCE_INTERVAL","label":"Functions | _APP_MAINTENANCE_INTERVAL","defaultValue":"86400","description":"Interval value containing the number of seconds that the Appwrite maintenance process should wait before executing system cleanups and optimizations. The default value is 86400 seconds (1 day)."},{"id":"$$config__app_maintenance_retention_execution","name":"_APP_MAINTENANCE_RETENTION_EXECUTION","label":"Functions | _APP_MAINTENANCE_RETENTION_EXECUTION","defaultValue":"1209600","description":"The maximum duration (in seconds) upto which to retain execution logs. The default value is 1209600 seconds (14 days)."},{"id":"$$config__app_maintenance_retention_cache","name":"_APP_MAINTENANCE_RETENTION_CACHE","label":"Functions | _APP_MAINTENANCE_RETENTION_CACHE","defaultValue":"2592000","description":"The maximum duration (in seconds) upto which to retain cached files. The default value is 2592000 seconds (30 days)."},{"id":"$$config__app_maintenance_retention_abuse","name":"_APP_MAINTENANCE_RETENTION_ABUSE","label":"Functions | _APP_MAINTENANCE_RETENTION_ABUSE","defaultValue":"86400","description":"The maximum duration (in seconds) upto which to retain abuse logs. The default value is 86400 seconds (1 day)."},{"id":"$$config__app_maintenance_retention_audit","name":"_APP_MAINTENANCE_RETENTION_AUDIT","label":"Functions | _APP_MAINTENANCE_RETENTION_AUDIT","defaultValue":"1209600","description":"The maximum duration (in seconds) upto which to retain audit logs. The default value is 1209600 seconds (14 days)."},{"id":"$$config__app_sms_provider","name":"_APP_SMS_PROVIDER","label":"Phone | _APP_SMS_PROVIDER","defaultValue":"","description":"Provider used for delivering SMS for Phone authentication. Use the following format: 'sms://[USER]:[SECRET]@[PROVIDER]'. Available providers are twilio, text-magic, telesign, msg91, and vonage."},{"id":"$$config__app_sms_from","name":"_APP_SMS_FROM","label":"Phone | _APP_SMS_FROM","defaultValue":"","description":"Phone number used for sending out messages. Must start with a leading '+' and maximum of 15 digits without spaces (+123456789)."},{"id":"$$config__app_functions_inactive_threshold","name":"_APP_FUNCTIONS_INACTIVE_THRESHOLD","label":"Functions | _APP_FUNCTIONS_INACTIVE_THRESHOLD","defaultValue":"60","description":"The minimum time a function can be inactive before it's container is shutdown and put to sleep. The default value is 60 seconds"},{"id":"$$config_open_runtimes_network","name":"OPEN_RUNTIMES_NETWORK","label":"","defaultValue":"$$generate_network","description":""},{"id":"$$config_dockerhub_pull_username","name":"DOCKERHUB_PULL_USERNAME","label":"Functions | DOCKERHUB_PULL_USERNAME","defaultValue":"","description":"The username for hub.docker.com. This variable is used to pull images from hub.docker.com."},{"id":"$$secret_dockerhub_pull_password","name":"DOCKERHUB_PULL_PASSWORD","label":"Functions | DOCKERHUB_PULL_PASSWORD","defaultValue":"","description":"The password for hub.docker.com. This variable is used to pull images from hub.docker.com."},{"id":"$$config__app_usage_timeseries_interval","name":"_APP_USAGE_TIMESERIES_INTERVAL","label":"General | _APP_USAGE_TIMESERIES_INTERVAL","defaultValue":"30","description":"Interval value containing the number of seconds that the Appwrite usage process should wait before aggregating stats and syncing it to mariadb from InfluxDB. The default value is 30 seconds."},{"id":"$$config__app_usage_database_interval","name":"_APP_USAGE_DATABASE_INTERVAL","label":"General | _APP_USAGE_DATABASE_INTERVAL","defaultValue":"900","description":"Interval value containing the number of seconds that the Appwrite usage process should wait before aggregating stats from data in Appwrite Database. The default value is 15 minutes."}]},{"templateVersion":"1.0.0","defaultVersion":"latest","documentation":"https://docs.weblate.org/en/latest/admin/install/docker.html","description":"A copylefted libre software web-based continuous localization system.","type":"weblate","name":"Weblate","labels":["translate","localization"],"services":{"$$id":{"name":"Weblate","depends_on":["$$id-postgresql","$$id-redis"],"image":"weblate/weblate:$$core_version","volumes":["$$id-data:/app/data"],"environment":["WEBLATE_SITE_DOMAIN=$$config_weblate_site_domain","WEBLATE_ADMIN_PASSWORD=$$secret_weblate_admin_password","POSTGRES_PASSWORD=$$secret_postgres_password","POSTGRES_USER=$$config_postgres_user","POSTGRES_DATABASE=$$config_postgres_db","POSTGRES_HOST=$$id-postgresql","POSTGRES_PORT=5432","REDIS_HOST=$$id-redis"],"ports":["8080"]},"$$id-postgresql":{"name":"PostgreSQL","depends_on":[],"image":"postgres:14-alpine","volumes":["$$id-postgresql-data:/var/lib/postgresql/data"],"environment":["POSTGRES_USER=$$config_postgres_user","POSTGRES_PASSWORD=$$secret_postgres_password","POSTGRES_DB=$$config_postgres_db"],"ports":[]},"$$id-redis":{"name":"Redis","depends_on":[],"image":"redis:7-alpine","volumes":["$$id-redis-data:/data"],"environment":[],"ports":[]}},"variables":[{"id":"$$config_weblate_site_domain","name":"WEBLATE_SITE_DOMAIN","label":"Weblate Domain","defaultValue":"$$generate_domain","description":""},{"id":"$$secret_weblate_admin_password","name":"WEBLATE_ADMIN_PASSWORD","label":"Weblate Admin Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true},{"id":"$$config_postgres_user","main":"$$id-postgresql","name":"POSTGRES_USER","label":"PostgreSQL User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_postgres_password","main":"$$id-postgresql","name":"POSTGRES_PASSWORD","label":"PostgreSQL Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true},{"id":"$$config_postgres_db","main":"$$id-postgresql","name":"POSTGRES_DB","label":"PostgreSQL Database","defaultValue":"weblate","description":""}]},{"templateVersion":"1.0.0","defaultVersion":"2023.01.15-52d41559","documentation":"https://docs.searxng.org/","type":"searxng","name":"SearXNG","description":"Free internet metasearch engine which aggregates results from more than 70 search services.","services":{"$$id":{"name":"SearXNG","depends_on":["$$id-redis"],"image":"searxng/searxng:$$core_version","volumes":["$$id-searxng:/etc/searxng"],"environment":["SEARXNG_BASE_URL=$$config_searxng_base_url"],"ports":["8080"],"cap_drop":["ALL"],"cap_add":["CHOWN","SETGID","SETUID","DAC_OVERRIDE"],"files":[{"location":"/etc/searxng/settings.yml","content":"\n # see https://docs.searxng.org/admin/engines/settings.html#use-default-settings\n use_default_settings: true\n server:\n secret_key: $$secret_secret_key\n limiter: true\n image_proxy: true\n ui:\n static_use_hash: true\n redis:\n url: redis://:$$secret_redis_password@$$id-redis:6379/0"}]},"$$id-redis":{"name":"Redis","command":"redis-server --requirepass $$secret_redis_password --save \"\" --appendonly \"no\"","depends_on":[],"image":"redis:7-alpine","volumes":["$$id-redis-data:/data"],"environment":["REDIS_PASSWORD=$$secret_redis_password"],"ports":[],"cap_drop":["ALL"],"cap_add":["SETGID","SETUID","DAC_OVERRIDE"]}},"variables":[{"id":"$$config_searxng_base_url","name":"SEARXNG_BASE_URL","label":"SearXNG Base URL","defaultValue":"$$generate_fqdn","description":""},{"id":"$$secret_secret_key","name":"SECRET_KEY","label":"Secret Key","defaultValue":"$$generate_hex(64)","description":""},{"id":"$$secret_redis_password","name":"REDIS_PASSWORD","label":"Redis Password","defaultValue":"$$generate_password","description":""}]},{"templateVersion":"1.0.0","defaultVersion":"v3.0.2","documentation":"https://glitchtip.com/documentation","type":"glitchtip","name":"GlitchTip","description":"Simple, open source error tracking.","labels":["sentry","bugsnag"],"services":{"$$id":{"name":"GlitchTip","depends_on":["$$id-postgresql","$$id-redis"],"image":"glitchtip/glitchtip:$$core_version","volumes":[],"environment":["PORT=$$config_port","GLITCHTIP_DOMAIN=$$config_glitchtip_domain","SECRET_KEY=$$secret_secret_key","DATABASE_URL=$$secret_database_url","REDIS_URL=$$secret_redis_url","DEFAULT_FROM_EMAIL=$$config_default_from_email","EMAIL_URL=$$secret_email_url","EMAIL_HOST=$$config_email_host","EMAIL_PORT=$$config_email_port","EMAIL_HOST_USER=$$config_email_host_user","EMAIL_HOST_PASSWORD=$$secret_email_host_password","EMAIL_USE_TLS=$$config_email_use_tls","EMAIL_USE_SSL=$$config_email_use_ssl","EMAIL_BACKEND=$$config_email_backend","MAILGUN_API_KEY=$$secret_mailgun_api_key","SENDGRID_API_KEY=$$secret_sendgrid_api_key","ENABLE_OPEN_USER_REGISTRATION=$$config_enable_open_user_registration","DJANGO_SUPERUSER_EMAIL=$$config_django_superuser_email","DJANGO_SUPERUSER_PASSWORD=$$secret_django_superuser_password","DJANGO_SUPERUSER_USERNAME=$$config_django_superuser_username","CELERY_WORKER_CONCURRENCY=$$config_celery_worker_concurrency"],"ports":["8000"]},"$$id-worker":{"name":"Celery Worker","command":"./bin/run-celery-with-beat.sh","depends_on":["$$id-postgresql","$$id-redis"],"image":"glitchtip/glitchtip:$$core_version","environment":["GLITCHTIP_DOMAIN=$$config_glitchtip_domain","SECRET_KEY=$$secret_secret_key","DATABASE_URL=$$secret_database_url","REDIS_URL=$$secret_redis_url","DEFAULT_FROM_EMAIL=$$config_default_from_email","EMAIL_URL=$$secret_email_url","CELERY_WORKER_CONCURRENCY=$$config_celery_worker_concurrency"],"ports":[]},"$$id-migrate":{"exclude":true,"name":"Migrate","command":"./manage.py migrate","depends_on":["$$id-postgresql","$$id-redis"],"image":"glitchtip/glitchtip:$$core_version","environment":["GLITCHTIP_DOMAIN=$$config_glitchtip_domain","SECRET_KEY=$$secret_secret_key","DATABASE_URL=$$secret_database_url","REDIS_URL=$$secret_redis_url","DEFAULT_FROM_EMAIL=$$config_default_from_email","EMAIL_URL=$$secret_email_url"],"ports":[]},"$$id-postgresql":{"name":"PostgreSQL","depends_on":[],"image":"postgres:14-alpine","volumes":["$$id-postgresql-data:/var/lib/postgresql/data"],"environment":["POSTGRES_USER=$$config_postgres_user","POSTGRES_PASSWORD=$$secret_postgres_password","POSTGRES_DB=$$config_postgres_db"],"ports":[]},"$$id-redis":{"name":"Redis","depends_on":[],"image":"redis:7-alpine","volumes":["$$id-postgresql-redis-data:/data"],"environment":[],"ports":[]}},"variables":[{"id":"$$config_django_superuser_username","name":"DJANGO_SUPERUSER_USERNAME","label":"Django Superuser Username","defaultValue":"$$generate_username","description":""},{"id":"$$secret_django_superuser_password","name":"DJANGO_SUPERUSER_PASSWORD","label":"Django Superuser Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true},{"id":"$$config_port","name":"PORT","label":"GlitchTip Port","defaultValue":"8000","description":""},{"id":"$$config_celery_worker_concurrency","main":"$$id-worker","name":"CELERY_WORKER_CONCURRENCY","label":"Celery Worker Concurrency","defaultValue":"2","description":""},{"id":"$$config_glitchtip_domain","name":"GLITCHTIP_DOMAIN","label":"GlitchTip Domain","defaultValue":"$$generate_fqdn","description":""},{"id":"$$secret_email_url","name":"EMAIL_URL","label":"SMTP Email URL","defaultValue":"smtp://$$config_email_host_user:$$secret_email_host_password@$$config_email_host:$$config_email_port","description":""},{"id":"$$secret_database_url","name":"DATABASE_URL","label":"Database URL for PostgreSQL","defaultValue":"postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db","description":""},{"id":"$$secret_redis_url","name":"REDIS_URL","label":"Redis URL","defaultValue":"redis://$$id-redis:6379/0","description":""},{"id":"$$config_default_from_email","name":"DEFAULT_FROM_EMAIL","label":"Default Email Address","defaultValue":"[email protected]","description":""},{"id":"$$config_email_host","name":"EMAIL_HOST","label":"Email SMTP Host","defaultValue":"","description":""},{"id":"$$config_email_port","name":"EMAIL_PORT","label":"Email SMTP Port","defaultValue":"25","description":""},{"id":"$$config_email_host_user","name":"EMAIL_HOST_USER","label":"Email SMTP User","defaultValue":"","description":""},{"id":"$$secret_email_host_password","name":"EMAIL_HOST_PASSWORD","label":"Email SMTP Password","defaultValue":"","description":""},{"id":"$$config_email_use_tls","name":"EMAIL_USE_TLS","label":"Email Use TLS","defaultValue":"false","description":""},{"id":"$$config_email_use_ssl","name":"EMAIL_USE_SSL","label":"Email Use SSL","defaultValue":"false","description":""},{"id":"$$secret_email_smtp_password","name":"EMAIL_SMTP_PASSWORD","label":"SMTP Password","defaultValue":"","description":""},{"id":"$$config_email_backend","name":"EMAIL_BACKEND","label":"Email Backend","defaultValue":"","description":""},{"id":"$$secret_mailgun_api_key","name":"MAILGUN_API_KEY","label":"Mailgun API Key","defaultValue":"","description":"","showOnConfiguration":true},{"id":"$$secret_sendgrid_api_key","name":"SENDGRID_API_KEY","label":"Sendgrid API Key","defaultValue":"","description":"","showOnConfiguration":true},{"id":"$$config_enable_open_user_registration","name":"ENABLE_OPEN_USER_REGISTRATION","label":"Enable Open User Registration","defaultValue":"true","description":""},{"id":"$$config_django_superuser_email","name":"DJANGO_SUPERUSER_EMAIL","label":"Django Superuser Email","defaultValue":"[email protected]","description":""},{"id":"$$config_postgres_user","main":"$$id-postgresql","name":"POSTGRES_USER","label":"PostgreSQL User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_postgres_password","main":"$$id-postgresql","name":"POSTGRES_PASSWORD","label":"PostgreSQL Password","defaultValue":"$$generate_password","description":""},{"id":"$$config_postgres_db","main":"$$id-postgresql","name":"POSTGRES_DB","label":"PostgreSQL Database","defaultValue":"glitchtip","description":""}]},{"templateVersion":"1.0.0","defaultVersion":"v2.16.1","documentation":"https://hasura.io/docs/latest/index/","type":"hasura","name":"Hasura","description":"Instant realtime GraphQL APIs on any Postgres application, existing or new.","labels":["graphql","database"],"services":{"$$id":{"name":"Hasura","depends_on":["$$id-postgresql"],"image":"hasura/graphql-engine:$$core_version","volumes":[],"environment":["HASURA_GRAPHQL_ENABLE_CONSOLE=$$config_hasura_graphql_enable_console","HASURA_GRAPHQL_METADATA_DATABASE_URL=$$secret_hasura_graphql_metadata_database_url","HASURA_GRAPHQL_ADMIN_SECRET=$$secret_hasura_graphql_admin_secret"],"ports":["8080"]},"$$id-postgresql":{"name":"PostgreSQL","depends_on":[],"image":"postgres:12-alpine","volumes":["$$id-postgresql-data:/var/lib/postgresql/data"],"environment":["POSTGRES_USER=$$config_postgres_user","POSTGRES_PASSWORD=$$secret_postgres_password","POSTGRES_DB=$$config_postgres_db"],"ports":[]}},"variables":[{"id":"$$config_hasura_graphql_enable_console","name":"HASURA_GRAPHQL_ENABLE_CONSOLE","label":"Enable Hasura Console","defaultValue":"true","description":""},{"id":"$$secret_hasura_graphql_metadata_database_url","name":"HASURA_GRAPHQL_METADATA_DATABASE_URL","label":"Hasura Metadata Database URL","defaultValue":"postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db","description":""},{"id":"$$secret_hasura_graphql_admin_secret","name":"HASURA_GRAPHQL_ADMIN_SECRET","label":"Hasura Admin Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true},{"id":"$$config_postgres_user","name":"POSTGRES_USER","label":"PostgreSQL User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_postgres_password","name":"POSTGRES_PASSWORD","label":"PostgreSQL Password","defaultValue":"$$generate_password","description":""},{"id":"$$config_postgres_db","name":"POSTGRES_DB","label":"PostgreSQL Database","defaultValue":"hasura","description":""}]},{"templateVersion":"1.0.0","defaultVersion":"postgresql-v1.39.5","documentation":"https://umami.is/docs/getting-started","type":"umami-postgresql","name":"Umami","subname":"(PostgreSQL)","description":"A simple, easy to use, self-hosted web analytics solution.","services":{"$$id":{"name":"Umami","depends_on":["$$id-postgresql"],"image":"ghcr.io/umami-software/umami:$$core_version","volumes":[],"environment":["ADMIN_PASSWORD=$$secret_admin_password","DATABASE_URL=$$secret_database_url","DATABASE_TYPE=$$config_database_type","HASH_SALT=$$secret_hash_salt"],"ports":["3000"]},"$$id-postgresql":{"name":"PostgreSQL","depends_on":[],"image":"postgres:12-alpine","volumes":["$$id-postgresql-data:/var/lib/postgresql/data"],"environment":["POSTGRES_USER=$$config_postgres_user","POSTGRES_PASSWORD=$$secret_postgres_password","POSTGRES_DB=$$config_postgres_db"],"ports":[],"files":[{"location":"/docker-entrypoint-initdb.d/schema.postgresql.sql","content":"\n -- CreateTable\n CREATE TABLE \"account\" (\n \"user_id\" SERIAL NOT NULL,\n \"username\" VARCHAR(255) NOT NULL,\n \"password\" VARCHAR(60) NOT NULL,\n \"is_admin\" BOOLEAN NOT NULL DEFAULT false,\n \"created_at\" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,\n \"updated_at\" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,\n\n PRIMARY KEY (\"user_id\")\n );\n\n -- CreateTable\n CREATE TABLE \"event\" (\n \"event_id\" SERIAL NOT NULL,\n \"website_id\" INTEGER NOT NULL,\n \"session_id\" INTEGER NOT NULL,\n \"created_at\" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,\n \"url\" VARCHAR(500) NOT NULL,\n \"event_type\" VARCHAR(50) NOT NULL,\n \"event_value\" VARCHAR(50) NOT NULL,\n\n PRIMARY KEY (\"event_id\")\n );\n\n -- CreateTable\n CREATE TABLE \"pageview\" (\n \"view_id\" SERIAL NOT NULL,\n \"website_id\" INTEGER NOT NULL,\n \"session_id\" INTEGER NOT NULL,\n \"created_at\" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,\n \"url\" VARCHAR(500) NOT NULL,\n \"referrer\" VARCHAR(500),\n\n PRIMARY KEY (\"view_id\")\n );\n\n -- CreateTable\n CREATE TABLE \"session\" (\n \"session_id\" SERIAL NOT NULL,\n \"session_uuid\" UUID NOT NULL,\n \"website_id\" INTEGER NOT NULL,\n \"created_at\" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,\n \"hostname\" VARCHAR(100),\n \"browser\" VARCHAR(20),\n \"os\" VARCHAR(20),\n \"device\" VARCHAR(20),\n \"screen\" VARCHAR(11),\n \"language\" VARCHAR(35),\n \"country\" CHAR(2),\n\n PRIMARY KEY (\"session_id\")\n );\n\n -- CreateTable\n CREATE TABLE \"website\" (\n \"website_id\" SERIAL NOT NULL,\n \"website_uuid\" UUID NOT NULL,\n \"user_id\" INTEGER NOT NULL,\n \"name\" VARCHAR(100) NOT NULL,\n \"domain\" VARCHAR(500),\n \"share_id\" VARCHAR(64),\n \"created_at\" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,\n\n PRIMARY KEY (\"website_id\")\n );\n\n -- CreateIndex\n CREATE UNIQUE INDEX \"account.username_unique\" ON \"account\"(\"username\");\n\n -- CreateIndex\n CREATE INDEX \"event_created_at_idx\" ON \"event\"(\"created_at\");\n\n -- CreateIndex\n CREATE INDEX \"event_session_id_idx\" ON \"event\"(\"session_id\");\n\n -- CreateIndex\n CREATE INDEX \"event_website_id_idx\" ON \"event\"(\"website_id\");\n\n -- CreateIndex\n CREATE INDEX \"pageview_created_at_idx\" ON \"pageview\"(\"created_at\");\n\n -- CreateIndex\n CREATE INDEX \"pageview_session_id_idx\" ON \"pageview\"(\"session_id\");\n\n -- CreateIndex\n CREATE INDEX \"pageview_website_id_created_at_idx\" ON \"pageview\"(\"website_id\", \"created_at\");\n\n -- CreateIndex\n CREATE INDEX \"pageview_website_id_idx\" ON \"pageview\"(\"website_id\");\n\n -- CreateIndex\n CREATE INDEX \"pageview_website_id_session_id_created_at_idx\" ON \"pageview\"(\"website_id\", \"session_id\", \"created_at\");\n\n -- CreateIndex\n CREATE UNIQUE INDEX \"session.session_uuid_unique\" ON \"session\"(\"session_uuid\");\n\n -- CreateIndex\n CREATE INDEX \"session_created_at_idx\" ON \"session\"(\"created_at\");\n\n -- CreateIndex\n CREATE INDEX \"session_website_id_idx\" ON \"session\"(\"website_id\");\n\n -- CreateIndex\n CREATE UNIQUE INDEX \"website.website_uuid_unique\" ON \"website\"(\"website_uuid\");\n\n -- CreateIndex\n CREATE UNIQUE INDEX \"website.share_id_unique\" ON \"website\"(\"share_id\");\n\n -- CreateIndex\n CREATE INDEX \"website_user_id_idx\" ON \"website\"(\"user_id\");\n\n -- AddForeignKey\n ALTER TABLE \"event\" ADD FOREIGN KEY (\"session_id\") REFERENCES \"session\"(\"session_id\") ON DELETE CASCADE ON UPDATE CASCADE;\n\n -- AddForeignKey\n ALTER TABLE \"event\" ADD FOREIGN KEY (\"website_id\") REFERENCES \"website\"(\"website_id\") ON DELETE CASCADE ON UPDATE CASCADE;\n\n -- AddForeignKey\n ALTER TABLE \"pageview\" ADD FOREIGN KEY (\"session_id\") REFERENCES \"session\"(\"session_id\") ON DELETE CASCADE ON UPDATE CASCADE;\n\n -- AddForeignKey\n ALTER TABLE \"pageview\" ADD FOREIGN KEY (\"website_id\") REFERENCES \"website\"(\"website_id\") ON DELETE CASCADE ON UPDATE CASCADE;\n\n -- AddForeignKey\n ALTER TABLE \"session\" ADD FOREIGN KEY (\"website_id\") REFERENCES \"website\"(\"website_id\") ON DELETE CASCADE ON UPDATE CASCADE;\n\n -- AddForeignKey\n ALTER TABLE \"website\" ADD FOREIGN KEY (\"user_id\") REFERENCES \"account\"(\"user_id\") ON DELETE CASCADE ON UPDATE CASCADE;\n\n insert into account (username, password, is_admin) values ('admin', '$$hashed$$secret_admin_password', true);"}]}},"variables":[{"id":"$$secret_database_url","name":"DATABASE_URL","label":"Database URL for PostgreSQL","defaultValue":"postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db","description":""},{"id":"$$secret_hash_salt","name":"HASH_SALT","label":"Hash Salt","defaultValue":"$$generate_hex(64)","description":""},{"id":"$$config_database_type","name":"DATABASE_TYPE","label":"Database Type","defaultValue":"postgresql","description":""},{"id":"$$config_postgres_user","name":"POSTGRES_USER","label":"PostgreSQL User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_postgres_password","name":"POSTGRES_PASSWORD","label":"PostgreSQL Password","defaultValue":"$$generate_password","description":""},{"id":"$$config_postgres_db","name":"POSTGRES_DB","label":"PostgreSQL Database","defaultValue":"umami","description":""},{"id":"$$secret_admin_password","name":"ADMIN_PASSWORD","label":"Initial Admin Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true}]},{"templateVersion":"1.0.0","ignore":true,"defaultVersion":"postgresql-v1.39.5","documentation":"https://umami.is/docs/getting-started","type":"umami","name":"Umami","subname":"(PostgreSQL)","description":"A simple, easy to use, self-hosted web analytics solution.","services":{"$$id":{"name":"Umami","depends_on":["$$id-postgresql"],"image":"ghcr.io/umami-software/umami:$$core_version","volumes":[],"environment":["ADMIN_PASSWORD=$$secret_admin_password","DATABASE_URL=$$secret_database_url","DATABASE_TYPE=$$config_database_type","HASH_SALT=$$secret_hash_salt"],"ports":["3000"]},"$$id-postgresql":{"name":"PostgreSQL","depends_on":[],"image":"postgres:12-alpine","volumes":["$$id-postgresql-data:/var/lib/postgresql/data"],"environment":["POSTGRES_USER=$$config_postgres_user","POSTGRES_PASSWORD=$$secret_postgres_password","POSTGRES_DB=$$config_postgres_db"],"ports":[],"files":[{"location":"/docker-entrypoint-initdb.d/schema.postgresql.sql","content":"\n -- CreateTable\n CREATE TABLE \"account\" (\n \"user_id\" SERIAL NOT NULL,\n \"username\" VARCHAR(255) NOT NULL,\n \"password\" VARCHAR(60) NOT NULL,\n \"is_admin\" BOOLEAN NOT NULL DEFAULT false,\n \"created_at\" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,\n \"updated_at\" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,\n\n PRIMARY KEY (\"user_id\")\n );\n\n -- CreateTable\n CREATE TABLE \"event\" (\n \"event_id\" SERIAL NOT NULL,\n \"website_id\" INTEGER NOT NULL,\n \"session_id\" INTEGER NOT NULL,\n \"created_at\" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,\n \"url\" VARCHAR(500) NOT NULL,\n \"event_type\" VARCHAR(50) NOT NULL,\n \"event_value\" VARCHAR(50) NOT NULL,\n\n PRIMARY KEY (\"event_id\")\n );\n\n -- CreateTable\n CREATE TABLE \"pageview\" (\n \"view_id\" SERIAL NOT NULL,\n \"website_id\" INTEGER NOT NULL,\n \"session_id\" INTEGER NOT NULL,\n \"created_at\" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,\n \"url\" VARCHAR(500) NOT NULL,\n \"referrer\" VARCHAR(500),\n\n PRIMARY KEY (\"view_id\")\n );\n\n -- CreateTable\n CREATE TABLE \"session\" (\n \"session_id\" SERIAL NOT NULL,\n \"session_uuid\" UUID NOT NULL,\n \"website_id\" INTEGER NOT NULL,\n \"created_at\" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,\n \"hostname\" VARCHAR(100),\n \"browser\" VARCHAR(20),\n \"os\" VARCHAR(20),\n \"device\" VARCHAR(20),\n \"screen\" VARCHAR(11),\n \"language\" VARCHAR(35),\n \"country\" CHAR(2),\n\n PRIMARY KEY (\"session_id\")\n );\n\n -- CreateTable\n CREATE TABLE \"website\" (\n \"website_id\" SERIAL NOT NULL,\n \"website_uuid\" UUID NOT NULL,\n \"user_id\" INTEGER NOT NULL,\n \"name\" VARCHAR(100) NOT NULL,\n \"domain\" VARCHAR(500),\n \"share_id\" VARCHAR(64),\n \"created_at\" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,\n\n PRIMARY KEY (\"website_id\")\n );\n\n -- CreateIndex\n CREATE UNIQUE INDEX \"account.username_unique\" ON \"account\"(\"username\");\n\n -- CreateIndex\n CREATE INDEX \"event_created_at_idx\" ON \"event\"(\"created_at\");\n\n -- CreateIndex\n CREATE INDEX \"event_session_id_idx\" ON \"event\"(\"session_id\");\n\n -- CreateIndex\n CREATE INDEX \"event_website_id_idx\" ON \"event\"(\"website_id\");\n\n -- CreateIndex\n CREATE INDEX \"pageview_created_at_idx\" ON \"pageview\"(\"created_at\");\n\n -- CreateIndex\n CREATE INDEX \"pageview_session_id_idx\" ON \"pageview\"(\"session_id\");\n\n -- CreateIndex\n CREATE INDEX \"pageview_website_id_created_at_idx\" ON \"pageview\"(\"website_id\", \"created_at\");\n\n -- CreateIndex\n CREATE INDEX \"pageview_website_id_idx\" ON \"pageview\"(\"website_id\");\n\n -- CreateIndex\n CREATE INDEX \"pageview_website_id_session_id_created_at_idx\" ON \"pageview\"(\"website_id\", \"session_id\", \"created_at\");\n\n -- CreateIndex\n CREATE UNIQUE INDEX \"session.session_uuid_unique\" ON \"session\"(\"session_uuid\");\n\n -- CreateIndex\n CREATE INDEX \"session_created_at_idx\" ON \"session\"(\"created_at\");\n\n -- CreateIndex\n CREATE INDEX \"session_website_id_idx\" ON \"session\"(\"website_id\");\n\n -- CreateIndex\n CREATE UNIQUE INDEX \"website.website_uuid_unique\" ON \"website\"(\"website_uuid\");\n\n -- CreateIndex\n CREATE UNIQUE INDEX \"website.share_id_unique\" ON \"website\"(\"share_id\");\n\n -- CreateIndex\n CREATE INDEX \"website_user_id_idx\" ON \"website\"(\"user_id\");\n\n -- AddForeignKey\n ALTER TABLE \"event\" ADD FOREIGN KEY (\"session_id\") REFERENCES \"session\"(\"session_id\") ON DELETE CASCADE ON UPDATE CASCADE;\n\n -- AddForeignKey\n ALTER TABLE \"event\" ADD FOREIGN KEY (\"website_id\") REFERENCES \"website\"(\"website_id\") ON DELETE CASCADE ON UPDATE CASCADE;\n\n -- AddForeignKey\n ALTER TABLE \"pageview\" ADD FOREIGN KEY (\"session_id\") REFERENCES \"session\"(\"session_id\") ON DELETE CASCADE ON UPDATE CASCADE;\n\n -- AddForeignKey\n ALTER TABLE \"pageview\" ADD FOREIGN KEY (\"website_id\") REFERENCES \"website\"(\"website_id\") ON DELETE CASCADE ON UPDATE CASCADE;\n\n -- AddForeignKey\n ALTER TABLE \"session\" ADD FOREIGN KEY (\"website_id\") REFERENCES \"website\"(\"website_id\") ON DELETE CASCADE ON UPDATE CASCADE;\n\n -- AddForeignKey\n ALTER TABLE \"website\" ADD FOREIGN KEY (\"user_id\") REFERENCES \"account\"(\"user_id\") ON DELETE CASCADE ON UPDATE CASCADE;\n\n insert into account (username, password, is_admin) values ('admin', '$$hashed$$secret_admin_password', true);"}]}},"variables":[{"id":"$$secret_database_url","name":"DATABASE_URL","label":"Database URL for PostgreSQL","defaultValue":"postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db","description":""},{"id":"$$secret_hash_salt","name":"HASH_SALT","label":"Hash Salt","defaultValue":"$$generate_hex(64)","description":""},{"id":"$$config_database_type","name":"DATABASE_TYPE","label":"Database Type","defaultValue":"postgresql","description":""},{"id":"$$config_postgres_user","name":"POSTGRES_USER","label":"PostgreSQL User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_postgres_password","name":"POSTGRES_PASSWORD","label":"PostgreSQL Password","defaultValue":"$$generate_password","description":""},{"id":"$$config_postgres_db","name":"POSTGRES_DB","label":"PostgreSQL Database","defaultValue":"umami","description":""},{"id":"$$secret_admin_password","name":"ADMIN_PASSWORD","label":"Initial Admin Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true}]},{"templateVersion":"1.0.0","defaultVersion":"v0.30.5","documentation":"https://docs.meilisearch.com/learn/getting_started/quick_start.html","type":"meilisearch","name":"MeiliSearch","description":"A lightning Fast, Ultra Relevant, and Typo-Tolerant Search Engine.","services":{"$$id":{"name":"MeiliSearch","documentation":"https://docs.meilisearch.com/","depends_on":[],"image":"getmeili/meilisearch:$$core_version","volumes":["$$id-datams:/meili_data/data.ms","$$id-data:/meili_data","$$id-snapshot:/snapshot","$$id-dump:/dumps"],"environment":["MEILI_MASTER_KEY=$$secret_meili_master_key"],"ports":["7700"]}},"variables":[{"id":"$$secret_meili_master_key","name":"MEILI_MASTER_KEY","label":"Master Key","defaultValue":"$$generate_hex(64)","description":"","showOnConfiguration":true}]},{"templateVersion":"1.0.0","ignore":true,"defaultVersion":"5.30.0","documentation":"https://docs.ghost.org","arch":"amd64","type":"ghost-mariadb","name":"Ghost","subname":"(MariaDB)","description":"Free and open source blogging platform.","labels":["cms","blog"],"services":{"$$id":{"name":"Ghost","depends_on":["$$id-mariadb"],"image":"bitnami/ghost:$$core_version","volumes":["$$id-ghost:/bitnami/ghost"],"environment":["url=$$config_url","GHOST_HOST=$$config_ghost_host","GHOST_ENABLE_HTTPS=$$config_ghost_enable_https","GHOST_EMAIL=$$config_ghost_email","GHOST_PASSWORD=$$secret_ghost_password","GHOST_DATABASE_HOST=$$config_ghost_database_host","GHOST_DATABASE_USER=$$config_mariadb_user","GHOST_DATABASE_PASSWORD=$$secret_ghost_database_password","GHOST_DATABASE_NAME=$$config_mariadb_database","GHOST_DATABASE_PORT_NUMBER=3306"],"ports":["2368"]},"$$id-mariadb":{"name":"MariaDB","depends_on":[],"image":"bitnami/mariadb:latest","volumes":["$$id-mariadb:/bitnami/mariadb"],"environment":["MARIADB_USER=$$config_mariadb_user","MARIADB_PASSWORD=$$secret_mariadb_password","MARIADB_DATABASE=$$config_mariadb_database","MARIADB_ROOT_USER=$$config_mariadb_root_user","MARIADB_ROOT_PASSWORD=$$secret_mariadb_root_password"],"ports":[]}},"variables":[{"id":"$$config_url","name":"url","label":"URL","defaultValue":"$$generate_fqdn","description":""},{"id":"$$config_ghost_host","name":"GHOST_HOST","label":"Ghost Host","defaultValue":"$$generate_domain","description":""},{"id":"$$config_ghost_enable_https","name":"GHOST_ENABLE_HTTPS","label":"Ghost Enable HTTPS","defaultValue":"no","description":""},{"id":"$$config_ghost_email","name":"GHOST_EMAIL","label":"Ghost Default Email","defaultValue":"[email protected]","description":""},{"id":"$$secret_ghost_password","name":"GHOST_PASSWORD","label":"Ghost Default Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true},{"id":"$$config_ghost_database_host","name":"GHOST_DATABASE_HOST","label":"Ghost Database Host","defaultValue":"$$id-mariadb","description":""},{"id":"$$config_ghost_database_user","name":"GHOST_DATABASE_USER","label":"MariaDB User","defaultValue":"$$config_mariadb_user","description":""},{"id":"$$secret_ghost_database_password","name":"GHOST_DATABASE_PASSWORD","label":"MariaDB Password","defaultValue":"$$secret_mariadb_password","description":""},{"id":"$$config_ghost_database_name","name":"GHOST_DATABASE_NAME","label":"MariaDB Database","defaultValue":"$$config_mariadb_database","description":""},{"id":"$$config_mariadb_user","name":"MARIADB_USER","label":"MariaDB User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_mariadb_password","name":"MARIADB_PASSWORD","label":"MariaDB Password","defaultValue":"$$generate_password","description":""},{"id":"$$config_mariadb_database","name":"MARIADB_DATABASE","label":"MariaDB Database","defaultValue":"ghost","description":""},{"id":"$$config_mariadb_root_user","name":"MARIADB_ROOT_USER","label":"MariaDB Root User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_mariadb_root_password","name":"MARIADB_ROOT_PASSWORD","label":"MariaDB Root Password","defaultValue":"$$generate_password","description":""}]},{"templateVersion":"1.0.0","defaultVersion":"5.30.0","documentation":"https://docs.ghost.org","type":"ghost-only","name":"Ghost","subname":"(without Database)","description":"Free and open source blogging platform.","services":{"$$id":{"name":"Ghost","image":"ghost:$$core_version","volumes":["$$id-ghost:/var/lib/ghost/content"],"environment":["url=$$config_url","database__client=$$config_database__client","database__connection__host=$$config_database__connection__host","database__connection__user=$$config_database__connection__user","database__connection__password=$$secret_database__connection__password","database__connection__database=$$config_database__connection__database"],"ports":["2368"]}},"variables":[{"id":"$$config_url","name":"url","label":"URL","defaultValue":"$$generate_fqdn","description":""},{"id":"$$config_database__client","name":"database__client","label":"Database Client","defaultValue":"mysql","description":"","required":true},{"id":"$$config_database__connection__host","name":"database__connection__host","label":"Database Host","defaultValue":"","description":"","required":true,"placeholder":"db.coolify.io"},{"id":"$$config_database__connection__user","name":"database__connection__user","label":"Database User","defaultValue":"","description":"","placeholder":"ghost","required":true},{"id":"$$secret_database__connection__password","name":"database__connection__password","label":"Database Password","defaultValue":"","description":"","placeholder":"superSecretP4ssword","showOnConfiguration":true,"required":true},{"id":"$$config_database__connection__database","name":"database__connection__database","label":"Database Name","defaultValue":"","description":"","placeholder":"ghost_db","required":true}]},{"templateVersion":"1.0.0","defaultVersion":"5.30.0","documentation":"https://docs.ghost.org","type":"ghost-mysql","name":"Ghost","subname":"(MySQL)","description":"Ghost is a free and open source blogging platform.","services":{"$$id":{"name":"Ghost","depends_on":["$$id-mysql"],"image":"ghost:$$core_version","volumes":["$$id-ghost:/var/lib/ghost/content"],"environment":["url=$$config_url","database__client=$$config_database__client","database__connection__host=$$config_database__connection__host","database__connection__user=$$config_mysql_user","database__connection__password=$$secret_mysql_password","database__connection__database=$$config_mysql_database"],"ports":["2368"]},"$$id-mysql":{"name":"MySQL","depends_on":[],"image":"mysql:8.0","volumes":["$$id-mysql:/var/lib/mysql"],"environment":["MYSQL_USER=$$config_mysql_user","MYSQL_PASSWORD=$$secret_mysql_password","MYSQL_DATABASE=$$config_mysql_database","MYSQL_ROOT_PASSWORD=$$secret_mysql_root_password"],"ports":[]}},"variables":[{"id":"$$config_url","name":"url","label":"URL","defaultValue":"$$generate_fqdn","description":""},{"id":"$$config_database__client","name":"database__client","label":"Database Client","defaultValue":"mysql","description":"","readOnly":true},{"id":"$$config_database__connection__host","name":"database__connection__host","label":"Database Host","defaultValue":"$$id-mysql","description":""},{"id":"$$config_mysql_user","main":"$$id-mysql","name":"MYSQL_USER","label":"MySQL User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_mysql_password","main":"$$id-mysql","name":"MYSQL_PASSWORD","label":"MySQL Password","defaultValue":"$$generate_password","description":""},{"id":"$$config_mysql_database","main":"$$id-mysql","name":"MYSQL_DATABASE","label":"MySQL Database","defaultValue":"ghost","description":""},{"id":"$$secret_mysql_root_password","name":"MYSQL_ROOT_PASSWORD","label":"MySQL Root Password","defaultValue":"$$generate_password","description":""}]},{"templateVersion":"1.0.0","defaultVersion":"php8.2","documentation":"https://wordpress.org/","type":"wordpress","name":"WordPress","subname":"(MySQL)","description":"A content management system based on PHP.","labels":["wordpress","php","cms"],"services":{"$$id":{"name":"WordPress","depends_on":["$$id-mysql"],"image":"wordpress:$$core_version","volumes":["$$id-wordpress-data:/var/www/html"],"environment":["WORDPRESS_DB_HOST=$$config_wordpress_db_host","WORDPRESS_DB_USER=$$config_mysql_user","WORDPRESS_DB_PASSWORD=$$secret_mysql_password","WORDPRESS_DB_NAME=$$config_mysql_database","WORDPRESS_CONFIG_EXTRA=$$config_wordpress_config_extra"],"ports":["80"]},"$$id-mysql":{"name":"MySQL","depends_on":[],"image":"bitnami/mysql:5.7","imageArm":"mysql:8.0","volumes":["$$id-mysql-data:/bitnami/mysql/data"],"volumesArm":["$$id-mysql-data:/var/lib/mysql"],"environment":["MYSQL_ROOT_PASSWORD=$$secret_mysql_root_password","MYSQL_ROOT_USER=$$config_mysql_root_user","MYSQL_DATABASE=$$config_mysql_database","MYSQL_USER=$$config_mysql_user","MYSQL_PASSWORD=$$secret_mysql_password"]}},"variables":[{"id":"$$config_wordpress_db_host","name":"WORDPRESS_DB_HOST","label":"Database Host","defaultValue":"$$id-mysql","description":"","readOnly":true},{"id":"$$config_wordpress_config_extra","name":"WORDPRESS_CONFIG_EXTRA","label":"WordPress Config Extra","defaultValue":"","description":"","type":"textarea","placeholder":"define('WP_DEBUG', true);\ndefine('WP_DEBUG_LOG', true);\ndefine('WP_DEBUG_DISPLAY', false);\n@ini_set('display_errors', 0);\n"},{"id":"$$secret_mysql_root_password","name":"MYSQL_ROOT_PASSWORD","label":"MySQL Root Password","defaultValue":"$$generate_password","description":"","readOnly":true},{"id":"$$config_mysql_root_user","name":"MYSQL_ROOT_USER","label":"MySQL Root User","defaultValue":"$$generate_username","description":"","readOnly":true},{"id":"$$config_mysql_database","name":"MYSQL_DATABASE","label":"MySQL Database","defaultValue":"wordpress","description":"","readOnly":true},{"id":"$$config_mysql_user","name":"MYSQL_USER","label":"MySQL User","defaultValue":"$$generate_username","description":"","readOnly":true},{"id":"$$secret_mysql_password","name":"MYSQL_PASSWORD","label":"MySQL Password","defaultValue":"$$generate_password","description":"","readOnly":true}]},{"templateVersion":"1.0.0","defaultVersion":"php8.2","documentation":"https://wordpress.org/","type":"wordpress-only","name":"WordPress","subname":"(without DB)","description":"A content management system based on PHP.","labels":["wordpress","php","cms"],"services":{"$$id":{"name":"WordPress","image":"wordpress:$$core_version","volumes":["$$id-wordpress-data:/var/www/html"],"environment":["WORDPRESS_DB_HOST=$$config_wordpress_db_host","WORDPRESS_DB_PORT=$$config_wordpress_db_port","WORDPRESS_DB_USER=$$config_wordpress_db_user","WORDPRESS_DB_PASSWORD=$$secret_wordpress_db_password","WORDPRESS_DB_NAME=$$config_wordpress_db_name","WORDPRESS_CONFIG_EXTRA=$$config_wordpress_config_extra"],"ports":["80"]}},"variables":[{"id":"$$config_wordpress_db_host","name":"WORDPRESS_DB_HOST","label":"Database Host","defaultValue":"","description":"","placeholder":"db.coollabs.io","required":true},{"id":"$$config_wordpress_db_port","name":"WORDPRESS_DB_PORT","label":"Database Port","defaultValue":"","description":"","placeholder":"3306","required":true},{"id":"$$config_wordpress_db_user","name":"WORDPRESS_DB_USER","label":"Database User","defaultValue":"","description":"","placeholder":"wordpress","required":true},{"id":"$$secret_wordpress_db_password","name":"WORDPRESS_DB_PASSWORD","label":"Database Password","defaultValue":"","description":"","placeholder":"supers3cr3tpassw0rd!","required":true,"showOnConfiguration":true},{"id":"$$config_wordpress_db_name","name":"WORDPRESS_DB_NAME","label":"Database Name","defaultValue":"","description":"","placeholder":"wordpress","required":true},{"id":"$$config_wordpress_config_extra","name":"WORDPRESS_CONFIG_EXTRA","label":"Extra Config","defaultValue":"","description":"","type":"textarea","placeholder":"define('WP_DEBUG', true);\ndefine('WP_DEBUG_LOG', true);\ndefine('WP_DEBUG_DISPLAY', false);\n@ini_set('display_errors', 0);\n"}]},{"templateVersion":"1.0.0","defaultVersion":"4.9.1","documentation":"https://coder.com/docs/coder-oss/latest","type":"vscodeserver","name":"VSCode Server","description":"Visual Studio Code on a remote server, accessible through the browser.","labels":["vscode","ide"],"services":{"$$id":{"name":"VSCode Server","depends_on":[],"image":"codercom/code-server:$$core_version","volumes":["$$id-vscodeserver-data:/home/coder","$$id-keys-directory:/root/.ssh","$$id-theme-and-plugin-directory:/root/.local/share/code-server"],"environment":["PASSWORD=$$secret_password"],"ports":["8080"]}},"variables":[{"id":"$$secret_password","name":"PASSWORD","label":"Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true}]},{"templateVersion":"1.0.0","defaultVersion":"RELEASE.2023-01-12T02-06-16Z","documentation":"https://min.io/docs/minio","type":"minio","name":"MinIO","description":"A cloud storage server compatible with Amazon S3.","labels":["storage","s3"],"services":{"$$id":{"name":"MinIO","command":"server /data --console-address :9001","depends_on":[],"image":"minio/minio:$$core_version","volumes":["$$id-minio-data:/data","$$id-data-write:/files"],"environment":["MINIO_SERVER_URL=$$config_coolify_fqdn_minio_console","MINIO_BROWSER_REDIRECT_URL=$$config_minio_browser_redirect_url","MINIO_DOMAIN=$$config_minio_domain","MINIO_ROOT_USER=$$config_minio_root_user","MINIO_ROOT_PASSWORD=$$secret_minio_root_password"],"ports":["9000","9001"],"proxy":[{"port":"9000","domain":"$$config_coolify_fqdn_minio_console"},{"port":"9001"}]}},"variables":[{"id":"$$config_coolify_fqdn_minio_console","name":"MINIO_SERVER_URL","label":"MinIO Server URL","defaultValue":"","description":"Specify the URL hostname the MinIO Console should use for connecting to the MinIO Server.","required":true},{"id":"$$config_minio_browser_redirect_url","name":"MINIO_BROWSER_REDIRECT_URL","label":"Browser Redirect URL","defaultValue":"$$generate_fqdn","description":""},{"id":"$$config_minio_domain","name":"MINIO_DOMAIN","label":"Domain","defaultValue":"$$generate_domain","description":""},{"id":"$$config_minio_root_user","name":"MINIO_ROOT_USER","label":"Root User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_minio_root_password","name":"MINIO_ROOT_PASSWORD","label":"Root User Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true}]},{"templateVersion":"1.0.0","defaultVersion":"stable","documentation":"https://fider.io/docs","type":"fider","name":"Fider","description":"A platform to collect and organize customer feedback.","labels":["suggestion","feedback"],"services":{"$$id":{"name":"Fider","image":"getfider/fider:$$core_version","depends_on":["$$id-postgresql"],"environment":["BASE_URL=$$config_base_url","DATABASE_URL=$$secret_database_url","JWT_SECRET=$$secret_jwt_secret","EMAIL_NOREPLY=$$config_email_noreply","EMAIL_MAILGUN_API=$$secret_email_mailgun_api","EMAIL_MAILGUN_REGION=$$config_email_mailgun_region","EMAIL_MAILGUN_DOMAIN=$$config_email_mailgun_domain","EMAIL_SMTP_HOST=$$config_email_smtp_host","EMAIL_SMTP_PORT=$$config_email_smtp_port","EMAIL_SMTP_USER=$$config_email_smtp_user","EMAIL_SMTP_PASSWORD=$$secret_email_smtp_password","EMAIL_SMTP_ENABLE_STARTTLS=$$config_email_smtp_enable_starttls"],"ports":["3000"]},"$$id-postgresql":{"name":"PostgreSQL","depends_on":[],"image":"postgres:12-alpine","volumes":["$$id-postgresql-data:/var/lib/postgresql/data"],"environment":["POSTGRES_USER=$$config_postgres_user","POSTGRES_PASSWORD=$$secret_postgres_password","POSTGRES_DB=$$config_postgres_db"]}},"variables":[{"id":"$$config_base_url","name":"BASE_URL","label":"Base URL","defaultValue":"$$generate_fqdn","description":""},{"id":"$$secret_database_url","name":"DATABASE_URL","label":"Database URL for PostgreSQL","defaultValue":"postgresql://$$config_postgres_user:$$secret_postgres_password@$$id-postgresql:5432/$$config_postgres_db?sslmode=disable","description":""},{"id":"$$secret_jwt_secret","name":"JWT_SECRET","label":"JWT Secret","defaultValue":"$$generate_hex(64)","description":""},{"id":"$$config_email_noreply","name":"EMAIL_NOREPLY","label":"No Reply Email Address","defaultValue":"[email protected]","description":""},{"id":"$$secret_email_mailgun_api","name":"EMAIL_MAILGUN_API","label":"Mailgun API Key","defaultValue":"","description":"","showOnConfiguration":true},{"id":"$$config_email_mailgun_region","name":"EMAIL_MAILGUN_REGION","label":"Mailgun Region","defaultValue":"EU","description":""},{"id":"$$config_email_mailgun_domain","name":"EMAIL_MAILGUN_DOMAIN","label":"Mailgun Domain","defaultValue":"","description":""},{"id":"$$config_email_smtp_host","name":"EMAIL_SMTP_HOST","label":"SMTP Host","defaultValue":"","description":""},{"id":"$$config_email_smtp_port","name":"EMAIL_SMTP_PORT","label":"SMTP Port","defaultValue":"587","description":""},{"id":"$$config_email_smtp_user","name":"EMAIL_SMTP_USER","label":"SMTP User","defaultValue":"","description":""},{"id":"$$secret_email_smtp_password","name":"EMAIL_SMTP_PASSWORD","label":"SMTP Password","defaultValue":"","description":"","showOnConfiguration":true},{"id":"$$config_email_smtp_enable_starttls","name":"EMAIL_SMTP_ENABLE_STARTTLS","label":"SMTP Enable StartTLS","defaultValue":"false","description":""},{"id":"$$config_postgres_user","name":"POSTGRES_USER","label":"PostgreSQL User","defaultValue":"$$generate_username","description":""},{"id":"$$secret_postgres_password","name":"POSTGRES_PASSWORD","label":"PostgreSQL Password","defaultValue":"$$generate_password","description":""},{"id":"$$config_postgres_db","name":"POSTGRES_DB","label":"PostgreSQL Database","defaultValue":"$$generate_username","description":""}]},{"templateVersion":"1.0.0","defaultVersion":"0.215.1","documentation":"https://docs.n8n.io","type":"n8n","name":"n8n.io","description":"A free and open node based Workflow Automation Tool.","labels":["workflow","automation","ifttt","zapier","nodered"],"services":{"$$id":{"name":"N8n","depends_on":[],"image":"n8nio/n8n:$$core_version","volumes":["$$id-data:/root/.n8n","$$id-data-write:/files","/var/run/docker.sock:/var/run/docker.sock"],"environment":["WEBHOOK_URL=$$config_webhook_url"],"ports":["5678"]}},"variables":[{"id":"$$config_webhook_url","name":"WEBHOOK_URL","label":"Webhook URL","defaultValue":"$$generate_fqdn","description":""}]},{"templateVersion":"1.0.0","defaultVersion":"v1.5.1","documentation":"https://plausible.io/doc/","arch":"amd64","type":"plausibleanalytics","name":"Plausible Analytics","description":"A lightweight and open-source website analytics tool.","labels":["analytics","statistics","plausible","gdpr","no-cookie","google analytics"],"services":{"$$id":{"name":"Plausible Analytics","command":"sh -c \"sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin && /entrypoint.sh run\"","depends_on":["$$id-postgresql","$$id-clickhouse"],"image":"plausible/analytics:$$core_version","environment":["ADMIN_USER_EMAIL=$$config_admin_user_email","ADMIN_USER_NAME=$$config_admin_user_name","ADMIN_USER_PWD=$$secret_admin_user_pwd","BASE_URL=$$config_base_url","SECRET_KEY_BASE=$$secret_secret_key_base","DISABLE_AUTH=$$config_disable_auth","DISABLE_REGISTRATION=$$config_disable_registration","DATABASE_URL=$$secret_database_url","CLICKHOUSE_DATABASE_URL=$$secret_clickhouse_database_url"],"ports":["8000"]},"$$id-postgresql":{"name":"PostgreSQL","image":"bitnami/postgresql:13","volumes":["$$id-postgresql-data:/bitnami/postgresql"],"environment":["POSTGRESQL_PASSWORD=$$secret_postgresql_password","POSTGRESQL_USERNAME=$$config_postgresql_username","POSTGRESQL_DATABASE=$$config_postgresql_database"]},"$$id-clickhouse":{"name":"Clickhouse","volumes":["$$id-clickhouse-data:/var/lib/clickhouse"],"image":"clickhouse/clickhouse-server:22.6-alpine","ulimits":{"nofile":{"soft":262144,"hard":262144}},"files":[{"location":"/etc/clickhouse-server/users.d/logging.xml","content":"<yandex><logger><level>warning</level><console>true</console></logger><query_thread_log remove=\"remove\"/><query_log remove=\"remove\"/><text_log remove=\"remove\"/><trace_log remove=\"remove\"/><metric_log remove=\"remove\"/><asynchronous_metric_log remove=\"remove\"/><session_log remove=\"remove\"/><part_log remove=\"remove\"/></yandex>"},{"location":"/etc/clickhouse-server/config.d/logging.xml","content":"<yandex><profiles><default><log_queries>0</log_queries><log_query_threads>0</log_query_threads></default></profiles></yandex>"},{"location":"/docker-entrypoint-initdb.d/init.query","content":"CREATE DATABASE IF NOT EXISTS plausible;"},{"location":"/docker-entrypoint-initdb.d/init-db.sh","content":"clickhouse client --queries-file /docker-entrypoint-initdb.d/init.query"}]}},"variables":[{"id":"$$config_base_url","name":"BASE_URL","label":"Base URL","defaultValue":"$$generate_fqdn","description":"You must set this to the FQDN of the Plausible Analytics instance. This is used to generate the links to the Plausible Analytics instance."},{"id":"$$secret_database_url","name":"DATABASE_URL","label":"Database URL for PostgreSQL","defaultValue":"postgresql://$$config_postgresql_username:$$secret_postgresql_password@$$id-postgresql:5432/$$config_postgresql_database","description":""},{"id":"$$secret_clickhouse_database_url","name":"CLICKHOUSE_DATABASE_URL","label":"Database URL for Clickhouse","defaultValue":"http://$$id-clickhouse:8123/plausible","description":""},{"id":"$$config_admin_user_email","name":"ADMIN_USER_EMAIL","label":"Admin Email Address","defaultValue":"[email protected]","description":"This is the admin email. Please change it."},{"id":"$$config_admin_user_name","name":"ADMIN_USER_NAME","label":"Admin User Name","defaultValue":"$$generate_username","description":"This is the admin username. Please change it."},{"id":"$$secret_admin_user_pwd","name":"ADMIN_USER_PWD","label":"Admin User Password","defaultValue":"$$generate_password","description":"This is the admin password. Please change it.","showOnConfiguration":true},{"id":"$$secret_secret_key_base","name":"SECRET_KEY_BASE","label":"Secret Key Base","defaultValue":"$$generate_hex(64)","description":""},{"id":"$$config_disable_auth","name":"DISABLE_AUTH","label":"Authentication","defaultValue":"false","description":""},{"id":"$$config_disable_registration","name":"DISABLE_REGISTRATION","label":"Registration","defaultValue":"true","description":""},{"id":"$$config_postgresql_username","main":"$$id-postgresql","name":"POSTGRESQL_USERNAME","label":"PostgreSQL Username","defaultValue":"postgresql","description":""},{"id":"$$secret_postgresql_password","main":"$$id-postgresql","name":"POSTGRESQL_PASSWORD","label":"PostgreSQL Password","defaultValue":"$$generate_password","description":"","showOnConfiguration":true},{"id":"$$config_postgresql_database","main":"$$id-postgresql","name":"POSTGRESQL_DATABASE","label":"PostgreSQL Database","defaultValue":"plausible","description":""},{"id":"$$config_scriptName","name":"SCRIPT_NAME","label":"Custom Script Name","defaultValue":"plausible.js","description":"This is the default script name."}]},{"templateVersion":"1.0.0","defaultVersion":"0.104.2","documentation":"https://docs.nocodb.com","type":"nocodb","name":"NocoDB","description":"Turns any MySQL, PostgreSQL, SQL Server, SQLite & MariaDB into a smart-spreadsheet.","labels":["database","airtable","spreadsheet"],"services":{"$$id":{"name":"NocoDB","image":"nocodb/nocodb:$$core_version","environment":["PORT=$$config_port","NC_DB=$$config_nc_db","DATABASE_URL=$$secret_database_url","NC_PUBLIC_URL=$$config_public_url","NC_AUTH_JWT_SECRET=$$secret_auth_jwt_secret","NC_SENTRY_DSN=$$secret_sentry_dsn","NC_CONNECT_TO_EXTERNAL_DB_DISABLED=$$config_connect_to_external_db_disabled","NC_DISABLE_TELE=$$config_disable_tele"],"volumes":["$$id-data:/usr/app/data"],"ports":["8080"]}},"variables":[{"id":"$$config_nc_db","name":"NC_DB","label":"Database","defaultValue":"","description":"MySQL, PostgreSQL and MSSQL connection urls supported. If absent: A local SQLite will be created in root folder."},{"id":"$$config_port","name":"PORT","label":"Port","defaultValue":"8080","description":""},{"id":"$$secret_database_url","name":"DATABASE_URL","label":"Database URL","defaultValue":"","description":"JDBC URL Format. Can be used instead of NC_DB. Used in 1-Click Heroku deployment."},{"id":"$$config_public_url","name":"NC_PUBLIC_URL","label":"Public URL","defaultValue":"","description":"Used for sending Email invitations. If absent: Best guess from http request params."},{"id":"$$secret_auth_jwt_secret","name":"NC_AUTH_JWT_SECRET","label":"Auth JWT Secret","defaultValue":"$$generate_hex(64)","description":"JWT secret used for auth and storing other secrets. If absent: A Random secret will be generated."},{"id":"$$secret_sentry_dsn","name":"NC_SENTRY_DSN","label":"Sentry DSN","defaultValue":"","description":"For Sentry monitoring."},{"id":"$$config_connect_to_external_db_disabled","name":"NC_CONNECT_TO_EXTERNAL_DB_DISABLED","label":"Disable External Database","defaultValue":"0","description":"Disable Project creation with external database. (Enter \"1\" to disable)."},{"id":"$$config_disable_tele","name":"NC_DISABLE_TELE","label":"NocoDB Disable Telemetry","defaultValue":"1","description":"Disable telemetry (Enter \"1\" to disable)."}]}]\ No newline at end of filediff --git a/apps/api/tsconfig.json b/apps/api/tsconfig.jsondeleted file mode 100644index 8900da4f09..0000000000--- a/apps/api/tsconfig.json+++ /dev/null@@ -1,7 +0,0 @@-{- "compilerOptions": {- "esModuleInterop": true,- "resolveJsonModule":true,- "downlevelIteration": true- }- }\ No newline at end of filediff --git a/apps/others/backup/.dockerignore b/apps/others/backup/.dockerignoredeleted file mode 100644index 1b8c356caa..0000000000--- a/apps/others/backup/.dockerignore+++ /dev/null@@ -1,2 +0,0 @@-node_modules-backup/*\ No newline at end of filediff --git a/apps/others/backup/Dockerfile b/apps/others/backup/Dockerfiledeleted file mode 100644index 178d70ab73..0000000000--- a/apps/others/backup/Dockerfile+++ /dev/null@@ -1,27 +0,0 @@-ARG PNPM_VERSION=7.17.1--FROM node:18-slim as build-WORKDIR /app-RUN npm --no-update-notifier --no-fund --global install pnpm@${PNPM_VERSION}--COPY ./package*.json .-RUN pnpm install -p-COPY . .--# Production build-FROM node:18-slim-ARG DOCKER_VERSION=20.10.18-ARG TARGETPLATFORM-ENV NODE_ENV production--WORKDIR /app--RUN apt update && apt -y install curl-RUN npm --no-update-notifier --no-fund --global install pnpm@${PNPM_VERSION}-RUN curl -SL https://cdn.coollabs.io/bin/$TARGETPLATFORM/docker-$DOCKER_VERSION -o /usr/bin/docker-RUN chmod +x /usr/bin/docker-COPY --from=minio/mc:latest /usr/bin/mc /usr/bin/mc-COPY --from=build /app/ .--ENV CHECKPOINT_DISABLE=1-CMD node /app/src/index.mjs\ No newline at end of filediff --git a/apps/others/backup/backups/.gitkeep b/apps/others/backup/backups/.gitkeepdeleted file mode 100644index e69de29bb2..0000000000diff --git a/apps/others/backup/package.json b/apps/others/backup/package.jsondeleted file mode 100644index cfabe22a59..0000000000--- a/apps/others/backup/package.json+++ /dev/null@@ -1,24 +0,0 @@-{- "name": "backup",- "version": "0.0.1",- "description": "",- "author": "Andras Bacsai",- "license": "Apache-2.0",- "main": "index.mjs",- "type": "module",- "scripts": {- "start": "NODE_ENV=production node src/index.mjs",- "dev": "pnpm cleanup && NODE_ENV=development node src/index.mjs",- "build": "docker build -t backup .",- "test": "pnpm build && docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock -v /root/devel/coolify/apps/backup/backups:/app/backups -e CONTAINERS_TO_BACKUP='clatmhc6000008lvb5a5tnvsk:database:mysql:local' backup",- "cleanup": "rm -rf backups/*"- },- "keywords": [],- "dependencies": {- "@aws-sdk/client-s3": "^3.222.0",- "@aws-sdk/lib-storage": "^3.222.0",- "cuid": "2.1.8",- "dotenv": "16.0.3",- "zx": "7.1.1"- }-}\ No newline at end of filediff --git a/apps/others/backup/src/index.mjs b/apps/others/backup/src/index.mjsdeleted file mode 100644index 4707d3a431..0000000000--- a/apps/others/backup/src/index.mjs+++ /dev/null@@ -1,126 +0,0 @@-import * as dotenv from 'dotenv';-dotenv.config()--import 'zx/globals';-import cuid from 'cuid';-import { S3, PutObjectCommand } from "@aws-sdk/client-s3";-import fs from 'fs';--const isDev = process.env.NODE_ENV === 'development'-$.verbose = !!isDev--if (!process.env.CONTAINERS_TO_BACKUP && !isDev) {- console.log(chalk.red(`No containers to backup!`))- process.exit(1)-}-const mysqlGzipLocal = 'clb6c9ue4000a8lputdd5g1cl:database:mysql:gzip:local';-const mysqlRawLocal = 'clb6c9ue4000a8lputdd5g1cl:database:mysql:raw:local';-const postgresqlGzipLocal = 'clb6c15yi00008lpuezop7cy0:database:postgresql:gzip:local';-const postgresqlRawLocal = 'clb6c15yi00008lpuezop7cy0:database:postgresql:raw:local';--const minio = 'clb6c9ue4000a8lputdd5g1cl:database:mysql:gzip:minio|http|min.arm.coolify.io|backups|<access_key>|<secret_key>';-const digitalOcean = 'clb6c9ue4000a8lputdd5g1cl:database:mysql:gzip:do|https|fra1.digitaloceanspaces.com|backups|<access_key>|<secret_key>';--const devContainers = [mysqlGzipLocal, mysqlRawLocal, postgresqlGzipLocal, postgresqlRawLocal]--const containers = isDev- ? devContainers- : process.env.CONTAINERS_TO_BACKUP.split(',')--const backup = async (container) => {- const id = cuid()- const [name, backupType, type, zipped, storage] = container.split(':')- const directory = `backups`;- const filename = zipped === 'raw'- ? `${name}-${type}-${backupType}-${new Date().getTime()}.sql`- : `${name}-${type}-${backupType}-${new Date().getTime()}.tgz`- const backup = `${directory}/${filename}`;-- try {- await $`docker inspect ${name.split(' ')[0]}`.quiet()- if (backupType === 'database') {- if (type === 'mysql') {- console.log(chalk.blue(`Backing up ${name}:${type}...`))- const { stdout: rootPassword } = await $`docker exec ${name} printenv MYSQL_ROOT_PASSWORD`.quiet()- if (zipped === 'raw') {- await $`docker exec ${name} sh -c "exec mysqldump --all-databases -uroot -p${rootPassword.trim()}" > ${backup}`- } else if (zipped === 'gzip') {- await $`docker exec ${name} sh -c "exec mysqldump --all-databases -uroot -p${rootPassword.trim()}" | gzip > ${backup}`- }- }- if (type === 'postgresql') {- console.log(chalk.blue(`Backing up ${name}:${type}...`))- const { stdout: userPassword } = await $`docker exec ${name} printenv POSTGRES_PASSWORD`- const { stdout: user } = await $`docker exec ${name} printenv POSTGRES_USER`- if (zipped === 'raw') {- await $`docker exec ${name} sh -c "exec pg_dumpall -c -U${user.trim()}" -W${userPassword.trim()}> ${backup}`- } else if (zipped === 'gzip') {- await $`docker exec ${name} sh -c "exec pg_dumpall -c -U${user.trim()}" -W${userPassword.trim()} | gzip > ${backup}`- }- }- const [storageType, ...storageArgs] = storage.split('|')- if (storageType !== 'local') {- let s3Protocol, s3Url, s3Bucket, s3Key, s3Secret = null- if (storageArgs.length > 0) {- [s3Protocol, s3Url, s3Bucket, s3Key, s3Secret] = storageArgs- }- if (storageType === 'minio') {- if (!s3Protocol || !s3Url || !s3Bucket || !s3Key || !s3Secret) {- console.log(chalk.red(`Invalid storage arguments for ${name}:${type}!`))- return- }- await $`mc alias set ${id} ${s3Protocol}://${s3Url} ${s3Key} ${s3Secret}`- await $`mc stat ${id}`- await $`mc cp ${backup} ${id}/${s3Bucket}`- await $`rm ${backup}`- await $`mc alias rm ${id}`- } else if (storageType === 'do') {- if (!s3Protocol || !s3Url || !s3Bucket || !s3Key || !s3Secret) {- console.log(chalk.red(`Invalid storage arguments for ${name}:${type}!`))- return- }- console.log({ s3Protocol, s3Url, s3Bucket, s3Key, s3Secret })- console.log(chalk.blue(`Uploading ${name}:${type} to DigitalOcean Spaces...`))- const readstream = fs.createReadStream(backup)- const bucketParams = {- Bucket: s3Bucket,- Key: filename,- Body: readstream- };- const s3Client = new S3({- forcePathStyle: false,- endpoint: `${s3Protocol}://${s3Url}`,- region: "us-east-1",- credentials: {- accessKeyId: s3Key,- secretAccessKey: s3Secret- },- });- try {- const data = await s3Client.send(new PutObjectCommand(bucketParams));- console.log(chalk.green("Successfully uploaded backup: " +- bucketParams.Bucket +- "/" +- bucketParams.Key- )- );- return data;- } catch (err) {- console.log("Error", err);- }- }- }- }-- console.log(chalk.green(`Backup of ${name}:${type} complete!`))- } catch (error) {- console.log(chalk.red(`Backup of ${name}:${type} failed!`))- console.log(chalk.red(error))- }-}-const promises = []-for (const container of containers) {- // await backup(container);- promises.push(backup(container))-}-await Promise.all(promises)\ No newline at end of filediff --git a/apps/others/i18n/.env.example b/apps/others/i18n/.env.exampledeleted file mode 100644index 8bdf45a646..0000000000--- a/apps/others/i18n/.env.example+++ /dev/null@@ -1,4 +0,0 @@-WEBLATE_INSTANCE_URL=http://localhost-WEBLATE_COMPONENT_NAME=coolify-WEBLATE_TOKEN=-TRANSLATION_DIR=\ No newline at end of filediff --git a/apps/others/i18n/.gitignore b/apps/others/i18n/.gitignoredeleted file mode 100644index df67586b03..0000000000--- a/apps/others/i18n/.gitignore+++ /dev/null@@ -1 +0,0 @@-locales/*\ No newline at end of filediff --git a/apps/others/i18n/index.mjs b/apps/others/i18n/index.mjsdeleted file mode 100644index 85e1460735..0000000000--- a/apps/others/i18n/index.mjs+++ /dev/null@@ -1,63 +0,0 @@-import dotenv from 'dotenv';-dotenv.config()-import fs from 'fs'-import path from 'path'-import { fileURLToPath } from 'url';-import Gettext from 'node-gettext'-import { po } from 'gettext-parser'-import got from 'got';-const __filename = fileURLToPath(import.meta.url);--const __dirname = path.dirname(__filename);--const weblateInstanceURL = process.env.WEBLATE_INSTANCE_URL;-const weblateComponentName = process.env.WEBLATE_COMPONENT_NAME-const token = process.env.WEBLATE_TOKEN;--const translationsDir = process.env.TRANSLATION_DIR;-const translationsPODir = './locales';-const locales = []-const domain = 'locale'--const translations = await got(`${weblateInstanceURL}/api/components/${weblateComponentName}/glossary/translations/?format=json`, {- headers: {- "Authorization": `Token ${token}`- }-}).json()-for (const translation of translations.results) {- const code = translation.language_code- locales.push(code)-- const fileUrl = translation.file_url.replace('=json', '=po')- const file = await got(fileUrl, {- headers: {- "Authorization": `Token ${token}`- }- }).text()- fs.writeFileSync(path.join(__dirname, translationsPODir, domain + '-' + code + '.po'), file)-}---const gt = new Gettext()--locales.forEach((locale) => {- let json = {}- const fileName = `${domain}-${locale}.po`- const translationsFilePath = path.join(translationsPODir, fileName)- const translationsContent = fs.readFileSync(translationsFilePath)-- const parsedTranslations = po.parse(translationsContent)- const a = gt.gettext(parsedTranslations)- for (const [key, value] of Object.entries(a)) {- if (key === 'translations') {- for (const [key1, value1] of Object.entries(value)) {- if (key1 !== '') {- for (const [key2, value2] of Object.entries(value1)) {- json[value2.msgctxt] = value2.msgstr[0]- }- }- }- }- }- fs.writeFileSync(`${translationsDir}/${locale}.json`, JSON.stringify(json))-})\ No newline at end of filediff --git a/apps/others/i18n/package.json b/apps/others/i18n/package.jsondeleted file mode 100644index bb4534514a..0000000000--- a/apps/others/i18n/package.json+++ /dev/null@@ -1,15 +0,0 @@-{- "name": "i18n-converter",- "description": "Convert Weblate translations to sveltekit-i18n",- "license": "Apache-2.0",- "scripts": {- "translate": "node index.mjs"- },- "type": "module",- "dependencies": {- "node-gettext": "3.0.0",- "gettext-parser": "6.0.0",- "got": "12.3.1",- "dotenv": "16.0.2"- }-}\ No newline at end of filediff --git a/apps/ui/.eslintignore b/apps/ui/.eslintignoredeleted file mode 100644index 38972655fa..0000000000--- a/apps/ui/.eslintignore+++ /dev/null@@ -1,13 +0,0 @@-.DS_Store-node_modules-/build-/.svelte-kit-/package-.env-.env.*-!.env.example--# Ignore files for PNPM, NPM and YARN-pnpm-lock.yaml-package-lock.json-yarn.lockdiff --git a/apps/ui/.eslintrc.cjs b/apps/ui/.eslintrc.cjsdeleted file mode 100644index 3ccf435f02..0000000000--- a/apps/ui/.eslintrc.cjs+++ /dev/null@@ -1,20 +0,0 @@-module.exports = {- root: true,- parser: '@typescript-eslint/parser',- extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],- plugins: ['svelte3', '@typescript-eslint'],- ignorePatterns: ['*.cjs'],- overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],- settings: {- 'svelte3/typescript': () => require('typescript')- },- parserOptions: {- sourceType: 'module',- ecmaVersion: 2020- },- env: {- browser: true,- es2017: true,- node: true- }-};diff --git a/apps/ui/.npmrc b/apps/ui/.npmrcdeleted file mode 100644index b6f27f1359..0000000000--- a/apps/ui/.npmrc+++ /dev/null@@ -1 +0,0 @@-engine-strict=truediff --git a/apps/ui/.prettierignore b/apps/ui/.prettierignoredeleted file mode 100644index 38972655fa..0000000000--- a/apps/ui/.prettierignore+++ /dev/null@@ -1,13 +0,0 @@-.DS_Store-node_modules-/build-/.svelte-kit-/package-.env-.env.*-!.env.example--# Ignore files for PNPM, NPM and YARN-pnpm-lock.yaml-package-lock.json-yarn.lockdiff --git a/apps/ui/.prettierrc b/apps/ui/.prettierrcdeleted file mode 100644index ff2677efde..0000000000--- a/apps/ui/.prettierrc+++ /dev/null@@ -1,6 +0,0 @@-{- "useTabs": true,- "singleQuote": true,- "trailingComma": "none",- "printWidth": 100-}diff --git a/apps/ui/package.json b/apps/ui/package.jsondeleted file mode 100644index d40dba2a0c..0000000000--- a/apps/ui/package.json+++ /dev/null@@ -1,59 +0,0 @@-{- "name": "ui",- "description": "Coolify's SvelteKit UI",- "license": "Apache-2.0",- "scripts": {- "dev": "vite dev",- "build": "vite build",- "package": "svelte-kit package",- "preview": "svelte-kit preview",- "test": "playwright test",- "check": "svelte-check --tsconfig ./tsconfig.json",- "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",- "lint": "prettier --check --plugin-search-dir=. . && eslint .",- "format": "prettier --write --plugin-search-dir=. ."- },- "devDependencies": {- "@floating-ui/dom": "1.0.6",- "@playwright/test": "1.28.0",- "@popperjs/core": "2.11.6",- "@sveltejs/kit": "1.0.0-next.405",- "@types/js-cookie": "3.0.2",- "@typescript-eslint/eslint-plugin": "5.44.0",- "@typescript-eslint/parser": "5.44.0",- "autoprefixer": "10.4.13",- "classnames": "2.3.2",- "eslint": "8.28.0",- "eslint-config-prettier": "8.5.0",- "eslint-plugin-svelte3": "4.0.0",- "flowbite": "1.5.4",- "flowbite-svelte": "0.28.0",- "postcss": "8.4.19",- "prettier": "2.7.1",- "prettier-plugin-svelte": "2.8.1",- "svelte": "3.53.1",- "svelte-check": "2.9.2",- "svelte-preprocess": "4.10.7",- "tailwindcss": "3.2.4",- "tailwindcss-scrollbar": "0.1.0",- "tslib": "2.4.1",- "typescript": "4.9.3",- "vite": "3.2.4"- },- "type": "module",- "dependencies": {- "@sentry/svelte": "7.21.1",- "@sentry/tracing": "7.21.1",- "@sveltejs/adapter-static": "1.0.0-next.48",- "@tailwindcss/typography": "0.5.8",- "cuid": "2.1.8",- "daisyui": "2.41.0",- "dayjs": "1.11.6",- "js-cookie": "3.0.1",- "js-yaml": "4.1.0",- "p-limit": "4.0.0",- "socket.io-client": "4.5.3",- "svelte-select": "4.4.7",- "sveltekit-i18n": "2.2.2"- }-}\ No newline at end of filediff --git a/apps/ui/playwright.config.ts b/apps/ui/playwright.config.tsdeleted file mode 100644index 87c293e5a1..0000000000--- a/apps/ui/playwright.config.ts+++ /dev/null@@ -1,10 +0,0 @@-import type { PlaywrightTestConfig } from '@playwright/test';--const config: PlaywrightTestConfig = {- webServer: {- command: 'npm run build && npm run preview',- port: 3000- }-};--export default config;diff --git a/apps/ui/postcss.config.cjs b/apps/ui/postcss.config.cjsdeleted file mode 100644index 054c147cbf..0000000000--- a/apps/ui/postcss.config.cjs+++ /dev/null@@ -1,6 +0,0 @@-module.exports = {- plugins: {- tailwindcss: {},- autoprefixer: {}- }-};diff --git a/apps/ui/src/app.d.ts b/apps/ui/src/app.d.tsdeleted file mode 100644index ebc7c26681..0000000000--- a/apps/ui/src/app.d.ts+++ /dev/null@@ -1,25 +0,0 @@-/// <reference types="@sveltejs/kit" />--// See https://kit.svelte.dev/docs/types#app-// for information about these interfaces-declare namespace App {- // interface Locals {}- // interface Platform {}- // interface Session {}- interface Stuff {- service: any;- application: any;- isRunning: boolean;- appId: string;- readOnly: boolean;- source: string;- settings: string;- database: Record<string, any>;- versions: string;- privatePort: string;- }-}--declare const GITPOD_WORKSPACE_URL: string--\ No newline at end of filediff --git a/apps/ui/src/app.html b/apps/ui/src/app.htmldeleted file mode 100644index 16d104bc7b..0000000000--- a/apps/ui/src/app.html+++ /dev/null@@ -1,12 +0,0 @@-<!DOCTYPE html>-<html data-theme="coollabs" lang="en">- <head>- <meta charset="utf-8" />- <link rel="icon" href="%sveltekit.assets%/favicon.png" />- <meta name="viewport" content="width=device-width, initial-scale=1" />- %sveltekit.head%- </head>- <body>- <div id="svelte">%sveltekit.body%</div>- </body>-</html>diff --git a/apps/ui/src/hooks.ts b/apps/ui/src/hooks.tsdeleted file mode 100644index df3284d5af..0000000000--- a/apps/ui/src/hooks.ts+++ /dev/null@@ -1,13 +0,0 @@-import * as Sentry from '@sentry/svelte';-export async function handle({ event, resolve }) {- const response = await resolve(event, { ssr: false });- return response;-}-export const handleError = ({ error, event }) => {- Sentry.captureException(error, { event });-- return {- message: 'Whoops!',- code: error?.code ?? 'UNKNOWN'- };-};\ No newline at end of filediff --git a/apps/ui/src/lib/api.ts b/apps/ui/src/lib/api.tsdeleted file mode 100644index 058ec083fa..0000000000--- a/apps/ui/src/lib/api.ts+++ /dev/null@@ -1,149 +0,0 @@-import { dev } from '$app/env';-import Cookies from 'js-cookie';--export function getAPIUrl() {- if (GITPOD_WORKSPACE_URL) {- const { href } = new URL(GITPOD_WORKSPACE_URL);- const newURL = href.replace('https://', 'https://3001-').replace(/\/$/, '');- return newURL;- }- if (CODESANDBOX_HOST) {- return `https://${CODESANDBOX_HOST.replace(/\$PORT/, '3001')}`;- }- return dev- ? `http://${window.location.hostname}:3001`- : 'http://localhost:3000';-}-export function getWebhookUrl(type: string) {- if (GITPOD_WORKSPACE_URL) {- const { href } = new URL(GITPOD_WORKSPACE_URL);- const newURL = href.replace('https://', 'https://3001-').replace(/\/$/, '');- if (type === 'github') {- return `${newURL}/webhooks/github/events`;- }- if (type === 'gitlab') {- return `${newURL}/webhooks/gitlab/events`;- }- }- if (CODESANDBOX_HOST) {- const newURL = `https://${CODESANDBOX_HOST.replace(/\$PORT/, '3001')}`;- if (type === 'github') {- return `${newURL}/webhooks/github/events`;- }- if (type === 'gitlab') {- return `${newURL}/webhooks/gitlab/events`;- }- }- return `https://webhook.site/0e5beb2c-4e9b-40e2-a89e-32295e570c21/events`;-}-async function send({- method,- path,- data = null,- headers,- timeout = 120000-}: {- method: string;- path: string;- data?: any;- headers?: any;- timeout?: number;-}): Promise<Record<string, unknown>> {- const token = Cookies.get('token');- const controller = new AbortController();- const id = setTimeout(() => controller.abort(), timeout);- const opts: any = { method, headers: {}, body: null, signal: controller.signal };- if (data && Object.keys(data).length > 0) {- const parsedData = data;- for (const [key, value] of Object.entries(data)) {- if (value === '') {- parsedData[key] = null;- }- }- if (parsedData) {- opts.headers['Content-Type'] = 'application/json';- opts.body = JSON.stringify(parsedData);- }- }-- if (headers) {- opts.headers = {- ...opts.headers,- ...headers- };- }- if (token && !path.startsWith('https://')) {- opts.headers = {- ...opts.headers,- Authorization: `Bearer ${token}`- };- }- if (!path.startsWith('https://')) {- path = `/api/v1${path}`;- }-- if (dev && !path.startsWith('https://')) {- path = `${getAPIUrl()}${path}`;- }- if (method === 'POST' && data && !opts.body) {- opts.body = data;- }- const response = await fetch(`${path}`, opts);-- clearTimeout(id);-- const contentType = response.headers.get('content-type');-- let responseData = {};- if (contentType) {- if (contentType?.indexOf('application/json') !== -1) {- responseData = await response.json();- } else if (contentType?.indexOf('text/plain') !== -1) {- responseData = await response.text();- } else {- return {};- }- } else {- return {};- }- if (!response.ok) {- if (- response.status === 401 &&- !path.startsWith('https://api.github') &&- !path.includes('/v4/')- ) {- Cookies.remove('token');- }-- throw responseData;- }- return responseData;-}--export function get(path: string, headers?: Record<string, unknown>): Promise<Record<string, any>> {- return send({ method: 'GET', path, headers });-}--export function del(- path: string,- data: Record<string, unknown>,- headers?: Record<string, unknown>-): Promise<Record<string, any>> {- return send({ method: 'DELETE', path, data, headers });-}--export function post(- path: string,- data: Record<string, unknown> | FormData,- headers?: Record<string, unknown>-): Promise<Record<string, any>> {- return send({ method: 'POST', path, data, headers });-}--export function put(- path: string,- data: Record<string, unknown>,- headers?: Record<string, unknown>-): Promise<Record<string, any>> {- return send({ method: 'PUT', path, data, headers });-}diff --git a/apps/ui/src/lib/common.ts b/apps/ui/src/lib/common.tsdeleted file mode 100644index 9ed667f434..0000000000--- a/apps/ui/src/lib/common.ts+++ /dev/null@@ -1,92 +0,0 @@-import { addToast } from '$lib/store';--export const asyncSleep = (delay: number) =>- new Promise((resolve) => setTimeout(resolve, delay));--export let initials = (str:string) => (str||'').split(' ').map( (wrd) => wrd[0]).join('')--export function errorNotification(error: any | { message: string }): void {- if (error.message) {- if (error.message === 'Cannot read properties of undefined (reading \'postMessage\')') {- return addToast({- message: 'Currently there is background process in progress. Please try again later.',- type: 'error',- });- }- addToast({- message: error.message,- type: 'error',- });- } else {- addToast({- message: 'Ooops, something is not okay, are you okay?',- type: 'error',- });- }- console.error(JSON.stringify(error));-}--export function getDomain(domain: string) {- return domain?.replace('https://', '').replace('http://', '');-}-export function dashify(str: string, options?: any): string {- if (typeof str !== 'string') return str;- return str- .trim()- .replace(/\W/g, (m) => (/[ร-ลพ]/.test(m) ? m : '-'))- .replace(/^-+|-+$/g, '')- .replace(/-{2,}/g, (m) => (options && options.condense ? '-' : m))- .toLowerCase();-}--export const dateOptions: any = {- year: 'numeric',- month: 'short',- day: '2-digit',- hour: 'numeric',- minute: 'numeric',- second: 'numeric',- hour12: false-};--export const staticDeployments = [- 'react',- 'vuejs',- 'static',- 'svelte',- 'gatsby',- 'php',- 'astro',- 'eleventy'-];-export const notNodeDeployments = ['php', 'docker', 'rust', 'python', 'deno', 'laravel', 'heroku'];---export function generateRemoteEngine(destination: any) {- return `ssh://${destination.user}@${destination.ipAddress}:${destination.port}`;-}--export function changeQueryParams(buildId: string) {- const queryParams = new URLSearchParams(window.location.search);- queryParams.set('buildId', buildId);- // @ts-ignore- return history.pushState(null, null, '?' + queryParams.toString());-}---export function handlerNotFoundLoad(error: any, url: URL) {- if (error?.status === 404) {- return {- status: 302,- redirect: '/'- };- }- return {- status: 500,- error: new Error(`Could not load ${url}`)- };-}--export function getRndInteger(min: number, max: number) {- return Math.floor(Math.random() * (max - min + 1)) + min;-}diff --git a/apps/ui/src/lib/components/Beta.svelte b/apps/ui/src/lib/components/Beta.sveltedeleted file mode 100644index 279401fcf4..0000000000--- a/apps/ui/src/lib/components/Beta.svelte+++ /dev/null@@ -1 +0,0 @@-<span class="badge bg-coollabs-gradient rounded text-white font-normal"> BETA </span>\ No newline at end of filediff --git a/apps/ui/src/lib/components/ContextMenu.svelte b/apps/ui/src/lib/components/ContextMenu.sveltedeleted file mode 100644index fe4a2ce51e..0000000000--- a/apps/ui/src/lib/components/ContextMenu.svelte+++ /dev/null@@ -1,4 +0,0 @@-<nav class="header justify-between px-2 mb-5 lg:px-10">- <slot />- <slot name="actions" />-</nav>diff --git a/apps/ui/src/lib/components/CopyPasswordField.svelte b/apps/ui/src/lib/components/CopyPasswordField.sveltedeleted file mode 100644index b25817ac19..0000000000--- a/apps/ui/src/lib/components/CopyPasswordField.svelte+++ /dev/null@@ -1,156 +0,0 @@-<script lang="ts">- import { browser } from '$app/env';- import { addToast } from '$lib/store';- let showPassword = false;-- export let value: string;- export let disabled = false;- export let isPasswordField = false;- export let readonly = false;- export let textarea = false;- export let required = false;- export let pattern: string | null | undefined = null;- export let id: string;- export let name: string;- export let placeholder = '';- export let inputStyle = '';-- let disabledClass = 'input input-primary bg-coolback disabled:bg-coolblack w-full';- let isHttps = browser && window.location.protocol === 'https:';-- function copyToClipboard() {- if (isHttps && navigator.clipboard) {- navigator.clipboard.writeText(value);- addToast({- message: 'Copied to clipboard.',- type: 'success'- });- }- }-</script>--<div class="relative">- {#if !isPasswordField || showPassword}- {#if textarea}- <textarea- style={inputStyle}- rows="5"- class={disabledClass}- class:pr-10={true}- class:pr-20={value && isHttps}- class:border={required && !value}- class:border-red-500={required && !value}- {placeholder}- type="text"- {id}- {pattern}- {required}- {readonly}- {disabled}- {name}>{value}</textarea- >- {:else}- <input- style={inputStyle}- class={disabledClass}- type="text"- class:pr-10={true}- class:pr-20={value && isHttps}- class:border={required && !value}- class:border-red-500={required && !value}- {id}- {name}- {required}- {pattern}- {readonly}- bind:value- {disabled}- {placeholder}- />- {/if}- {:else}- <input- style={inputStyle}- class={disabledClass}- class:pr-10={true}- class:pr-20={value && isHttps}- class:border={required && !value}- class:border-red-500={required && !value}- type="password"- {id}- {name}- {readonly}- {pattern}- {required}- bind:value- {disabled}- {placeholder}- />- {/if}-- <div class="absolute top-0 right-0 flex justify-center items-center h-full cursor-pointer text-stone-600 hover:text-white mr-3">- <div class="flex space-x-2">- {#if isPasswordField}- <!-- svelte-ignore a11y-click-events-have-key-events -->- <div on:click={() => (showPassword = !showPassword)}>- {#if showPassword}- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"- />- </svg>- {:else}- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"- />- <path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"- />- </svg>- {/if}- </div>- {/if}- {#if value && isHttps}- <!-- svelte-ignore a11y-click-events-have-key-events -->- <div on:click={copyToClipboard}>- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <rect x="8" y="8" width="12" height="12" rx="2" />- <path d="M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2" />- </svg>- </div>- {/if}- </div>- </div>-</div>diff --git a/apps/ui/src/lib/components/CopyVolumeField.svelte b/apps/ui/src/lib/components/CopyVolumeField.sveltedeleted file mode 100644index 4491f312f2..0000000000--- a/apps/ui/src/lib/components/CopyVolumeField.svelte+++ /dev/null@@ -1,51 +0,0 @@-<script>- import { addToast } from '$lib/store';-- export let value = '';- let isHttps = window.location.protocol === 'https:';-- function copyToClipboard() {- if (isHttps && navigator.clipboard) {- navigator.clipboard.writeText(value);- addToast({- message: 'Copied to clipboard.',- type: 'success'- });- }- }-</script>--<div class="w-full relative box">- <p class="text-white p-2">{value}</p>- <div- class="absolute top-0 right-0 flex justify-center items-center h-full cursor-pointer text-stone-600 mr-3"- >- {#if isHttps}- <div on:click={copyToClipboard}>- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <rect x="8" y="8" width="12" height="12" rx="2" />- <path d="M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2" />- </svg>- </div>- {/if}- </div>-</div>--<style>- .box {- position: relative;- border: 1px dashed #202020;- border-radius: 5px;- padding: 5px;- }-</style>diff --git a/apps/ui/src/lib/components/DeleteIcon.svelte b/apps/ui/src/lib/components/DeleteIcon.sveltedeleted file mode 100644index f04b3952ce..0000000000--- a/apps/ui/src/lib/components/DeleteIcon.svelte+++ /dev/null@@ -1,17 +0,0 @@-<svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"->- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="4" y1="7" x2="20" y2="7" />- <line x1="10" y1="11" x2="10" y2="17" />- <line x1="14" y1="11" x2="14" y2="17" />- <path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" />- <path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" />-</svg>diff --git a/apps/ui/src/lib/components/DocLink.svelte b/apps/ui/src/lib/components/DocLink.sveltedeleted file mode 100644index 803b485838..0000000000--- a/apps/ui/src/lib/components/DocLink.svelte+++ /dev/null@@ -1,44 +0,0 @@-<script lang="ts">- import ExternalLink from './ExternalLink.svelte';- import Tooltip from './Tooltip.svelte';- export let url = 'https://docs.coollabs.io';- export let text: any = '';- export let isExternal = false;- let id =- 'cool-' +- url- .split('')- .map((c) => c.charCodeAt(0).toString(16).padStart(2, '0'))- .join('')- .slice(-16);-</script>--<a- {id}- href={url}- target="_blank noreferrer"- class="flex no-underline inline-block cursor-pointer"- class:icons={!text}->- <svg- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- class="w-6 h-6"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- d="M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"- />- </svg>- {text}- {#if isExternal}- <ExternalLink />- {/if}-</a>-{#if !text}- <Tooltip triggeredBy={`#${id}`}>See details in the documentation</Tooltip>-{/if}diff --git a/apps/ui/src/lib/components/Explainer.svelte b/apps/ui/src/lib/components/Explainer.sveltedeleted file mode 100644index 924ce70d60..0000000000--- a/apps/ui/src/lib/components/Explainer.svelte+++ /dev/null@@ -1,38 +0,0 @@-<script lang="ts">- // import { onMount } from 'svelte';-- // import Tooltip from './Tooltip.svelte';- export let explanation = '';- export let position = 'dropdown-right';- // let id: any;- // let self: any;- // onMount(() => {- // id = `info-${self.offsetLeft}-${self.offsetTop}`;- // });-</script>--<div class={`dropdown dropdown-end ${position}`}>- <!-- svelte-ignore a11y-label-has-associated-control -->- <!-- svelte-ignore a11y-no-noninteractive-tabindex -->- <label tabindex="0" class="btn btn-circle btn-ghost btn-xs text-sky-500">- <svg- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- class="w-4 h-4 stroke-current"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"- /></svg- >- </label>- <!-- svelte-ignore a11y-no-noninteractive-tabindex -->- <div tabindex="0" class="card compact dropdown-content shadow bg-coolgray-400 rounded w-64">- <div class="card-body">- <!-- <h2 class="card-title">You needed more info?</h2> -->- <p class="text-xs font-normal">{@html explanation}</p>- </div>- </div>-</div>diff --git a/apps/ui/src/lib/components/ExternalLink.svelte b/apps/ui/src/lib/components/ExternalLink.sveltedeleted file mode 100644index 62f2e312a0..0000000000--- a/apps/ui/src/lib/components/ExternalLink.svelte+++ /dev/null@@ -1,10 +0,0 @@-<svg- xmlns="http://www.w3.org/2000/svg"- fill="currentColor"- viewBox="0 0 24 24"- stroke-width="3"- stroke="currentColor"- class="w-3 h-3 text-white"->- <path stroke-linecap="round" stroke-linejoin="round" d="M4.5 19.5l15-15m0 0H8.25m11.25 0v11.25" />-</svg>diff --git a/apps/ui/src/lib/components/Loading.svelte b/apps/ui/src/lib/components/Loading.sveltedeleted file mode 100644index 99a1054eae..0000000000--- a/apps/ui/src/lib/components/Loading.svelte+++ /dev/null@@ -1,67 +0,0 @@-<script lang="ts">- export let fullscreen = true;- export let cover = false;-</script>--{#if fullscreen}- <div- class="main fixed left-0 top-0 flex h-full flex-wrap content-center"- class:bg-coolblack={cover}- >- <span class="loader" />- </div>-{:else}- <div class="main h-64 py-24 left-0 top-0 flex flex-wrap content-center mx-auto">- <span class="loader" />- </div>-{/if}--<style lang="postcss">- .loader {- width: 8px;- height: 40px;- border-radius: 4px;- display: block;- margin: 20px auto;- position: relative;- background: currentColor;- color: #fff;- box-sizing: border-box;- animation: animloader 0.3s linear infinite alternate;- }- .loader::after,- .loader::before {- content: '';- width: 8px;- height: 4px;- border-radius: 4px;- background: currentColor;- position: absolute;- top: 50%;- transform: translateY(-50%);- left: 20px;- box-sizing: border-box;- animation: animloader2 0.3s linear infinite alternate;- }-- .loader::before {- left: -20px;- animation-delay: 0s;- }- @keyframes animloader {- 0% {- height: 48px;- }- 100% {- height: 4px;- }- }- @keyframes animloader2 {- 0% {- height: 4px;- }- 100% {- height: 48px;- }- }-</style>diff --git a/apps/ui/src/lib/components/LoadingLogs.svelte b/apps/ui/src/lib/components/LoadingLogs.sveltedeleted file mode 100644index 7add70c19d..0000000000--- a/apps/ui/src/lib/components/LoadingLogs.svelte+++ /dev/null@@ -1,45 +0,0 @@-<script>- export let position = 'absolute';-</script>--<div class="lds-ripple {position} left-0">- <div />- <div />-</div>--<style>- .lds-ripple {- display: inline-block;- position: relative;- left: -19px;- top: -8px;- width: 40px;- height: 40px;- }- .lds-ripple div {- position: absolute;- border: 4px solid #fff;- opacity: 1;- border-radius: 50%;- animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;- }- .lds-ripple div:nth-child(2) {- animation-delay: -0.5s;- }- @keyframes lds-ripple {- 0% {- top: 1px;- left: 1px;- width: 0;- height: 0;- opacity: 1;- }- 100% {- top: 0px;- left: 0px;- width: 36px;- height: 36px;- opacity: 0;- }- }-</style>diff --git a/apps/ui/src/lib/components/LocalePicker.svelte b/apps/ui/src/lib/components/LocalePicker.sveltedeleted file mode 100644index 6efdd176c3..0000000000--- a/apps/ui/src/lib/components/LocalePicker.svelte+++ /dev/null@@ -1,11 +0,0 @@-<script>- import { locale, locales } from '$lib/translations';-</script>--<div>- <select bind:value={$locale} class="w-14">- {#each $locales as l}- <option value={l}>{l}</option>- {/each}- </select>-</div>diff --git a/apps/ui/src/lib/components/PageLoader.svelte b/apps/ui/src/lib/components/PageLoader.sveltedeleted file mode 100644index 2b52fd9176..0000000000--- a/apps/ui/src/lib/components/PageLoader.svelte+++ /dev/null@@ -1,35 +0,0 @@-<script lang="ts">- import { onMount, onDestroy } from 'svelte';- import { tweened } from 'svelte/motion';- import { cubicOut } from 'svelte/easing';-- let timeout: NodeJS.Timeout | undefined;- const progress = tweened(0, {- duration: 2000,- easing: cubicOut- });-- onMount(() => {- timeout = setTimeout(() => {- progress.set(0.7);- }, 500);- });- onDestroy(() => {- clearTimeout(timeout);- });-</script>--<div class="progress-bar">- <div class="progress-sliver" style={`--width: ${$progress * 100}%`} />-</div>--<style lang="postcss">- .progress-bar {- height: 0.2rem;- @apply fixed top-0 left-0 right-0;- }- .progress-sliver {- width: var(--width);- @apply h-full bg-coollabs;- }-</style>diff --git a/apps/ui/src/lib/components/ServiceStatus.svelte b/apps/ui/src/lib/components/ServiceStatus.sveltedeleted file mode 100644index f6cb092f55..0000000000--- a/apps/ui/src/lib/components/ServiceStatus.svelte+++ /dev/null@@ -1,37 +0,0 @@-<script lang="ts">- export let id: any;- import { status } from '$lib/store';- let serviceStatus = {- isExcluded: false,- isExited: false,- isRunning: false,- isRestarting: false,- isStopped: false- };-- $: if (Object.keys($status.service.statuses).length > 0 && $status.service.statuses[id]?.status) {- let { isExited, isRunning, isRestarting, isExcluded } = $status.service.statuses[id].status;-- serviceStatus.isExited = isExited;- serviceStatus.isRunning = isRunning;- serviceStatus.isExcluded = isExcluded;- serviceStatus.isRestarting = isRestarting;- serviceStatus.isStopped = !isExited && !isRunning && !isRestarting;- } else {- serviceStatus.isExited = false;- serviceStatus.isRunning = false;- serviceStatus.isExcluded = false;- serviceStatus.isRestarting = false;- serviceStatus.isStopped = true;- }-</script>--{#if serviceStatus.isExcluded}- <span class="badge font-bold uppercase rounded text-orange-500 mt-2">Excluded</span>-{:else if serviceStatus.isRunning}- <span class="badge font-bold uppercase rounded text-green-500 mt-2">Running</span>-{:else if serviceStatus.isStopped || serviceStatus.isExited}- <span class="badge font-bold uppercase rounded text-red-500 mt-2">Stopped</span>-{:else if serviceStatus.isRestarting}- <span class="badge font-bold uppercase rounded text-yellow-500 mt-2">Restarting</span>-{/if}diff --git a/apps/ui/src/lib/components/Setting.svelte b/apps/ui/src/lib/components/Setting.sveltedeleted file mode 100644index 555323b378..0000000000--- a/apps/ui/src/lib/components/Setting.svelte+++ /dev/null@@ -1,87 +0,0 @@-<script lang="ts">- import Beta from './Beta.svelte';- import Explaner from './Explainer.svelte';- import Tooltip from './Tooltip.svelte';-- export let id: any;- export let customClass: any = null;- export let setting: any;- export let title: any;- export let isBeta: any = false;- export let description: any = null;- export let isCenter = true;- export let disabled = false;- export let dataTooltip: any = null;- export let loading = false;- let triggeredBy = `#${id}`;-</script>--<div class="flex items-center py-4 pr-8">- <div class="flex w-96 flex-col">- <!-- svelte-ignore a11y-label-has-associated-control -->- <label>- {title}- {#if isBeta}- <Beta />- {/if}- {#if description && description !== ''}- <Explaner explanation={description} />- {/if}- </label>- </div>-</div>-<div class:text-center={isCenter} class={`flex justify-center ${customClass}`}>- <!-- svelte-ignore a11y-click-events-have-key-events -->- <div- on:click- aria-pressed="false"- class="relative mx-20 inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out"- class:opacity-50={disabled || loading}- class:bg-green-600={!loading && setting}- class:bg-stone-700={!loading && !setting}- class:bg-yellow-500={loading}- {id}- >- <span class="sr-only">Use setting</span>- <span- class="pointer-events-none relative inline-block h-5 w-5 transform rounded-full bg-white shadow transition duration-200 ease-in-out"- class:translate-x-5={setting}- class:translate-x-0={!setting}- >- <span- class=" absolute inset-0 flex h-full w-full items-center justify-center transition-opacity duration-200 ease-in"- class:opacity-0={setting}- class:opacity-100={!setting}- class:animate-spin={loading}- aria-hidden="true"- >- <svg class="h-3 w-3 bg-white text-red-600" fill="none" viewBox="0 0 12 12">- <path- d="M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2"- stroke="currentColor"- stroke-width="2"- stroke-linecap="round"- stroke-linejoin="round"- />- </svg>- </span>- <span- class="absolute inset-0 flex h-full w-full items-center justify-center transition-opacity duration-100 ease-out"- aria-hidden="true"- class:opacity-100={setting}- class:opacity-0={!setting}- class:animate-spin={loading}- >- <svg class="h-3 w-3 bg-white text-green-600" fill="currentColor" viewBox="0 0 12 12">- <path- d="M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"- />- </svg>- </span>- </span>- </div>-</div>--{#if dataTooltip}- <Tooltip {triggeredBy} placement="top">{dataTooltip}</Tooltip>-{/if}diff --git a/apps/ui/src/lib/components/SimpleExplainer.svelte b/apps/ui/src/lib/components/SimpleExplainer.sveltedeleted file mode 100644index 6a3198c278..0000000000--- a/apps/ui/src/lib/components/SimpleExplainer.svelte+++ /dev/null@@ -1,6 +0,0 @@-<script lang="ts">- export let text: string;- export let customClass = 'max-w-[24rem]';-</script>--<div class="p-2 text-xs text-stone-400 {customClass}">{@html text}</div>\ No newline at end of filediff --git a/apps/ui/src/lib/components/Toast.svelte b/apps/ui/src/lib/components/Toast.sveltedeleted file mode 100644index bb34929cdf..0000000000--- a/apps/ui/src/lib/components/Toast.svelte+++ /dev/null@@ -1,64 +0,0 @@-<script>- import { createEventDispatcher } from 'svelte';- const dispatch = createEventDispatcher();- export let type = 'info';- function success() {- if (type === 'success') {- return 'bg-dark lg:bg-primary';- }- }-</script>--<!-- svelte-ignore a11y-click-events-have-key-events -->-<div- on:click={() => dispatch('click')}- on:mouseover={() => dispatch('pause')}- on:focus={() => dispatch('pause')}- on:mouseout={() => dispatch('resume')}- on:blur={() => dispatch('resume')}- class={` flex flex-row justify-center alert shadow-lg text-white hover:scale-105 transition-all duration-100 cursor-pointer rounded ${success()}`}- class:alert-error={type === 'error'}- class:alert-info={type === 'info'}->- {#if type === 'success'}- <svg- xmlns="http://www.w3.org/2000/svg"- class="stroke-current flex-shrink-0 h-6 w-6"- fill="none"- viewBox="0 0 24 24"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"- /></svg- >- {:else if type === 'error'}- <svg- xmlns="http://www.w3.org/2000/svg"- class="stroke-current flex-shrink-0 h-6 w-6"- fill="none"- viewBox="0 0 24 24"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"- /></svg- >- {:else if type === 'info'}- <svg- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- class="stroke-current flex-shrink-0 w-6 h-6"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"- /></svg- >- {/if}- <slot />-</div>diff --git a/apps/ui/src/lib/components/Toasts.svelte b/apps/ui/src/lib/components/Toasts.sveltedeleted file mode 100644index 031840b388..0000000000--- a/apps/ui/src/lib/components/Toasts.svelte+++ /dev/null@@ -1,26 +0,0 @@-<script lang="ts">- import Toast from './Toast.svelte';-- import { dismissToast, pauseToast, resumeToast, toasts } from '$lib/store';-</script>--{#if $toasts.length > 0}- <section>- <article class="toast toast-top toast-center rounded-none w-2/3 lg:w-[20rem]" role="alert">- {#each $toasts as toast (toast.id)}- <Toast- type={toast.type}- on:resume={() => resumeToast(toast.id)}- on:pause={() => pauseToast(toast.id)}- on:click={() => dismissToast(toast.id)}>{@html toast.message}</Toast- >- {/each}- </article>- </section>-{/if}--<style lang="postcss">- section {- @apply fixed top-0 left-0 right-0 w-full flex flex-col mt-4 justify-center z-[1000];- }-</style>diff --git a/apps/ui/src/lib/components/Tooltip.svelte b/apps/ui/src/lib/components/Tooltip.sveltedeleted file mode 100644index e0591a9d4c..0000000000--- a/apps/ui/src/lib/components/Tooltip.svelte+++ /dev/null@@ -1,10 +0,0 @@-<script lang="ts">- import { Tooltip } from 'flowbite-svelte';- export let placement = 'bottom';- export let color = 'bg-coollabs';- export let triggeredBy = '#tooltip-default';-</script>--<Tooltip {triggeredBy} {placement} arrow={false} defaultClass={color + ' font-thin text-xs text-left border-none p-2'} style="custom"- ><slot /></Tooltip->diff --git a/apps/ui/src/lib/components/Trend.svelte b/apps/ui/src/lib/components/Trend.sveltedeleted file mode 100644index cdc363516e..0000000000--- a/apps/ui/src/lib/components/Trend.svelte+++ /dev/null@@ -1,39 +0,0 @@-<script lang="ts">- export let trend: string;-</script>--{#if trend === 'up'}- <span class="-mt-1 inline-flex px-2 text-green-500">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-8 w-8"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="17" y1="7" x2="7" y2="17" />- <polyline points="8 7 17 7 17 16" />- </svg></span- >-{:else if trend === 'down'}- <span class="text-red-500 px-2 inline-flex -mt-1">- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-8 h-8"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="7" y1="7" x2="17" y2="17" />- <polyline points="17 8 17 17 8 17" />- </svg>- </span>-{/if}diff --git a/apps/ui/src/lib/components/UpdateAvailable.svelte b/apps/ui/src/lib/components/UpdateAvailable.sveltedeleted file mode 100644index 802b57b49d..0000000000--- a/apps/ui/src/lib/components/UpdateAvailable.svelte+++ /dev/null@@ -1,207 +0,0 @@-<script lang="ts">- import { dev } from '$app/env';- import { get, post } from '$lib/api';- import {- addToast,- appSession,- features,- updateLoading,- isUpdateAvailable,- latestVersion- } from '$lib/store';- import { asyncSleep, errorNotification } from '$lib/common';- import { onMount } from 'svelte';- import Tooltip from './Tooltip.svelte';-- let updateStatus: any = {- found: false,- loading: false,- success: null- };- async function update() {- updateStatus.loading = true;- try {- if (dev) {- localStorage.setItem('lastVersion', $appSession.version);- await asyncSleep(1000);- updateStatus.loading = false;- return window.location.reload();- } else {- localStorage.setItem('lastVersion', $appSession.version);- await post(`/update`, { type: 'update', latestVersion: $latestVersion });- addToast({- message: 'Update completed.<br><br>Waiting for the new version to start...',- type: 'success'- });-- let reachable = false;- let tries = 0;- do {- await asyncSleep(4000);- try {- await get(`/undead`);- reachable = true;- } catch (error) {- reachable = false;- }- if (reachable) break;- tries++;- } while (!reachable || tries < 120);- addToast({- message: 'New version reachable. Reloading...',- type: 'success'- });- updateStatus.loading = false;- updateStatus.success = true;- await asyncSleep(3000);- return window.location.reload();- }- } catch (error) {- updateStatus.success = false;- updateStatus.loading = false;- return errorNotification(error);- }- }- onMount(async () => {- if ($appSession.userId) {- const overrideVersion = $features.latestVersion;- if ($appSession.teamId === '0') {- if ($updateLoading === true) return;- try {- $updateLoading = true;- const data = await get(`/update`);- if (overrideVersion || data?.isUpdateAvailable) {- $latestVersion = overrideVersion || data.latestVersion;- if (overrideVersion) {- $isUpdateAvailable = true;- } else {- $isUpdateAvailable = data.isUpdateAvailable;- }- }- } catch (error) {- return errorNotification(error);- } finally {- $updateLoading = false;- }- }- }- });-</script>--<div class="py-0 lg:py-2">- {#if $appSession.teamId === '0'}- {#if $isUpdateAvailable}- <button- id="update"- disabled={updateStatus.success === false}- on:click={update}- class="icons bg-coollabs-gradient text-white duration-75 hover:scale-105 w-full"- >- {#if updateStatus.loading}- <svg- xmlns="http://www.w3.org/2000/svg"- class="lds-heart h-8 w-8 mx-auto"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M19.5 13.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572"- />- </svg>- {:else if updateStatus.success === null}- <div class="flex items-center justify-center space-x-2">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-8 w-8"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="12" r="9" />- <line x1="12" y1="8" x2="8" y2="12" />- <line x1="12" y1="8" x2="12" y2="16" />- <line x1="16" y1="12" x2="12" y2="8" />- </svg>- <span class="flex lg:hidden">Update available</span>- </div>- {:else if updateStatus.success}- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" class="h-8 w-8"- ><path- fill="#DD2E44"- d="M11.626 7.488c-.112.112-.197.247-.268.395l-.008-.008L.134 33.141l.011.011c-.208.403.14 1.223.853 1.937.713.713 1.533 1.061 1.936.853l.01.01L28.21 24.735l-.008-.009c.147-.07.282-.155.395-.269 1.562-1.562-.971-6.627-5.656-11.313-4.687-4.686-9.752-7.218-11.315-5.656z"- /><path- fill="#EA596E"- d="M13 12L.416 32.506l-.282.635.011.011c-.208.403.14 1.223.853 1.937.232.232.473.408.709.557L17 17l-4-5z"- /><path- fill="#A0041E"- d="M23.012 13.066c4.67 4.672 7.263 9.652 5.789 11.124-1.473 1.474-6.453-1.118-11.126-5.788-4.671-4.672-7.263-9.654-5.79-11.127 1.474-1.473 6.454 1.119 11.127 5.791z"- /><path- fill="#AA8DD8"- d="M18.59 13.609c-.199.161-.459.245-.734.215-.868-.094-1.598-.396-2.109-.873-.541-.505-.808-1.183-.735-1.862.128-1.192 1.324-2.286 3.363-2.066.793.085 1.147-.17 1.159-.292.014-.121-.277-.446-1.07-.532-.868-.094-1.598-.396-2.11-.873-.541-.505-.809-1.183-.735-1.862.13-1.192 1.325-2.286 3.362-2.065.578.062.883-.057 1.012-.134.103-.063.144-.123.148-.158.012-.121-.275-.446-1.07-.532-.549-.06-.947-.552-.886-1.102.059-.549.55-.946 1.101-.886 2.037.219 2.973 1.542 2.844 2.735-.13 1.194-1.325 2.286-3.364 2.067-.578-.063-.88.057-1.01.134-.103.062-.145.123-.149.157-.013.122.276.446 1.071.532 2.037.22 2.973 1.542 2.844 2.735-.129 1.192-1.324 2.286-3.362 2.065-.578-.062-.882.058-1.012.134-.104.064-.144.124-.148.158-.013.121.276.446 1.07.532.548.06.947.553.886 1.102-.028.274-.167.511-.366.671z"- /><path- fill="#77B255"- d="M30.661 22.857c1.973-.557 3.334.323 3.658 1.478.324 1.154-.378 2.615-2.35 3.17-.77.216-1.001.584-.97.701.034.118.425.312 1.193.095 1.972-.555 3.333.325 3.657 1.479.326 1.155-.378 2.614-2.351 3.17-.769.216-1.001.585-.967.702.033.117.423.311 1.192.095.53-.149 1.084.16 1.233.691.148.532-.161 1.084-.693 1.234-1.971.555-3.333-.323-3.659-1.479-.324-1.154.379-2.613 2.353-3.169.77-.217 1.001-.584.967-.702-.032-.117-.422-.312-1.19-.096-1.974.556-3.334-.322-3.659-1.479-.325-1.154.378-2.613 2.351-3.17.768-.215.999-.585.967-.701-.034-.118-.423-.312-1.192-.096-.532.15-1.083-.16-1.233-.691-.149-.53.161-1.082.693-1.232z"- /><path- fill="#AA8DD8"- d="M23.001 20.16c-.294 0-.584-.129-.782-.375-.345-.432-.274-1.061.156-1.406.218-.175 5.418-4.259 12.767-3.208.547.078.927.584.849 1.131-.078.546-.58.93-1.132.848-6.493-.922-11.187 2.754-11.233 2.791-.186.148-.406.219-.625.219z"- /><path- fill="#77B255"- d="M5.754 16c-.095 0-.192-.014-.288-.042-.529-.159-.829-.716-.67-1.245 1.133-3.773 2.16-9.794.898-11.364-.141-.178-.354-.353-.842-.316-.938.072-.849 2.051-.848 2.071.042.551-.372 1.031-.922 1.072-.559.034-1.031-.372-1.072-.923-.103-1.379.326-4.035 2.692-4.214 1.056-.08 1.933.287 2.552 1.057 2.371 2.951-.036 11.506-.542 13.192-.13.433-.528.712-.958.712z"- /><circle fill="#5C913B" cx="25.5" cy="9.5" r="1.5" /><circle- fill="#9266CC"- cx="2"- cy="18"- r="2"- /><circle fill="#5C913B" cx="32.5" cy="19.5" r="1.5" /><circle- fill="#5C913B"- cx="23.5"- cy="31.5"- r="1.5"- /><circle fill="#FFCC4D" cx="28" cy="4" r="2" /><circle- fill="#FFCC4D"- cx="32.5"- cy="8.5"- r="1.5"- /><circle fill="#FFCC4D" cx="29.5" cy="12.5" r="1.5" /><circle- fill="#FFCC4D"- cx="7.5"- cy="23.5"- r="1.5"- /></svg- >- {:else}- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" class="h-9 w-8"- ><path- fill="#FFCC4D"- d="M36 18c0 9.941-8.059 18-18 18S0 27.941 0 18 8.059 0 18 0s18 8.059 18 18"- /><path- fill="#664500"- d="M22 27c0 2.763-1.791 3-4 3-2.21 0-4-.237-4-3 0-2.761 1.79-6 4-6 2.209 0 4 3.239 4 6zm8-12c-.124 0-.25-.023-.371-.072-5.229-2.091-7.372-5.241-7.461-5.374-.307-.46-.183-1.081.277-1.387.459-.306 1.077-.184 1.385.274.019.027 1.93 2.785 6.541 4.629.513.206.763.787.558 1.3-.157.392-.533.63-.929.63zM6 15c-.397 0-.772-.238-.929-.629-.205-.513.044-1.095.557-1.3 4.612-1.844 6.523-4.602 6.542-4.629.308-.456.929-.577 1.387-.27.457.308.581.925.275 1.383-.089.133-2.232 3.283-7.46 5.374C6.25 14.977 6.124 15 6 15z"- /><path fill="#5DADEC" d="M24 16h4v19l-4-.046V16zM8 35l4-.046V16H8v19z" /><path- fill="#664500"- d="M14.999 18c-.15 0-.303-.034-.446-.105-3.512-1.756-7.07-.018-7.105 0-.495.249-1.095.046-1.342-.447-.247-.494-.047-1.095.447-1.342.182-.09 4.498-2.197 8.895 0 .494.247.694.848.447 1.342-.176.35-.529.552-.896.552zm14 0c-.15 0-.303-.034-.446-.105-3.513-1.756-7.07-.018-7.105 0-.494.248-1.094.047-1.342-.447-.247-.494-.047-1.095.447-1.342.182-.09 4.501-2.196 8.895 0 .494.247.694.848.447 1.342-.176.35-.529.552-.896.552z"- /><ellipse fill="#5DADEC" cx="18" cy="34" rx="18" ry="2" /><ellipse- fill="#E75A70"- cx="18"- cy="27"- rx="3"- ry="2"- /></svg- >- {/if}- </button>- <Tooltip triggeredBy="#update" placement="right" color="bg-coolgray-200 text-white"- >New Version Available!</Tooltip- >- {/if}- {/if}-</div>diff --git a/apps/ui/src/lib/components/Upload.svelte b/apps/ui/src/lib/components/Upload.sveltedeleted file mode 100644index 992d91153c..0000000000--- a/apps/ui/src/lib/components/Upload.svelte+++ /dev/null@@ -1,20 +0,0 @@-<script lang="ts">- import { post } from '$lib/api';- let cert: any;- let key: any;- async function submitForm() {- const formData = new FormData();- formData.append('cert', cert[0]);- formData.append('key', key[0]);- await post('/upload', formData);- }-</script>--<form on:submit|preventDefault={submitForm}>- <label for="cert">Certificate</label>- <input id="cert" type="file" required name="cert" bind:files={cert} />- <label for="key">Private Key</label>- <input id="key" type="file" required name="key" bind:files={key} />- <br />- <input type="submit" />-</form>diff --git a/apps/ui/src/lib/components/Usage.svelte b/apps/ui/src/lib/components/Usage.sveltedeleted file mode 100644index 37a30d840c..0000000000--- a/apps/ui/src/lib/components/Usage.svelte+++ /dev/null@@ -1,173 +0,0 @@-<script lang="ts">- export let server: any;- let usage = {- cpu: {- load: [0, 0, 0],- count: 0,- usage: 0- },- memory: {- totalMemMb: 0,- freeMemMb: 0,- usedMemMb: 0,- freeMemPercentage: 0- },- disk: {- freePercentage: 0,- totalGb: 0,- usedGb: 0- }- };- let usageInterval: any;- let loading = {- usage: false,- cleanup: false- };- import { addToast, appSession } from '$lib/store';- import { onDestroy, onMount } from 'svelte';- import { get, post } from '$lib/api';- import { errorNotification } from '$lib/common';- import Beta from './Beta.svelte';- async function getStatus() {- if (loading.usage) return;- loading.usage = true;- const data = await get(`/servers/usage/${server.id}?remoteEngine=${server.remoteEngine}`);- usage = data.usage;- loading.usage = false;- }-- onDestroy(() => {- clearInterval(usageInterval);- });- onMount(async () => {- try {- if ($appSession.teamId === '0') {- await getStatus();- usageInterval = setInterval(async () => {- await getStatus();- }, 1000);- }- } catch (error) {- return errorNotification(error);- }- });- async function manuallyCleanupStorage() {- try {- loading.cleanup = true;- await post('/internal/cleanup', { serverId: server.id });- return addToast({- message: 'Cleanup done.',- type: 'success'- });- } catch (error) {- return errorNotification(error);- } finally {- loading.cleanup = false;- }- }-</script>--<div class="w-full relative p-5 ">- <div class="w-full flex flex-col lg:flex-row space-y-4 lg:space-y-0 space-x-4">- <div class="flex flex-col">- <h1 class="font-bold text-lg lg:text-xl truncate">- {server.name}- {#if server.remoteEngine}- <Beta />- {/if}- </h1>- <div class="text-xs">- {#if server?.remoteIpAddress}- <h2>{server?.remoteIpAddress}</h2>- {:else}- <h2>localhost</h2>- {/if}- </div>- </div>- {#if $appSession.teamId === '0'}- <button- disabled={loading.cleanup}- on:click={manuallyCleanupStorage}- class:loading={loading.cleanup}- class:bg-coollabs={!loading.cleanup}- class="btn btn-sm">Cleanup Storage</button- >- {/if}- {#if loading.usage}- <button id="streaming" class=" btn btn-sm bg-transparent border-none loading"- >Getting data...</button- >- {/if}- </div>- <div class="flex lg:flex-row flex-col gap-4">- <div class="flex lg:flex-row flex-col space-x-0 lg:space-x-2 space-y-2 lg:space-y-0" />- </div>- <div class="divider" />- <div class="grid grid-flow-col gap-4 grid-rows-3 justify-start lg:justify-center lg:grid-rows-1">- <div class="stats stats-vertical min-w-[16rem] mb-5 rounded bg-transparent">- <div class="stat">- <div class="stat-title">Total Memory</div>- <div class="stat-value text-2xl text-white">- {(usage?.memory?.totalMemMb).toFixed(0)}<span class="text-sm">MB</span>- </div>- </div>-- <div class="stat">- <div class="stat-title">Used Memory</div>- <div class="stat-value text-2xl text-white">- {(usage?.memory?.usedMemMb).toFixed(0)}<span class="text-sm">MB</span>- </div>- </div>-- <div class="stat">- <div class="stat-title">Free Memory</div>- <div class="stat-value text-2xl text-white">- {(usage?.memory?.freeMemPercentage).toFixed(0)}<span class="text-sm">%</span>- </div>- </div>- </div>-- <div class="stats stats-vertical min-w-[20rem] mb-5 bg-transparent rounded">- <div class="stat">- <div class="stat-title">Total CPU</div>- <div class="stat-value text-2xl text-white">- {usage?.cpu?.count}- </div>- </div>-- <div class="stat">- <div class="stat-title">CPU Usage</div>- <div class="stat-value text-2xl text-white">- {usage?.cpu?.usage}<span class="text-sm">%</span>- </div>- </div>-- <div class="stat">- <div class="stat-title">Load Average (5,10,30mins)</div>- <div class="stat-value text-2xl text-white">{usage?.cpu?.load}</div>- </div>- </div>- <div class="stats stats-vertical min-w-[16rem] mb-5 bg-transparent rounded">- <div class="stat">- <div class="stat-title">Total Disk</div>- <div class="stat-value text-2xl text-white">- {usage?.disk?.totalGb}<span class="text-sm">GB</span>- </div>- </div>-- <div class="stat">- <div class="stat-title">Used Disk</div>- <div class="stat-value text-2xl text-white">- {usage?.disk?.usedGb}<span class="text-sm">GB</span>- </div>- </div>-- <div class="stat">- <div class="stat-title">Free Disk</div>- <div class="stat-value text-2xl text-white">- {usage?.disk?.freePercentage}<span class="text-sm">%</span>- </div>- </div>- </div>- </div>-</div>diff --git a/apps/ui/src/lib/components/badges/DestinationBadge.svelte b/apps/ui/src/lib/components/badges/DestinationBadge.sveltedeleted file mode 100644index b566ef7bd7..0000000000--- a/apps/ui/src/lib/components/badges/DestinationBadge.svelte+++ /dev/null@@ -1,14 +0,0 @@-<script>- import Tooltip from '../Tooltip.svelte';- import { initials } from '$lib/common';- export let name;- export let thingId;- let id = 'destination' + thingId;-</script>--{#if (name || '').length > 0}- <span class="badge rounded uppercase text-xs " {id}>- {initials(name)}- </span>- <Tooltip triggeredBy="#{id}" placement="right">{name}</Tooltip>-{/if}diff --git a/apps/ui/src/lib/components/badges/PublicBadge.svelte b/apps/ui/src/lib/components/badges/PublicBadge.sveltedeleted file mode 100644index 6784c97e9b..0000000000--- a/apps/ui/src/lib/components/badges/PublicBadge.svelte+++ /dev/null@@ -1,19 +0,0 @@-<div title="Public">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6 "- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="12" r="9" />- <line x1="3.6" y1="9" x2="20.4" y2="9" />- <line x1="3.6" y1="15" x2="20.4" y2="15" />- <path d="M11.5 3a17 17 0 0 0 0 18" />- <path d="M12.5 3a17 17 0 0 1 0 18" />- </svg>-</div>diff --git a/apps/ui/src/lib/components/badges/StatusBadge.svelte b/apps/ui/src/lib/components/badges/StatusBadge.sveltedeleted file mode 100644index 01badcee25..0000000000--- a/apps/ui/src/lib/components/badges/StatusBadge.svelte+++ /dev/null@@ -1,26 +0,0 @@-<script lang="ts">- import { getStatus } from '$lib/container/status';-- import { onDestroy, onMount } from 'svelte';- export let thing: any;- let getting = getStatus(thing);- let refreshing: any;- let status: any;- // AutoUpdates Status every 5 seconds- onMount(() => {- refreshing = setInterval(() => {- getStatus(thing).then((r) => (status = r));- }, 5000);- });- onDestroy(() => {- clearInterval(refreshing);- });-</script>--{#await getting}- <span class="badge badge-lg rounded uppercase">...</span>-{:then status}- <span class="badge badge-lg rounded uppercase badge-status-{status}">- {status}- </span>-{/await}diff --git a/apps/ui/src/lib/components/badges/TeamsBadge.svelte b/apps/ui/src/lib/components/badges/TeamsBadge.sveltedeleted file mode 100644index eab9d80d8e..0000000000--- a/apps/ui/src/lib/components/badges/TeamsBadge.svelte+++ /dev/null@@ -1,16 +0,0 @@-<script lang="ts">- import Tooltip from '../Tooltip.svelte';- import { initials } from '$lib/common';- export let teams: any;- export let thing: any;- let id = 'teams' + thing.id;-</script>--<span>- {#each teams as team}- <a href={`/iam/teams/${team.id}`} {id} class="no-underline">- Team: {initials(team.name)}- </a>- <Tooltip triggeredBy="#{id}" placement="right" color="bg-destinations">{team.name}</Tooltip>- {/each}-</span>diff --git a/apps/ui/src/lib/components/grids/Grid3.svelte b/apps/ui/src/lib/components/grids/Grid3.sveltedeleted file mode 100644index 905655e04b..0000000000--- a/apps/ui/src/lib/components/grids/Grid3.svelte+++ /dev/null@@ -1,5 +0,0 @@-<div- class="grid grid-col gap-8 auto-cols-max grid-cols-1 md:grid-cols-2 lg:md:grid-cols-3 xl:grid-cols-4 p-4 lg:px-10"->- <slot />-</div>diff --git a/apps/ui/src/lib/components/svg/applications/ApplicationIcons.svelte b/apps/ui/src/lib/components/svg/applications/ApplicationIcons.sveltedeleted file mode 100644index 387653c87c..0000000000--- a/apps/ui/src/lib/components/svg/applications/ApplicationIcons.svelte+++ /dev/null@@ -1,47 +0,0 @@-<script lang="ts">- import * as Icons from '$lib/components/svg/applications';- export let application: any;- export let isAbsolute = true;-</script>--{#if application.buildPack?.toLowerCase() === 'rust'}- <Icons.Rust {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'node'}- <Icons.Nodejs {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'react'}- <Icons.React {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'svelte'}- <Icons.Svelte {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'vuejs'}- <Icons.Vuejs {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'php'}- <Icons.Php {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'python'}- <Icons.Python {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'static'}- <Icons.Static {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'nestjs'}- <Icons.Nestjs {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'nuxtjs'}- <Icons.Nuxtjs {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'nextjs'}- <Icons.Nextjs {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'gatsby'}- <Icons.Gatsby {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'docker'}- <Icons.Docker {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'astro'}- <Icons.Astro {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'eleventy'}- <Icons.Eleventy {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'deno'}- <Icons.Deno {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'laravel'}- <Icons.Laravel {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'heroku'}- <Icons.Heroku {isAbsolute} />-{:else if application.buildPack?.toLowerCase() === 'compose'}- <Icons.Compose {isAbsolute} />-{:else if application.simpleDockerfile}- <Icons.Docker {isAbsolute} />-{/if}diff --git a/apps/ui/src/lib/components/svg/applications/Astro.svelte b/apps/ui/src/lib/components/svg/applications/Astro.sveltedeleted file mode 100644index 2344372ab6..0000000000--- a/apps/ui/src/lib/components/svg/applications/Astro.svelte+++ /dev/null@@ -1,25 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-6 h-14 w-14' : 'mx-auto w-8 h-8'}- viewBox="0 0 256 256"- fill="none"- xmlns="http://www.w3.org/2000/svg"->- <path- id="a"- fill="#302649"- fill-rule="evenodd"- clip-rule="evenodd"- d="M163.008 18.929c1.944 2.413 2.935 5.67 4.917 12.181l43.309 142.27a180.277 180.277 0 00-51.778-17.53l-28.198-95.29a3.67 3.67 0 00-7.042.01l-27.857 95.232a180.225 180.225 0 00-52.01 17.557l43.52-142.281c1.99-6.502 2.983-9.752 4.927-12.16a15.999 15.999 0 016.484-4.798c2.872-1.154 6.271-1.154 13.07-1.154h31.085c6.807 0 10.211 0 13.086 1.157a16.004 16.004 0 016.487 4.806z"- />- <path- id="flame"- fill="#EF661E"- fill-rule="evenodd"- clip-rule="evenodd"- d="M168.19 180.151c-7.139 6.105-21.39 10.268-37.804 10.268-20.147 0-37.033-6.272-41.513-14.707-1.602 4.835-1.961 10.367-1.961 13.902 0 0-1.056 17.355 11.015 29.426 0-6.268 5.081-11.349 11.349-11.349 10.743 0 10.731 9.373 10.721 16.977v.679c0 11.542 7.054 21.436 17.086 25.606a23.27 23.27 0 01-2.339-10.2c0-11.008 6.463-15.107 13.974-19.87 5.976-3.79 12.616-8.001 17.192-16.449a31.024 31.024 0 003.743-14.82c0-3.299-.513-6.479-1.463-9.463z"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/Compose.svelte b/apps/ui/src/lib/components/svg/applications/Compose.sveltedeleted file mode 100644index f0482e7760..0000000000--- a/apps/ui/src/lib/components/svg/applications/Compose.svelte+++ /dev/null@@ -1,9 +0,0 @@-<script lang="ts">- export let isAbsolute = false;-</script>--<img- alt="docker compose logo"- class={isAbsolute ? 'w-16 h-16 absolute top-0 left-0 -m-8' : 'w-8 h-8 mx-auto'}- src="/icons/compose.png"-/>diff --git a/apps/ui/src/lib/components/svg/applications/Deno.svelte b/apps/ui/src/lib/components/svg/applications/Deno.sveltedeleted file mode 100644index 25eee8132d..0000000000--- a/apps/ui/src/lib/components/svg/applications/Deno.svelte+++ /dev/null@@ -1,30 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute- ? 'absolute top-0 left-0 -m-4 h-10 w-10 text-white-500'- : 'mx-auto w-8 h-8 text-white-500'}- xmlns="http://www.w3.org/2000/svg"- aria-hidden="true"- focusable="false"- data-prefix="fab"- data-icon="deno"- role="img"- width="256.000000pt"- height="256.000000pt"- viewBox="0 0 1024.000000 1024.000000"- preserveAspectRatio="xMidYMid meet"->- <metadata> Created by potrace 1.15, written by Peter Selinger 2001-2017 </metadata>- <g transform="translate(0.000000,1024.000000) scale(0.100000,-0.100000)" fill="#ffffff">- <path- d="M4720 9174 c-19 -2 -80 -9 -135 -14 -782 -82 -1552 -413 -2180 -939 -116 -96 -380 -360 -476 -476 -520 -621 -824 -1318 -936 -2143 -25 -183 -25 -801 0 -984 112 -825 416 -1522 936 -2143 96 -116 360 -380 476 -476 621 -520 1318 -824 2143 -936 183 -25 801 -25 984 0 825 112 1522 416 2143 936 116 96 380 360 476 476 520 621 824 1318 936 2143 25 183 25 801 0 984 -112 825 -416 1522 -936 2143 -96 116 -360 380 -476 476 -619 518 -1323 826 -2137 935 -88 12 -216 17 -453 19 -181 2 -346 1 -365 -1z m50 -432 c0 -117 8 -371 19 -612 6 -118 13 -287 16 -375 11 -312 44 -1131 49 -1204 l5 -73 -45 5 c-25 2 -48 8 -52 11 -3 4 -10 73 -14 154 -18 356 -77 1737 -83 1939 l-6 222 28 4 c15 2 40 5 56 6 l27 1 0 -78z m957 24 c1 -1 4 -303 7 -671 4 -369 9 -700 12 -736 3 -37 2 -69 -3 -71 -4 -3 -29 -3 -54 0 l-46 4 -7 291 c-4 161 -9 339 -11 397 -8 177 -15 778 -9 793 4 11 15 12 57 5 29 -6 53 -11 54 -12z m-2313 -335 c6 -9 53 -560 111 -1281 19 -245 38 -469 41 -497 5 -51 4 -53 -28 -73 -18 -11 -36 -20 -40 -20 -3 0 -9 26 -12 58 -14 130 -68 758 -106 1212 -22 267 -42 506 -45 532 -5 44 -4 48 22 62 32 17 50 20 57 7z m2753 -201 c28 -10 31 -15 37 -72 10 -100 7 -578 -4 -578 -29 0 -89 34 -94 53 -3 12 -6 154 -6 315 0 325 -4 306 67 282z m-1847 -47 c0 -27 7 -176 15 -333 8 -157 17 -356 21 -442 7 -174 9 -168 -58 -172 -33 -1 -33 -1 -35 49 -2 28 -7 115 -13 195 -5 80 -17 253 -25 385 -8 132 -18 263 -21 291 -6 50 -5 52 22 62 16 6 44 11 62 11 32 1 32 1 32 -46z m2774 -137 l34 -14 7 -134 c3 -73 5 -231 3 -350 l-3 -218 -42 21 -42 20 -3 332 c-2 183 -1 338 1 345 4 15 4 15 45 -2z m-1826 -131 c6 -6 20 -491 21 -737 l1 -148 -47 7 c-27 3 -49 6 -50 7 -3 2 -33 743 -33 815 l0 74 51 -6 c29 -4 54 -9 57 -12z m2303 -71 c12 -14 14 -233 17 -1441 3 -1387 3 -1423 -15 -1423 -11 0 -26 6 -35 13 -15 11 -17 132 -22 1317 -4 718 -9 1370 -12 1449 l-6 144 29 -21 c17 -12 36 -29 44 -38z m-897 -205 c5 -4 10 -61 11 -126 5 -221 6 -1576 1 -1580 -2 -2 -20 3 -40 11 l-36 15 0 851 0 850 28 -6 c15 -4 31 -10 36 -15z m-2760 -56 c3 -27 8 -88 11 -138 3 -49 10 -161 16 -248 12 -176 10 -187 -47 -187 -30 0 -34 3 -38 33 -10 59 -45 551 -40 559 5 7 57 25 81 27 6 1 14 -20 17 -46z m-1654 -255 c11 -106 33 -328 49 -493 17 -165 31 -305 31 -311 0 -12 -77 -50 -85 -42 -5 5 -105 890 -105 930 0 24 77 125 87 114 3 -2 13 -91 23 -198z m3921 -105 l29 -17 1 -216 c1 -118 3 -250 3 -293 2 -90 -9 -105 -63 -86 l-31 11 0 86 c0 48 -3 187 -7 310 l-6 222 23 0 c12 0 35 -8 51 -17z m-3482 -388 c18 -192 47 -516 66 -720 l34 -370 -39 -39 -38 -39 -7 79 c-4 44 -24 248 -45 454 -21 206 -51 505 -66 664 l-28 288 39 36 c35 33 39 34 46 16 4 -10 21 -176 38 -369z m-749 -121 c22 -197 80 -721 130 -1164 50 -443 97 -870 106 -950 8 -80 22 -201 30 -270 14 -117 14 -125 -2 -137 -24 -18 -34 -16 -34 5 0 9 -9 85 -20 167 -18 137 -48 369 -115 890 -14 105 -41 314 -60 465 -20 151 -49 376 -65 500 -16 124 -43 336 -60 473 -18 136 -29 257 -26 270 7 27 66 121 72 115 2 -3 22 -166 44 -364z m-306 -431 c15 -120 43 -339 62 -488 19 -148 43 -333 54 -410 l19 -140 -21 -18 c-12 -10 -24 -14 -28 -10 -4 4 -12 44 -18 88 -6 44 -43 301 -83 570 l-71 490 23 68 c12 37 25 67 28 67 4 0 19 -98 35 -217z m5490 131 c14 -14 16 -76 16 -535 l0 -519 -28 0 c-61 0 -60 -15 -64 553 l-3 517 32 0 c17 0 39 -7 47 -16z m-2189 -179 c226 -34 423 -97 618 -197 126 -65 186 -110 326 -244 208 -199 336 -373 456 -619 175 -358 243 -675 329 -1525 39 -381 90 -1072 101 -1355 3 -82 10 -217 16 -300 11 -176 24 -152 -131 -227 -215 -104 -422 -176 -695 -243 -334 -82 -550 -108 -880 -109 l-240 -1 2 115 c0 63 6 210 12 325 30 557 24 1260 -15 1650 -22 224 -65 496 -89 556 -5 13 18 24 117 58 181 63 338 142 362 181 43 74 -34 180 -132 180 -17 0 -68 -18 -115 -39 -224 -103 -673 -224 -932 -251 -179 -19 -457 -8 -650 27 -105 19 -293 90 -450 171 -181 94 -292 219 -325 367 -18 80 -13 240 10 330 25 99 95 243 159 327 285 375 873 700 1476 814 192 36 464 40 670 9z m3085 -31 c36 -15 40 -19 40 -53 2 -273 -4 -897 -9 -923 -1 -9 -53 -10 -75 -2 -14 5 -16 59 -16 500 0 316 4 494 10 494 5 0 28 -7 50 -16z m437 -549 l36 -15 -7 -828 c-8 -1055 -9 -1086 -47 -1177 -62 -149 -59 -179 -53 475 2 327 7 658 9 735 2 77 4 294 5 483 0 228 3 342 10 342 6 0 27 -7 47 -15z m-6014 -249 c6 -81 4 -89 -25 -153 l-32 -68 -12 100 c-19 160 -19 167 19 191 17 12 35 20 38 18 3 -2 9 -42 12 -88z m-618 -603 c9 -82 79 -626 115 -893 54 -413 58 -472 34 -447 -3 3 -26 142 -50 309 -156 1078 -155 1071 -142 1079 27 18 36 8 43 -48z m720 -458 c6 -25 35 -296 35 -329 0 -28 -36 -54 -52 -38 -5 5 -18 90 -28 188 -11 99 -22 202 -25 229 l-6 50 35 -40 c20 -22 38 -49 41 -60z m807 -377 c11 -10 18 -50 27 -158 15 -195 17 -180 -24 -180 -42 0 -41 -3 -55 173 -14 179 -14 177 13 177 13 0 30 -6 39 -12z m792 -15 c2 -10 7 -70 11 -133 3 -63 12 -205 20 -315 28 -404 29 -455 12 -455 -19 0 -21 15 -43 300 -8 118 -23 304 -33 413 -9 109 -15 200 -12 202 11 12 40 3 45 -12z m-1880 -192 c6 -9 44 -329 91 -766 14 -132 28 -259 31 -283 l5 -43 -25 16 c-19 13 -26 26 -26 49 0 63 -43 478 -76 732 -19 144 -34 271 -34 283 0 21 24 29 34 12z m5771 -418 l-7 -418 -25 -37 c-57 -84 -54 -100 -51 368 l2 429 37 38 c20 20 40 37 44 37 3 0 3 -188 0 -417z m-925 -663 c5 -581 4 -626 -12 -644 -10 -11 -19 -18 -22 -15 -7 8 -17 1275 -9 1282 4 4 14 6 23 5 13 -3 16 -74 20 -628z m-3266 398 c7 -62 32 -359 42 -499 6 -94 6 -97 -16 -104 -12 -4 -26 -3 -30 2 -7 7 -29 229 -56 571 l-7 82 31 0 c29 0 31 -2 36 -52z m-786 -350 c7 -7 12 -32 12 -57 0 -26 12 -161 25 -301 38 -383 41 -435 24 -425 -26 15 -49 38 -44 44 2 4 -2 54 -10 111 -7 58 -16 152 -20 210 -4 58 -13 164 -21 235 -19 175 -18 195 4 195 10 0 23 -5 30 -12z m473 -673 c3 -22 9 -104 13 -182 7 -150 4 -161 -37 -130 -12 9 -20 47 -32 161 -21 206 -22 198 17 194 29 -3 33 -7 39 -43z"- />- <path- d="M3184 5756 c-104 -45 -112 -186 -14 -236 71 -36 143 -19 180 43 70 114 -44 246 -166 193z"- />- <path d="M3862 5660 c-96 -59 -96 -201 0 -260 95 -57 218 18 218 132 0 110 -126 184 -218 128z" />- </g>-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/Docker.svelte b/apps/ui/src/lib/components/svg/applications/Docker.sveltedeleted file mode 100644index 74ba0ebf04..0000000000--- a/apps/ui/src/lib/components/svg/applications/Docker.svelte+++ /dev/null@@ -1,9 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>---<svg viewBox="0 0 128 128" class={isAbsolute ? 'absolute top-0 left-0 -m-5 h-12 w-12' : 'mx-auto w-10 h-10'}>- <path d="M124.8 52.1c-4.3-2.5-10-2.8-14.8-1.4-.6-5.2-4-9.7-8-12.9l-1.6-1.3-1.4 1.6c-2.7 3.1-3.5 8.3-3.1 12.3.3 2.9 1.2 5.9 3 8.3-1.4.8-2.9 1.9-4.3 2.4-2.8 1-5.9 2-8.9 2H79V49H66V24H51v12H26v13H13v14H1.8l-.2 1.5c-.5 6.4.3 12.6 3 18.5l1.1 2.2.1.2c7.9 13.4 21.7 19 36.8 19 29.2 0 53.3-13.1 64.3-40.6 7.4.4 15-1.8 18.6-8.9l.9-1.8-1.6-1zM28 39h10v11H28V39zm13.1 44.2c0 1.7-1.4 3.1-3.1 3.1-1.7 0-3.1-1.4-3.1-3.1 0-1.7 1.4-3.1 3.1-3.1 1.7.1 3.1 1.4 3.1 3.1zM28 52h10v11H28V52zm-13 0h11v11H15V52zm27.7 50.2c-15.8-.1-24.3-5.4-31.3-12.4 2.1.1 4.1.2 5.9.2 1.6 0 3.2 0 4.7-.1 3.9-.2 7.3-.7 10.1-1.5 2.3 5.3 6.5 10.2 14 13.8h-3.4zM51 63H40V52h11v11zm0-13H40V39h11v11zm13 13H53V52h11v11zm0-13H53V39h11v11zm0-13H53V26h11v11zm13 26H66V52h11v11zM38.8 81.2c-.2-.1-.5-.2-.8-.2-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2s2.2-1 2.2-2.2c0-.3-.1-.6-.2-.8-.2.3-.4.5-.8.5-.5 0-.9-.4-.9-.9.1-.4.3-.7.5-.8z" fill="#019BC6"></path>- </svg>-diff --git a/apps/ui/src/lib/components/svg/applications/Eleventy.svelte b/apps/ui/src/lib/components/svg/applications/Eleventy.sveltedeleted file mode 100644index b2d8d61226..0000000000--- a/apps/ui/src/lib/components/svg/applications/Eleventy.svelte+++ /dev/null@@ -1,13 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- viewBox="0 0 128 128"- class={isAbsolute ? 'absolute top-0 left-0 -m-8 h-16 w-16' : 'mx-auto w-8 h-8'}->- <path fill="transparent" d="M18 0h92v128H18z" /><path- d="M55.3 36.3h.4c1.1 0 1.5.9 1.5 2.3v41.8c0 1.8-.4 3-1.6 3l-4.8-.1c-1.2 0-1.6-1-1.6-3V45.5l-2.1.5c-1 0-1.5-.8-1.5-2.2v-3c0-1.2.4-2 1.4-2.2l8.3-2.2zm16 36.1l.1 3 .6 1.3.6.6.8.1h2.2c1 0 1.7.8 1.7 2v1.9c0 1.2-.6 2-1.8 2h-3.2l-2.3-.1c-.7-.2-1.4-.5-2.2-1a5.7 5.7 0 01-2-1.9c-.4-.8-.8-1.9-1-3.2-.4-1.4-.5-3-.5-4.8v-16h-1.5c-1.1 0-1.6-1-1.6-2.4v-1.7c0-1.4.5-2.3 1.6-2.3h1.5v-.1l.6-12.3c0-1.5.5-2.5 1.6-2.5h3.1c1.2 0 1.6 1 1.6 2.5v12.3h3.6c1.1 0 1.6 1 1.6 2.4V54c0 1.4-.5 2.3-1.6 2.3h-3.6v16.2zm9.4 15.7c0-2 .3-3.2 1.5-3.2.2 0 .4 0 1.4.4l1.1.3.2-.1.4-.7c.3-.6.4-1.6.4-3l-.6-3.3L79 52.7v-.9c0-1.2.3-2 1.2-2H84c.5 0 1 .3 1.3.6.3.4.5.9.6 1.6l3.4 18 2.6-17.8c.1-.8.3-1.3.6-1.7.3-.4.8-.6 1.3-.6h2.6c1 0 1.4.8 1.4 2l-.1.8L92 82.2c-.5 2.5-1 4.4-1.5 5.7a6.6 6.6 0 01-2 3c-.9.6-1.9.9-3.1.9h-.3c-2 0-3.3-.6-4.1-1.7-.3-.4-.4-1-.4-2zM31.3 38.8l8.2-2.1h.5c1 0 1.4.8 1.4 2.2v41.9c0 1.8-.4 2.9-1.6 2.9h-4.7c-1.2 0-1.6-1.1-1.6-3v-35l-2 .6c-1.2 0-1.6-.9-1.6-2.2v-3c0-1.2.4-2 1.4-2.3z"- fill="#FFF"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/Gatsby.svelte b/apps/ui/src/lib/components/svg/applications/Gatsby.sveltedeleted file mode 100644index d67a63417d..0000000000--- a/apps/ui/src/lib/components/svg/applications/Gatsby.svelte+++ /dev/null@@ -1,13 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-4 h-10 w-10' : 'mx-auto w-8 h-8'}- viewBox="0 0 128 128"->- <path- fill="#64328B"- d="M64,0C28.7,0,0,28.7,0,64v0c0,35.3,28.7,64,64,64s64-28.7,64-64v0C128,28.7,99.3,0,64,0z M13.2,64L64,114.8 C35.9,114.8,13.2,92.1,13.2,64z M75.4,113.5l-60.9-61C19.7,30,39.9,13.2,64,13.2c16.6,0,31.3,7.9,40.5,20.2l-7.5,7.2 C89.7,30.2,77.7,23.5,64,23.5c-17.6,0-32.5,11.2-38.1,26.8C33.1,57,75.4,98.8,78.1,102c12.7-4.7,22.3-15.5,25.4-28.9H81.9v-9.4 l33,0.2C114.8,88.2,98,108.4,75.4,113.5z"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/Heroku.svelte b/apps/ui/src/lib/components/svg/applications/Heroku.sveltedeleted file mode 100644index dff845bc2a..0000000000--- a/apps/ui/src/lib/components/svg/applications/Heroku.svelte+++ /dev/null@@ -1,15 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- xmlns="http://www.w3.org/2000/svg"- class={isAbsolute ? 'absolute top-0 left-0 -m-4 h-10 w-10' : 'mx-auto w-8 h-8 '}- viewBox="0 0 72 80"->- <path- xmlns="http://www.w3.org/2000/svg"- fill="#430098"- d="M64.8,0 L7.2,0 C3.224,0 0,3.224 0,7.2 L0,72.8 C0,76.776 3.224,80 7.2,80 L64.8,80 C68.776,80 72,76.776 72,72.8 L72,7.2 C72,3.224 68.776,0 64.8,0 Z M18,68 L18,52 L27,60 L18,68 Z M46,68 L46,44.11 C45.961,42.243 45.062,40 41,40 C32.866,40 23.742,44.091 23.651,44.132 L18,46.692 L18,12 L26,12 L26,34.711 C29.994,33.411 35.577,32 41,32 C45.945,32 48.905,33.944 50.517,35.575 C53.958,39.055 54.005,43.488 54.0002258,44 L54.0002258,68 L46,68 Z M48,25 L40,25 C43.144,20.875 45.118,16.534 46,12 L54,12 C53.46,16.544 51.618,20.9 48,25 Z"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/Laravel.svelte b/apps/ui/src/lib/components/svg/applications/Laravel.sveltedeleted file mode 100644index d13694a8c3..0000000000--- a/apps/ui/src/lib/components/svg/applications/Laravel.svelte+++ /dev/null@@ -1,14 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-4 h-10 w-10' : 'mx-auto w-8 h-8'}- viewBox="0 0 50 52"- xmlns="http://www.w3.org/2000/svg"- ><title>Logomark</title><path- d="M49.626 11.564a.809.809 0 0 1 .028.209v10.972a.8.8 0 0 1-.402.694l-9.209 5.302V39.25c0 .286-.152.55-.4.694L20.42 51.01c-.044.025-.092.041-.14.058-.018.006-.035.017-.054.022a.805.805 0 0 1-.41 0c-.022-.006-.042-.018-.063-.026-.044-.016-.09-.03-.132-.054L.402 39.944A.801.801 0 0 1 0 39.25V6.334c0-.072.01-.142.028-.21.006-.023.02-.044.028-.067.015-.042.029-.085.051-.124.015-.026.037-.047.055-.071.023-.032.044-.065.071-.093.023-.023.053-.04.079-.06.029-.024.055-.05.088-.069h.001l9.61-5.533a.802.802 0 0 1 .8 0l9.61 5.533h.002c.032.02.059.045.088.068.026.02.055.038.078.06.028.029.048.062.072.094.017.024.04.045.054.071.023.04.036.082.052.124.008.023.022.044.028.068a.809.809 0 0 1 .028.209v20.559l8.008-4.611v-10.51c0-.07.01-.141.028-.208.007-.024.02-.045.028-.068.016-.042.03-.085.052-.124.015-.026.037-.047.054-.071.024-.032.044-.065.072-.093.023-.023.052-.04.078-.06.03-.024.056-.05.088-.069h.001l9.611-5.533a.801.801 0 0 1 .8 0l9.61 5.533c.034.02.06.045.09.068.025.02.054.038.077.06.028.029.048.062.072.094.018.024.04.045.054.071.023.039.036.082.052.124.009.023.022.044.028.068zm-1.574 10.718v-9.124l-3.363 1.936-4.646 2.675v9.124l8.01-4.611zm-9.61 16.505v-9.13l-4.57 2.61-13.05 7.448v9.216l17.62-10.144zM1.602 7.719v31.068L19.22 48.93v-9.214l-9.204-5.209-.003-.002-.004-.002c-.031-.018-.057-.044-.086-.066-.025-.02-.054-.036-.076-.058l-.002-.003c-.026-.025-.044-.056-.066-.084-.02-.027-.044-.05-.06-.078l-.001-.003c-.018-.03-.029-.066-.042-.1-.013-.03-.03-.058-.038-.09v-.001c-.01-.038-.012-.078-.016-.117-.004-.03-.012-.06-.012-.09v-.002-21.481L4.965 9.654 1.602 7.72zm8.81-5.994L2.405 6.334l8.005 4.609 8.006-4.61-8.006-4.608zm4.164 28.764l4.645-2.674V7.719l-3.363 1.936-4.646 2.675v20.096l3.364-1.937zM39.243 7.164l-8.006 4.609 8.006 4.609 8.005-4.61-8.005-4.608zm-.801 10.605l-4.646-2.675-3.363-1.936v9.124l4.645 2.674 3.364 1.937v-9.124zM20.02 38.33l11.743-6.704 5.87-3.35-8-4.606-9.211 5.303-8.395 4.833 7.993 4.524z"- fill="#FF2D20"- fill-rule="evenodd"- /></svg->diff --git a/apps/ui/src/lib/components/svg/applications/Nestjs.svelte b/apps/ui/src/lib/components/svg/applications/Nestjs.sveltedeleted file mode 100644index ac0f8af3f7..0000000000--- a/apps/ui/src/lib/components/svg/applications/Nestjs.svelte+++ /dev/null@@ -1,13 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-4 h-10 w-10' : 'mx-auto w-8 h-8'}- viewBox="0 0 128 128"->- <path- fill="#DF234F"- d="M75.4,0.3c-0.9,0-1.8,0.2-2.6,0.5c1.7,1.1,2.6,2.6,3.1,4.3c0,0.2,0.1,0.4,0.1,0.6c0,0.2,0.1,0.4,0.1,0.6 c0.1,2.9-0.8,3.3-1.4,5c-1,2.2-0.7,4.6,0.5,6.5c0.1,0.2,0.2,0.5,0.4,0.7c-1.3-8.4,5.7-9.6,7-12.2c0.1-2.3-1.8-3.8-3.3-4.9 C77.8,0.5,76.6,0.3,75.4,0.3L75.4,0.3z M85.9,2.1c-0.1,0.8,0,0.6-0.1,1c0,0.3,0,0.6-0.1,0.9c-0.1,0.3-0.1,0.5-0.2,0.8 c-0.1,0.3-0.2,0.5-0.3,0.8C85.1,5.8,85,6,84.9,6.3c-0.1,0.1-0.2,0.3-0.3,0.4c-0.1,0.1-0.1,0.2-0.2,0.3c-0.2,0.2-0.3,0.5-0.5,0.7 c-0.2,0.2-0.4,0.4-0.6,0.6v0c-0.2,0.2-0.4,0.4-0.6,0.5c-0.7,0.5-1.5,0.9-2.2,1.4c-0.2,0.2-0.5,0.3-0.7,0.5 c-0.2,0.2-0.4,0.3-0.6,0.5c-0.2,0.2-0.4,0.4-0.6,0.6c-0.2,0.2-0.4,0.4-0.5,0.7c-0.2,0.2-0.3,0.5-0.5,0.7c-0.1,0.3-0.2,0.5-0.4,0.8 c-0.1,0.3-0.2,0.5-0.3,0.8c-0.1,0.3-0.2,0.6-0.2,0.8c0,0.1,0,0.3-0.1,0.4c0,0.1,0,0.3-0.1,0.4c0,0.3,0,0.6,0,0.8c0,0.2,0,0.4,0,0.6 c0,0.3,0,0.5,0.1,0.8c0,0.3,0.1,0.5,0.2,0.8c0.1,0.3,0.2,0.5,0.3,0.8c0.1,0.2,0.2,0.3,0.2,0.5l-7.6-2.9c-1.3-0.4-2.5-0.7-3.8-1 c-0.7-0.2-1.4-0.3-2.1-0.5c-2-0.4-4-0.7-6-0.9c-0.1,0-0.1,0-0.2,0c-2-0.2-3.9-0.3-5.9-0.3c-1.5,0-2.9,0.1-4.3,0.2 c-2,0.1-4,0.4-6,0.7c-0.5,0.1-1,0.2-1.5,0.3c-1,0.2-2,0.4-3,0.7c-0.5,0.1-1,0.3-1.5,0.4c-0.5,0.2-1,0.4-1.4,0.6 c-0.4,0.2-0.7,0.3-1.1,0.5c-0.1,0-0.1,0-0.2,0.1c-0.3,0.2-0.6,0.3-0.9,0.5c-0.1,0-0.2,0.1-0.2,0.1c-0.4,0.2-0.7,0.4-1,0.5 c-0.2,0.1-0.5,0.2-0.7,0.3c-0.1,0.1-0.2,0.1-0.3,0.2c-0.3,0.2-0.6,0.3-0.9,0.5c-0.3,0.2-0.6,0.3-0.8,0.5c-0.2,0.2-0.5,0.3-0.7,0.5 c0,0-0.1,0-0.1,0.1c-0.2,0.1-0.4,0.3-0.6,0.5c0,0,0,0-0.1,0.1c-0.2,0.1-0.3,0.3-0.5,0.4c-0.1,0-0.1,0.1-0.2,0.1 c-0.2,0.1-0.3,0.3-0.5,0.4c0,0.1-0.1,0.1-0.1,0.1c-0.2,0.2-0.4,0.4-0.6,0.6c0,0,0,0-0.1,0.1c-0.2,0.2-0.4,0.4-0.6,0.6 c0,0,0,0.1-0.1,0.1c-0.2,0.2-0.3,0.3-0.5,0.5c-0.1,0.1-0.2,0.1-0.2,0.2c-0.2,0.2-0.4,0.4-0.6,0.6c0,0.1-0.1,0.1-0.1,0.2 c-0.3,0.3-0.5,0.5-0.8,0.8c0,0-0.1,0.1-0.1,0.1c-0.5,0.6-1.1,1.1-1.7,1.6c-0.6,0.5-1.2,1-1.9,1.5c-0.7,0.5-1.3,0.9-2,1.3 c-0.7,0.4-1.4,0.7-2.1,1c-0.7,0.3-1.4,0.6-2.1,0.8c-1.4,0.3-2.8,0.9-4,1C7.6,33.9,7.3,34,7,34c-0.3,0.1-0.6,0.1-0.8,0.2 c-0.3,0.1-0.5,0.2-0.8,0.3c-0.3,0.1-0.5,0.2-0.8,0.4c-0.2,0.2-0.5,0.3-0.7,0.5c-0.2,0.2-0.5,0.4-0.7,0.6c-0.2,0.2-0.5,0.4-0.7,0.6 c-0.2,0.2-0.4,0.4-0.6,0.7c-0.2,0.3-0.4,0.5-0.5,0.8c-0.2,0.2-0.3,0.5-0.5,0.8c-0.1,0.3-0.3,0.6-0.4,0.9c-0.1,0.3-0.2,0.6-0.3,0.9 c-0.1,0.3-0.1,0.5-0.2,0.8c0,0,0,0.1,0,0.1c-0.1,0.3-0.1,0.7-0.1,0.9C0,42.4,0,42.6,0,42.8c0,0.1,0,0.3,0,0.4 c0,0.2,0.1,0.4,0.1,0.6c0.1,0.2,0.1,0.4,0.2,0.6v0c0.1,0.2,0.2,0.4,0.4,0.6c0.1,0.2,0.3,0.4,0.4,0.6c0.2,0.2,0.4,0.4,0.6,0.5 c0.2,0.2,0.4,0.4,0.6,0.5c0.8,0.7,1,0.9,2,1.5c0.2,0.1,0.3,0.2,0.5,0.3c0,0,0.1,0,0.1,0c0,0.1,0,0.1,0,0.2c0,0.3,0.1,0.5,0.2,0.8 c0.1,0.3,0.2,0.6,0.3,0.8c0.1,0.2,0.2,0.4,0.3,0.6c0,0.1,0.1,0.1,0.1,0.2c0.1,0.3,0.3,0.5,0.4,0.7c0.2,0.2,0.3,0.5,0.5,0.7 c0.2,0.2,0.4,0.4,0.6,0.6c0.2,0.2,0.4,0.4,0.6,0.6c0,0,0,0,0.1,0c0.2,0.2,0.4,0.3,0.6,0.5c0.2,0.2,0.5,0.3,0.7,0.4 c0.2,0.1,0.5,0.3,0.8,0.4c0.2,0.1,0.4,0.2,0.7,0.2c0,0,0.1,0,0.1,0.1c0.1,0,0.3,0.1,0.4,0.1c-0.1,1.8-0.1,3.5,0.1,4.1 c0.3,0.7,1.8-1.4,3.2-3.7c-0.2,2.3-0.3,5,0,5.8c0.4,0.8,2.3-1.8,4.1-4.6c23.4-5.4,44.8,10.8,47.1,33.7C65.4,87,61,85,58.9,85.5 c-1,2.4-2.7,5.6-5.4,7.5c0.2-2.2,0.1-4.4-0.3-6.6c-0.7,3-2.1,5.9-4.1,8.3c-3.1,0.2-6.3-1.3-7.9-3.6c-0.1-0.1-0.2-0.3-0.3-0.4 c-0.1-0.2-0.2-0.5-0.3-0.7c-0.1-0.2-0.2-0.5-0.2-0.7c0-0.2,0-0.5,0-0.7c0-0.2,0-0.3,0-0.5c0-0.2,0.1-0.5,0.2-0.7 c0.1-0.2,0.1-0.5,0.2-0.7c0.1-0.2,0.2-0.5,0.4-0.7c0.6-1.6,0.6-2.9-0.5-3.6c-0.2-0.1-0.4-0.2-0.6-0.3c-0.1,0-0.3-0.1-0.4-0.1 c-0.1,0-0.2-0.1-0.3-0.1c-0.2-0.1-0.5-0.1-0.7-0.2c-0.2-0.1-0.5-0.1-0.7-0.1c-0.2,0-0.5-0.1-0.7-0.1c-0.2,0-0.3,0-0.5,0 c-0.3,0-0.5,0-0.7,0.1c-0.2,0-0.5,0.1-0.7,0.1c-0.2,0.1-0.5,0.1-0.7,0.2c-0.2,0.1-0.4,0.2-0.7,0.3c-0.2,0.1-0.4,0.2-0.6,0.3 c-7.7,5-3.1,16.8,2.1,20.2c-2,0.4-4,0.8-4.6,1.2c0,0-0.1,0.1-0.1,0.1c1.4,0.9,2.9,1.6,4.5,2.2c2.1,0.7,4.4,1.3,5.4,1.6v0 c2.7,0.6,5.5,0.8,8.3,0.6c14.6-1,26.6-12.2,28.8-26.8c0.1,0.3,0.1,0.6,0.2,0.9c0.1,0.6,0.2,1.2,0.3,1.9v0c0.1,0.3,0.1,0.6,0.1,0.9 v0.1c0,0.3,0.1,0.6,0.1,0.9c0,0.4,0.1,0.7,0.1,1.1v0.5c0,0.2,0,0.4,0,0.5c0,0.2,0,0.4,0,0.6v0.5c0,0.2,0,0.4,0,0.7 c0,0.1,0,0.3,0,0.4c0,0.2,0,0.5,0,0.7c0,0.1,0,0.2,0,0.3c0,0.3-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.3-0.1,0.6-0.1,1v0v0 c-0.1,0.3-0.1,0.6-0.2,0.9v0.1c-0.1,0.3-0.1,0.6-0.2,0.9c0,0,0,0.1,0,0.1c-0.1,0.3-0.1,0.6-0.2,0.9v0.1c-0.1,0.3-0.2,0.6-0.3,0.9 c0,0,0,0.1,0,0.1c-0.1,0.3-0.2,0.7-0.3,1c-0.1,0.3-0.2,0.6-0.4,1c-0.1,0.3-0.2,0.7-0.4,1c-0.1,0.3-0.3,0.6-0.4,1h0 c-0.1,0.3-0.3,0.6-0.4,0.9c0,0.1-0.1,0.2-0.1,0.2c0,0,0,0.1-0.1,0.1c-2.1,4.3-5.3,8.1-9.3,11.1c-0.3,0.2-0.5,0.4-0.8,0.6 c-0.1,0.1-0.2,0.1-0.2,0.2c-0.2,0.2-0.5,0.3-0.7,0.5l0.1,0.2h0c0.5-0.1,0.9-0.1,1.4-0.2h0c0.9-0.1,1.7-0.3,2.6-0.5 c0.2,0,0.5-0.1,0.7-0.2c0.2,0,0.3-0.1,0.5-0.1c0.2,0,0.5-0.1,0.7-0.1c0.2-0.1,0.4-0.1,0.6-0.2c3.3-0.8,6.5-1.9,9.6-3.2 c-5.3,7.2-12.3,13-20.5,16.8c3.8-0.3,7.6-0.9,11.3-2c13.3-3.9,24.5-12.9,31.2-25c-1.4,7.6-4.4,14.9-8.9,21.3 c3.2-2.1,6.1-4.6,8.8-7.3c7.4-7.7,12.3-17.6,13.9-28.1c1.1,5.2,1.5,10.6,1,15.9c23.9-33.3,2-67.8-7.2-76.9c0-0.1-0.1-0.1-0.1-0.2 c0,0,0,0,0,0.1c0,0,0,0,0-0.1c0,0.4,0,0.8-0.1,1.2c-0.1,0.8-0.2,1.5-0.3,2.2c-0.2,0.7-0.4,1.5-0.6,2.2c-0.2,0.7-0.5,1.4-0.8,2.1 c-0.3,0.7-0.6,1.4-1,2c-0.4,0.6-0.8,1.3-1.2,1.9c-0.4,0.6-0.9,1.2-1.4,1.8c-0.5,0.6-1,1.1-1.6,1.7c-0.3,0.3-0.6,0.6-1,0.8 c-0.3,0.2-0.5,0.4-0.8,0.7c-0.6,0.5-1.2,0.9-1.9,1.3c-0.6,0.4-1.3,0.8-2,1.1c-0.7,0.3-1.4,0.6-2.1,0.9c-0.7,0.3-1.4,0.5-2.1,0.7 c-0.7,0.2-1.5,0.4-2.2,0.5c-0.8,0.1-1.5,0.2-2.2,0.3c-0.5,0-1.1,0.1-1.6,0.1c-0.8,0-1.5-0.1-2.2-0.1c-0.8-0.1-1.5-0.2-2.2-0.3 c-0.8-0.1-1.5-0.3-2.2-0.6h0c0.7-0.1,1.5-0.1,2.2-0.3c0.8-0.1,1.5-0.3,2.2-0.5c0.7-0.2,1.5-0.4,2.1-0.7c0.7-0.3,1.4-0.6,2.1-0.9 c0.7-0.3,1.3-0.7,2-1.1c0.6-0.4,1.3-0.9,1.9-1.3c0.6-0.5,1.2-1,1.7-1.5c0.6-0.5,1.1-1.1,1.6-1.6c0.5-0.6,1-1.2,1.4-1.8 c0.1-0.1,0.1-0.2,0.2-0.3c0.3-0.5,0.7-1.1,1-1.6c0.4-0.7,0.7-1.3,1-2c0.3-0.7,0.6-1.4,0.8-2.1c0.2-0.7,0.4-1.4,0.6-2.1 c0.1-0.8,0.3-1.5,0.3-2.2c0.1-0.8,0.1-1.5,0.1-2.2c0-0.5,0-1.1-0.1-1.6c-0.1-0.8-0.2-1.5-0.3-2.2c-0.1-0.8-0.3-1.5-0.5-2.2 c-0.2-0.7-0.5-1.4-0.7-2.1c-0.3-0.7-0.6-1.4-0.9-2c-0.4-0.7-0.7-1.3-1.1-2c-0.4-0.6-0.9-1.2-1.3-1.8c-0.5-0.6-1-1.1-1.5-1.7 c-0.3-0.3-0.6-0.6-0.9-0.8c-1.5-1.2-3-2.2-4.6-3.2c-0.2-0.1-0.4-0.2-0.7-0.3C87.9,2.8,86.9,2.5,85.9,2.1L85.9,2.1z"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/Nextjs.svelte b/apps/ui/src/lib/components/svg/applications/Nextjs.sveltedeleted file mode 100644index 9ed0227d13..0000000000--- a/apps/ui/src/lib/components/svg/applications/Nextjs.svelte+++ /dev/null@@ -1,14 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute- ? 'absolute top-0 left-0 -m-4 h-10 w-10 fill-current text-blue-500'- : 'mx-auto w-8 h-8 fill-current text-blue-500'}- viewBox="0 0 128 128"->- <path- d="M64 0C28.7 0 0 28.7 0 64s28.7 64 64 64c11.2 0 21.7-2.9 30.8-7.9L48.4 55.3v36.6h-6.8V41.8h6.8l50.5 75.8C116.4 106.2 128 86.5 128 64c0-35.3-28.7-64-64-64zm22.1 84.6l-7.5-11.3V41.8h7.5v42.8z"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/Nodejs.svelte b/apps/ui/src/lib/components/svg/applications/Nodejs.sveltedeleted file mode 100644index 93140f08ff..0000000000--- a/apps/ui/src/lib/components/svg/applications/Nodejs.svelte+++ /dev/null@@ -1,18 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-4 h-10 w-10 text-green-500' : 'mx-auto w-8 h-8 text-green-500'}- xmlns="http://www.w3.org/2000/svg"- aria-hidden="true"- focusable="false"- data-prefix="fab"- data-icon="node-js"- role="img"- viewBox="0 0 448 512"- ><path- fill="currentColor"- d="M224 508c-6.7 0-13.5-1.8-19.4-5.2l-61.7-36.5c-9.2-5.2-4.7-7-1.7-8 12.3-4.3 14.8-5.2 27.9-12.7 1.4-.8 3.2-.5 4.6.4l47.4 28.1c1.7 1 4.1 1 5.7 0l184.7-106.6c1.7-1 2.8-3 2.8-5V149.3c0-2.1-1.1-4-2.9-5.1L226.8 37.7c-1.7-1-4-1-5.7 0L36.6 144.3c-1.8 1-2.9 3-2.9 5.1v213.1c0 2 1.1 4 2.9 4.9l50.6 29.2c27.5 13.7 44.3-2.4 44.3-18.7V167.5c0-3 2.4-5.3 5.4-5.3h23.4c2.9 0 5.4 2.3 5.4 5.3V378c0 36.6-20 57.6-54.7 57.6-10.7 0-19.1 0-42.5-11.6l-48.4-27.9C8.1 389.2.7 376.3.7 362.4V149.3c0-13.8 7.4-26.8 19.4-33.7L204.6 9c11.7-6.6 27.2-6.6 38.8 0l184.7 106.7c12 6.9 19.4 19.8 19.4 33.7v213.1c0 13.8-7.4 26.7-19.4 33.7L243.4 502.8c-5.9 3.4-12.6 5.2-19.4 5.2zm149.1-210.1c0-39.9-27-50.5-83.7-58-57.4-7.6-63.2-11.5-63.2-24.9 0-11.1 4.9-25.9 47.4-25.9 37.9 0 51.9 8.2 57.7 33.8.5 2.4 2.7 4.2 5.2 4.2h24c1.5 0 2.9-.6 3.9-1.7s1.5-2.6 1.4-4.1c-3.7-44.1-33-64.6-92.2-64.6-52.7 0-84.1 22.2-84.1 59.5 0 40.4 31.3 51.6 81.8 56.6 60.5 5.9 65.2 14.8 65.2 26.7 0 20.6-16.6 29.4-55.5 29.4-48.9 0-59.6-12.3-63.2-36.6-.4-2.6-2.6-4.5-5.3-4.5h-23.9c-3 0-5.3 2.4-5.3 5.3 0 31.1 16.9 68.2 97.8 68.2 58.4-.1 92-23.2 92-63.4z"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/Nuxtjs.svelte b/apps/ui/src/lib/components/svg/applications/Nuxtjs.sveltedeleted file mode 100644index cb2a66ff4e..0000000000--- a/apps/ui/src/lib/components/svg/applications/Nuxtjs.svelte+++ /dev/null@@ -1,24 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-4 h-10 w-10' : 'mx-auto w-8 h-8'}- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 400 400"->- <g fill-rule="nonzero" transform="translate(0 50)" fill="none">- <path- d="M227.92099 83.45116l-13.6889 24.10141-46.8148-82.44693L23.7037 278.17052h97.3037c0 13.31084 10.61252 24.10142 23.70371 24.10142H23.70371c-8.46771 0-16.29145-4.59601-20.5246-12.05272-4.23315-7.4567-4.23272-16.64312.00114-24.0994L146.89383 13.05492c4.23415-7.45738 12.0596-12.05138 20.5284-12.05138 8.46878 0 16.29423 4.594 20.52839 12.05138l39.97037 70.39623z"- fill="#00C58E"- />- <path- d="M331.6642 266.11981l-90.05432-158.56724-13.6889-24.10141-13.68888 24.10141-90.04445 158.56724c-4.23385 7.45629-4.23428 16.64271-.00113 24.09941 4.23314 7.4567 12.05689 12.05272 20.5246 12.05272h166.4c8.46946 0 16.29644-4.591 20.532-12.04837 4.23555-7.45736 4.23606-16.64592.00132-24.10376h.01976zM144.7111 278.17052L227.921 131.65399l83.19012 146.51653h-166.4z"- fill="#FFF"- />- <path- d="M396.04938 290.22123c-4.23344 7.45557-12.05656 12.0507-20.52345 12.0507H311.1111c13.0912 0 23.7037-10.79057 23.7037-24.10141h40.66173L260.09877 74.98553l-18.4889 32.56704L227.921 83.45116l11.65432-20.51634c4.23416-7.45738 12.0596-12.05138 20.5284-12.05138 8.46879 0 16.29423 4.594 20.52839 12.05138l115.41728 203.185c4.23426 7.457 4.23426 16.6444 0 24.1014z"- fill="#108775"- />- </g>-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/PHP.svelte b/apps/ui/src/lib/components/svg/applications/PHP.sveltedeleted file mode 100644index d52ab0dd5e..0000000000--- a/apps/ui/src/lib/components/svg/applications/PHP.svelte+++ /dev/null@@ -1,15 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- viewBox="0 0 128 128"- class={isAbsolute- ? 'absolute top-0 left-0 -m-6 h-14 w-14 text-white'- : 'mx-auto w-8 h-8 text-white'}->- <path- fill="#6181B6"- d="M64 33.039c-33.74 0-61.094 13.862-61.094 30.961s27.354 30.961 61.094 30.961 61.094-13.862 61.094-30.961-27.354-30.961-61.094-30.961zm-15.897 36.993c-1.458 1.364-3.077 1.927-4.86 2.507-1.783.581-4.052.461-6.811.461h-6.253l-1.733 10h-7.301l6.515-34h14.04c4.224 0 7.305 1.215 9.242 3.432 1.937 2.217 2.519 5.364 1.747 9.337-.319 1.637-.856 3.159-1.614 4.515-.759 1.357-1.75 2.624-2.972 3.748zm21.311 2.968l2.881-14.42c.328-1.688.208-2.942-.361-3.555-.57-.614-1.782-1.025-3.635-1.025h-5.79l-3.731 19h-7.244l6.515-33h7.244l-1.732 9h6.453c4.061 0 6.861.815 8.402 2.231s2.003 3.356 1.387 6.528l-3.031 15.241h-7.358zm40.259-11.178c-.318 1.637-.856 3.133-1.613 4.488-.758 1.357-1.748 2.598-2.971 3.722-1.458 1.364-3.078 1.927-4.86 2.507-1.782.581-4.053.461-6.812.461h-6.253l-1.732 10h-7.301l6.514-34h14.041c4.224 0 7.305 1.215 9.241 3.432 1.935 2.217 2.518 5.418 1.746 9.39zM95.919 54h-5.001l-2.727 14h4.442c2.942 0 5.136-.29 6.576-1.4 1.442-1.108 2.413-2.828 2.918-5.421.484-2.491.264-4.434-.66-5.458-.925-1.024-2.774-1.721-5.548-1.721zM38.934 54h-5.002l-2.727 14h4.441c2.943 0 5.136-.29 6.577-1.4 1.441-1.108 2.413-2.828 2.917-5.421.484-2.491.264-4.434-.66-5.458s-2.772-1.721-5.546-1.721z"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/Python.svelte b/apps/ui/src/lib/components/svg/applications/Python.sveltedeleted file mode 100644index 17abb0f6d4..0000000000--- a/apps/ui/src/lib/components/svg/applications/Python.svelte+++ /dev/null@@ -1,57 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-6 h-14 w-14' : 'mx-auto w-8 h-8'}- viewBox="0 0 128 128"->- <linearGradient- id="a"- gradientUnits="userSpaceOnUse"- x1="70.252"- y1="1237.476"- x2="170.659"- y2="1151.089"- gradientTransform="matrix(.563 0 0 -.568 -29.215 707.817)"- ><stop offset="0" stop-color="#5A9FD4" /><stop- offset="1"- stop-color="#306998"- /></linearGradient- ><path- fill="url(#a)"- d="M63.391 1.988c-4.222.02-8.252.379-11.8 1.007-10.45 1.846-12.346 5.71-12.346 12.837v9.411h24.693v3.137h-33.961c-7.176 0-13.46 4.313-15.426 12.521-2.268 9.405-2.368 15.275 0 25.096 1.755 7.311 5.947 12.519 13.124 12.519h8.491v-11.282c0-8.151 7.051-15.34 15.426-15.34h24.665c6.866 0 12.346-5.654 12.346-12.548v-23.513c0-6.693-5.646-11.72-12.346-12.837-4.244-.706-8.645-1.027-12.866-1.008zm-13.354 7.569c2.55 0 4.634 2.117 4.634 4.721 0 2.593-2.083 4.69-4.634 4.69-2.56 0-4.633-2.097-4.633-4.69-.001-2.604 2.073-4.721 4.633-4.721z"- /><linearGradient- id="b"- gradientUnits="userSpaceOnUse"- x1="209.474"- y1="1098.811"- x2="173.62"- y2="1149.537"- gradientTransform="matrix(.563 0 0 -.568 -29.215 707.817)"- ><stop offset="0" stop-color="#FFD43B" /><stop- offset="1"- stop-color="#FFE873"- /></linearGradient- ><path- fill="url(#b)"- d="M91.682 28.38v10.966c0 8.5-7.208 15.655-15.426 15.655h-24.665c-6.756 0-12.346 5.783-12.346 12.549v23.515c0 6.691 5.818 10.628 12.346 12.547 7.816 2.297 15.312 2.713 24.665 0 6.216-1.801 12.346-5.423 12.346-12.547v-9.412h-24.664v-3.138h37.012c7.176 0 9.852-5.005 12.348-12.519 2.578-7.735 2.467-15.174 0-25.096-1.774-7.145-5.161-12.521-12.348-12.521h-9.268zm-13.873 59.547c2.561 0 4.634 2.097 4.634 4.692 0 2.602-2.074 4.719-4.634 4.719-2.55 0-4.633-2.117-4.633-4.719 0-2.595 2.083-4.692 4.633-4.692z"- /><radialGradient- id="c"- cx="1825.678"- cy="444.45"- r="26.743"- gradientTransform="matrix(0 -.24 -1.055 0 532.979 557.576)"- gradientUnits="userSpaceOnUse"- ><stop offset="0" stop-color="#B8B8B8" stop-opacity=".498" /><stop- offset="1"- stop-color="#7F7F7F"- stop-opacity="0"- /></radialGradient- ><path- opacity=".444"- fill="url(#c)"- enable-background="new"- d="M97.309 119.597c0 3.543-14.816 6.416-33.091 6.416-18.276 0-33.092-2.873-33.092-6.416 0-3.544 14.815-6.417 33.092-6.417 18.275 0 33.091 2.872 33.091 6.417z"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/React.svelte b/apps/ui/src/lib/components/svg/applications/React.sveltedeleted file mode 100644index c0867ffc8a..0000000000--- a/apps/ui/src/lib/components/svg/applications/React.svelte+++ /dev/null@@ -1,16 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute- ? 'absolute top-0 left-0 -m-4 h-10 w-10 text-blue-500'- : 'mx-auto w-8 h-8 text-blue-500'}- viewBox="0 0 128 128"->- <g fill="#61DAFB"- ><circle cx="64" cy="64" r="11.4" /><path- d="M107.3 45.2c-2.2-.8-4.5-1.6-6.9-2.3.6-2.4 1.1-4.8 1.5-7.1 2.1-13.2-.2-22.5-6.6-26.1-1.9-1.1-4-1.6-6.4-1.6-7 0-15.9 5.2-24.9 13.9-9-8.7-17.9-13.9-24.9-13.9-2.4 0-4.5.5-6.4 1.6-6.4 3.7-8.7 13-6.6 26.1.4 2.3.9 4.7 1.5 7.1-2.4.7-4.7 1.4-6.9 2.3-12.5 4.8-19.3 11.4-19.3 18.8s6.9 14 19.3 18.8c2.2.8 4.5 1.6 6.9 2.3-.6 2.4-1.1 4.8-1.5 7.1-2.1 13.2.2 22.5 6.6 26.1 1.9 1.1 4 1.6 6.4 1.6 7.1 0 16-5.2 24.9-13.9 9 8.7 17.9 13.9 24.9 13.9 2.4 0 4.5-.5 6.4-1.6 6.4-3.7 8.7-13 6.6-26.1-.4-2.3-.9-4.7-1.5-7.1 2.4-.7 4.7-1.4 6.9-2.3 12.5-4.8 19.3-11.4 19.3-18.8s-6.8-14-19.3-18.8zm-14.8-30.5c4.1 2.4 5.5 9.8 3.8 20.3-.3 2.1-.8 4.3-1.4 6.6-5.2-1.2-10.7-2-16.5-2.5-3.4-4.8-6.9-9.1-10.4-13 7.4-7.3 14.9-12.3 21-12.3 1.3 0 2.5.3 3.5.9zm-11.2 59.3c-1.8 3.2-3.9 6.4-6.1 9.6-3.7.3-7.4.4-11.2.4-3.9 0-7.6-.1-11.2-.4-2.2-3.2-4.2-6.4-6-9.6-1.9-3.3-3.7-6.7-5.3-10 1.6-3.3 3.4-6.7 5.3-10 1.8-3.2 3.9-6.4 6.1-9.6 3.7-.3 7.4-.4 11.2-.4 3.9 0 7.6.1 11.2.4 2.2 3.2 4.2 6.4 6 9.6 1.9 3.3 3.7 6.7 5.3 10-1.7 3.3-3.4 6.6-5.3 10zm8.3-3.3c1.5 3.5 2.7 6.9 3.8 10.3-3.4.8-7 1.4-10.8 1.9 1.2-1.9 2.5-3.9 3.6-6 1.2-2.1 2.3-4.2 3.4-6.2zm-25.6 27.1c-2.4-2.6-4.7-5.4-6.9-8.3 2.3.1 4.6.2 6.9.2 2.3 0 4.6-.1 6.9-.2-2.2 2.9-4.5 5.7-6.9 8.3zm-18.6-15c-3.8-.5-7.4-1.1-10.8-1.9 1.1-3.3 2.3-6.8 3.8-10.3 1.1 2 2.2 4.1 3.4 6.1 1.2 2.2 2.4 4.1 3.6 6.1zm-7-25.5c-1.5-3.5-2.7-6.9-3.8-10.3 3.4-.8 7-1.4 10.8-1.9-1.2 1.9-2.5 3.9-3.6 6-1.2 2.1-2.3 4.2-3.4 6.2zm25.6-27.1c2.4 2.6 4.7 5.4 6.9 8.3-2.3-.1-4.6-.2-6.9-.2-2.3 0-4.6.1-6.9.2 2.2-2.9 4.5-5.7 6.9-8.3zm22.2 21l-3.6-6c3.8.5 7.4 1.1 10.8 1.9-1.1 3.3-2.3 6.8-3.8 10.3-1.1-2.1-2.2-4.2-3.4-6.2zm-54.5-16.2c-1.7-10.5-.3-17.9 3.8-20.3 1-.6 2.2-.9 3.5-.9 6 0 13.5 4.9 21 12.3-3.5 3.8-7 8.2-10.4 13-5.8.5-11.3 1.4-16.5 2.5-.6-2.3-1-4.5-1.4-6.6zm-24.7 29c0-4.7 5.7-9.7 15.7-13.4 2-.8 4.2-1.5 6.4-2.1 1.6 5 3.6 10.3 6 15.6-2.4 5.3-4.5 10.5-6 15.5-13.8-4-22.1-10-22.1-15.6zm28.5 49.3c-4.1-2.4-5.5-9.8-3.8-20.3.3-2.1.8-4.3 1.4-6.6 5.2 1.2 10.7 2 16.5 2.5 3.4 4.8 6.9 9.1 10.4 13-7.4 7.3-14.9 12.3-21 12.3-1.3 0-2.5-.3-3.5-.9zm60.8-20.3c1.7 10.5.3 17.9-3.8 20.3-1 .6-2.2.9-3.5.9-6 0-13.5-4.9-21-12.3 3.5-3.8 7-8.2 10.4-13 5.8-.5 11.3-1.4 16.5-2.5.6 2.3 1 4.5 1.4 6.6zm9-15.6c-2 .8-4.2 1.5-6.4 2.1-1.6-5-3.6-10.3-6-15.6 2.4-5.3 4.5-10.5 6-15.5 13.8 4 22.1 10 22.1 15.6 0 4.7-5.8 9.7-15.7 13.4z"- /></g- >-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/Rust.svelte b/apps/ui/src/lib/components/svg/applications/Rust.sveltedeleted file mode 100644index 97bcee9036..0000000000--- a/apps/ui/src/lib/components/svg/applications/Rust.svelte+++ /dev/null@@ -1,15 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-5 h-12 w-12' : 'mx-auto w-8 h-8'}- viewBox="0 0 128 128"->- <path- d="M62.271 10.880 C 62.082 10.990,61.289 12.128,60.508 13.409 C 58.548 16.626,58.526 16.628,55.893 13.857 C 54.180 12.055,53.766 11.725,53.214 11.729 C 52.855 11.731,52.402 11.853,52.206 12.000 C 52.011 12.147,51.458 13.317,50.978 14.600 C 49.879 17.539,49.826 17.634,49.217 17.751 C 48.842 17.822,48.120 17.420,46.389 16.177 C 45.111 15.258,43.857 14.507,43.603 14.507 C 42.549 14.507,42.252 15.083,41.750 18.100 C 41.112 21.936,41.134 21.923,37.676 20.352 C 36.280 19.719,34.956 19.200,34.733 19.200 C 34.510 19.200,34.087 19.440,33.794 19.733 C 33.262 20.266,33.261 20.268,33.406 23.201 L 33.552 26.137 32.997 26.434 C 32.505 26.697,32.166 26.665,29.988 26.150 C 27.145 25.479,26.545 25.497,25.969 26.272 L 25.548 26.838 26.113 29.259 C 26.423 30.590,26.722 31.872,26.778 32.107 C 26.833 32.341,26.738 32.716,26.566 32.939 C 26.282 33.306,25.980 33.339,23.349 33.299 C 18.896 33.229,18.643 33.611,20.483 37.627 C 21.068 38.902,21.547 40.060,21.547 40.199 C 21.547 40.933,20.962 41.200,18.449 41.610 C 17.043 41.839,15.821 42.027,15.733 42.027 C 15.645 42.027,15.381 42.219,15.147 42.453 C 14.382 43.218,14.599 43.936,16.334 46.385 C 18.495 49.435,18.491 49.446,14.921 50.812 C 10.861 52.365,10.779 52.748,13.870 55.680 C 16.749 58.410,16.752 58.370,13.493 60.419 C 11.024 61.970,10.986 62.007,10.923 62.848 C 10.847 63.871,10.865 63.889,13.813 65.690 C 16.728 67.470,16.728 67.524,13.867 70.231 C 10.790 73.141,10.885 73.566,14.948 75.099 C 18.498 76.438,18.503 76.454,16.338 79.504 C 15.111 81.233,14.720 81.953,14.720 82.487 C 14.720 83.486,15.240 83.741,18.347 84.263 C 20.964 84.704,21.547 84.963,21.547 85.685 C 21.547 85.833,21.067 87.001,20.480 88.279 C 18.654 92.256,18.862 92.587,23.184 92.587 C 27.209 92.587,27.102 92.464,26.235 96.094 C 25.581 98.830,25.571 99.354,26.163 99.945 C 26.616 100.399,27.470 100.348,30.141 99.709 C 32.181 99.222,32.539 99.188,33.012 99.441 L 33.552 99.730 33.406 102.665 C 33.261 105.599,33.262 105.601,33.794 106.134 C 34.087 106.427,34.516 106.667,34.746 106.667 C 34.976 106.667,36.300 106.151,37.689 105.520 C 41.136 103.955,41.114 103.942,41.750 107.766 C 42.254 110.797,42.548 111.360,43.624 111.360 C 43.891 111.360,45.118 110.640,46.352 109.760 C 48.519 108.214,49.081 107.972,49.658 108.339 C 49.807 108.433,50.385 109.703,50.942 111.161 C 51.761 113.305,52.061 113.863,52.517 114.081 C 53.385 114.497,53.922 114.163,55.962 111.941 C 58.425 109.258,58.526 109.271,60.537 112.530 C 62.758 116.128,63.333 116.120,65.610 112.457 C 67.572 109.301,67.549 109.303,70.201 112.073 C 71.962 113.911,72.337 114.204,72.931 114.204 C 73.310 114.204,73.763 114.062,73.936 113.888 C 74.110 113.714,74.686 112.429,75.216 111.033 C 75.746 109.636,76.295 108.420,76.437 108.330 C 76.998 107.973,77.579 108.224,79.743 109.760 C 81.017 110.665,82.216 111.360,82.501 111.360 C 83.559 111.360,83.941 110.609,84.381 107.657 C 84.757 105.140,84.833 104.899,85.328 104.648 C 85.815 104.401,86.107 104.484,88.391 105.521 C 89.780 106.151,91.104 106.667,91.334 106.667 C 91.564 106.667,92.000 106.420,92.301 106.118 L 92.850 105.570 92.699 102.755 C 92.555 100.067,92.568 99.923,92.997 99.535 C 93.438 99.136,93.483 99.138,95.949 99.701 C 98.935 100.383,99.492 100.401,100.053 99.840 C 100.601 99.292,100.595 99.172,99.845 96.009 C 99.004 92.461,98.891 92.587,102.933 92.587 C 105.688 92.587,105.995 92.548,106.346 92.161 C 106.932 91.513,106.793 90.771,105.614 88.258 C 105.019 86.992,104.536 85.840,104.540 85.698 C 104.560 84.951,105.147 84.696,107.860 84.255 C 109.520 83.986,110.762 83.674,110.987 83.471 C 111.741 82.790,111.464 81.904,109.743 79.491 C 107.586 76.467,107.595 76.438,111.049 75.165 C 115.185 73.641,115.303 73.133,112.208 70.192 C 109.341 67.468,109.340 67.483,112.480 65.555 C 116.276 63.225,116.282 62.700,112.547 60.382 C 109.335 58.389,109.337 58.417,112.216 55.683 C 115.304 52.749,115.220 52.365,111.159 50.812 C 107.575 49.441,107.564 49.407,109.742 46.418 C 111.039 44.638,111.360 44.047,111.360 43.437 C 111.360 42.371,110.882 42.132,107.738 41.624 C 105.111 41.200,104.533 40.942,104.533 40.195 C 104.533 40.053,105.013 38.910,105.600 37.653 C 106.749 35.192,106.910 34.207,106.260 33.618 C 105.911 33.302,105.443 33.257,102.939 33.298 C 100.319 33.342,99.984 33.305,99.621 32.940 C 99.224 32.541,99.228 32.485,99.848 29.898 C 100.608 26.728,100.611 26.651,99.986 26.064 C 99.352 25.468,98.956 25.478,96.045 26.163 C 93.924 26.663,93.573 26.696,93.091 26.438 L 92.544 26.145 92.695 23.219 L 92.847 20.294 92.300 19.747 C 91.999 19.446,91.572 19.200,91.350 19.200 C 91.129 19.200,89.812 19.723,88.424 20.361 C 86.106 21.428,85.857 21.499,85.356 21.237 C 84.856 20.975,84.773 20.717,84.346 18.110 C 83.853 15.094,83.548 14.507,82.477 14.507 C 82.223 14.507,80.964 15.262,79.679 16.185 C 77.569 17.701,77.286 17.844,76.760 17.661 C 76.325 17.509,76.072 17.178,75.763 16.355 C 75.534 15.749,75.096 14.581,74.788 13.760 C 74.166 12.104,73.819 11.733,72.887 11.733 C 72.367 11.733,71.896 12.107,70.208 13.860 C 67.555 16.616,67.545 16.615,65.594 13.415 C 64.814 12.136,63.999 10.994,63.782 10.878 C 63.294 10.616,62.720 10.617,62.271 10.880 M64.689 20.515 C 67.000 22.160,65.771 26.027,62.937 26.027 C 60.187 26.027,58.802 22.714,60.766 20.833 C 61.874 19.771,63.463 19.642,64.689 20.515 M61.783 30.729 C 63.298 31.305,63.920 30.959,67.379 27.625 L 69.978 25.119 71.078 25.265 C 74.528 25.723,81.390 28.737,85.333 31.526 C 88.956 34.090,93.771 39.312,95.823 42.903 L 96.262 43.672 94.318 48.052 C 93.248 50.461,92.373 52.685,92.373 52.996 C 92.373 53.713,92.843 54.847,93.296 55.222 C 93.487 55.381,95.302 56.255,97.329 57.164 L 101.013 58.818 101.158 59.755 C 101.345 60.976,101.370 63.975,101.200 64.827 L 101.067 65.493 98.964 65.493 C 96.525 65.493,96.713 65.275,96.581 68.267 C 96.485 70.436,95.961 71.635,94.769 72.411 C 92.827 73.678,89.620 73.448,88.260 71.945 C 88.051 71.714,87.645 70.553,87.357 69.364 C 86.516 65.891,85.386 63.941,83.116 62.044 C 82.399 61.445,81.813 60.886,81.813 60.801 C 81.813 60.717,82.601 60.053,83.565 59.328 C 87.075 56.682,89.093 53.602,89.315 50.551 C 89.738 44.732,85.102 39.308,78.206 37.550 C 76.571 37.133,75.873 37.120,55.646 37.120 C 44.166 37.120,34.773 37.045,34.773 36.954 C 34.773 36.739,37.324 34.263,38.827 33.021 C 42.954 29.609,48.315 26.924,53.867 25.490 L 55.787 24.993 58.515 27.759 C 60.016 29.280,61.487 30.616,61.783 30.729 M27.432 48.526 C 28.689 49.349,29.204 51.417,28.462 52.660 C 27.314 54.584,24.406 54.665,23.257 52.805 C 21.586 50.103,24.804 46.804,27.432 48.526 M101.482 48.631 C 104.770 50.636,102.222 55.568,98.702 54.011 C 96.352 52.971,96.277 49.759,98.575 48.587 C 99.534 48.098,100.636 48.115,101.482 48.631 M37.120 60.907 L 37.120 73.173 31.698 73.173 L 26.276 73.173 25.846 71.307 C 25.000 67.632,24.644 63.830,24.857 60.716 L 25.006 58.528 28.734 56.856 C 31.073 55.808,32.577 55.009,32.771 54.712 C 33.619 53.419,33.538 52.495,32.348 49.867 L 31.792 48.640 34.456 48.640 L 37.120 48.640 37.120 60.907 M68.340 49.174 C 70.662 49.778,71.889 51.007,71.892 52.730 C 71.894 53.995,71.267 54.789,69.712 55.491 C 68.611 55.989,68.436 56.001,61.493 56.069 L 54.400 56.137 54.400 52.495 L 54.400 48.853 60.755 48.853 C 65.719 48.853,67.380 48.923,68.340 49.174 M65.944 66.776 C 67.095 67.096,68.456 68.096,69.154 69.135 C 69.887 70.227,70.316 71.647,71.332 76.351 C 72.190 80.327,72.742 81.627,74.288 83.319 C 76.203 85.414,75.759 85.333,85.325 85.333 C 89.906 85.333,93.653 85.406,93.653 85.496 C 93.653 85.657,90.498 89.387,90.362 89.387 C 90.323 89.387,88.675 89.042,86.700 88.620 C 81.123 87.429,80.922 87.569,79.642 93.546 L 78.819 97.386 78.076 97.752 C 76.836 98.364,72.806 99.624,70.717 100.054 C 67.265 100.764,63.508 101.004,60.206 100.725 C 54.577 100.248,47.123 98.064,46.832 96.805 C 46.770 96.538,46.395 94.810,46.000 92.964 C 45.604 91.118,45.123 89.367,44.931 89.073 C 44.008 87.665,43.037 87.578,38.767 88.523 C 37.150 88.881,35.739 89.173,35.631 89.173 C 35.428 89.173,32.427 85.703,32.427 85.469 C 32.427 85.396,39.555 85.311,48.267 85.281 L 64.107 85.227 64.164 79.600 C 64.204 75.627,64.149 73.886,63.977 73.680 C 63.785 73.448,62.763 73.387,59.067 73.387 L 54.400 73.387 54.400 69.973 L 54.400 66.560 59.787 66.561 C 62.749 66.562,65.520 66.659,65.944 66.776 M41.536 92.365 C 44.055 93.900,42.847 97.922,39.868 97.919 C 36.813 97.917,35.681 93.932,38.284 92.344 C 39.145 91.819,40.658 91.829,41.536 92.365 M87.662 92.533 C 88.897 93.438,89.308 95.321,88.543 96.575 C 86.534 99.870,81.510 97.251,83.188 93.784 C 84.013 92.081,86.206 91.467,87.662 92.533 "- stroke="none"- fill="rgb(239, 68, 68)"- fill-rule="evenodd"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/Static.svelte b/apps/ui/src/lib/components/svg/applications/Static.sveltedeleted file mode 100644index 14cbb0ce83..0000000000--- a/apps/ui/src/lib/components/svg/applications/Static.svelte+++ /dev/null@@ -1,34 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute- ? 'absolute top-0 left-0 -m-4 h-10 w-10 text-white'- : 'mx-auto w-8 h-8 text-white'}- viewBox="0 0 32 32"- fill="none"- xmlns="http://www.w3.org/2000/svg"- ><g clip-path="url(#HTML5_Clip0_4)"- ><path- d="M30.216 0L27.6454 28.7967L16.0907 32L4.56783 28.8012L2 0H30.216Z"- fill="#E44D26"- /><path- d="M16.108 29.5515L25.4447 26.963L27.6415 2.35497H16.108V29.5515Z"- fill="#F16529"- /><path- d="M11.1109 9.4197H16.108V5.88731H7.25053L7.33509 6.83499L8.20327 16.5692H16.108V13.0369H11.4338L11.1109 9.4197Z"- fill="#EBEBEB"- /><path- d="M11.907 18.3354H8.36111L8.856 23.8818L16.0917 25.8904L16.108 25.8859V22.2108L16.0925 22.2149L12.1585 21.1527L11.907 18.3354Z"- fill="#EBEBEB"- /><path- d="M16.0958 16.5692H20.4455L20.0354 21.1504L16.0958 22.2138V25.8887L23.3373 23.8817L23.3904 23.285L24.2205 13.9855L24.3067 13.0369H16.0958V16.5692Z"- fill="white"- /><path- d="M16.0958 9.41105V9.41969H24.6281L24.6989 8.62572L24.8599 6.83499L24.9444 5.88731H16.0958V9.41105Z"- fill="white"- /></g- ><defs><clipPath id="HTML5_Clip0_4"><rect width="32" height="32" fill="white" /></clipPath></defs- ></svg->diff --git a/apps/ui/src/lib/components/svg/applications/Svelte.svelte b/apps/ui/src/lib/components/svg/applications/Svelte.sveltedeleted file mode 100644index cfa96c59d4..0000000000--- a/apps/ui/src/lib/components/svg/applications/Svelte.svelte+++ /dev/null@@ -1,25 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-4 h-10 w-10' : 'mx-auto w-8 h-8'}- version="1.1"- id="Layer_1"- xmlns="http://www.w3.org/2000/svg"- xmlns:xlink="http://www.w3.org/1999/xlink"- x="0px"- y="0px"- viewBox="0 0 98.1 118"- style="enable-background:new 0 0 98.1 118;"- xml:space="preserve"->- <path- fill="#FF3E00"- d="M91.8,15.6C80.9-0.1,59.2-4.7,43.6,5.2L16.1,22.8C8.6,27.5,3.4,35.2,1.9,43.9c-1.3,7.3-0.2,14.8,3.3,21.3 c-2.4,3.6-4,7.6-4.7,11.8c-1.6,8.9,0.5,18.1,5.7,25.4c11,15.7,32.6,20.3,48.2,10.4l27.5-17.5c7.5-4.7,12.7-12.4,14.2-21.1 c1.3-7.3,0.2-14.8-3.3-21.3c2.4-3.6,4-7.6,4.7-11.8C99.2,32.1,97.1,22.9,91.8,15.6"- />- <path- fill="#FFFFFF"- d="M40.9,103.9c-8.9,2.3-18.2-1.2-23.4-8.7c-3.2-4.4-4.4-9.9-3.5-15.3c0.2-0.9,0.4-1.7,0.6-2.6l0.5-1.6l1.4,1 c3.3,2.4,6.9,4.2,10.8,5.4l1,0.3l-0.1,1c-0.1,1.4,0.3,2.9,1.1,4.1c1.6,2.3,4.4,3.4,7.1,2.7c0.6-0.2,1.2-0.4,1.7-0.7L65.5,72 c1.4-0.9,2.3-2.2,2.6-3.8c0.3-1.6-0.1-3.3-1-4.6c-1.6-2.3-4.4-3.3-7.1-2.6c-0.6,0.2-1.2,0.4-1.7,0.7l-10.5,6.7 c-1.7,1.1-3.6,1.9-5.6,2.4c-8.9,2.3-18.2-1.2-23.4-8.7c-3.1-4.4-4.4-9.9-3.4-15.3c0.9-5.2,4.1-9.9,8.6-12.7l27.5-17.5 c1.7-1.1,3.6-1.9,5.6-2.5c8.9-2.3,18.2,1.2,23.4,8.7c3.2,4.4,4.4,9.9,3.5,15.3c-0.2,0.9-0.4,1.7-0.7,2.6l-0.5,1.6l-1.4-1 c-3.3-2.4-6.9-4.2-10.8-5.4l-1-0.3l0.1-1c0.1-1.4-0.3-2.9-1.1-4.1c-1.6-2.3-4.4-3.3-7.1-2.6c-0.6,0.2-1.2,0.4-1.7,0.7L32.4,46.1 c-1.4,0.9-2.3,2.2-2.6,3.8s0.1,3.3,1,4.6c1.6,2.3,4.4,3.3,7.1,2.6c0.6-0.2,1.2-0.4,1.7-0.7l10.5-6.7c1.7-1.1,3.6-1.9,5.6-2.5 c8.9-2.3,18.2,1.2,23.4,8.7c3.2,4.4,4.4,9.9,3.5,15.3c-0.9,5.2-4.1,9.9-8.6,12.7l-27.5,17.5C44.8,102.5,42.9,103.3,40.9,103.9"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/Vuejs.svelte b/apps/ui/src/lib/components/svg/applications/Vuejs.sveltedeleted file mode 100644index 5ead6229d4..0000000000--- a/apps/ui/src/lib/components/svg/applications/Vuejs.svelte+++ /dev/null@@ -1,21 +0,0 @@-<script lang="ts">- export let isAbsolute = true;-</script>--<svg- class={isAbsolute- ? 'absolute top-0 left-0 -m-4 h-10 w-10 text-green-500'- : 'mx-auto w-8 h-8 text-green-500'}- viewBox="0 0 128 128"->- <path- d="m-2.3125e-8 8.9337 49.854 0.1586 14.167 24.47 14.432-24.47 49.547-0.1577-63.834 110.14zm126.98 0.6374-24.36 0.0207-38.476 66.052-38.453-66.052-24.749-0.0194 63.211 107.89zm-25.149-0.008-22.745 0.16758l-15.053 24.647-14.817-24.647-22.794-0.1679 37.731 64.476zM25.997 9.3929l23.002 0.0087M25.997 9.3929l23.002 0.0087"- fill="none"- /><path- d="m25.997 9.3929 23.002 0.0087l15.036 24.958 14.983-24.956 22.982-0.0057-37.85 65.655z"- fill="#35495e"- /><path- d="m0.91068 9.5686 25.066-0.1711 38.151 65.658 37.852-65.654 25.11 0.0263-62.966 108.06z"- fill="#41b883"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/applications/index.ts b/apps/ui/src/lib/components/svg/applications/index.tsdeleted file mode 100644index 7bbe7b55bb..0000000000--- a/apps/ui/src/lib/components/svg/applications/index.ts+++ /dev/null@@ -1,20 +0,0 @@-//@ts-nocheck-export { default as Rust } from './Rust.svelte';-export { default as Nodejs } from './Nodejs.svelte';-export { default as React } from './React.svelte';-export { default as Svelte } from './Svelte.svelte';-export { default as Vuejs } from './Vuejs.svelte';-export { default as Php } from './PHP.svelte';-export { default as Python } from './Python.svelte';-export { default as Static } from './Static.svelte';-export { default as Nestjs } from './Nestjs.svelte';-export { default as Nuxtjs } from './Nuxtjs.svelte';-export { default as Nextjs } from './Nextjs.svelte';-export { default as Gatsby } from './Gatsby.svelte';-export { default as Docker } from './Docker.svelte';-export { default as Astro } from './Astro.svelte';-export { default as Eleventy } from './Eleventy.svelte';-export { default as Deno } from './Deno.svelte';-export { default as Laravel } from './Laravel.svelte';-export { default as Heroku } from './Heroku.svelte';-export { default as Compose } from './Compose.svelte';diff --git a/apps/ui/src/lib/components/svg/databases/Clickhouse.svelte b/apps/ui/src/lib/components/svg/databases/Clickhouse.sveltedeleted file mode 100644index dd237a48cf..0000000000--- a/apps/ui/src/lib/components/svg/databases/Clickhouse.svelte+++ /dev/null@@ -1,13 +0,0 @@-<script lang="ts">- export let isAbsolute = false;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-5 h-10 w-10' : 'mx-auto w-8 h-8'}- viewBox="0 0 9 8"- xmlns="http://www.w3.org/2000/svg"- ><path d="m0 7h1v1h-1z" fill="#f00" /><path- d="m0 0h1v7h-1zm2 0h1v8h-1zm2 0h1v8h-1zm2 0h1v8h-1zm2 3.25h1v1.5h-1z"- fill="#fc0"- /></svg->diff --git a/apps/ui/src/lib/components/svg/databases/CouchDB.svelte b/apps/ui/src/lib/components/svg/databases/CouchDB.sveltedeleted file mode 100644index 411c4928d1..0000000000--- a/apps/ui/src/lib/components/svg/databases/CouchDB.svelte+++ /dev/null@@ -1,18 +0,0 @@-<script lang="ts">- export let isAbsolute = false;-</script>--<svg- class={isAbsolute- ? 'absolute top-0 left-0 -m-5 h-10 w-10 fill-current text-red-500'- : 'mx-auto w-8 h-8 text-red-500'}- id="CouchDB"- fill="currentColor"- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 128 128"- ><g id="original"- ><path- d="M101.4,77.2c0,5-2.7,7.5-7.6,7.7H33.9c-4.9,0-7.6-2.5-7.6-7.7,0-5,2.7-7.5,7.6-7.7H94.1C99,69.7,101.4,72.2,101.4,77.2ZM94.1,88.7H33.9c-4.9,0-7.6,2.4-7.6,7.7,0,5,2.7,7.4,7.6,7.7H94.1c4.9,0,7.6-2.5,7.6-7.7C101.4,91.1,99,88.7,94.1,88.7Zm18.6-42.1h0c-4.9,0-7.6,2.5-7.6,7.4V96.1c0,5,2.7,7.5,7.6,7.7h0c7.4-.2,11.3-7.7,11.3-22.9V62C124,51.8,120.1,46.8,112.7,46.6Zm-97.4,0h0C7.9,46.8,4,51.8,4,62V80.9c0,15.2,3.9,22.7,11.3,22.9h0c4.9,0,7.6-2.4,7.6-7.7V54.3C22.7,49.3,20.2,46.8,15.3,46.6Zm97.4-3.8c0-12.7-6.6-18.7-18.6-18.9H33.9c-12.2.2-18.6,6.5-18.6,18.9h0c7.4,0,11.3,4,11.3,11.5s3.9,11.4,11.3,11.4H90.4c7.3,0,11.3-3.9,11.3-11.4-.3-7.7,3.9-11.2,11-11.5Z"- /></g- ></svg->diff --git a/apps/ui/src/lib/components/svg/databases/DatabaseIcons.svelte b/apps/ui/src/lib/components/svg/databases/DatabaseIcons.sveltedeleted file mode 100644index 4a00860af3..0000000000--- a/apps/ui/src/lib/components/svg/databases/DatabaseIcons.svelte+++ /dev/null@@ -1,21 +0,0 @@-<script lang="ts">- import * as Icons from '$lib/components/svg/databases';- export let type: any;- export let isAbsolute = false;-</script>--{#if type === 'mysql'}- <Icons.MySQL {isAbsolute} />-{:else if type === 'postgresql'}- <Icons.PostgreSQL {isAbsolute} />-{:else if type === 'mongodb'}- <Icons.MongoDB {isAbsolute} />-{:else if type === 'mariadb'}- <Icons.MariaDB {isAbsolute} />-{:else if type === 'redis'}- <Icons.Redis {isAbsolute} />-{:else if type === 'couchdb'}- <Icons.CouchDB {isAbsolute} />-{:else if type === 'edgedb'}- <Icons.EdgeDB {isAbsolute} />-{/if}diff --git a/apps/ui/src/lib/components/svg/databases/EdgeDB.svelte b/apps/ui/src/lib/components/svg/databases/EdgeDB.sveltedeleted file mode 100644index 57fdebed5d..0000000000--- a/apps/ui/src/lib/components/svg/databases/EdgeDB.svelte+++ /dev/null@@ -1,22 +0,0 @@-<script lang="ts">- export let isAbsolute = false;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-8 h-16 w-16' : 'mx-auto w-12 h-12'}- width="88"- fill="#1F8AED"- height="101"- viewBox="0 -15 88 101"- ><path- class="pageNav_logoBar__2v4ah"- style="transform-origin:center 35.5px"- fill-rule="evenodd"- clip-rule="evenodd"- d="M55.1436 71H58.1436V0H55.1436V71Z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- d="M74.5362 35.3047C74.5362 41.3776 72.1013 42.4662 69.3799 42.4662H63.5935V28.1432H69.3799C72.1013 28.1432 74.5362 29.2318 74.5362 35.3047V35.3047ZM71.5862 35.3047C71.5862 31.0651 70.2971 30.8646 68.4352 30.8646H66.6305V39.7448H68.4352C70.2971 39.7448 71.5862 39.5443 71.5862 35.3047V35.3047ZM40.9348 42.4662V28.1432H50.0442V30.8646H43.9713V33.7865H48.5546V36.4792H43.9713V39.7448H50.0442V42.4662H40.9348ZM80.6092 36.1068V39.7448H83.13C84.7055 39.7448 85.1066 38.7135 85.1066 37.9401C85.1066 37.3385 84.8201 36.1068 82.6717 36.1068H80.6092ZM80.6092 30.8646V33.5859H82.6717C83.8462 33.5859 84.5337 33.0703 84.5337 32.2109C84.5337 31.3516 83.8462 30.8646 82.6717 30.8646H80.6092ZM77.5732 28.1432H83.4169C86.482 28.1432 87.3987 30.2917 87.3987 31.8385C87.3987 33.2708 86.482 34.3021 85.8518 34.5885C87.6851 35.4766 88.0002 37.2813 88.0002 38.1979C88.0002 39.401 87.3987 42.4662 83.4169 42.4662H77.5732V28.1432ZM23.4899 35.3047C23.4899 41.3776 21.055 42.4662 18.3337 42.4662H12.5472V28.1432H18.3337C21.055 28.1432 23.4899 29.2318 23.4899 35.3047V35.3047ZM32.4272 39.8594C33.974 39.8594 34.7761 39.3438 35.0626 39V37.4245H32.599V34.9609H37.4975V40.6615C37.0678 41.3203 34.7188 42.6094 32.5704 42.6094C29.047 42.6094 26.0678 41.2344 26.0678 35.1615C26.0678 29.0885 29.0756 28 31.797 28C36.0652 28 37.1251 30.2344 37.4688 32.2109L34.948 32.7839C34.8048 31.8672 34.0027 30.7214 32.1694 30.7214C30.3074 30.7214 29.0183 30.9219 29.0183 35.1615C29.0183 39.401 30.3647 39.8594 32.4272 39.8594V39.8594ZM20.539 35.3047C20.539 31.0651 19.2499 30.8646 17.3879 30.8646H15.5833V39.7448H17.3879C19.2499 39.7448 20.539 39.5443 20.539 35.3047V35.3047ZM0 42.4662V28.1432H9.10938V30.8646H3.03646V33.7865H7.61979V36.4792H3.03646V39.7448H9.10938V42.4662H0Z"- /></svg->diff --git a/apps/ui/src/lib/components/svg/databases/MariaDB.svelte b/apps/ui/src/lib/components/svg/databases/MariaDB.sveltedeleted file mode 100644index 5bf504bccf..0000000000--- a/apps/ui/src/lib/components/svg/databases/MariaDB.svelte+++ /dev/null@@ -1,17 +0,0 @@-<script lang="ts">- export let isAbsolute = false;-</script>--<svg- xmlns="http://www.w3.org/2000/svg"- id="Layer_1"- data-name="Layer 1"- viewBox="0 0 309.88 252.72"- class={isAbsolute ? 'absolute top-0 left-0 -m-5 h-12 w-12 ' : 'mx-auto w-8 h-8'}->- <path- fill="#fff"- d="M316,10.05a4.2,4.2,0,0,0-2.84-1c-2.84,0-6.5,1.92-8.46,3l-.79.4a26.81,26.81,0,0,1-10.57,2.66c-3.76.12-7,.34-11.22.77-25,2.58-36.15,21.74-46.89,40.27-5.84,10.08-11.88,20.5-20.16,28.57a55.71,55.71,0,0,1-5.46,4.63c-8.57,6.39-19.33,10.9-27.74,14.12-8.07,3.08-16.86,5.85-25.37,8.53-7.78,2.45-15.14,4.76-21.9,7.28-3.05,1.13-5.64,2-7.93,2.76-6.15,2-10.6,3.53-17.08,8-2.53,1.73-5.07,3.6-6.8,5a71.26,71.26,0,0,0-13.54,14.27A84.81,84.81,0,0,1,77.88,163c-1.36,1.34-3.8,2-7.43,2-4.27,0-9.43-.88-14.91-1.81s-11.46-2-16.46-2c-4.07,0-7.17.66-9.5,2,0,0-3.9,2.28-5.56,5.23l1.62.73a33.56,33.56,0,0,1,6.93,5,33.68,33.68,0,0,0,7.19,5.12A6.37,6.37,0,0,1,42,180.72c-.69,1-1.69,2.29-2.74,3.67-5.77,7.55-9.13,12.32-7.2,14.92a6,6,0,0,0,3,.68c12.59,0,19.34-3.27,27.9-7.41,2.47-1.2,5-2.44,8-3.7,5-2.17,10.38-5.63,16.08-9.29,7.55-4.85,15.36-9.87,22.92-12.3a62.3,62.3,0,0,1,19.23-2.7c8,0,16.42,1.07,24.54,2.11,6.06.78,12.32,1.58,18.47,2,2.39.14,4.6.21,6.76.21a78.48,78.48,0,0,0,8.61-.45l.68-.24c4.32-2.65,6.34-8.34,8.29-13.84,1.26-3.54,2.32-6.72,4-8.74a2.06,2.06,0,0,1,.33-.27.4.4,0,0,1,.49.08.25.25,0,0,1,0,.16c-1,21.51-9.67,35.16-18.42,47.3L177,199.14s8.18,0,12.84-1.8c17-5.08,29.84-16.28,39.18-34.14a144.39,144.39,0,0,0,6.16-14.09c.16-.4,1.64-1.14,1.49.93,0,.61-.08,1.29-.13,2h0c0,.42-.06.85-.08,1.28-.25,3-1,9.34-1,9.34l5.25-2.81c12.66-8,22.42-24.14,29.82-49.25,3.09-10.46,5.34-20.85,7.33-30,2.38-11,4.43-20.43,6.78-24.09,3.69-5.74,9.32-9.62,14.77-13.39.75-.51,1.49-1,2.22-1.54,6.86-4.81,13.67-10.36,15.16-20.71l0-.23C317.93,12.92,317,11,316,10.05Z"- transform="translate(-7.45 -9.1)"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/databases/MongoDB.svelte b/apps/ui/src/lib/components/svg/databases/MongoDB.sveltedeleted file mode 100644index fbb261aa2c..0000000000--- a/apps/ui/src/lib/components/svg/databases/MongoDB.svelte+++ /dev/null@@ -1,90 +0,0 @@-<script lang="ts">- export let isAbsolute = false;-</script>--<svg- viewBox="0 0 128 128"- class={isAbsolute ? 'absolute top-0 left-0 -m-4 h-10 w-10' : 'mx-auto w-8 h-8'}->- <path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#439934"- d="M88.038 42.812c1.605 4.643 2.761 9.383 3.141 14.296.472 6.095.256 12.147-1.029 18.142-.035.165-.109.32-.164.48-.403.001-.814-.049-1.208.012-3.329.523-6.655 1.065-9.981 1.604-3.438.557-6.881 1.092-10.313 1.687-1.216.21-2.721-.041-3.212 1.641-.014.046-.154.054-.235.08l.166-10.051-.169-24.252 1.602-.275c2.62-.429 5.24-.864 7.862-1.281 3.129-.497 6.261-.98 9.392-1.465 1.381-.215 2.764-.412 4.148-.618z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#45A538"- d="M61.729 110.054c-1.69-1.453-3.439-2.842-5.059-4.37-8.717-8.222-15.093-17.899-18.233-29.566-.865-3.211-1.442-6.474-1.627-9.792-.13-2.322-.318-4.665-.154-6.975.437-6.144 1.325-12.229 3.127-18.147l.099-.138c.175.233.427.439.516.702 1.759 5.18 3.505 10.364 5.242 15.551 5.458 16.3 10.909 32.604 16.376 48.9.107.318.384.579.583.866l-.87 2.969z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#46A037"- d="M88.038 42.812c-1.384.206-2.768.403-4.149.616-3.131.485-6.263.968-9.392 1.465-2.622.417-5.242.852-7.862 1.281l-1.602.275-.012-1.045c-.053-.859-.144-1.717-.154-2.576-.069-5.478-.112-10.956-.18-16.434-.042-3.429-.105-6.857-.175-10.285-.043-2.13-.089-4.261-.185-6.388-.052-1.143-.236-2.28-.311-3.423-.042-.657.016-1.319.029-1.979.817 1.583 1.616 3.178 2.456 4.749 1.327 2.484 3.441 4.314 5.344 6.311 7.523 7.892 12.864 17.068 16.193 27.433z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#409433"- d="M65.036 80.753c.081-.026.222-.034.235-.08.491-1.682 1.996-1.431 3.212-1.641 3.432-.594 6.875-1.13 10.313-1.687 3.326-.539 6.652-1.081 9.981-1.604.394-.062.805-.011 1.208-.012-.622 2.22-1.112 4.488-1.901 6.647-.896 2.449-1.98 4.839-3.131 7.182a49.142 49.142 0 01-6.353 9.763c-1.919 2.308-4.058 4.441-6.202 6.548-1.185 1.165-2.582 2.114-3.882 3.161l-.337-.23-1.214-1.038-1.256-2.753a41.402 41.402 0 01-1.394-9.838l.023-.561.171-2.426c.057-.828.133-1.655.168-2.485.129-2.982.241-5.964.359-8.946z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#4FAA41"- d="M65.036 80.753c-.118 2.982-.23 5.964-.357 8.947-.035.83-.111 1.657-.168 2.485l-.765.289c-1.699-5.002-3.399-9.951-5.062-14.913-2.75-8.209-5.467-16.431-8.213-24.642a4498.887 4498.887 0 00-6.7-19.867c-.105-.31-.407-.552-.617-.826l4.896-9.002c.168.292.39.565.496.879a6167.476 6167.476 0 016.768 20.118c2.916 8.73 5.814 17.467 8.728 26.198.116.349.308.671.491 1.062l.67-.78-.167 10.052z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#4AA73C"- d="M43.155 32.227c.21.274.511.516.617.826a4498.887 4498.887 0 016.7 19.867c2.746 8.211 5.463 16.433 8.213 24.642 1.662 4.961 3.362 9.911 5.062 14.913l.765-.289-.171 2.426-.155.559c-.266 2.656-.49 5.318-.814 7.968-.163 1.328-.509 2.632-.772 3.947-.198-.287-.476-.548-.583-.866-5.467-16.297-10.918-32.6-16.376-48.9a3888.972 3888.972 0 00-5.242-15.551c-.089-.263-.34-.469-.516-.702l3.272-8.84z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#57AE47"- d="M65.202 70.702l-.67.78c-.183-.391-.375-.714-.491-1.062-2.913-8.731-5.812-17.468-8.728-26.198a6167.476 6167.476 0 00-6.768-20.118c-.105-.314-.327-.588-.496-.879l6.055-7.965c.191.255.463.482.562.769 1.681 4.921 3.347 9.848 5.003 14.778 1.547 4.604 3.071 9.215 4.636 13.813.105.308.47.526.714.786l.012 1.045c.058 8.082.115 16.167.171 24.251z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#60B24F"- d="M65.021 45.404c-.244-.26-.609-.478-.714-.786-1.565-4.598-3.089-9.209-4.636-13.813-1.656-4.93-3.322-9.856-5.003-14.778-.099-.287-.371-.514-.562-.769 1.969-1.928 3.877-3.925 5.925-5.764 1.821-1.634 3.285-3.386 3.352-5.968.003-.107.059-.214.145-.514l.519 1.306c-.013.661-.072 1.322-.029 1.979.075 1.143.259 2.28.311 3.423.096 2.127.142 4.258.185 6.388.069 3.428.132 6.856.175 10.285.067 5.478.111 10.956.18 16.434.008.861.098 1.718.152 2.577z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#A9AA88"- d="M62.598 107.085c.263-1.315.609-2.62.772-3.947.325-2.649.548-5.312.814-7.968l.066-.01.066.011a41.402 41.402 0 001.394 9.838c-.176.232-.425.439-.518.701-.727 2.05-1.412 4.116-2.143 6.166-.1.28-.378.498-.574.744l-.747-2.566.87-2.969z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#B6B598"- d="M62.476 112.621c.196-.246.475-.464.574-.744.731-2.05 1.417-4.115 2.143-6.166.093-.262.341-.469.518-.701l1.255 2.754c-.248.352-.59.669-.728 1.061l-2.404 7.059c-.099.283-.437.483-.663.722l-.695-3.985z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#C2C1A7"- d="M63.171 116.605c.227-.238.564-.439.663-.722l2.404-7.059c.137-.391.48-.709.728-1.061l1.215 1.037c-.587.58-.913 1.25-.717 2.097l-.369 1.208c-.168.207-.411.387-.494.624-.839 2.403-1.64 4.819-2.485 7.222-.107.305-.404.544-.614.812-.109-1.387-.22-2.771-.331-4.158z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#CECDB7"- d="M63.503 120.763c.209-.269.506-.508.614-.812.845-2.402 1.646-4.818 2.485-7.222.083-.236.325-.417.494-.624l-.509 5.545c-.136.157-.333.294-.398.477-.575 1.614-1.117 3.24-1.694 4.854-.119.333-.347.627-.525.938-.158-.207-.441-.407-.454-.623-.051-.841-.016-1.688-.013-2.533z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#DBDAC7"- d="M63.969 123.919c.178-.312.406-.606.525-.938.578-1.613 1.119-3.239 1.694-4.854.065-.183.263-.319.398-.477l.012 3.64-1.218 3.124-1.411-.495z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#EBE9DC"- d="M65.38 124.415l1.218-3.124.251 3.696-1.469-.572z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#CECDB7"- d="M67.464 110.898c-.196-.847.129-1.518.717-2.097l.337.23-1.054 1.867z"- /><path- fill-rule="evenodd"- clip-rule="evenodd"- fill="#4FAA41"- d="M64.316 95.172l-.066-.011-.066.01.155-.559-.023.56z"- />-</svg>diff --git a/apps/ui/src/lib/components/svg/databases/MySQL.svelte b/apps/ui/src/lib/components/svg/databases/MySQL.sveltedeleted file mode 100644index 0950932144..0000000000--- a/apps/ui/src/lib/components/svg/databases/MySQL.svelte+++ /dev/null@@ -1,17 +0,0 @@-<script lang="ts">- export let isAbsolute = false;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-5 h-10 w-10' : 'mx-auto w-8 h-8'}- xmlns="http://www.w3.org/2000/svg"- width="64"- height="64"- viewBox="0 0 25.6 25.6"- ><path- d="M179.076 94.886c-3.568-.1-6.336.268-8.656 1.25-.668.27-1.74.27-1.828 1.116.357.355.4.936.713 1.428.535.893 1.473 2.096 2.32 2.72l2.855 2.053c1.74 1.07 3.703 1.695 5.398 2.766.982.625 1.963 1.428 2.945 2.098.5.357.803.938 1.428 1.16v-.135c-.312-.4-.402-.98-.713-1.428l-1.34-1.293c-1.293-1.74-2.9-3.258-4.64-4.506-1.428-.982-4.55-2.32-5.13-3.97l-.088-.1c.98-.1 2.14-.447 3.078-.715 1.518-.4 2.9-.312 4.46-.713l2.143-.625v-.4c-.803-.803-1.383-1.874-2.23-2.632-2.275-1.963-4.775-3.882-7.363-5.488-1.383-.892-3.168-1.473-4.64-2.23-.537-.268-1.428-.402-1.74-.848-.805-.98-1.25-2.275-1.83-3.436l-3.658-7.763c-.803-1.74-1.295-3.48-2.275-5.086-4.596-7.585-9.594-12.18-17.268-16.687-1.65-.937-3.613-1.34-5.7-1.83l-3.346-.18c-.715-.312-1.428-1.16-2.053-1.562-2.543-1.606-9.102-5.086-10.977-.5-1.205 2.9 1.785 5.755 2.8 7.228.76 1.026 1.74 2.186 2.277 3.346.3.758.4 1.562.713 2.365.713 1.963 1.383 4.15 2.32 5.98.5.937 1.025 1.92 1.65 2.767.357.5.982.714 1.115 1.517-.625.893-.668 2.23-1.025 3.347-1.607 5.042-.982 11.288 1.293 15 .715 1.115 2.4 3.57 4.686 2.632 2.008-.803 1.56-3.346 2.14-5.577.135-.535.045-.892.312-1.25v.1l1.83 3.703c1.383 2.186 3.793 4.462 5.8 5.98 1.07.803 1.918 2.187 3.256 2.677v-.135h-.088c-.268-.4-.67-.58-1.027-.892-.803-.803-1.695-1.785-2.32-2.677-1.873-2.498-3.523-5.265-4.996-8.12-.715-1.383-1.34-2.9-1.918-4.283-.27-.536-.27-1.34-.715-1.606-.67.98-1.65 1.83-2.143 3.034-.848 1.918-.936 4.283-1.248 6.737-.18.045-.1 0-.18.1-1.426-.356-1.918-1.83-2.453-3.078-1.338-3.168-1.562-8.254-.402-11.913.312-.937 1.652-3.882 1.117-4.774-.27-.848-1.16-1.338-1.652-2.008-.58-.848-1.203-1.918-1.605-2.855-1.07-2.5-1.605-5.265-2.766-7.764-.537-1.16-1.473-2.365-2.232-3.435-.848-1.205-1.783-2.053-2.453-3.48-.223-.5-.535-1.294-.178-1.83.088-.357.268-.5.623-.58.58-.5 2.232.134 2.812.4 1.65.67 3.033 1.294 4.416 2.23.625.446 1.295 1.294 2.098 1.518h.938c1.428.312 3.033.1 4.37.5 2.365.76 4.506 1.874 6.426 3.08 5.844 3.703 10.664 8.968 13.92 15.26.535 1.026.758 1.963 1.25 3.034.938 2.187 2.098 4.417 3.033 6.56.938 2.097 1.83 4.24 3.168 5.98.67.937 3.346 1.427 4.55 1.918.893.4 2.275.76 3.08 1.25 1.516.937 3.033 2.008 4.46 3.034.713.534 2.945 1.65 3.078 2.54zm-45.5-38.772a7.09 7.09 0 0 0-1.828.223v.1h.088c.357.714.982 1.205 1.428 1.83l1.027 2.142.088-.1c.625-.446.938-1.16.938-2.23-.268-.312-.312-.625-.535-.937-.268-.446-.848-.67-1.206-1.026z"- transform="matrix(.390229 0 0 .38781 -46.300037 -16.856717)"- fill-rule="evenodd"- fill="#00678c"- /></svg->diff --git a/apps/ui/src/lib/components/svg/databases/PostgreSQL.svelte b/apps/ui/src/lib/components/svg/databases/PostgreSQL.sveltedeleted file mode 100644index 3021508a6e..0000000000--- a/apps/ui/src/lib/components/svg/databases/PostgreSQL.svelte+++ /dev/null@@ -1,56 +0,0 @@-<script lang="ts">- export let isAbsolute = false;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-5 h-10 w-10' : 'mx-auto w-8 h-8'}- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 432.071 445.383"- xml:space="preserve"->- <g id="orginal" style="fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;" />- <g- id="Layer_x0020_3"- style="fill-rule:nonzero;clip-rule:nonzero;fill:none;stroke:#FFFFFF;stroke-width:12.4651;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;"- >- <path- style="fill:#000000;stroke:#000000;stroke-width:37.3953;stroke-linecap:butt;stroke-linejoin:miter;"- d="M323.205,324.227c2.833-23.601,1.984-27.062,19.563-23.239l4.463,0.392c13.517,0.615,31.199-2.174,41.587-7c22.362-10.376,35.622-27.7,13.572-23.148c-50.297,10.376-53.755-6.655-53.755-6.655c53.111-78.803,75.313-178.836,56.149-203.322 C352.514-5.534,262.036,26.049,260.522,26.869l-0.482,0.089c-9.938-2.062-21.06-3.294-33.554-3.496c-22.761-0.374-40.032,5.967-53.133,15.904c0,0-161.408-66.498-153.899,83.628c1.597,31.936,45.777,241.655,98.47,178.31 c19.259-23.163,37.871-42.748,37.871-42.748c9.242,6.14,20.307,9.272,31.912,8.147l0.897-0.765c-0.281,2.876-0.157,5.689,0.359,9.019c-13.572,15.167-9.584,17.83-36.723,23.416c-27.457,5.659-11.326,15.734-0.797,18.367c12.768,3.193,42.305,7.716,62.268-20.224 l-0.795,3.188c5.325,4.26,4.965,30.619,5.72,49.452c0.756,18.834,2.017,36.409,5.856,46.771c3.839,10.36,8.369,37.05,44.036,29.406c29.809-6.388,52.6-15.582,54.677-101.107"- />- <path- style="fill:#336791;stroke:none;"- d="M402.395,271.23c-50.302,10.376-53.76-6.655-53.76-6.655c53.111-78.808,75.313-178.843,56.153-203.326c-52.27-66.785-142.752-35.2-144.262-34.38l-0.486,0.087c-9.938-2.063-21.06-3.292-33.56-3.496c-22.761-0.373-40.026,5.967-53.127,15.902 c0,0-161.411-66.495-153.904,83.63c1.597,31.938,45.776,241.657,98.471,178.312c19.26-23.163,37.869-42.748,37.869-42.748c9.243,6.14,20.308,9.272,31.908,8.147l0.901-0.765c-0.28,2.876-0.152,5.689,0.361,9.019c-13.575,15.167-9.586,17.83-36.723,23.416 c-27.459,5.659-11.328,15.734-0.796,18.367c12.768,3.193,42.307,7.716,62.266-20.224l-0.796,3.188c5.319,4.26,9.054,27.711,8.428,48.969c-0.626,21.259-1.044,35.854,3.147,47.254c4.191,11.4,8.368,37.05,44.042,29.406c29.809-6.388,45.256-22.942,47.405-50.555 c1.525-19.631,4.976-16.729,5.194-34.28l2.768-8.309c3.192-26.611,0.507-35.196,18.872-31.203l4.463,0.392c13.517,0.615,31.208-2.174,41.591-7c22.358-10.376,35.618-27.7,13.573-23.148z"- />- <path- d="M215.866,286.484c-1.385,49.516,0.348,99.377,5.193,111.495c4.848,12.118,15.223,35.688,50.9,28.045c29.806-6.39,40.651-18.756,45.357-46.051c3.466-20.082,10.148-75.854,11.005-87.281"- />- <path- d="M173.104,38.256c0,0-161.521-66.016-154.012,84.109c1.597,31.938,45.779,241.664,98.473,178.316c19.256-23.166,36.671-41.335,36.671-41.335"- />- <path- d="M260.349,26.207c-5.591,1.753,89.848-34.889,144.087,34.417c19.159,24.484-3.043,124.519-56.153,203.329"- />- <path- style="stroke-linejoin:bevel;"- d="M348.282,263.953c0,0,3.461,17.036,53.764,6.653c22.04-4.552,8.776,12.774-13.577,23.155c-18.345,8.514-59.474,10.696-60.146-1.069c-1.729-30.355,21.647-21.133,19.96-28.739c-1.525-6.85-11.979-13.573-18.894-30.338 c-6.037-14.633-82.796-126.849,21.287-110.183c3.813-0.789-27.146-99.002-124.553-100.599c-97.385-1.597-94.19,119.762-94.19,119.762"- />- <path- d="M188.604,274.334c-13.577,15.166-9.584,17.829-36.723,23.417c-27.459,5.66-11.326,15.733-0.797,18.365c12.768,3.195,42.307,7.718,62.266-20.229c6.078-8.509-0.036-22.086-8.385-25.547c-4.034-1.671-9.428-3.765-16.361,3.994z"- />- <path- d="M187.715,274.069c-1.368-8.917,2.93-19.528,7.536-31.942c6.922-18.626,22.893-37.255,10.117-96.339c-9.523-44.029-73.396-9.163-73.436-3.193c-0.039,5.968,2.889,30.26-1.067,58.548c-5.162,36.913,23.488,68.132,56.479,64.938"- />- <path- style="fill:#FFFFFF;stroke-width:4.155;stroke-linecap:butt;stroke-linejoin:miter;"- d="M172.517,141.7c-0.288,2.039,3.733,7.48,8.976,8.207c5.234,0.73,9.714-3.522,9.998-5.559c0.284-2.039-3.732-4.285-8.977-5.015c-5.237-0.731-9.719,0.333-9.996,2.367z"- />- <path- style="fill:#FFFFFF;stroke-width:2.0775;stroke-linecap:butt;stroke-linejoin:miter;"- d="M331.941,137.543c0.284,2.039-3.732,7.48-8.976,8.207c-5.238,0.73-9.718-3.522-10.005-5.559c-0.277-2.039,3.74-4.285,8.979-5.015c5.239-0.73,9.718,0.333,10.002,2.368z"- />- <path- d="M350.676,123.432c0.863,15.994-3.445,26.888-3.988,43.914c-0.804,24.748,11.799,53.074-7.191,81.435"- />- <path style="stroke-width:3;" d="M0,60.232" />- </g>-</svg>diff --git a/apps/ui/src/lib/components/svg/databases/Redis.svelte b/apps/ui/src/lib/components/svg/databases/Redis.sveltedeleted file mode 100644index 24a7dc7973..0000000000--- a/apps/ui/src/lib/components/svg/databases/Redis.svelte+++ /dev/null@@ -1,34 +0,0 @@-<script lang="ts">- export let isAbsolute = false;-</script>--<svg- class={isAbsolute ? 'absolute top-0 left-0 -m-5 h-10 w-10' : 'mx-auto w-8 h-8'}- viewBox="0 0 32 32"- xmlns="http://www.w3.org/2000/svg"- xmlns:xlink="http://www.w3.org/1999/xlink"- ><defs- ><path- id="a"- d="m45.536 38.764c-2.013 1.05-12.44 5.337-14.66 6.494s-3.453 1.146-5.207.308-12.85-5.32-14.85-6.276c-1-.478-1.524-.88-1.524-1.26v-3.813s14.447-3.145 16.78-3.982 3.14-.867 5.126-.14 13.853 2.868 15.814 3.587v3.76c0 .377-.452.8-1.477 1.324z"- /><path- id="b"- d="m45.536 28.733c-2.013 1.05-12.44 5.337-14.66 6.494s-3.453 1.146-5.207.308-12.85-5.32-14.85-6.276-2.04-1.613-.077-2.382l15.332-5.935c2.332-.837 3.14-.867 5.126-.14s12.35 4.853 14.312 5.57 2.037 1.31.024 2.36z"- /></defs- ><g transform="matrix(.848327 0 0 .848327 -7.883573 -9.449691)"- ><use fill="#a41e11" xlink:href="#a" /><path- d="m45.536 34.95c-2.013 1.05-12.44 5.337-14.66 6.494s-3.453 1.146-5.207.308-12.85-5.32-14.85-6.276-2.04-1.613-.077-2.382l15.332-5.936c2.332-.836 3.14-.867 5.126-.14s12.35 4.852 14.31 5.582 2.037 1.31.024 2.36z"- fill="#d82c20"- /><use fill="#a41e11" xlink:href="#a" y="-6.218" /><use fill="#d82c20" xlink:href="#b" /><path- d="m45.536 26.098c-2.013 1.05-12.44 5.337-14.66 6.495s-3.453 1.146-5.207.308-12.85-5.32-14.85-6.276c-1-.478-1.524-.88-1.524-1.26v-3.815s14.447-3.145 16.78-3.982 3.14-.867 5.126-.14 13.853 2.868 15.814 3.587v3.76c0 .377-.452.8-1.477 1.324z"- fill="#a41e11"- /><use fill="#d82c20" xlink:href="#b" y="-6.449" /><g fill="#fff"- ><path- d="m29.096 20.712-1.182-1.965-3.774-.34 2.816-1.016-.845-1.56 2.636 1.03 2.486-.814-.672 1.612 2.534.95-3.268.34zm-6.296 3.912 8.74-1.342-2.64 3.872z"- /><ellipse cx="20.444" cy="21.402" rx="4.672" ry="1.811" /></g- ><path d="m42.132 21.138-5.17 2.042-.004-4.087z" fill="#7a0c00" /><path- d="m36.963 23.18-.56.22-5.166-2.042 5.723-2.264z"- fill="#ad2115"- /></g- ></svg->diff --git a/apps/ui/src/lib/components/svg/databases/index.ts b/apps/ui/src/lib/components/svg/databases/index.tsdeleted file mode 100644index e200b53111..0000000000--- a/apps/ui/src/lib/components/svg/databases/index.ts+++ /dev/null@@ -1,11 +0,0 @@-//@ts-nocheck-export { default as Clickhouse } from './Clickhouse.svelte';-export { default as CouchDB } from './CouchDB.svelte';-export { default as MariaDB } from './MariaDB.svelte';-export { default as MongoDB } from './MongoDB.svelte';-export { default as MySQL } from './MySQL.svelte';-export { default as PostgreSQL } from './PostgreSQL.svelte';-export { default as Redis } from './Redis.svelte';-export { default as EdgeDB } from './EdgeDB.svelte';--diff --git a/apps/ui/src/lib/components/svg/servers/LocalDockerIcon.svelte b/apps/ui/src/lib/components/svg/servers/LocalDockerIcon.sveltedeleted file mode 100644index f3ab3be560..0000000000--- a/apps/ui/src/lib/components/svg/servers/LocalDockerIcon.svelte+++ /dev/null@@ -1,26 +0,0 @@-<script>- export let isAbsolute=false;-</script>-<svg- xmlns="http://www.w3.org/2000/svg"- class={isAbsolute ? 'absolute top-0 left-0 -m-2 h-12 w-12 text-sky-500' : 'mx-auto w-8 h-8 text-sky-500'}- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"->- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"- />- <path d="M5 10h3v3h-3z" />- <path d="M8 10h3v3h-3z" />- <path d="M11 10h3v3h-3z" />- <path d="M8 7h3v3h-3z" />- <path d="M11 7h3v3h-3z" />- <path d="M11 4h3v3h-3z" />- <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />- <line x1="10" y1="16" x2="10" y2="16.01" />-</svg>diff --git a/apps/ui/src/lib/components/svg/servers/RemoteDockerIcon.svelte b/apps/ui/src/lib/components/svg/servers/RemoteDockerIcon.sveltedeleted file mode 100644index 1d00a69004..0000000000--- a/apps/ui/src/lib/components/svg/servers/RemoteDockerIcon.svelte+++ /dev/null@@ -1,16 +0,0 @@-<svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-9 -m-2 h-6 w-6 text-sky-500 rotate-45"- viewBox="0 0 24 24"- stroke-width="3"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"->- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="12" y1="18" x2="12.01" y2="18" />- <path d="M9.172 15.172a4 4 0 0 1 5.656 0" />- <path d="M6.343 12.343a8 8 0 0 1 11.314 0" />- <path d="M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0" />-</svg>diff --git a/apps/ui/src/lib/components/svg/services/ServiceIcons.svelte b/apps/ui/src/lib/components/svg/services/ServiceIcons.sveltedeleted file mode 100644index bf241753a5..0000000000--- a/apps/ui/src/lib/components/svg/services/ServiceIcons.svelte+++ /dev/null@@ -1,33 +0,0 @@-<script lang="ts">- export let type: string;- export let isAbsolute = false;- let githubRawIconUrl =- 'https://raw.githubusercontent.com/coollabsio/coolify-community-templates/main/services/icons';-- let fallback = '/icons/default.png';-- const handleError = (ev: { target: { src: string } }) => {- ev.target.src = fallback;- };-- const name: any =- type &&- (type[0].toUpperCase() + type.substring(1).toLowerCase())- .replaceAll('.', '')- .replaceAll(' ', '')- .split('-')[0]- .toLowerCase();-- function generateClass() {- return isAbsolute ? 'w-10 h-10 absolute -m-4 -mt-9 left-0' : 'w-10 h-10';- }-</script>--{#if name}- <img- class={generateClass()}- src={`${githubRawIconUrl}/${name}.png`}- on:error={handleError}- alt={`Icon of ${name}`}- />-{/if}diff --git a/apps/ui/src/lib/components/svg/sources/GithubIcon.svelte b/apps/ui/src/lib/components/svg/sources/GithubIcon.sveltedeleted file mode 100644index b562101779..0000000000--- a/apps/ui/src/lib/components/svg/sources/GithubIcon.svelte+++ /dev/null@@ -1,11 +0,0 @@-<svg viewBox="0 0 128 128" class="h-10 w-10">- <g fill="#ffffff"- ><path- fill-rule="evenodd"- clip-rule="evenodd"- d="M64 5.103c-33.347 0-60.388 27.035-60.388 60.388 0 26.682 17.303 49.317 41.297 57.303 3.017.56 4.125-1.31 4.125-2.905 0-1.44-.056-6.197-.082-11.243-16.8 3.653-20.345-7.125-20.345-7.125-2.747-6.98-6.705-8.836-6.705-8.836-5.48-3.748.413-3.67.413-3.67 6.063.425 9.257 6.223 9.257 6.223 5.386 9.23 14.127 6.562 17.573 5.02.542-3.903 2.107-6.568 3.834-8.076-13.413-1.525-27.514-6.704-27.514-29.843 0-6.593 2.36-11.98 6.223-16.21-.628-1.52-2.695-7.662.584-15.98 0 0 5.07-1.623 16.61 6.19C53.7 35 58.867 34.327 64 34.304c5.13.023 10.3.694 15.127 2.033 11.526-7.813 16.59-6.19 16.59-6.19 3.287 8.317 1.22 14.46.593 15.98 3.872 4.23 6.215 9.617 6.215 16.21 0 23.194-14.127 28.3-27.574 29.796 2.167 1.874 4.097 5.55 4.097 11.183 0 8.08-.07 14.583-.07 16.572 0 1.607 1.088 3.49 4.148 2.897 23.98-7.994 41.263-30.622 41.263-57.294C124.388 32.14 97.35 5.104 64 5.104z"- /><path- d="M26.484 91.806c-.133.3-.605.39-1.035.185-.44-.196-.685-.605-.543-.906.13-.31.603-.395 1.04-.188.44.197.69.61.537.91zm2.446 2.729c-.287.267-.85.143-1.232-.28-.396-.42-.47-.983-.177-1.254.298-.266.844-.14 1.24.28.394.426.472.984.17 1.255zM31.312 98.012c-.37.258-.976.017-1.35-.52-.37-.538-.37-1.183.01-1.44.373-.258.97-.025 1.35.507.368.545.368 1.19-.01 1.452zm3.261 3.361c-.33.365-1.036.267-1.552-.23-.527-.487-.674-1.18-.343-1.544.336-.366 1.045-.264 1.564.23.527.486.686 1.18.333 1.543zm4.5 1.951c-.147.473-.825.688-1.51.486-.683-.207-1.13-.76-.99-1.238.14-.477.823-.7 1.512-.485.683.206 1.13.756.988 1.237zm4.943.361c.017.498-.563.91-1.28.92-.723.017-1.308-.387-1.315-.877 0-.503.568-.91 1.29-.924.717-.013 1.306.387 1.306.88zm4.598-.782c.086.485-.413.984-1.126 1.117-.7.13-1.35-.172-1.44-.653-.086-.498.422-.997 1.122-1.126.714-.123 1.354.17 1.444.663zm0 0"- /></g- >-</svg>diff --git a/apps/ui/src/lib/components/svg/sources/GitlabIcon.svelte b/apps/ui/src/lib/components/svg/sources/GitlabIcon.sveltedeleted file mode 100644index 3e8c8a84c5..0000000000--- a/apps/ui/src/lib/components/svg/sources/GitlabIcon.svelte+++ /dev/null@@ -1,21 +0,0 @@-<svg viewBox="0 0 128 128" class="h-10 w-10">- <path- fill="#FC6D26"- d="M126.615 72.31l-7.034-21.647L105.64 7.76c-.716-2.206-3.84-2.206-4.556 0l-13.94 42.903H40.856L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664 1.385 72.31a4.792 4.792 0 001.74 5.358L64 121.894l60.874-44.227a4.793 4.793 0 001.74-5.357"- /><path fill="#E24329" d="M64 121.894l23.144-71.23H40.856L64 121.893z" /><path- fill="#FC6D26"- d="M64 121.894l-23.144-71.23H8.42L64 121.893z"- /><path- fill="#FCA326"- d="M8.42 50.663L1.384 72.31a4.79 4.79 0 001.74 5.357L64 121.894 8.42 50.664z"- /><path- fill="#E24329"- d="M8.42 50.663h32.436L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664z"- /><path fill="#FC6D26" d="M64 121.894l23.144-71.23h32.437L64 121.893z" /><path- fill="#FCA326"- d="M119.58 50.663l7.035 21.647a4.79 4.79 0 01-1.74 5.357L64 121.894l55.58-71.23z"- /><path- fill="#E24329"- d="M119.58 50.663H87.145l13.94-42.902c.717-2.206 3.84-2.206 4.557 0l13.94 42.903z"- />-</svg>diff --git a/apps/ui/src/lib/container/status.ts b/apps/ui/src/lib/container/status.tsdeleted file mode 100644index a700e652bf..0000000000--- a/apps/ui/src/lib/container/status.ts+++ /dev/null@@ -1,73 +0,0 @@-//-// Maps Container ID x Operation Status-//-// Example response of $status => {'123asdf': 'degraded', '124asdf': 'running'}--import { writable, get as getStore } from 'svelte/store';-import { get } from '$lib/api';--export let containerStatus = writable({});--let PERMITED_STATUS = ['loading', 'running', 'healthy', 'building', 'degraded', 'stopped', 'error'];--// refreshStatus([{id}])-export async function refreshStatus(list: Array<any>) {- for (const item of list) {- setStatus(item.id, 'loading');- getStatus(item, true);- }-}--export async function getStatus(resource: any, force: boolean = false) {- const { id, buildPack, dualCerts, engine, simpleDockerfile } = resource;- let newStatus = 'stopped';-- // Already set and we're not forcing- if (getStore(containerStatus)[id] && !force) return getStore(containerStatus)[id];-- try {- if (buildPack || simpleDockerfile) { // Application- const response = await get(`/applications/${id}/status`);- newStatus = parseApplicationsResponse(response);- } else if (typeof dualCerts !== 'undefined') { // Service- const response = await get(`/services/${id}/status`);- newStatus = parseServiceResponse(response);- } else if (typeof engine !== 'undefined') { // Destination/Server- const response = await get(`/destinations/${id}/status`);- newStatus = response.isRunning ? 'running' : 'stopped';- } else { // Database- const response = await get(`/databases/${id}/status`);- newStatus = response.isRunning ? 'running' : 'stopped';- }- } catch (error) {- newStatus = 'error';- }-- setStatus(id, newStatus);- // console.log("GOT:", id, newStatus)- return newStatus-}--const setStatus = (thingId, newStatus) => {- if (!PERMITED_STATUS.includes(newStatus))- throw (`Change to ${newStatus} is not permitted. Try: ${PERMITED_STATUS.join(', ')}`);- containerStatus.update(n => Object.assign(n, { thingId: newStatus }));-};--// -- Response Parsing--function parseApplicationsResponse(list: Array<any>) {- if (list.length === 0) return 'stopped';- if (list.length === 1) return list[0].status.isRunning ? 'running' : 'stopped';- return allWorking(list.map((el: any) => el.status.isRunning))-}--function parseServiceResponse(response: any) {- if (Object.keys(response).length === 0) return 'stopped';- let list = Object.keys(response).map((el) => el.status.isRunning)- return allWorking(list) ? 'running' : 'degraded'-}--function allWorking(list: Array<any>) {- return list.reduce((acum: boolean, res: boolean) => acum && res) ? 'running' : 'degraded';-}diff --git a/apps/ui/src/lib/dayjs.ts b/apps/ui/src/lib/dayjs.tsdeleted file mode 100644index 9ff5b0a1a0..0000000000--- a/apps/ui/src/lib/dayjs.ts+++ /dev/null@@ -1,7 +0,0 @@-import dayjs from 'dayjs';-import utc from 'dayjs/plugin/utc.js';-import relativeTime from 'dayjs/plugin/relativeTime.js';-dayjs.extend(utc);-dayjs.extend(relativeTime);--export { dayjs as day };diff --git a/apps/ui/src/lib/lang.json b/apps/ui/src/lib/lang.jsondeleted file mode 100644index f5485ece0d..0000000000--- a/apps/ui/src/lib/lang.json+++ /dev/null@@ -1,7 +0,0 @@-{- "fr": "Franรงais",- "pt": "Portuguรชs",- "es": "Espanhol",- "ko": "Korean",- "en": "English"-}diff --git a/apps/ui/src/lib/locales/en.json b/apps/ui/src/lib/locales/en.jsondeleted file mode 100644index f04ae6d8e2..0000000000--- a/apps/ui/src/lib/locales/en.json+++ /dev/null@@ -1,341 +0,0 @@-{- "layout": {- "update_done": "Update completed.",- "wait_new_version_startup": "Waiting for the new version to start...",- "new_version": "New version reachable. Reloading...",- "switch_to_a_different_team": "Switch to a different team...",- "update_available": "Update Available"- },- "error": {- "you_can_find_your_way_back": "You can find your way back",- "here": "here",- "you_are_lost": "Ooops you are lost! But don't be afraid!"- },- "index": {- "dashboard": "Dashboard",- "applications": "Applications",- "destinations": "Destinations",- "git_sources": "Git Sources",- "databases": "Databases",- "services": "Services",- "teams": "Teams",- "not_implemented_yet": "Not implemented yet",- "database": "Database",- "settings": "Settings",- "global_settings": "Global Settings",- "secret": "Secret",- "team": "Team",- "logout": "Logout"- },- "login": {- "already_logged_in": "Already logged in...",- "authenticating": "Authenticating...",- "login": "Login"- },- "forms": {- "password": "Password",- "email": "Email address",- "passwords_not_match": "Passwords do not match.",- "password_again": "Password again",- "save": "Save",- "saving": "Saving...",- "name": "Name",- "value": "Value",- "action": "Actions",- "is_required": "is required.",- "add": "Add",- "set": "Set",- "remove": "Remove",- "path": "Path",- "confirm_continue": "Are you sure to continue?",- "must_be_stopped_to_modify": "Must be stopped to modify.",- "port": "Port",- "default": "default",- "base_directory": "Base Directory",- "publish_directory": "Publish Directory",- "generated_automatically_after_start": "Generated automatically after start",- "roots_password": "Root's Password",- "root_user": "Root User",- "eg": "eg",- "user": "User",- "loading": "Loading...",- "version": "Version",- "host": "Host",- "already_used_for": "<span class=\"text-red-500\">{{type}}</span> already used for",- "configuration": "Configuration",- "engine": "Engine",- "network": "Network",- "ip_address": "IP Address",- "ssh_private_key": "SSH Private Key",- "type": "Type",- "html_url": "HTML URL",- "api_url": "API URL",- "organization": "Organization",- "new_password": "New password",- "super_secure_new_password": "Super secure new password",- "submit": "Submit",- "default_email_address": "Default Email Address",- "default_password": "Default Password",- "username": "Username",- "root_db_user": "Root DB User",- "root_db_password": "Root DB Password",- "api_port": "API Port",- "verifying": "Verifying",- "verify_emails_without_smtp": "Verify emails without SMTP",- "extra_config": "Extra Config",- "select_a_service": "Select a Service",- "select_a_service_version": "Select a Service version",- "removing": "Removing...",- "remove_domain": "Remove domain",- "public_port_range": "Public Port Range",- "public_port_range_explainer": "Ports used to expose databases/services/internal services.<br> Add them to your firewall (if applicable).<br><br>You can specify a range of ports, eg: <span class='text-settings '>9000-9100</span>",- "no_actions_available": "No actions available",- "admin_api_key": "Admin API key"- },- "register": {- "register": "Register",- "registering": "Registering...",- "first_user": "You are registering the first user. It will be the administrator of your Coolify instance."- },- "reset": {- "reset_password": "Reset",- "invalid_secret_key": "Invalid secret key.",- "secret_key": "Secret Key",- "find_path_secret_key": "You can find it in ~/coolify/.env (COOLIFY_SECRET_KEY)"- },- "application": {- "configuration": {- "buildpack": {- "choose_this_one": "Choose this one..."- },- "branch_already_in_use": "This branch is already used by another application. Webhooks won't work in this case for both applications. Are you sure you want to use it?",- "no_repositories_configured": "No repositories configured for your Git Application.",- "configure_it_now": "Configure it now",- "loading_repositories": "Loading repositories ...",- "select_a_repository": "Please select a repository",- "loading_branches": "Loading branches ...",- "select_a_repository_first": "Please select a repository first",- "select_a_branch": "Please select a branch",- "loading_groups": "Loading groups...",- "select_a_group": "Please select a group",- "loading_projects": "Loading projects...",- "select_a_project": "Please select a project",- "no_projects_found": "No projects found",- "no_branches_found": "No branches found",- "configure_build_pack": "Configure Build Pack",- "scanning_repository_suggest_build_pack": "Scanning repository to suggest a build pack for you...",- "found_lock_file": "Found lock file for {{packageManager}}.<br>Using it for predefined commands commands.",- "configure_destination": "Configure Destination",- "no_configurable_destination": "No configurable Destination found",- "select_a_repository_project": "Select a Repository / Project",- "select_a_git_source": "Select a Git Source",- "no_configurable_git": "No configurable Git Source found",- "configuration_missing": "Configuration missing"- },- "build": {- "queued_waiting_exec": "Queued and waiting for execution.",- "build_logs_of": "Build logs of",- "running": "Running",- "queued": "Queued",- "finished_in": "Finished in",- "load_more": "Load More",- "no_logs": "No logs found",- "waiting_logs": "Waiting for the logs..."- },- "preview": {- "need_during_buildtime": "Need during buildtime?",- "setup_secret_app_first": "You can add secrets to PR/MR deployments. Please add secrets to the application first. <br>Useful for creating <span class='text-settings '>staging</span> environments.",- "values_overwriting_app_secrets": "These values overwrite application secrets in PR/MR deployments. Useful for creating <span class='text-settings '>staging</span> environments.",- "redeploy": "Redeploy",- "no_previews_available": "No previews available"- },- "secrets": {- "secret_saved": "Secret saved.",- "use_isbuildsecret": "Use isBuildSecret",- "secrets_for": "Secrets for"- },- "storage": {- "path_is_required": "Path is required.",- "storage_saved": "Storage saved.",- "storage_updated": "Storage updated.",- "storage_deleted": "Storage deleted.",- "persistent_storage_explainer": "You can specify any folder that you want to be persistent across deployments.<br><br><span class='text-settings '>/example</span> means it will preserve <span class='text-settings '>/example</span> between deployments.<br><br>Your application's data is copied to <span class='text-settings '>/app</span> inside the container, you can preserve data under it as well, like <span class='text-settings '>/app/db</span>.<br><br>This is useful for storing data such as a <span class='text-settings '>database (SQLite)</span> or a <span class='text-settings '>cache</span>."- },- "deployment_queued": "Deployment queued.",- "confirm_to_delete": "Are you sure you would like to delete '{{name}}'?",- "stop_application": "Stop Application",- "permission_denied_stop_application": "You do not have permission to stop the application.",- "rebuild_application": "Rebuild Application",- "permission_denied_rebuild_application": "You do not have permission to rebuild application.",- "build_and_start_application": "Deploy",- "permission_denied_build_and_start_application": "You do not have permission to deploy application.",- "configurations": "Configurations",- "secret": "Secrets",- "persistent_storage": "Persistent Storage",- "previews": "Previews",- "logs": "Application Logs",- "build_logs": "Build Logs",- "delete_application": "Delete",- "permission_denied_delete_application": "You do not have permission to delete this application",- "domain_already_in_use": "Domain {{domain}} is already used.",- "dns_not_set_error": "DNS not set correctly or propogated for {{domain}}.<br><br>Please check your DNS settings.",- "domain_required": "Domain is required.",- "settings_saved": "Configuration saved.",- "dns_not_set_partial_error": "DNS not set",- "domain_not_valid": "Could not resolve domain or it's not pointing to the server IP address.<br><br>Please check your DNS configuration and try again.",- "git_source": "Git Source",- "git_repository": "Git Repository",- "build_pack": "Build Pack",- "base_image": "Deployment Image",- "base_image_explainer": "Image that will be used for the deployment.",- "base_build_image": "Build Image",- "base_build_image_explainer": "Image that will be used during the build process.",- "destination": "Destination",- "application": "Application",- "url_fqdn": "URL (FQDN)",- "domain_fqdn": "Domain (FQDN)",- "https_explainer": "If you specify <span class='text-settings '>https</span>, the application will be accessible only over https. SSL certificate will be generated for you.<br>If you specify <span class='text-settings '>www</span>, the application will be redirected (302) from non-www and vice versa.<br><br>To modify the domain, you must first stop the application.<br><br><span class='text-white '>You must set your DNS to point to the server IP in advance.</span>",- "ssl_www_and_non_www": "Generate SSL for www and non-www?",- "ssl_explainer": "It will generate certificates for both www and non-www. <br>You need to have <span class=' text-settings'>both DNS entries</span> set in advance.<br><br>Useful if you expect to have visitors on both.",- "install_command": "Install Command",- "build_command": "Build Command",- "start_command": "Start Command",- "directory_to_use_explainer": "Directory to use as the base for all commands.<br>Could be useful with <span class='text-settings '>monorepos</span>.",- "publish_directory_explainer": "Directory containing all the assets for deployment. <br> For example: <span class='text-settings '>dist</span>,<span class='text-settings '>_site</span> or <span class='text-settings '>public</span>.",- "features": "Features",- "enable_automatic_deployment": "Enable Automatic Deployment",- "enable_auto_deploy_webhooks": "Enable automatic deployment through webhooks.",- "enable_mr_pr_previews": "Enable MR/PR Previews",- "expose_a_port": "Expose a port",- "enable_preview_deploy_mr_pr_requests": "Enable preview deployments from pull or merge requests.",- "debug_logs": "Debug Logs",- "enable_debug_log_during_build": "Enable debug logs during build phase.<br><span class='text-settings '>Sensitive information</span> could be visible and saved in logs.",- "cant_activate_auto_deploy_without_repo": "Cannot activate automatic deployments until only one application is defined for this repository / branch.",- "no_applications_found": "No applications found",- "secret__batch_dot_env": "Paste .env file",- "batch_secrets": "Batch add secrets"- },- "general": "General",- "database": {- "default_database": "Default Database",- "generated_automatically_after_set_to_public": "Generated automatically after set to public",- "connection_string": "Connection String",- "set_public": "Set it public",- "warning_database_public": "Your database will be reachable over the internet. <br>Take security seriously in this case!",- "change_append_only_mode": "Change append only mode",- "warning_append_only": "Useful if you would like to restore redis data from a backup.<br><span class=' text-white'>Database restart is required.</span>",- "select_database_type": "Select a Database type",- "select_database_version": "Select a Database version",- "confirm_stop": "Are you sure you would like to stop {{name}}?",- "stop_database": "Stop",- "permission_denied_stop_database": "You do not have permission to stop the database.",- "start_database": "Start",- "permission_denied_start_database": "You do not have permission to start the database.",- "delete_database": "Delete",- "permission_denied_delete_database": "You do not have permission to delete a Database",- "no_databases_found": "No databases found",- "logs": "Logs"- },- "destination": {- "delete_destination": "Delete",- "permission_denied_delete_destination": "You do not have permission to delete this destination",- "add_to_coolify": "Add to Coolify",- "coolify_proxy_stopped": "Coolify Proxy stopped!",- "coolify_proxy_started": "Coolify Proxy started!",- "confirm_restart_proxy": "Are you sure you want to restart the proxy? Everything will be reconfigured in ~10 secs.",- "coolify_proxy_restarting": "Coolify Proxy restarting...",- "restarting_please_wait": "Restarting... please wait...",- "force_restart_proxy": "Force restart proxy",- "use_coolify_proxy": "Use Coolify Proxy?",- "no_destination_found": "No destination found",- "new_error_network_already_exists": "Network {{network}} already configured for another team!",- "new": {- "saving_and_configuring_proxy": "Saving...",- "install_proxy": "This will install a proxy on the destination to allow you to access your applications and services without any manual configuration (recommended for Docker).<br><br>Databases will have their own proxy.",- "add_new_destination": "Add New Destination",- "predefined_destinations": "Predefined destinations"- }- },- "sources": {- "local_docker": "Local Docker",- "remote_docker": "Remote Docker",- "organization_explainer": "Fill it if you would like to use an organization's as your Git Source. Otherwise your user will be used."- },- "source": {- "new": {- "git_source": "Add New Git Source",- "official_providers": "Official providers"- },- "no_git_sources_found": "No git sources found",- "delete_git_source": "Delete",- "permission_denied": "You do not have permission to delete a Git Source",- "create_new_app": "Create new {{name}} App",- "change_app_settings": "Change {{name}} App Settings",- "install_repositories": "Install Repositories",- "application_id": "Application ID",- "group_name": "Group Name",- "oauth_id": "OAuth ID",- "oauth_id_explainer": "The OAuth ID is the unique identifier of the GitLab application. <br>You can find it <span class=' text-settings' >in the URL</span> of your GitLab OAuth Application.",- "register_oauth_gitlab": "Register new OAuth application on GitLab",- "gitlab": {- "self_hosted": "Instance-wide application (self-hosted)",- "user_owned": "User owned application",- "group_owned": "Group owned application",- "gitlab_application_type": "GitLab Application Type",- "already_configured": "GitLab App is already configured."- },- "github": {- "redirecting": "Redirecting to Github..."- }- },- "services": {- "all_email_verified": "All emails are verified. You can login now.",- "generate_www_non_www_ssl": "It will generate certificates for both www and non-www. <br>You need to have <span class='text-settings'>both DNS entries</span> set in advance.<br><br>Service needs to be restarted."- },- "service": {- "stop_service": "Stop",- "permission_denied_stop_service": "You do not have permission to stop the service.",- "start_service": "Start",- "permission_denied_start_service": "You do not have permission to start the service.",- "delete_service": "Delete",- "permission_denied_delete_service": "You do not have permission to delete a service.",- "no_service": "No services found",- "logs": "Logs"- },- "setting": {- "change_language": "Change Language",- "permission_denied": "You do not have permission to do this. \\nAsk an admin to modify your permissions.",- "domain_removed": "Domain removed",- "ssl_explainer": "If you specify <span class='text-settings'>https</span>, Coolify will be accessible only over https. SSL certificate will be generated for you.<br>If you specify <span class='text-settings '>www</span>, Coolify will be redirected (302) from non-www and vice versa.<br><br><span class='text-settings '>WARNING:</span> If you change an already set domain, it will break webhooks and other integrations! You need to manually update them.",- "must_remove_domain_before_changing": "Must remove the domain before you can change this setting.",- "registration_allowed": "Registration allowed?",- "registration_allowed_explainer": "Allow further registrations to the application. <br>It's turned off after the first registration.",- "coolify_proxy_settings": "Coolify Proxy Settings",- "credential_stat_explainer": "Credentials for <a class=\"text-white \" href=\"{{link}}\" target=\"_blank\">stats</a> page.",- "auto_update_enabled": "Auto update enabled?",- "auto_update_enabled_explainer": "Enable automatic updates for Coolify. It will be done automatically behind the scenes, if there is no build process running.",- "generate_www_non_www_ssl": "It will generate certificates for both www and non-www. <br>You need to have <span class=' text-settings'>both DNS entries</span> set in advance.",- "is_dns_check_enabled": "DNS check enabled?",- "is_dns_check_enabled_explainer": "You can disable DNS check before creating SSL certificates.<br><br>Turning it off is useful when Coolify is behind a reverse proxy or tunnel."- },- "team": {- "pending_invitations": "Pending invitations",- "accept": "Accept",- "delete": "Delete",- "member": "member(s)",- "root": "(root)",- "invited_with_permissions": "Invited to <span class=\" text-settings\">{{teamName}}</span> with <span class=\" text-rose-600\">{{permission}}</span> permission.",- "members": "Members",- "root_team_explainer": "This is the <span class='text-red-500 '>root</span> team. That means members of this group can manage instance wide settings and have all the priviliges in Coolify (imagine like root user on Linux).",- "permission": "Permission",- "you": "You",- "promote_to": "Promote to {{grade}}",- "revoke_invitation": "Revoke invitation",- "pending_invitation": "Pending invitation",- "invite_new_member": "Invite new member",- "send_invitation": "Send invitation",- "invite_only_register_explainer": "You can only invite registered users.",- "admin": "Admin",- "read": "Read"- }-}diff --git a/apps/ui/src/lib/locales/es.json b/apps/ui/src/lib/locales/es.jsondeleted file mode 100644index 54eb5f716c..0000000000--- a/apps/ui/src/lib/locales/es.json+++ /dev/null@@ -1,341 +0,0 @@-{- "layout":{- "update_done":"Actualizaciรณn completada.",- "wait_new_version_startup":"Esperando que comience la nueva versiรณn.",- "new_version":"Nueva versiรณn accesible. Recargando.",- "switch_to_a_different_team":"Cambia a otro equipo.",- "update_available":"Actualizaciรณn disponible"- },- "error":{- "you_can_find_your_way_back":"Puedes encontrar tu camino de vuelta",- "here":"Aquรญ.",- "you_are_lost":"ยกEstรกs perdido! ยกPero no tengas miedo!"- },- "index":{- "dashboard":"Dashboard",- "applications":"Aplicaciones",- "destinations":"Destinos",- "git_sources":"Fuentes Git",- "databases":"Bases de datos",- "services":"Servicios",- "teams":"Equipos",- "not_implemented_yet":"Aรบn no se ha aplicado",- "database":"Base de datos",- "settings":"Ajustes",- "global_settings":"Ajustes mundiales",- "secret":"Secret",- "team":"Equipo",- "logout":"Cerrar sesiรณn"- },- "login":{- "already_logged_in":"Ya se ha registrado.",- "authenticating":"Autenticando.",- "login":"Iniciar sesiรณn"- },- "forms":{- "password":"Contraseรฑa",- "email":"Direcciรณn de correo electrรณnico",- "passwords_not_match":"Las contraseรฑas no coinciden.",- "password_again":"Contraseรฑa de nuevo",- "save":"Guardar",- "saving":"Salvando.",- "name":"Nombre",- "value":"Valor",- "action":"Acciones",- "is_required":"es necesario.",- "add":"Aรฑadir",- "set":"Set",- "remove":"Retirar",- "path":"Camino",- "confirm_continue":"ยฟEstรกs seguro de continuar?",- "must_be_stopped_to_modify":"Debe ser detenido para modificar.",- "port":"Puerto",- "default":"Por defecto",- "base_directory":"Base Directory",- "publish_directory":"Publish Directory",- "generated_automatically_after_start":"Generado automรกticamente despuรฉs del inicio",- "roots_password":"La contraseรฑa de Root",- "root_user":"Usuario raรญz",- "eg":"eg",- "user":"Usuario",- "loading":"Carga.",- "version":"Versiรณn",- "host":"Host",- "already_used_for":"##########################################################################################################################################################################################################################################################",- "configuration":"Configuraciรณn",- "engine":"Motor",- "network":"Red",- "ip_address":"Direcciรณn IP",- "ssh_private_key":"SSH Clave privada",- "type":"Tipo",- "html_url":"URL",- "api_url":"API",- "organization":"Organizaciรณn",- "new_password":"Nueva contraseรฑa",- "super_secure_new_password":"Super seguro nueva contraseรฑa",- "submit":"Submit",- "default_email_address":"Direcciรณn de correo electrรณnico predeterminada",- "default_password":"Contraseรฑa predeterminada",- "username":"Nombre de usuario",- "root_db_user":"Root DB Usuario",- "root_db_password":"Root DB Contraseรฑa",- "api_port":"API Port",- "verifying":"Verificaciรณn",- "verify_emails_without_smtp":"Verificar correos electrรณnicos sin SMTP",- "extra_config":"Extra Config",- "select_a_service":"Seleccione un Servicio",- "select_a_service_version":"Seleccione una versiรณn de servicio",- "removing":"Retirรกndose.",- "remove_domain":"Eliminar el dominio",- "public_port_range":"Public Port Range",- "public_port_range_explainer":"Puertos utilizados para exponer bases de datos/servicios/servicios internos. Aรฑรกdalos a su cortafuegos (si es aplicable).Seguido se indicarรก una gama de puertos, por ejemplo: tachuelas clase='text-settings '9000-9100 seg/span",- "no_actions_available":"No se dispone de medidas",- "admin_api_key":"Clave de API de Admin"- },- "register":{- "register":"Registro",- "registering":"Registro.",- "first_user":"Estรก registrando al primer usuario. Serรก el administrador de tu instancia de Coolify."- },- "reset":{- "reset_password":"Reset",- "invalid_secret_key":"Una llave secreta invรกlida.",- "secret_key":"Secret Key",- "find_path_secret_key":"Puedes encontrarlo en ~coolify/.env (COOLIFY_SECRET_KEY)"- },- "application":{- "configuration":{- "buildpack":{- "choose_this_one":"Elige esta."- },- "branch_already_in_use":"Esta rama ya es utilizada por otra aplicaciรณn. Webhooks no funcionarรก en este caso para ambas aplicaciones. ยฟSeguro que quieres usarlo?",- "no_repositories_configured":"No hay repositorios configurados para su aplicaciรณn Git.",- "configure_it_now":"Configure ahora",- "loading_repositories":"Carga de repositorios ...",- "select_a_repository":"Seleccione un repositorio",- "loading_branches":"Cargando ramas ...",- "select_a_repository_first":"Por favor seleccione un repositorio primero",- "select_a_branch":"Por favor seleccione una rama",- "loading_groups":"Grupos de carga.",- "select_a_group":"Seleccione un grupo",- "loading_projects":"Cargando proyectos.",- "select_a_project":"Seleccione un proyecto",- "no_projects_found":"No se han encontrado proyectos",- "no_branches_found":"No hay ramas encontradas",- "configure_build_pack":"Configure Build Pack",- "scanning_repository_suggest_build_pack":"Repositorio de exploraciรณn para sugerir un paquete de construcciรณn para usted.",- "found_lock_file":"encontrado archivo de bloqueo para {{packageManager}}.Seguido de comandos predefinidos.",- "configure_destination":"Configurar Destino",- "no_configurable_destination":"No hay destino configurable encontrado",- "select_a_repository_project":"Seleccione un Repositorio / Proyecto",- "select_a_git_source":"Seleccione una fuente de Git",- "no_configurable_git":"No se encontrรณ una fuente de Git configurable",- "configuration_missing":"Falta de configuraciรณn"- },- "build":{- "queued_waiting_exec":"Queued and waiting for execution.",- "build_logs_of":"Construir registros de",- "running":"Corriendo",- "queued":"Queued",- "finished_in":"Terminado en",- "load_more":"Carga mรกs",- "no_logs":"No hay registros encontrados",- "waiting_logs":"Esperando los registros."- },- "preview":{- "need_during_buildtime":"ยฟNecesitas durante el tiempo de construcciรณn?",- "setup_secret_app_first":"Puede aรฑadir secretos a las implementaciones PR/MR. Por favor, agregue secretos a la aplicaciรณn primero. โโ br]Useful for creating ืspan class='text-settings 'staging won/span environments.",- "values_overwriting_app_secrets":"Estos valores sobrescriben los secretos de aplicaciรณn en las implementaciones PR/MR. รtil para la creaciรณn de clase 0'text-settings 'estaging significan ambientes / paรฑo.",- "redeploy":"Redistribuciรณn",- "no_previews_available":"No hay vistas previas disponibles"- },- "secrets":{- "secret_saved":"Secreto salvado.",- "use_isbuildsecret":"Use isBuildSecret",- "secrets_for":"Secretos para"- },- "storage":{- "path_is_required":"Se requiere camino.",- "storage_saved":"Almacenamiento guardado.",- "storage_updated":"Almacenamiento actualizado.",- "storage_deleted":"Almacenamiento eliminado.",- "persistent_storage_explainer":"Puede especificar cualquier carpeta que desee ser persistente a travรฉs de las implementaciones.Seguido de la clase='text-settings 'ejemplo observado/span significa que preservarรก <span class='text-settings 'app/example observado/span en el contenedor como ierespan class='text-settings 'appcanta/span es ะspan clase='text-setting directory Esto es รบtil para almacenar datos tales como una clase de =span='text-settings โโฅ'database (SQLite) obtenidos/spanilo o a ืspan class='text-settings 'cache made/span."- },- "deployment_queued":"Despliegue apagado.",- "confirm_to_delete":"ยฟEstรกs seguro de que te gustarรญa borrar?",- "stop_application":"Stop Application",- "permission_denied_stop_application":"Usted no tiene permiso para detener la aplicaciรณn.",- "rebuild_application":"Rebuild Application",- "permission_denied_rebuild_application":"No tienes permiso para reconstruir la aplicaciรณn.",- "build_and_start_application":"Despliegue",- "permission_denied_build_and_start_application":"Usted no tiene permiso para implementar la aplicaciรณn.",- "configurations":"Configuraciones",- "secret":"Secretos",- "persistent_storage":"Almacenamiento persistente",- "previews":"Avances",- "logs":"Registros de aplicaciones",- "build_logs":"Logs de construcciรณn",- "delete_application":"Suprimir",- "permission_denied_delete_application":"Usted no tiene permiso para borrar esta aplicaciรณn",- "domain_already_in_use":"El dominio ya se utiliza.",- "dns_not_set_error":"DNS no se establece correctamente ni se propogรณ para {{domain}}.Seguido manualmente indicando su configuraciรณn DNS.",- "domain_required":"El dominio es necesario.",- "settings_saved":"Configuraciรณn guardada.",- "dns_not_set_partial_error":"DNS not set",- "domain_not_valid":"No puede resolver el dominio o no apunta a la direcciรณn IP del servidor. Por favor, compruebe su configuraciรณn de DNS e intรฉntelo de nuevo.",- "git_source":"Fuente de Git",- "git_repository":"Repositorio Git",- "build_pack":"Paquete de construcciรณn",- "base_image":"Imagen de despliegue",- "base_image_explainer":"Imagen que se utilizarรก para el despliegue.",- "base_build_image":"Construir imagen",- "base_build_image_explainer":"Imagen que se utilizarรก durante el proceso de construcciรณn.",- "destination":"Destino",- "application":"Aplicaciรณn",- "url_fqdn":"URL (FQDN)",- "domain_fqdn":"Dominio (FQDN)",- "https_explainer":"Si especificas ืspan class='text-settings 'https seleccionado/span, la aplicaciรณn serรก accesible sรณlo en https. Certificado SSL se generarรก para usted.Seguidobr tรญtuloSi especificas ืspan class='text-settings 'www daรฑado/span, la aplicaciรณn serรก redireccionada (302) de non-www y viceversa.Seguradobr acordadobr tรญtulo Para modificar el dominio, primero debe detener la aplicaciรณn. Debe establecer su DNS para apuntar al servidor IP con antelaciรณn.",- "ssl_www_and_non_www":"Generar SSL para www y non-www?",- "ssl_explainer":"Generarรก certificados tanto para www como para no www. Necesitas tener las entradas de DNS de la clase 0'' text-settings' inteligenteboth DNS seleccionadas/span tรญtulo con antelaciรณn.Seguridad si esperas tener visitantes en ambos.",- "install_command":"Instalar el Comando",- "build_command":"Mando de construcciรณn",- "start_command":"Comando de Inicio",- "directory_to_use_explainer":"Directorio para usar como base para todos los comandos. Podrรญa ser รบtil con la clase 0'text-settings 'monorepos obtenidos / span.",- "publish_directory_explainer":"Directorio que contiene todos los activos para el despliegue. Por ejemplo: \"Clasificaciรณn de texto\": \"Clasificaciรณn de texto\": \"Clasificaciรณn de texto\": \"Clasificaciรณn de texto\": \"Clasificaciรณn de texto\" (p. ej., p. ej.:",- "features":"Caracterรญsticas",- "enable_automatic_deployment":"Permitir el despliegue automรกtico",- "enable_auto_deploy_webhooks":"Permitir el despliegue automรกtico a travรฉs de los dispositivos web.",- "enable_mr_pr_previews":"Habilitar las previsiones MR/PR",- "expose_a_port":"Exponga un puerto",- "enable_preview_deploy_mr_pr_requests":"Permitir despliegues de previsualizaciรณn de las solicitudes de tira o fusiรณn.",- "debug_logs":"Debug Logs",- "enable_debug_log_during_build":"Activar registros de depuraciรณn durante fase de construcciรณn.Seguidobr contactos clase='text-settings .'Informaciones positivas realizadas/span tรญtulo podrรญa ser visible y guardado en registros.",- "cant_activate_auto_deploy_without_repo":"No puede activar implementaciones automรกticas hasta que sรณlo una aplicaciรณn se defina para este repositorio / rama.",- "no_applications_found":"No se han encontrado aplicaciones",- "secret__batch_dot_env":"Paste .env file",- "batch_secrets":"Batch aรฑade secretos"- },- "general":"General",- "database":{- "default_database":"Base de datos predeterminada",- "generated_automatically_after_set_to_public":"Generado automรกticamente despuรฉs de establecerse en pรบblico",- "connection_string":"Conexiรณn",- "set_public":"Ponlo en pรบblico",- "warning_database_public":"Su base de datos serรก accesible en Internet. ยกSeguridad en este caso!",- "change_append_only_mode":"Cambiar el apรฉndice sรณlo modo",- "warning_append_only":"รtil si desea restaurar los datos redis de una copia de seguridad. Se requiere el reinicio de la base de datos.",- "select_database_type":"Seleccione un tipo de base",- "select_database_version":"Seleccione una versiรณn de base de datos",- "confirm_stop":"ยฟSeguro que te gustarรญa parar?",- "stop_database":"Para.",- "permission_denied_stop_database":"No tienes permiso para detener la base de datos.",- "start_database":"Comienzo",- "permission_denied_start_database":"No tienes permiso para iniciar la base de datos.",- "delete_database":"Suprimir",- "permission_denied_delete_database":"Usted no tiene permiso para eliminar una base de datos",- "no_databases_found":"No se encontraron bases de datos",- "logs":"Logs"- },- "destination":{- "delete_destination":"Suprimir",- "permission_denied_delete_destination":"Usted no tiene permiso para eliminar este destino",- "add_to_coolify":"Aรฑadir a Coolify",- "coolify_proxy_stopped":"Coolify Proxy parรณ!",- "coolify_proxy_started":"Coolify Proxy comenzรณ!",- "confirm_restart_proxy":"ยฟSeguro que quieres reiniciar el proxy? Todo serรก reconfigurado en ~10 segundos.",- "coolify_proxy_restarting":"Enfrรญe el reinicio de Proxy.",- "restarting_please_wait":"Reiniciando. Por favor, espere.",- "force_restart_proxy":"Fuerza restart proxy",- "use_coolify_proxy":"ยฟUso Coolify Proxy?",- "no_destination_found":"No hay destino encontrado",- "new_error_network_already_exists":"Red {{network}} ya configurado para otro equipo!",- "new":{- "saving_and_configuring_proxy":"Salvando.",- "install_proxy":"Esto instalarรก un proxy en el destino para permitirle acceder a sus aplicaciones y servicios sin ninguna configuraciรณn manual (recomendada para Docker).",- "add_new_destination":"Aรฑadir nuevo destino",- "predefined_destinations":"Destinos predefinidos"- }- },- "sources":{- "local_docker":"Local Docker",- "remote_docker":"Remoto Docker",- "organization_explainer":"Rellene si desea utilizar una organizaciรณn como su Fuente Git. De lo contrario su usuario serรก utilizado."- },- "source":{- "new":{- "git_source":"Agregar nueva fuente de Git",- "official_providers":"Proveedores oficiales"- },- "no_git_sources_found":"No hay fuentes de git",- "delete_git_source":"Suprimir",- "permission_denied":"Usted no tiene permiso para eliminar una Fuente Git",- "create_new_app":"Crear nuevo {{name}} App",- "change_app_settings":"Cambio {{name}} Configuraciรณn de la aplicaciรณn",- "install_repositories":"Instalar los depรณsitos",- "application_id":"ID de aplicaciรณn",- "group_name":"Nombre del grupo",- "oauth_id":"OAuth ID",- "oauth_id_explainer":"El ID OAuth es el identificador รบnico de la aplicaciรณn GitLab. Puedes encontrarlo itspan class=' text-settings' โin la URL seleccionada/span tรญtulo de tu aplicaciรณn GitLab OAuth.",- "register_oauth_gitlab":"Registrar nueva aplicaciรณn OAuth en GitLab",- "gitlab":{- "self_hosted":"Aplicaciรณn a nivel de instalaciรณn (auto hospedada)",- "user_owned":"Aplicaciรณn de propiedad de usuario",- "group_owned":"Solicitud de propiedad de un grupo",- "gitlab_application_type":"GitLab Application Tipo",- "already_configured":"GitLab La aplicaciรณn ya estรก configurada."- },- "github":{- "redirecting":"Redirecciรณn a Github."- }- },- "services":{- "all_email_verified":"Todos los correos electrรณnicos son verificados. Puedes entrar ahora.",- "generate_www_non_www_ssl":"Generarรก certificados tanto para www como para no www. Necesitas tener las entradas de DNS de la clase='text-settings' inteligenteboth DNS seleccionadas/span tรญtulo con antelaciรณn."- },- "service":{- "stop_service":"Para.",- "permission_denied_stop_service":"No tienes permiso para detener el servicio.",- "start_service":"Comienzo",- "permission_denied_start_service":"No tienes permiso para empezar el servicio.",- "delete_service":"Suprimir",- "permission_denied_delete_service":"Usted no tiene permiso para borrar un servicio.",- "no_service":"No se han encontrado servicios",- "logs":"Logs"- },- "setting":{- "change_language":"Cambiar idioma",- "permission_denied":"No tienes permiso para hacer esto. \\nAsk un administrador para modificar sus permisos.",- "domain_removed":"El dominio eliminado",- "ssl_explainer":"Si especificas ืspan class='text-settings' confianzahttps realizadas/span, Coolify serรก accesible sรณlo en https. Certificado SSL se generarรก para usted.Se indicarรก que si especificas <span class='text-settings 'www identificado/span, Coolify serรก redireccionado (302) de no-www y viceversa. Si cambia un dominio ya establecido, romperรก webhooks y otras integraciones! Necesita actualizarlos manualmente.",- "must_remove_domain_before_changing":"Debe eliminar el dominio antes de que pueda cambiar esta configuraciรณn.",- "registration_allowed":"ยฟSe permite la inscripciรณn?",- "registration_allowed_explainer":"Permitir nuevos registros a la solicitud. Se ha apagado despuรฉs del primer registro.",- "coolify_proxy_settings":"Enfriar los ajustes Proxy",- "credential_stat_explainer":"Credenciales para \"href=\"{{link}} target=\"_blank\"(s) asignados/pรกgina.",- "auto_update_enabled":"ยฟActualizaciรณn automรกtica activada?",- "auto_update_enabled_explainer":"Activar actualizaciones automรกticas para enfriar. Se harรก automรกticamente detrรกs de las escenas, si no hay proceso de construcciรณn funcionando.",- "generate_www_non_www_ssl":"Generarรก certificados tanto para www como para no www. Necesitas tener las entradas de la clase='' texto-settings' inteligenteboth DNS seleccionadas/span titulada con antelaciรณn.",- "is_dns_check_enabled":"ยฟEl cheque DNS estรก habilitado?",- "is_dns_check_enabled_explainer":"Puede deshabilitar el cheque DNS antes de crear certificados SSL.Seguido se indica que el ajuste es รบtil cuando Coolify estรก detrรกs de un proxy o tรบnel inverso."- },- "team":{- "pending_invitations":"Invitaciones pendientes",- "accept":"Aceptar",- "delete":"Suprimir",- "member":"miembros(s)",- "root":"(root)",- "invited_with_permissions":"Invitado a las \"clase de texto\"(s)(s)(s)(s)(s)(s)(s)(s)(s)(s)(s))(s))(s))(sp))(sp.",- "members":"Miembros",- "root_team_explainer":"Este es el equipo de la clase de la clase 0'text-red-500 'raรญz seleccionada/span. Esto significa que los miembros de este grupo pueden gestionar la configuraciรณn de instancia amplia y tener todos los priviliges en Coolify (imagina como usuario raรญz en Linux.)",- "permission":"Permiso",- "you":"Tรบ",- "promote_to":"Promover a {{grade}}",- "revoke_invitation":"Revocar la invitaciรณn",- "pending_invitation":"Invitaciรณn pendiente",- "invite_new_member":"Invitar nuevo miembro",- "send_invitation":"Enviar invitaciรณn",- "invite_only_register_explainer":"Sรณlo puedes invitar a usuarios registrados.",- "admin":"Admin",- "read":"Leer"- }-}\ No newline at end of filediff --git a/apps/ui/src/lib/locales/fr.json b/apps/ui/src/lib/locales/fr.jsondeleted file mode 100644index 8fa7fca16e..0000000000--- a/apps/ui/src/lib/locales/fr.json+++ /dev/null@@ -1,323 +0,0 @@-{- "application": {- "application": "Application",- "build": {- "build_logs_of": "Crรฉer des journaux de",- "finished_in": "Fini en",- "load_more": "Charger plus",- "no_logs": "Aucun journal trouvรฉ",- "queued": "En file d'attente",- "queued_waiting_exec": "En file d'attente et en attente d'exรฉcution.",- "running": "Fonctionnement",- "waiting_logs": "En attente des logs..."- },- "build_and_start_application": "Build et dรฉmarrer l'application",- "build_command": "Commande Build",- "build_logs": "Crรฉer des journaux",- "build_pack": "Pack de Build",- "cant_activate_auto_deploy_without_repo": "Impossible d'activer les dรฉploiements automatiques tant qu'une seule application n'est pas dรฉfinie pour ce dรฉpรดt/branche.",- "configuration": {- "branch_already_in_use": "Cette branche est dรฉjร utilisรฉe par une autre application. \nLes webhooks ne fonctionneront pas dans ce cas pour les deux applications. \nรtes-vous sรปr de vouloir l'utiliser ?",- "buildpack": {- "choose_this_one": "Choisir celui-ci..."- },- "configuration_missing": "Configuration manquante",- "configure_build_pack": "Configurer le pack de build",- "configure_destination": "Configurer la destination",- "configure_it_now": "Configurez-le maintenant",- "found_lock_file": "Fichier .lock trouvรฉ pour <span class=\"font-bold text-orange-500 pl-1\">{{packageManager}}</span>. \nL'utiliser pour les commandes prรฉdรฉfinies.",- "loading_branches": "Chargement des branches...",- "loading_groups": "Chargement des groupes...",- "loading_projects": "Chargement des projets...",- "loading_repositories": "Chargement des dรฉpรดts Git...",- "no_branches_found": "Aucune branche trouvรฉe",- "no_configurable_destination": "Aucune destination configurable trouvรฉe",- "no_configurable_git": "Aucune source Git configurable trouvรฉe",- "no_projects_found": "Aucun projet trouvรฉ",- "no_repositories_configured": "Aucun dรฉpรดt Git configurรฉ pour votre application.",- "scanning_repository_suggest_build_pack": "Analyse du dรฉpรดt pour vous suggรฉrer un pack de Build...",- "select_a_branch": "Veuillez sรฉlectionner une branche",- "select_a_git_source": "Sรฉlectionnez une source Git",- "select_a_group": "Veuillez sรฉlectionner un groupe",- "select_a_project": "Veuillez sรฉlectionner un projet",- "select_a_repository": "Veuillez sรฉlectionner un dรฉpรดt",- "select_a_repository_first": "Veuillez d'abord sรฉlectionner un dรฉpรดt",- "select_a_repository_project": "Sรฉlectionnez un dรฉpรดt / projet"- },- "configurations": "Configurations",- "confirm_to_delete": "Voulez-vous vraiment supprimer '{{name}}'?",- "debug_logs": "Journaux de dรฉbogage",- "delete_application": "Supprimer l'application",- "deployment_queued": "Dรฉploiement en file d'attente.",- "destination": "Destination",- "directory_to_use_explainer": "Rรฉpertoire ร utiliser comme base pour toutes les commandes.<br>Pourrait รชtre utile avec <span class='text-applications font-bold'>monorepos</span>.",- "dns_not_set_error": "DNS non dรฉfini ou propagรฉ pour {{domain}}.<br><br>Veuillez vรฉrifier vos paramรจtres DNS.",- "dns_not_set_partial_error": "DNS non dรฉfini",- "domain_already_in_use": "Le domaine {{domain}} est dรฉjร utilisรฉ.",- "domain_fqdn": "Domaine (FQDN)",- "url_fqdn": "URL (FQDN)",- "enable_auto_deploy_webhooks": "Activez le dรฉploiement automatique via des webhooks.",- "enable_automatic_deployment": "Activer le dรฉploiement automatique",- "enable_debug_log_during_build": "Activez les journaux de dรฉbogage pendant la phase de build.<br><span class='text-red-500 font-bold'>Les informations sensibles</span> peuvent รชtre visibles et enregistrรฉes dans les journaux.",- "enable_mr_pr_previews": "Activer les aperรงus MR/PR",- "enable_preview_deploy_mr_pr_requests": "Activez les dรฉploiements de prรฉvisualisation ร partir de demandes d'extraction ou de fusion.",- "expose_a_port": "Exposer un port",- "features": "Caractรฉristiques",- "git_repository": "Dรฉpรดt Git",- "git_source": "Source Git",- "https_explainer": "Si vous spรฉcifiez <span class='text-green-500 font-bold'>https</span>, l'application sera accessible uniquement via https. \nUn certificat SSL sera gรฉnรฉrรฉ pour vous.<br>Si vous spรฉcifiez <span class='text-green-500 font-bold'>www</span>, l'application sera redirigรฉe (302) ร partir de non-www et vice versa \n.<br><br>Pour modifier le domaine, vous devez d'abord arrรชter l'application.<br><br><span class='text-white font-bold'>Vous devez configurer, en avance, votre DNS pour pointer vers l'IP du serveur.</span>",- "install_command": "Commande d'installation",- "logs": "Journaux des applications",- "no_applications_found": "Aucune application trouvรฉe",- "permission_denied_build_and_start_application": "Vous n'รชtes pas autorisรฉ ร crรฉer et ร dรฉmarrer l'application.",- "permission_denied_delete_application": "Vous n'รชtes pas autorisรฉ ร supprimer cette application",- "permission_denied_rebuild_application": "Vous n'รชtes pas autorisรฉ ร re-build l'application.",- "permission_denied_stop_application": "Vous n'รชtes pas autorisรฉ ร arrรชter l'application.",- "persistent_storage": "Stockage persistant",- "preview": {- "need_during_buildtime": "Besoin pendant la build ?",- "no_previews_available": "Aucun aperรงu disponible",- "redeploy": "Redรฉployer",- "setup_secret_app_first": "Vous pouvez ajouter des secrets aux dรฉploiements PR/MR. \nVeuillez d'abord ajouter des secrets ร l'application. \n<br>Utile pour crรฉer des environnements <span class='text-green-500 font-bold'>de mise en scรจne</span>.",- "values_overwriting_app_secrets": "Ces valeurs remplacent les secrets d'application dans les dรฉploiements PR/MR. \nUtile pour crรฉer des environnements <span class='text-green-500 font-bold'>de mise en scรจne</span>."- },- "previews": "Aperรงus",- "publish_directory_explainer": "Rรฉpertoire contenant tous les actifs ร dรฉployer. \n<br> Par exemple : <span class='text-green-500 font-bold'>dist</span>,<span class='text-green-500 font-bold'>_site</span> ou <span \nclass='text-green-500 font-bold'>public</span>.",- "rebuild_application": "Re-build l'application",- "secret": "secrets",- "secrets": {- "secret_saved": "Secret enregistrรฉ.",- "secrets_for": "secrets pour",- "use_isbuildsecret": "Utiliser isBuildSecret"- },- "settings_saved": "Paramรจtres sauvegardรฉs.",- "ssl_explainer": "Il gรฉnรฉrera des certificats pour www et non-www. \n<br>Vous devez avoir <span class='font-bold text-green-500'>les deux entrรฉes DNS</span> dรฉfinies ร l'avance.<br><br>Utile si vous prรฉvoyez d'avoir des visiteurs sur les deux.",- "ssl_www_and_non_www": "Gรฉnรฉrer SSL pour www et non-www ?",- "start_command": "Dรฉmarrer la commande",- "stop_application": "Arrรชter l'application",- "storage": {- "path_is_required": "Le chemin est requis.",- "persistent_storage_explainer": "Vous pouvez spรฉcifier n'importe quel dossier que vous souhaitez conserver dans les dรฉploiements. \n<br>Ceci est utile pour stocker des donnรฉes telles qu'une base de donnรฉes (SQLite) ou un cache.",- "storage_deleted": "Stockage supprimรฉ.",- "storage_saved": "Stockage enregistrรฉ.",- "storage_updated": "Stockage mis ร jour."- }- },- "database": {- "change_append_only_mode": "Changer le mode d'ajout uniquement",- "confirm_stop": "รtes-vous sรปr de vouloir arrรชter {{name}} ?",- "connection_string": "Connexion string",- "default_database": "Base de donnรฉes par dรฉfaut",- "delete_database": "Supprimer la base de donnรฉes",- "generated_automatically_after_set_to_public": "Gรฉnรฉrรฉ automatiquement aprรจs avoir รฉtรฉ dรฉfini sur public",- "no_databases_found": "Aucune base de donnรฉes trouvรฉe",- "permission_denied_delete_database": "Vous n'รชtes pas autorisรฉ ร supprimer une base de donnรฉes",- "permission_denied_start_database": "Vous n'รชtes pas autorisรฉ ร dรฉmarrer la base de donnรฉes.",- "permission_denied_stop_database": "Vous n'รชtes pas autorisรฉ ร arrรชter la base de donnรฉes.",- "select_database_type": "Sรฉlectionnez un type de base de donnรฉes",- "select_database_version": "Sรฉlectionnez une version de la base de donnรฉes",- "set_public": "Rendre public",- "start_database": "Dรฉmarrer la base de donnรฉes",- "stop_database": "Arrรชter la base de donnรฉes",- "warning_append_only": "Utile si vous souhaitez restaurer des donnรฉes Redis ร partir d'une sauvegarde.<br><span class='font-bold text-white'>Le redรฉmarrage de la base de donnรฉes est nรฉcessaire.</span>",- "warning_database_public": "Votre base de donnรฉes sera accessible depuis Internet. \n<br>Prenez la sรฉcuritรฉ au sรฉrieux dans ce cas!"- },- "destination": {- "add_to_coolify": "Ajouter ร Coolify",- "confirm_restart_proxy": "Voulez-vous vraiment redรฉmarrer le proxy? \nTout sera reconfigurรฉ en ~10 secondes.",- "coolify_proxy_restarting": "Redรฉmarrage du Proxy Coolify...",- "coolify_proxy_started": "Proxy Coolify dรฉmarrรฉ!",- "coolify_proxy_stopped": "Proxy Coolify arrรชtรฉ!",- "delete_destination": "Supprimer le destinataire",- "force_restart_proxy": "Forcer le redรฉmarrage du proxy",- "new": {- "add_new_destination": "Ajouter une nouvelle destination",- "install_proxy": "Cela installera un proxy sur la destination pour vous permettre d'accรฉder ร vos applications et services sans aucune configuration manuelle (recommandรฉ pour Docker).<br><br>Les bases de donnรฉes auront leur propre proxy.",- "predefined_destinations": "Destinations prรฉdรฉfinies",- "saving_and_configuring_proxy": "Enregistrement et configuration du proxy..."- },- "new_error_network_already_exists": "Rรฉseau {{network}} dรฉjร configurรฉ pour une autre รฉquipe !",- "no_destination_found": "Aucune destination trouvรฉe",- "permission_denied_delete_destination": "Vous n'รชtes pas autorisรฉ ร supprimer cette destination",- "restarting_please_wait": "Redรฉmarrage... veuillez patienter...",- "use_coolify_proxy": "Utiliser le Proxy Coolify ?"- },- "error": {- "here": "ici",- "you_are_lost": "Oups vous รชtes perdu ! \nMais n'ayez pas peur !",- "you_can_find_your_way_back": "Tu peux retrouver ton chemin"- },- "forms": {- "action": "action",- "add": "Ajouter",- "already_used_for": "<span class=\"text-red-500\">{{type}}</span> dรฉjร utilisรฉ pour",- "api_port": "Port API",- "api_url": "URL de l'API",- "base_directory": "Rรฉpertoire de base",- "configuration": "Configuration",- "confirm_continue": "รtes-vous sรปr de continuer ?",- "default": "dรฉfaut",- "default_email_address": "Adresse e-mail par dรฉfaut",- "default_password": "Mot de passe par dรฉfaut",- "eg": "ex",- "email": "Adresse e-mail",- "engine": "Moteur",- "extra_config": "Configuration supplรฉmentaire",- "generated_automatically_after_start": "Gรฉnรฉrรฉ automatiquement aprรจs le dรฉmarrage",- "host": "Hรดte",- "html_url": "URL HTML",- "ip_address": "Adresse IP",- "is_required": "est requis.",- "loading": "Chargement...",- "must_be_stopped_to_modify": "Doit รชtre arrรชtรฉ pour รชtre modifiรฉ.",- "name": "Nom",- "network": "Rรฉseau",- "new_password": "Nouveau mot de passe",- "no_actions_available": "Aucune action disponible",- "organization": "Organisation",- "password": "Mot de passe",- "password_again": "Mot de passe ร nouveau",- "passwords_not_match": "Les mots de passe ne correspondent pas.",- "path": "Chemin",- "port": "Port",- "public_port_range": "Gamme de ports publics",- "public_port_range_explainer": "Ports utilisรฉs pour exposer les bases de donnรฉes/services/services internes.<br> Ajoutez-les ร votre pare-feu (le cas รฉchรฉant).<br><br>Vous pouvez spรฉcifier une plage de ports, par exemple : <span class='text-settings \nfont-bold'>9000-9100</span>",- "publish_directory": "Publier le rรฉpertoire",- "remove": "Retirer",- "remove_domain": "Supprimer le domaine",- "removing": "Suppression...",- "root_db_password": "Mot de passe root de la base de donnรฉes",- "root_db_user": "Utilisateur root de la base de donnรฉes",- "root_user": "Utilisateur root",- "roots_password": "Mot de passe de l'utilisateur root",- "save": "sauvegarder",- "saving": "Sauvegarde...",- "select_a_service": "Sรฉlectionnez un service",- "select_a_service_version": "Sรฉlectionnez une version de service",- "set": "Rรฉgler",- "ssh_private_key": "Clรฉ privรฉe SSH",- "submit": "Nous faire parvenir",- "super_secure_new_password": "Nouveau mot de passe super sรฉcurisรฉ",- "type": "Taper",- "user": "Utilisateur",- "username": "Nom d'utilisateur",- "value": "Valeur",- "verify_emails_without_smtp": "Vรฉrifier les e-mails sans SMTP",- "verifying": "Vรฉrification",- "version": "Version"- },- "general": "Gรฉnรฉral",- "index": {- "applications": "Applications",- "dashboard": "Tableau de bord",- "database": "Base de donnรฉes",- "databases": "Bases de donnรฉes",- "destinations": "Destinations",- "git_sources": "Sources Git",- "global_settings": "Paramรจtres globaux",- "logout": "Se dรฉconnecter",- "not_implemented_yet": "Pas encore implรฉmentรฉ",- "secret": "Secret",- "services": "Services",- "settings": "Rรฉglages",- "team": "รquipe",- "teams": "รquipes"- },- "layout": {- "new_version": "Nouvelle version accessible. \nRechargement...",- "switch_to_a_different_team": "Changer d'รฉquipe...",- "update_available": "Mise ร jour disponible",- "update_done": "Mise ร jour terminรฉe.",- "wait_new_version_startup": "En attendant le lancement de la nouvelle version..."- },- "login": {- "already_logged_in": "Dรฉjร connectรฉ...",- "authenticating": "Authentification...",- "login": "Connexion"- },- "register": {- "first_user": "Vous enregistrez le premier utilisateur. \nCe sera l'administrateur de votre instance Coolify.",- "register": "S'inscrire"- },- "reset": {- "find_path_secret_key": "Vous pouvez le trouver dans ~/coolify/.env (COOLIFY_SECRET_KEY)",- "invalid_secret_key": "Clรฉ secrรจte invalide.",- "reset_password": "Rรฉinitialiser",- "secret_key": "Clef secrรจte"- },- "service": {- "delete_service": "Supprimer le service",- "no_service": "Aucun service trouvรฉ",- "permission_denied_delete_service": "Vous n'รชtes pas autorisรฉ ร supprimer un service.",- "permission_denied_start_service": "Vous n'รชtes pas autorisรฉ ร dรฉmarrer le service.",- "permission_denied_stop_service": "Vous n'รชtes pas autorisรฉ ร arrรชter le service.",- "start_service": "Dรฉmarrer le service",- "stop_service": "Stopper le service"- },- "services": {- "all_email_verified": "Tous les e-mails sont vรฉrifiรฉs. \nVous pouvez vous connecter maintenant.",- "generate_www_non_www_ssl": "Il gรฉnรฉrera des certificats pour www et non-www. \n<br>Vous devez avoir <span class='font-bold text-pink-600'>les deux entrรฉes DNS</span> dรฉfinies ร l'avance.<br><br>Le service devra รชtre redรฉmarrรฉ."- },- "setting": {- "coolify_proxy_settings": "Paramรจtres du proxy Coolify",- "credential_stat_explainer": "Identifiants pour la page <a class=\"text-white font-bold\" href=\"{{link}}\" target=\"_blank\">statistiques</a>.",- "domain_removed": "Domaine supprimรฉ",- "must_remove_domain_before_changing": "Vous devez supprimer le domaine avant de pouvoir modifier ce paramรจtre.",- "permission_denied": "Vous n'avez pas la permission de faire cela. \n\\nDemandez ร un administrateur de modifier vos autorisations.",- "registration_allowed": "Inscription autorisรฉe ?",- "registration_allowed_explainer": "Autoriser d'autres inscriptions ร l'application. \n<br>Il est dรฉsactivรฉ aprรจs la premiรจre inscription.",- "ssl_explainer": "Si vous spรฉcifiez <span class='text-settings font-bold'>https</span>, Coolify sera accessible uniquement via https. \nUn certificat SSL sera gรฉnรฉrรฉ pour vous.<br>Si vous spรฉcifiez <span class='text-settings font-bold'>www</span>, Coolify sera redirigรฉ (302) ร partir de non-www et vice versa."- },- "source": {- "application_id": "ID d'application",- "change_app_settings": "Modifier les paramรจtres de l'application {{name}}",- "create_new_app": "Crรฉer une nouvelle application {{name}}",- "delete_git_source": "Supprimer la source Git",- "github": {- "redirecting": "Redirection vers Github..."- },- "gitlab": {- "already_configured": "L'application GitLab est dรฉjร configurรฉe.",- "gitlab_application_type": "Type d'application GitLab",- "group_owned": "Application dรฉtenue par le groupe",- "self_hosted": "Application ร l'รฉchelle de l'instance (auto-hรฉbergรฉe)",- "user_owned": "Application appartenant ร l'utilisateur"- },- "group_name": "Nom de groupe",- "install_repositories": "Installer les dรฉpรดts",- "new": {- "git_source": "Ajouter une nouvelle source Git",- "official_providers": "Fournisseurs officiels"- },- "no_git_sources_found": "Aucune source git trouvรฉe",- "oauth_id": "ID OAuth",- "oauth_id_explainer": "L'identifiant OAuth est l'identifiant unique de l'application GitLab. \n<br>Vous pouvez le trouver <span class='font-bold text-orange-600' >dans l'URL</span> de votre application GitLab OAuth.",- "permission_denied": "Vous n'รชtes pas autorisรฉ ร supprimer une source Git",- "register_oauth_gitlab": "Enregistrer une nouvelle application OAuth sur GitLab"- },- "sources": {- "local_docker": "Docker local",- "organization_explainer": "Remplissez-le si vous souhaitez utiliser une organisation comme source Git. \nSinon, votre utilisateur sera utilisรฉ.",- "remote_docker": "Station d'accueil ร distance"- },- "team": {- "accept": "J'accepte",- "admin": "Administrateur",- "delete": "Supprimer",- "invite_new_member": "Inviter un nouveau membre",- "invite_only_register_explainer": "Vous ne pouvez inviter que des utilisateurs enregistrรฉs pour le moment - sera bientรดt prolongรฉ.",- "invited_with_permissions": "Invitรฉ ร <span class=\"font-bold text-pink-600\">{{teamName}}</span> avec <span class=\"font-bold text-rose-600\">{{permission}}</span \n> autorisation.",- "member": "membre(s)",- "members": "Membres",- "pending_invitation": "Invitation en attente",- "pending_invitations": "Invitations en attente",- "permission": "Autorisation",- "promote_to": "Promouvoir ร {{grade}}",- "read": "Lire",- "revoke_invitation": "Rรฉvoquer l'invitation",- "root": "(suprรชme)",- "root_team_explainer": "Il s'agit de l'รฉquipe <span class='text-red-500 font-bold'>suprรชme</span>. \nCela signifie que les membres de ce groupe peuvent gรฉrer les paramรจtres ร l'รฉchelle de l'instance et avoir tous les privilรจges dans Coolify (imaginez comme un utilisateur root sous Linux).",- "send_invitation": "Envoyer une invitation",- "you": "Toi"- }-}diff --git a/apps/ui/src/lib/locales/ko.json b/apps/ui/src/lib/locales/ko.jsondeleted file mode 100644index e575f77401..0000000000--- a/apps/ui/src/lib/locales/ko.json+++ /dev/null@@ -1,341 +0,0 @@-{- "layout":{- "update_done":"์ ๋ฐ์ดํธ๊ฐ ์๋ฃ๋์์ต๋๋ค.",- "wait_new_version_startup":"์ ๋ฒ์ ์ด ์์๋๊ธฐ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ์ค...",- "new_version":"์ ๋ฒ์ ์ ์ฌ์ฉํ ์ ์์ต๋๋ค. ์๋ก๊ณ ์นจ ์ค...",- "switch_to_a_different_team":"๋ค๋ฅธํ์ผ๋ก ๊ฐ์ํ์ธ์...",- "update_available":"์ ๋ฐ์ดํธ ๊ฐ๋ฅ"- },- "error":{- "you_can_find_your_way_back":"๋์๊ฐ ๊ธธ์ ์ฐพ์ ์ ์๋ค",- "here":"์ฌ๊ธฐ",- "you_are_lost":"์ ๊ธธ์ ์์ผ์ จ๊ตฐ์! ๊ทธ๋ฌ๋ ๋๋ ค์ํ์ง ๋ง์ญ์์ค!"- },- "index":{- "dashboard":"๊ณ๊ธฐ๋ฐ",- "applications":"์ ํ๋ฆฌ์ผ์ด์ ",- "destinations":"๋ชฉ์ ์ง",- "git_sources":"ํ๋ด ์์ค",- "databases":"๋ฐ์ดํฐ๋ฒ ์ด์ค",- "services":"์๋น์ค",- "teams":"ํ",- "not_implemented_yet":"์์ง ๊ตฌํ๋์ง ์์",- "database":"๋ฐ์ดํฐ ๋ฒ ์ด์ค",- "settings":"์ค์ ",- "global_settings":"์ ์ญ ์ค์ ",- "secret":"๋น๋ฐ",- "team":"ํ",- "logout":"๋ก๊ทธ ์์"- },- "login":{- "already_logged_in":"์ด๋ฏธ ๋ก๊ทธ์ธ...",- "authenticating":"์ธ์ฆ ์ค...",- "login":"๋ก๊ทธ์ธ"- },- "forms":{- "password":"๋น๋ฐ๋ฒํธ",- "email":"์ด๋ฉ์ผ ์ฃผ์",- "passwords_not_match":"๋น๋ฐ๋ฒํธ๊ฐ ์ผ์นํ์ง ์์ต๋๋ค.",- "password_again":"๋น๋ฐ๋ฒํธ๋ฅผ ๋ค์",- "save":"๊ตฌํ๋ค",- "saving":"์ ์ฝ...",- "name":"์ด๋ฆ",- "value":"๊ฐ",- "action":"ํ์",- "is_required":"ํ์ํฉ๋๋ค.",- "add":"์ถ๊ฐํ๋ค",- "set":"์ธํธ",- "remove":"์ ๊ฑฐํ๋ค",- "path":"๊ธธ",- "confirm_continue":"๊ณ์ํ์๊ฒ ์ต๋๊น?",- "must_be_stopped_to_modify":"์์ ํ๋ ค๋ฉด ์ค์งํด์ผ ํฉ๋๋ค.",- "port":"ํฌํธ",- "default":"๊ธฐ๋ณธ",- "base_directory":"๊ธฐ๋ณธ ๋๋ ํ ๋ฆฌ",- "publish_directory":"๋๋ ํ ๋ฆฌ ๊ฒ์",- "generated_automatically_after_start":"์์ ํ ์๋์ผ๋ก ์์ฑ๋จ",- "roots_password":"๋ฃจํธ์ ๋น๋ฐ๋ฒํธ",- "root_user":"๋ฃจํธ ์ฌ์ฉ์",- "eg":"์",- "user":"์ฌ์ฉ์",- "loading":"๋ก๋ ์ค...",- "version":"๋ฒ์ ",- "host":"์ฃผ์ต์",- "already_used_for":"<span class=\"text-red-500\">{{type}}</span>์ด(๊ฐ) ์ด๋ฏธ ์ฌ์ฉ๋จ",- "configuration":"๊ตฌ์ฑ",- "engine":"์์ง",- "network":"ํ๋ก๋ง",- "ip_address":"IP ์ฃผ์",- "ssh_private_key":"SSH ๊ฐ์ธ ํค",- "type":"์ ํ",- "html_url":"HTML URL",- "api_url":"API URL",- "organization":"์กฐ์ง",- "new_password":"์ ๋น๋ฐ๋ฒํธ",- "super_secure_new_password":"๋งค์ฐ ์์ ํ ์ ๋น๋ฐ๋ฒํธ",- "submit":"์ ์ถํ๋ค",- "default_email_address":"๊ธฐ๋ณธ ์ด๋ฉ์ผ ์ฃผ์",- "default_password":"๊ธฐ๋ณธ ๋น๋ฐ๋ฒํธ",- "username":"์ฌ์ฉ์ ์ด๋ฆ",- "root_db_user":"๋ฃจํธ DB ์ฌ์ฉ์",- "root_db_password":"๋ฃจํธ DB ๋น๋ฐ๋ฒํธ",- "api_port":"API ํฌํธ",- "verifying":"ํ์ธ ์ค",- "verify_emails_without_smtp":"SMTP ์์ด ์ด๋ฉ์ผ ํ์ธ",- "extra_config":"์ถ๊ฐ ๊ตฌ์ฑ",- "select_a_service":"์๋น์ค ์ ํ",- "select_a_service_version":"์๋น์ค ๋ฒ์ ์ ํ",- "removing":"ํ์ด...",- "remove_domain":"๋๋ฉ์ธ ์ ๊ฑฐ",- "public_port_range":"๊ณต์ฉ ํฌํธ ๋ฒ์",- "public_port_range_explainer":"๋ฐ์ดํฐ๋ฒ ์ด์ค/์๋น์ค/๋ด๋ถ ์๋น์ค๋ฅผ ๋ ธ์ถํ๋ ๋ฐ ์ฌ์ฉ๋๋ ํฌํธ์ ๋๋ค.<br> ๋ฐฉํ๋ฒฝ์ ์ถ๊ฐํฉ๋๋ค(ํด๋น๋๋ ๊ฒฝ์ฐ).<br><br>ํฌํธ ๋ฒ์๋ฅผ ์ง์ ํ ์ ์์ต๋๋ค(์: <span class='text-settings '>). 9000-9100</span>",- "no_actions_available":"์ฌ์ฉ ๊ฐ๋ฅํ ์์ ์ด ์์ต๋๋ค.",- "admin_api_key":"๊ด๋ฆฌ API ํค"- },- "register":{- "register":"๋ฑ๋กํ๋ค",- "registering":"๋ฑ๋ก ์ค...",- "first_user":"์ฒซ ๋ฒ์งธ ์ฌ์ฉ์๋ฅผ ๋ฑ๋กํ๊ณ ์์ต๋๋ค. Coolify ์ธ์คํด์ค์ ๊ด๋ฆฌ์๊ฐ ๋ฉ๋๋ค."- },- "reset":{- "reset_password":"์ด๊ธฐํ",- "invalid_secret_key":"์๋ชป๋ ๋น๋ฐ ํค์ ๋๋ค.",- "secret_key":"๋น๋ฐ ํค",- "find_path_secret_key":"~/coolify/.env(COOLIFY_SECRET_KEY)์์ ์ฐพ์ ์ ์์ต๋๋ค."- },- "application":{- "configuration":{- "buildpack":{- "choose_this_one":"์ด๊ฑธ ์ ํ..."- },- "branch_already_in_use":"์ด ๋ถ๊ธฐ๋ ์ด๋ฏธ ๋ค๋ฅธ ์์ฉ ํ๋ก๊ทธ๋จ์์ ์ฌ์ฉํ๊ณ ์์ต๋๋ค. ์ด ๊ฒฝ์ฐ ๋ ์ ํ๋ฆฌ์ผ์ด์ ๋ชจ๋์ ๋ํด Webhook์ด ์๋ํ์ง ์์ต๋๋ค. ์ฌ์ฉํ์๊ฒ ์ต๋๊น?",- "no_repositories_configured":"Git ์ ํ๋ฆฌ์ผ์ด์ ์ ๋ํด ๊ตฌ์ฑ๋ ์ ์ฅ์๊ฐ ์์ต๋๋ค.",- "configure_it_now":"์ง๊ธ ๊ตฌ์ฑ",- "loading_repositories":"์ ์ฅ์ ๋ก๋ ์ค...",- "select_a_repository":"์ ์ฅ์๋ฅผ ์ ํํ์ญ์์ค",- "loading_branches":"๋ธ๋์น ๋ก๋ ์ค...",- "select_a_repository_first":"๋จผ์ ์ ์ฅ์๋ฅผ ์ ํํ์ญ์์ค",- "select_a_branch":"์ง์ ์ ์ ํํด ์ฃผ์ธ์",- "loading_groups":"๊ทธ๋ฃน ๋ก๋ ์ค...",- "select_a_group":"๊ทธ๋ฃน์ ์ ํํ์ธ์.",- "loading_projects":"ํ๋ก์ ํธ ๋ก๋ ์ค...",- "select_a_project":"ํ๋ก์ ํธ๋ฅผ ์ ํํ์ธ์.",- "no_projects_found":"ํ๋ก์ ํธ๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค.",- "no_branches_found":"์ง์ ์ ์ฐพ์ ์ ์์ต๋๋ค",- "configure_build_pack":"๋น๋ ํฉ ๊ตฌ์ฑ",- "scanning_repository_suggest_build_pack":"๋น๋ ํฉ์ ์ ์ํ๊ธฐ ์ํด ์ ์ฅ์๋ฅผ ๊ฒ์ํ๋ ์ค...",- "found_lock_file":"{{packageManager}}์ ๋ํ ์ ๊ธ ํ์ผ์ ์ฐพ์์ต๋๋ค.<br>์ฌ์ ์ ์๋ ๋ช ๋ น ๋ช ๋ น์ ์ฌ์ฉํฉ๋๋ค.",- "configure_destination":"๋์ ๊ตฌ์ฑ",- "no_configurable_destination":"๊ตฌ์ฑ ๊ฐ๋ฅํ ๋์์ ์ฐพ์ ์ ์์ต๋๋ค.",- "select_a_repository_project":"๋ฆฌํฌ์งํ ๋ฆฌ/ํ๋ก์ ํธ ์ ํ",- "select_a_git_source":"Git ์์ค ์ ํ",- "no_configurable_git":"๊ตฌ์ฑ ๊ฐ๋ฅํ Git ์์ค๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค.",- "configuration_missing":"๊ตฌ์ฑ ๋๋ฝ"- },- "build":{- "queued_waiting_exec":"ํ์ ๋ฃ๊ณ ์คํ์ ๊ธฐ๋ค๋ฆฌ๊ณ ์์ต๋๋ค.",- "build_logs_of":"๋น๋ ๋ก๊ทธ",- "running":"๋ฌ๋ฆฌ๊ธฐ",- "queued":"๋๊ธฐ ์ค",- "finished_in":"์๋ฃ",- "load_more":"๋ ์ฐพ์๋ณด๊ธฐ",- "no_logs":"๋ก๊ทธ๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค.",- "waiting_logs":"๋ก๊ทธ๋ฅผ ๊ธฐ๋ค๋ฆฌ๋ ์ค..."- },- "preview":{- "need_during_buildtime":"๋น๋ ์๊ฐ์ ํ์ํ์ญ๋๊น?",- "setup_secret_app_first":"PR/MR ๋ฐฐํฌ์ ๋น๋ฐ์ ์ถ๊ฐํ ์ ์์ต๋๋ค. ๋จผ์ ์์ฉ ํ๋ก๊ทธ๋จ์ ๋น๋ฐ์ ์ถ๊ฐํ์ญ์์ค. <br><span class='text-settings '>์คํ ์ด์ง</span> ํ๊ฒฝ์ ๋ง๋๋ ๋ฐ ์ ์ฉํฉ๋๋ค.",- "values_overwriting_app_secrets":"์ด๋ฌํ ๊ฐ์ PR/MR ๋ฐฐํฌ์์ ์ ํ๋ฆฌ์ผ์ด์ ๋น๋ฐ์ ๋ฎ์ด์๋๋ค. <span class='text-settings '>์คํ ์ด์ง</span> ํ๊ฒฝ์ ๋ง๋๋ ๋ฐ ์ ์ฉํฉ๋๋ค.",- "redeploy":"์ฌ๋ฐฐํฌ",- "no_previews_available":"์ฌ์ฉ ๊ฐ๋ฅํ ๋ฏธ๋ฆฌ๋ณด๊ธฐ๊ฐ ์์ต๋๋ค."- },- "secrets":{- "secret_saved":"๋น๋ฐ์ด ์ ์ฅ๋์์ต๋๋ค.",- "use_isbuildsecret":"isBuildSecret ์ฌ์ฉ",- "secrets_for":"๋น๋ฐ"- },- "storage":{- "path_is_required":"๊ฒฝ๋ก๋ ํ์ ํญ๋ชฉ์ ๋๋ค.",- "storage_saved":"์ ์ฅ์ฉ๋์ด ์ ์ฅ๋์์ต๋๋ค.",- "storage_updated":"์คํ ๋ฆฌ์ง๊ฐ ์ ๋ฐ์ดํธ๋์์ต๋๋ค.",- "storage_deleted":"์คํ ๋ฆฌ์ง๊ฐ ์ญ์ ๋์์ต๋๋ค.",- "persistent_storage_explainer":"๋ฐฐํฌ ๊ฐ์ ์ ์งํ๋ ค๋ ๋ชจ๋ ํด๋๋ฅผ ์ง์ ํ ์ ์์ต๋๋ค.<br><span class='text-settings '>/example</span>์ <span class='text-settings '>/app/๋ฅผ ๋ณด์กดํจ์ ์๋ฏธํฉ๋๋ค. <span class='text-settings '>/app</span>๊ณผ ๊ฐ์ ์ปจํ ์ด๋์ example</span>์ ์ ํ๋ฆฌ์ผ์ด์ ์ <span class='text-settings '>๋ฃจํธ ๋๋ ํ ๋ฆฌ</span>์ ๋๋ค.<br> <br><span class='text-settings '>๋ฐ์ดํฐ๋ฒ ์ด์ค(SQLite)</span> ๋๋ <span class='text-settings '>์บ์</span>์ ๊ฐ์ ๋ฐ์ดํฐ๋ฅผ ์ ์ฅํ๋ ๋ฐ ์ ์ฉํฉ๋๋ค."- },- "deployment_queued":"๋ฐฐํฌ๊ฐ ๋๊ธฐ ์ค์ ๋๋ค.",- "confirm_to_delete":"'{{name}}'์(๋ฅผ) ์ญ์ ํ์๊ฒ ์ต๋๊น?",- "stop_application":"์ ํ๋ฆฌ์ผ์ด์ ์ค์ง",- "permission_denied_stop_application":"์ ํ๋ฆฌ์ผ์ด์ ์ ์ค์งํ ๊ถํ์ด ์์ต๋๋ค.",- "rebuild_application":"์ ํ๋ฆฌ์ผ์ด์ ์ฌ๊ตฌ์ถ",- "permission_denied_rebuild_application":"์ ํ๋ฆฌ์ผ์ด์ ์ ๋ค์ ๋น๋ํ ๊ถํ์ด ์์ต๋๋ค.",- "build_and_start_application":"๋ฐฐํฌ",- "permission_denied_build_and_start_application":"์ ํ๋ฆฌ์ผ์ด์ ์ ๋ฐฐํฌํ ๊ถํ์ด ์์ต๋๋ค.",- "configurations":"๊ตฌ์ฑ",- "secret":"๋น๋ฐ",- "persistent_storage":"์๊ตฌ ์คํ ๋ฆฌ์ง",- "previews":"๋ฏธ๋ฆฌ๋ณด๊ธฐ",- "logs":"์ ํ๋ฆฌ์ผ์ด์ ๋ก๊ทธ",- "build_logs":"๋น๋ ๋ก๊ทธ",- "delete_application":"์ญ์ ",- "permission_denied_delete_application":"์ด ์ ํ๋ฆฌ์ผ์ด์ ์ ์ญ์ ํ ๊ถํ์ด ์์ต๋๋ค.",- "domain_already_in_use":"๋๋ฉ์ธ {{domain}}์(๋) ์ด๋ฏธ ์ฌ์ฉ ์ค์ ๋๋ค.",- "dns_not_set_error":"DNS๊ฐ ์ฌ๋ฐ๋ฅด๊ฒ ์ค์ ๋์ง ์์๊ฑฐ๋ {{domain}}์ ๋ํด ์ ํ๋์์ต๋๋ค.<br><br>DNS ์ค์ ์ ํ์ธํ์ญ์์ค.",- "domain_required":"๋๋ฉ์ธ์ ํ์ ํญ๋ชฉ์ ๋๋ค.",- "settings_saved":"๊ตฌ์ฑ์ด ์ ์ฅ๋์์ต๋๋ค.",- "dns_not_set_partial_error":"DNS๊ฐ ์ค์ ๋์ง ์์์ต๋๋ค.",- "domain_not_valid":"๋๋ฉ์ธ์ ํ์ธํ ์ ์๊ฑฐ๋ ์๋ฒ IP ์ฃผ์๋ฅผ ๊ฐ๋ฆฌํค์ง ์์ต๋๋ค.<br><br>DNS ๊ตฌ์ฑ์ ํ์ธํ๊ณ ๋ค์ ์๋ํ์ญ์์ค.",- "git_source":"ํ๋ด ์์ค",- "git_repository":"Git ์ ์ฅ์",- "build_pack":"๋น๋ ํฉ",- "base_image":"๋ฐฐํฌ ์ด๋ฏธ์ง",- "base_image_explainer":"๋ฐฐํฌ์ ์ฌ์ฉํ ์ด๋ฏธ์ง์ ๋๋ค.",- "base_build_image":"๋น๋ ์ด๋ฏธ์ง",- "base_build_image_explainer":"๋น๋ ํ๋ก์ธ์ค ์ค์ ์ฌ์ฉ๋ ์ด๋ฏธ์ง์ ๋๋ค.",- "destination":"๋ชฉ์ ์ง",- "application":"์ ์ฒญ",- "url_fqdn":"URL(FQDN)",- "domain_fqdn":"๋๋ฉ์ธ(FQDN)",- "https_explainer":"<span class='text-settings '>https</span>๋ฅผ ์ง์ ํ๋ฉด https๋ฅผ ํตํด์๋ง ์ ํ๋ฆฌ์ผ์ด์ ์ ์ก์ธ์คํ ์ ์์ต๋๋ค. SSL ์ธ์ฆ์๊ฐ ์์ฑ๋ฉ๋๋ค.<br><span class='text-settings '>www</span>๋ฅผ ์ง์ ํ๋ฉด ์ ํ๋ฆฌ์ผ์ด์ ์ด www๊ฐ ์๋ โโ๊ณณ์์ ๋ฆฌ๋๋ ์ (302)๋๊ฑฐ๋ ๊ทธ ๋ฐ๋์ ๊ฒฝ์ฐ๋ ๋ง์ฐฌ๊ฐ์ง์ ๋๋ค.<br>< br>๋๋ฉ์ธ์ ์์ ํ๋ ค๋ฉด ๋จผ์ ์ ํ๋ฆฌ์ผ์ด์ ์ ์ค์งํด์ผ ํฉ๋๋ค.<br><br><span class='text-white '>๋ฏธ๋ฆฌ DNS๊ฐ ์๋ฒ IP๋ฅผ ๊ฐ๋ฆฌํค๋๋ก ์ค์ ํด์ผ ํฉ๋๋ค.</span>",- "ssl_www_and_non_www":"www ๋ฐ www๊ฐ ์๋ SSL์ ์์ฑํ์๊ฒ ์ต๋๊น?",- "ssl_explainer":"www ๋ฐ non-www ๋ชจ๋์ ๋ํ ์ธ์ฆ์๋ฅผ ์์ฑํฉ๋๋ค. <br>๋ฏธ๋ฆฌ <span class=' text-settings'>๋ DNS ํญ๋ชฉ</span>์ ์ค์ ํด์ผ ํฉ๋๋ค.<br><br>๋ DNS ํญ๋ชฉ ๋ชจ๋์ ๋ฐฉ๋ฌธ์๊ฐ ์์ ๊ฒ์ผ๋ก ์์๋๋ ๊ฒฝ์ฐ ์ ์ฉํฉ๋๋ค.",- "install_command":"์ค์น ๋ช ๋ น",- "build_command":"๋น๋ ๋ช ๋ น",- "start_command":"์์ ๋ช ๋ น",- "directory_to_use_explainer":"๋ชจ๋ ๋ช ๋ น์ ๊ธฐ๋ฐ์ผ๋ก ์ฌ์ฉํ ๋๋ ํ ๋ฆฌ์ ๋๋ค.<br><span class='text-settings '>monorepos</span>์ ํจ๊ป ์ ์ฉํ ์ ์์ต๋๋ค.",- "publish_directory_explainer":"๋ฐฐํฌ๋ฅผ ์ํ ๋ชจ๋ ์์ฐ์ด ํฌํจ๋ ๋๋ ํฐ๋ฆฌ์ ๋๋ค. <br> ์: <span class='text-settings '>dist</span>,<span class='text-settings '>_site</span> ๋๋ <span class='text-settings '>public< /์คํฌ>.",- "features":"ํน์ง",- "enable_automatic_deployment":"์๋ ๋ฐฐํฌ ํ์ฑํ",- "enable_auto_deploy_webhooks":"์นํ ์ ํตํ ์๋ ๋ฐฐํฌ๋ฅผ ํ์ฑํํฉ๋๋ค.",- "enable_mr_pr_previews":"MR/PR ๋ฏธ๋ฆฌ๋ณด๊ธฐ ํ์ฑํ",- "expose_a_port":"ํฌํธ ๋ ธ์ถ",- "enable_preview_deploy_mr_pr_requests":"๋์ด์ค๊ธฐ ๋๋ ๋ณํฉ ์์ฒญ์์ ๋ฏธ๋ฆฌ๋ณด๊ธฐ ๋ฐฐํฌ๋ฅผ ํ์ฑํํฉ๋๋ค.",- "debug_logs":"๋๋ฒ๊ทธ ๋ก๊ทธ",- "enable_debug_log_during_build":"๋น๋ ๋จ๊ณ์์ ๋๋ฒ๊ทธ ๋ก๊ทธ๋ฅผ ํ์ฑํํฉ๋๋ค.<br><span class='text-settings '>๋ฏผ๊ฐํ ์ ๋ณด</span>๊ฐ ํ์๋๊ณ ๋ก๊ทธ์ ์ ์ฅ๋ ์ ์์ต๋๋ค.",- "cant_activate_auto_deploy_without_repo":"์ด ๋ฆฌํฌ์งํ ๋ฆฌ/๋ถ๊ธฐ์ ๋ํด ํ๋์ ์ ํ๋ฆฌ์ผ์ด์ ๋ง ์ ์๋ ๋๊น์ง ์๋ ๋ฐฐํฌ๋ฅผ ํ์ฑํํ ์ ์์ต๋๋ค.",- "no_applications_found":"์ ํ๋ฆฌ์ผ์ด์ ์ ์ฐพ์ ์ ์์ต๋๋ค.",- "secret__batch_dot_env":".env ํ์ผ ๋ถ์ฌ๋ฃ๊ธฐ",- "batch_secrets":"์ผ๊ด ์ถ๊ฐ ๋น๋ฐ"- },- "general":"์ผ๋ฐ์ ์ธ",- "database":{- "default_database":"๊ธฐ๋ณธ ๋ฐ์ดํฐ๋ฒ ์ด์ค",- "generated_automatically_after_set_to_public":"public์ผ๋ก ์ค์ ํ ์๋ ์์ฑ",- "connection_string":"์ฐ๊ฒฐ ๋ฌธ์์ด",- "set_public":"๊ณต๊ฐ ์ค์ ",- "warning_database_public":"์ธํฐ๋ท์ ํตํด ๋ฐ์ดํฐ๋ฒ ์ด์ค์ ์ฐ๊ฒฐํ ์ ์์ต๋๋ค. <br>์ด ๊ฒฝ์ฐ ๋ณด์์ ์ฌ๊ฐํ๊ฒ ์๊ฐํ์ญ์์ค!",- "change_append_only_mode":"์ถ๊ฐ ์ ์ฉ ๋ชจ๋ ๋ณ๊ฒฝ",- "warning_append_only":"๋ฐฑ์ ์์ redis ๋ฐ์ดํฐ๋ฅผ ๋ณต์ํ๋ ค๋ ๊ฒฝ์ฐ์ ์ ์ฉํฉ๋๋ค.<br><span class=' text-white'>๋ฐ์ดํฐ๋ฒ ์ด์ค๋ฅผ ๋ค์ ์์ํด์ผ ํฉ๋๋ค.</span>",- "select_database_type":"๋ฐ์ดํฐ๋ฒ ์ด์ค ์ ํ ์ ํ",- "select_database_version":"๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ฒ์ ์ ํ",- "confirm_stop":"{{name}}์(๋ฅผ) ์ค์งํ์๊ฒ ์ต๋๊น?",- "stop_database":"์ค์ง",- "permission_denied_stop_database":"๋ฐ์ดํฐ๋ฒ ์ด์ค๋ฅผ ์ค์งํ ๊ถํ์ด ์์ต๋๋ค.",- "start_database":"์์",- "permission_denied_start_database":"๋ฐ์ดํฐ๋ฒ ์ด์ค๋ฅผ ์์ํ ๊ถํ์ด ์์ต๋๋ค.",- "delete_database":"์ญ์ ",- "permission_denied_delete_database":"๋ฐ์ดํฐ๋ฒ ์ด์ค๋ฅผ ์ญ์ ํ ๊ถํ์ด ์์ต๋๋ค.",- "no_databases_found":"๋ฐ์ดํฐ๋ฒ ์ด์ค๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค.",- "logs":"๋ก๊ทธ"- },- "destination":{- "delete_destination":"์ญ์ ",- "permission_denied_delete_destination":"์ด ๋ชฉ์ ์ง๋ฅผ ์ญ์ ํ ๊ถํ์ด ์์ต๋๋ค.",- "add_to_coolify":"Coolify์ ์ถ๊ฐ",- "coolify_proxy_stopped":"Coolify ํ๋ก์๊ฐ ์ค์ง๋์์ต๋๋ค!",- "coolify_proxy_started":"Coolify ํ๋ก์๊ฐ ์์๋์์ต๋๋ค!",- "confirm_restart_proxy":"ํ๋ก์๋ฅผ ๋ค์ ์์ํ์๊ฒ ์ต๋๊น? ๋ชจ๋ ๊ฒ์ด ~10์ด ์์ ์ฌ๊ตฌ์ฑ๋ฉ๋๋ค.",- "coolify_proxy_restarting":"Coolify ํ๋ก์ ๋ค์ ์์ ์ค...",- "restarting_please_wait":"๋ค์ ์์ ์ค์ ๋๋ค... ์ ์๋ง ๊ธฐ๋ค๋ ค ์ฃผ์ญ์์ค...",- "force_restart_proxy":"๊ฐ์ ์ฌ์์ ํ๋ก์",- "use_coolify_proxy":"Coolify ํ๋ก์๋ฅผ ์ฌ์ฉํ์๊ฒ ์ต๋๊น?",- "no_destination_found":"๋ชฉ์ ์ง๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค",- "new_error_network_already_exists":"๋ค๋ฅธ ํ์ ๋ํด ๋คํธ์ํฌ {{network}}์ด(๊ฐ) ์ด๋ฏธ ๊ตฌ์ฑ๋์์ต๋๋ค!",- "new":{- "saving_and_configuring_proxy":"์ ์ฝ...",- "install_proxy":"๊ทธ๋ฌ๋ฉด ์๋ ๊ตฌ์ฑ ์์ด ์ ํ๋ฆฌ์ผ์ด์ ๊ณผ ์๋น์ค์ ์ก์ธ์คํ ์ ์๋๋ก ๋์์ ํ๋ก์๊ฐ ์ค์น๋ฉ๋๋ค(Docker์ ๊ถ์ฅ๋จ).<br><br>๋ฐ์ดํฐ๋ฒ ์ด์ค์๋ ์์ฒด ํ๋ก์๊ฐ ์์ต๋๋ค.",- "add_new_destination":"์ ๋ชฉ์ ์ง ์ถ๊ฐ",- "predefined_destinations":"์ฌ์ ์ ์๋ ๋ชฉ์ ์ง"- }- },- "sources":{- "local_docker":"๋ก์ปฌ ๋์ปค",- "remote_docker":"์๊ฒฉ ๋์ปค",- "organization_explainer":"์กฐ์ง์ Git ์์ค๋ก ์ฌ์ฉํ๋ ค๋ฉด ์ ๋ ฅํ์ญ์์ค. ๊ทธ๋ ์ง ์์ผ๋ฉด ์ฌ์ฉ์๊ฐ ์ฌ์ฉ๋ฉ๋๋ค."- },- "source":{- "new":{- "git_source":"์ Git ์์ค ์ถ๊ฐ",- "official_providers":"๊ณต์ ์ ๊ณต์ ์ฒด"- },- "no_git_sources_found":"git ์์ค๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค.",- "delete_git_source":"์ญ์ ",- "permission_denied":"Git ์์ค๋ฅผ ์ญ์ ํ ๊ถํ์ด ์์ต๋๋ค.",- "create_new_app":"์ {{name}} ์ฑ ๋ง๋ค๊ธฐ",- "change_app_settings":"{{name}} ์ฑ ์ค์ ๋ณ๊ฒฝ",- "install_repositories":"์ ์ฅ์ ์ค์น",- "application_id":"์ ํ๋ฆฌ์ผ์ด์ ID",- "group_name":"๊ทธ๋ฃน ์ด๋ฆ",- "oauth_id":"์ธ์ฆ ID",- "oauth_id_explainer":"OAuth ID๋ GitLab ์ ํ๋ฆฌ์ผ์ด์ ์ ๊ณ ์ ์๋ณ์์ ๋๋ค. <br>GitLab OAuth ์ ํ๋ฆฌ์ผ์ด์ ์ <span class=' text-settings' >URL</span>์์ ์ฐพ์ ์ ์์ต๋๋ค.",- "register_oauth_gitlab":"GitLab์ ์ OAuth ์ ํ๋ฆฌ์ผ์ด์ ๋ฑ๋ก",- "gitlab":{- "self_hosted":"์ธ์คํด์ค ์ ์ฒด ์ ํ๋ฆฌ์ผ์ด์ (์์ฒด ํธ์คํ )",- "user_owned":"์ฌ์ฉ์ ์์ ์ ํ๋ฆฌ์ผ์ด์ ",- "group_owned":"๊ทธ๋ฃน ์์ ์ ํ๋ฆฌ์ผ์ด์ ",- "gitlab_application_type":"GitLab ์ ํ๋ฆฌ์ผ์ด์ ์ ํ",- "already_configured":"GitLab ์ฑ์ด ์ด๋ฏธ ๊ตฌ์ฑ๋์ด ์์ต๋๋ค."- },- "github":{- "redirecting":"Github์ผ๋ก ๋ฆฌ๋๋ ์ ์ค..."- }- },- "services":{- "all_email_verified":"๋ชจ๋ ์ด๋ฉ์ผ์ด ํ์ธ๋์์ต๋๋ค. ์ง๊ธ ๋ก๊ทธ์ธํ ์ ์์ต๋๋ค.",- "generate_www_non_www_ssl":"www ๋ฐ non-www ๋ชจ๋์ ๋ํ ์ธ์ฆ์๋ฅผ ์์ฑํฉ๋๋ค. <br>๋ฏธ๋ฆฌ <span class='text-settings'>๋ DNS ํญ๋ชฉ</span>์ ์ค์ ํด์ผ ํฉ๋๋ค.<br><br>์๋น์ค๋ฅผ ๋ค์ ์์ํด์ผ ํฉ๋๋ค."- },- "service":{- "stop_service":"์ค์ง",- "permission_denied_stop_service":"์๋น์ค๋ฅผ ์ค์งํ ๊ถํ์ด ์์ต๋๋ค.",- "start_service":"์์",- "permission_denied_start_service":"์๋น์ค๋ฅผ ์์ํ ๊ถํ์ด ์์ต๋๋ค.",- "delete_service":"์ญ์ ",- "permission_denied_delete_service":"์๋น์ค๋ฅผ ์ญ์ ํ ๊ถํ์ด ์์ต๋๋ค.",- "no_service":"์๋น์ค๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค.",- "logs":"๋ก๊ทธ"- },- "setting":{- "change_language":"์ธ์ด ๋ณ๊ฒฝ",- "permission_denied":"์ด ์์ ์ ์ํํ ๊ถํ์ด ์์ต๋๋ค. \\n๊ด๋ฆฌ์์๊ฒ ๊ถํ ์์ ์ ์์ฒญํ์ธ์.",- "domain_removed":"๋๋ฉ์ธ์ด ์ญ์ ๋จ",- "ssl_explainer":"<span class='text-settings'>https</span>๋ฅผ ์ง์ ํ๋ฉด Coolify๋ https๋ฅผ ํตํด์๋ง ์ก์ธ์คํ ์ ์์ต๋๋ค. SSL ์ธ์ฆ์๊ฐ ์๋์ผ๋ก ์์ฑ๋ฉ๋๋ค.<br><span class='text-settings '>www</span>๋ฅผ ์ง์ ํ๋ฉด Coolify๊ฐ www๊ฐ ์๋ โโ๊ณณ์์ ๋ฆฌ๋๋ ์ (302)๋๊ฑฐ๋ ๊ทธ ๋ฐ๋์ ๊ฒฝ์ฐ๋ ๋ง์ฐฌ๊ฐ์ง์ ๋๋ค.<br><br ><span class='text-settings '>๊ฒฝ๊ณ :</span> ์ด๋ฏธ ์ค์ ๋ ๋๋ฉ์ธ์ ๋ณ๊ฒฝํ๋ฉด ์นํ ๋ฐ ๊ธฐํ ํตํฉ์ด ์ค๋จ๋ฉ๋๋ค! ์๋์ผ๋ก ์ ๋ฐ์ดํธํด์ผ ํฉ๋๋ค.",- "must_remove_domain_before_changing":"์ด ์ค์ ์ ๋ณ๊ฒฝํ๋ ค๋ฉด ๋จผ์ ๋๋ฉ์ธ์ ์ ๊ฑฐํด์ผ ํฉ๋๋ค.",- "registration_allowed":"๋ฑ๋ก์ด ํ์ฉ๋ฉ๋๊น?",- "registration_allowed_explainer":"์ ํ๋ฆฌ์ผ์ด์ ์ ๋ํ ์ถ๊ฐ ๋ฑ๋ก์ ํ์ฉํฉ๋๋ค. <br>์ต์ด ๋ฑ๋ก ํ์๋ ๊บผ์ ธ ์์ต๋๋ค.",- "coolify_proxy_settings":"Coolify ํ๋ก์ ์ค์ ",- "credential_stat_explainer":"<a class=\"text-white \" href=\"{{link}}\" target=\"_blank\">ํต๊ณ</a> ํ์ด์ง์ ๋ํ ์๊ฒฉ ์ฆ๋ช ์ ๋๋ค.",- "auto_update_enabled":"์๋ ์ ๋ฐ์ดํธ๊ฐ ํ์ฑํ๋์์ต๋๊น?",- "auto_update_enabled_explainer":"Coolify์ ๋ํ ์๋ ์ ๋ฐ์ดํธ๋ฅผ ํ์ฑํํฉ๋๋ค. ์คํ ์ค์ธ ๋น๋ ํ๋ก์ธ์ค๊ฐ ์๋ ๊ฒฝ์ฐ ๋ฐฐํ์์ ์๋์ผ๋ก ์ํ๋ฉ๋๋ค.",- "generate_www_non_www_ssl":"www ๋ฐ non-www ๋ชจ๋์ ๋ํ ์ธ์ฆ์๋ฅผ ์์ฑํฉ๋๋ค. <br>๋ฏธ๋ฆฌ <span class=' text-settings'>๋ DNS ํญ๋ชฉ</span>์ ์ค์ ํด์ผ ํฉ๋๋ค.",- "is_dns_check_enabled":"DNS ํ์ธ์ด ํ์ฑํ๋์์ต๋๊น?",- "is_dns_check_enabled_explainer":"SSL ์ธ์ฆ์๋ฅผ ์์ฑํ๊ธฐ ์ ์ DNS ํ์ธ์ ๋นํ์ฑํํ ์ ์์ต๋๋ค.<br><br>Coolify๊ฐ ์ญ๋ฐฉํฅ ํ๋ก์ ๋๋ ํฐ๋ ๋ค์ ์์ ๋ ๋นํ์ฑํํ๋ ๊ฒ์ด ์ ์ฉํฉ๋๋ค."- },- "team":{- "pending_invitations":"๋๊ธฐ ์ค์ธ ์ด๋",- "accept":"์์ฉํ๋ค",- "delete":"์ญ์ ",- "member":"ํ์",- "root":"(๋ฟ๋ฆฌ)",- "invited_with_permissions":"<span class=\" text-rose-600\">{{permission}}</span> ๊ถํ์ผ๋ก <span class=\" text-settings\">{{teamName}}</span>์ ์ด๋๋์์ต๋๋ค.",- "members":"ํ์",- "root_team_explainer":"<span class='text-red-500 '>๋ฃจํธ</span> ํ์ ๋๋ค. ์ฆ, ์ด ๊ทธ๋ฃน์ ๊ตฌ์ฑ์์ ์ธ์คํด์ค ์ ์ฒด ์ค์ ์ ๊ด๋ฆฌํ๊ณ Coolify์ ๋ชจ๋ ๊ถํ์ ๊ฐ์ง ์ ์์ต๋๋ค(Linux์ ๋ฃจํธ ์ฌ์ฉ์์ ๊ฐ์ ๊ฒฝ์ฐ).",- "permission":"ํ๊ฐ",- "you":"๋",- "promote_to":"{{grade}}(์ผ)๋ก ์น๊ฒฉ",- "revoke_invitation":"์ด๋ ์ทจ์",- "pending_invitation":"๋๊ธฐ ์ค์ธ ์ด๋",- "invite_new_member":"์ ํ์ ์ด๋",- "send_invitation":"์ด๋์ฅ์ ๋ณด๋ด๋ค",- "invite_only_register_explainer":"๋ฑ๋ก๋ ์ฌ์ฉ์๋ง ์ด๋ํ ์ ์์ต๋๋ค.",- "admin":"๊ด๋ฆฌ์",- "read":"์ฝ๋ค"- }-}\ No newline at end of filediff --git a/apps/ui/src/lib/locales/pt.json b/apps/ui/src/lib/locales/pt.jsondeleted file mode 100644index 0ac5deb463..0000000000--- a/apps/ui/src/lib/locales/pt.json+++ /dev/null@@ -1,341 +0,0 @@-{- "layout":{- "update_done":"Atualizaรงรฃo completa.",- "wait_new_version_startup":"Aguardando a nova versรฃo iniciar...",- "new_version":"Nova versรฃo acessรญvel. Recarregando...",- "switch_to_a_different_team":"Mudar para uma equipa diferente...",- "update_available":"Atualizaรงรฃo disponรญvel"- },- "error":{- "you_can_find_your_way_back":"Vocรช pode encontrar o seu caminho de volta",- "here":"aqui",- "you_are_lost":"Ooops vocรช estรก perdido! Mas nรฃo tenha medo!"- },- "index":{- "dashboard":"Painel",- "applications":"Formulรกrios",- "destinations":"Destinos",- "git_sources":"Fontes Git",- "databases":"Bancos de dados",- "services":"Serviรงos",- "teams":"Equipes",- "not_implemented_yet":"Ainda nรฃo implementado",- "database":"Base de dados",- "settings":"Definiรงรตes",- "global_settings":"Configuraรงรตes globais",- "secret":"Segredo",- "team":"Equipe",- "logout":"Sair"- },- "login":{- "already_logged_in":"Jรก logado...",- "authenticating":"Autenticando...",- "login":"Conecte-se"- },- "forms":{- "password":"Senha",- "email":"Endereรงo de email",- "passwords_not_match":"As senhas nรฃo coincidem.",- "password_again":"Senha novamente",- "save":"Salvar",- "saving":"Salvando...",- "name":"Nome",- "value":"Valor",- "action":"Aรงรตes",- "is_required":"ร necessรกrio.",- "add":"Adicionar",- "set":"Definir",- "remove":"Remover",- "path":"Caminho",- "confirm_continue":"Tem certeza de continuar?",- "must_be_stopped_to_modify":"Deve ser parado para modificar.",- "port":"Porta",- "default":"predefiniรงรฃo",- "base_directory":"Diretรณrio base",- "publish_directory":"Publicar diretรณrio",- "generated_automatically_after_start":"Gerado automaticamente apรณs o inรญcio",- "roots_password":"Senha do Root",- "root_user":"Usuรกrio raiz",- "eg":"por exemplo",- "user":"Do utilizador",- "loading":"Carregando...",- "version":"Versรฃo",- "host":"Hospedeiro",- "already_used_for":"<span class=\"text-red-500\">{{type}}</span> jรก usado para",- "configuration":"Configuraรงรฃo",- "engine":"Motor",- "network":"Rede",- "ip_address":"Endereรงo de IP",- "ssh_private_key":"Chave privada SSH",- "type":"Modelo",- "html_url":"URL HTML",- "api_url":"URL da API",- "organization":"Organizaรงรฃo",- "new_password":"Nova Senha",- "super_secure_new_password":"Nova senha super segura",- "submit":"Enviar",- "default_email_address":"Endereรงo de e-mail padrรฃo",- "default_password":"Senha padrรฃo",- "username":"Nome de usuรกrio",- "root_db_user":"Usuรกrio raiz do banco de dados",- "root_db_password":"Senha do banco de dados raiz",- "api_port":"Porta API",- "verifying":"Verificando",- "verify_emails_without_smtp":"Verifique e-mails sem SMTP",- "extra_config":"Configuraรงรฃo extra",- "select_a_service":"Selecione um serviรงo",- "select_a_service_version":"Selecione uma versรฃo do serviรงo",- "removing":"Removendo...",- "remove_domain":"Remover domรญnio",- "public_port_range":"Intervalo de portas pรบblicas",- "public_port_range_explainer":"Portas usadas para expor bancos de dados/serviรงos/serviรงos internos.<br> Adicione-os ao seu firewall (se aplicรกvel).<br><br>Vocรช pode especificar um intervalo de portas, por exemplo: <span class='text-settings '> 9000-9100</span>",- "no_actions_available":"Nenhuma aรงรฃo disponรญvel",- "admin_api_key":"Chave de API de administrador"- },- "register":{- "register":"Registro",- "registering":"Registrando...",- "first_user":"Vocรช estรก registrando o primeiro usuรกrio. Serรก o administrador da sua instรขncia Coolify."- },- "reset":{- "reset_password":"Redefinir",- "invalid_secret_key":"Chave secreta invรกlida.",- "secret_key":"Chave secreta",- "find_path_secret_key":"Vocรช pode encontrรก-lo em ~/coolify/.env (COOLIFY_SECRET_KEY)"- },- "application":{- "configuration":{- "buildpack":{- "choose_this_one":"Escolha este..."- },- "branch_already_in_use":"Esta ramificaรงรฃo jรก รฉ usada por outro aplicativo. Os webhooks nรฃo funcionarรฃo neste caso para ambos os aplicativos. Tem certeza de que deseja usรก-lo?",- "no_repositories_configured":"Nenhum repositรณrio configurado para seu aplicativo Git.",- "configure_it_now":"Configure agora",- "loading_repositories":"Carregando repositรณrios...",- "select_a_repository":"Selecione um repositรณrio",- "loading_branches":"Carregando ramos...",- "select_a_repository_first":"Selecione um repositรณrio primeiro",- "select_a_branch":"Selecione uma filial",- "loading_groups":"Carregando grupos...",- "select_a_group":"Selecione um grupo",- "loading_projects":"Carregando projetos...",- "select_a_project":"Por favor selecione um projeto",- "no_projects_found":"Nenhum projeto encontrado",- "no_branches_found":"Nenhuma ramificaรงรฃo encontrada",- "configure_build_pack":"Configurar pacote de compilaรงรฃo",- "scanning_repository_suggest_build_pack":"Verificando repositรณrio para sugerir um pacote de compilaรงรฃo para vocรช...",- "found_lock_file":"Arquivo de bloqueio encontrado para {{packageManager}}.<br>Usando-o para comandos de comandos predefinidos.",- "configure_destination":"Configurar destino",- "no_configurable_destination":"Nenhum destino configurรกvel encontrado",- "select_a_repository_project":"Selecione um Repositรณrio/Projeto",- "select_a_git_source":"Selecione uma fonte Git",- "no_configurable_git":"Nenhuma fonte Git configurรกvel encontrada",- "configuration_missing":"Configuraรงรฃo ausente"- },- "build":{- "queued_waiting_exec":"Na fila e aguardando execuรงรฃo.",- "build_logs_of":"Construir registros de",- "running":"Corrida",- "queued":"Enfileiradas",- "finished_in":"Terminando em",- "load_more":"Carregue mais",- "no_logs":"Nenhum registro encontrado",- "waiting_logs":"Aguardando os logs..."- },- "preview":{- "need_during_buildtime":"Precisa durante o tempo de construรงรฃo?",- "setup_secret_app_first":"Vocรช pode adicionar segredos a implantaรงรตes de PR/MR. Por favor, adicione segredos ao aplicativo primeiro. <br>รtil para criar ambientes de <span class='text-settings '>preparaรงรฃo</span>.",- "values_overwriting_app_secrets":"Esses valores substituem os segredos do aplicativo em implantaรงรตes PR/MR. รtil para criar ambientes de <span class='text-settings '>preparaรงรฃo</span>.",- "redeploy":"Reimplantar",- "no_previews_available":"Nenhuma visualizaรงรฃo disponรญvel"- },- "secrets":{- "secret_saved":"Segredo salvo.",- "use_isbuildsecret":"Use isBuildSecret",- "secrets_for":"Segredos para"- },- "storage":{- "path_is_required":"O caminho รฉ obrigatรณrio.",- "storage_saved":"Armazenamento salvo.",- "storage_updated":"Armazenamento atualizado.",- "storage_deleted":"Armazenamento excluรญdo.",- "persistent_storage_explainer":"Vocรช pode especificar qualquer pasta que deseja que seja persistente nas implantaรงรตes.<br><span class='text-settings '>/example</span> significa que ela preservarรก <span class='text-settings '>/app/ example</span> no contรชiner, pois <span class='text-settings '>/app</span> รฉ <span class='text-settings '>o diretรณrio raiz</span> para seu aplicativo.<br> <br>Isto รฉ รบtil para armazenar dados como um <span class='text-settings '>banco de dados (SQLite)</span> ou um <span class='text-settings '>cache</span>."- },- "deployment_queued":"Implantaรงรฃo em fila.",- "confirm_to_delete":"Tem certeza de que deseja excluir '{{name}}'?",- "stop_application":"Parar aplicativo",- "permission_denied_stop_application":"Vocรช nรฃo tem permissรฃo para parar o aplicativo.",- "rebuild_application":"Reconstruir aplicativo",- "permission_denied_rebuild_application":"Vocรช nรฃo tem permissรฃo para reconstruir o aplicativo.",- "build_and_start_application":"Implantar",- "permission_denied_build_and_start_application":"Vocรช nรฃo tem permissรฃo para implantar o aplicativo.",- "configurations":"Configuraรงรตes",- "secret":"Segredos",- "persistent_storage":"Armazenamento persistente",- "previews":"Visualizaรงรตes",- "logs":"Registros de aplicativos",- "build_logs":"Construir registros",- "delete_application":"Excluir",- "permission_denied_delete_application":"Vocรช nรฃo tem permissรฃo para excluir este aplicativo",- "domain_already_in_use":"O domรญnio {{domain}} jรก estรก em uso.",- "dns_not_set_error":"DNS nรฃo definido corretamente ou propagado para {{domain}}.<br><br>Verifique suas configuraรงรตes de DNS.",- "domain_required":"O domรญnio รฉ obrigatรณrio.",- "settings_saved":"Configuraรงรฃo salva.",- "dns_not_set_partial_error":"DNS nรฃo definido",- "domain_not_valid":"Nรฃo foi possรญvel resolver o domรญnio ou nรฃo estรก apontando para o endereรงo IP do servidor.<br><br>Verifique sua configuraรงรฃo de DNS e tente novamente.",- "git_source":"Fonte do Git",- "git_repository":"Repositรณrio Git",- "build_pack":"Pacote de compilaรงรฃo",- "base_image":"Imagem de implantaรงรฃo",- "base_image_explainer":"Imagem que serรก usada para a implantaรงรฃo.",- "base_build_image":"Construir imagem",- "base_build_image_explainer":"Imagem que serรก usada durante o processo de compilaรงรฃo.",- "destination":"Destino",- "application":"Inscriรงรฃo",- "url_fqdn":"URL (FQDN)",- "domain_fqdn":"Domรญnio (FQDN)",- "https_explainer":"Se vocรช especificar <span class='text-settings '>https</span>, o aplicativo serรก acessรญvel apenas por https. O certificado SSL serรก gerado para vocรช.<br>Se vocรช especificar <span class='text-settings '>www</span>, o aplicativo serรก redirecionado (302) de nรฃo www e vice-versa.<br>< br>Para modificar o domรญnio, vocรช deve primeiro parar o aplicativo.<br><br><span class='text-white '>Vocรช deve configurar seu DNS para apontar para o IP do servidor com antecedรชncia.</span>",- "ssl_www_and_non_www":"Gerar SSL para www e nรฃo www?",- "ssl_explainer":"Ele irรก gerar certificados para www e nรฃo www. <br>Vocรช precisa ter <span class=' text-settings'>ambas as entradas DNS</span> definidas com antecedรชncia.<br><br>รtil se vocรช espera receber visitantes em ambas.",- "install_command":"Comando de instalaรงรฃo",- "build_command":"Comando de compilaรงรฃo",- "start_command":"Comando Iniciar",- "directory_to_use_explainer":"Diretรณrio a ser usado como base para todos os comandos.<br>Pode ser รบtil com <span class='text-settings '>monorepos</span>.",- "publish_directory_explainer":"Diretรณrio contendo todos os ativos para implantaรงรฃo. <br> Por exemplo: <span class='text-settings '>dist</span>,<span class='text-settings '>_site</span> ou <span class='text-settings '>public< /span>.",- "features":"Caracterรญsticas",- "enable_automatic_deployment":"Ativar implantaรงรฃo automรกtica",- "enable_auto_deploy_webhooks":"Habilite a implantaรงรฃo automรกtica por meio de webhooks.",- "enable_mr_pr_previews":"Ativar visualizaรงรตes de MR/PR",- "expose_a_port":"Expor uma porta",- "enable_preview_deploy_mr_pr_requests":"Habilite implantaรงรตes de visualizaรงรฃo de solicitaรงรตes de pull ou mesclagem.",- "debug_logs":"Registros de depuraรงรฃo",- "enable_debug_log_during_build":"Ative os registros de depuraรงรฃo durante a fase de compilaรงรฃo.<br><span class='text-settings '>Informaรงรตes confidenciais</span> podem ser visรญveis e salvas nos registros.",- "cant_activate_auto_deploy_without_repo":"Nรฃo รฉ possรญvel ativar implantaรงรตes automรกticas atรฉ que apenas um aplicativo seja definido para este repositรณrio/ramificaรงรฃo.",- "no_applications_found":"Nenhum aplicativo encontrado",- "secret__batch_dot_env":"Colar arquivo .env",- "batch_secrets":"Adicionar segredos em lote"- },- "general":"Em geral",- "database":{- "default_database":"Banco de dados padrรฃo",- "generated_automatically_after_set_to_public":"Gerado automaticamente apรณs definido como pรบblico",- "connection_string":"Cadeia de conexรฃo",- "set_public":"Defina-o como pรบblico",- "warning_database_public":"Seu banco de dados estarรก acessรญvel pela internet. <br>Leve a seguranรงa a sรฉrio neste caso!",- "change_append_only_mode":"Alterar o modo somente anexar",- "warning_append_only":"รtil se vocรช deseja restaurar dados redis de um backup.<br><span class=' text-white'>ร necessรกrio reiniciar o banco de dados.</span>",- "select_database_type":"Selecione um tipo de banco de dados",- "select_database_version":"Selecione uma versรฃo do banco de dados",- "confirm_stop":"Tem certeza de que deseja parar {{name}}?",- "stop_database":"Pare",- "permission_denied_stop_database":"Vocรช nรฃo tem permissรฃo para parar o banco de dados.",- "start_database":"Comeรงar",- "permission_denied_start_database":"Vocรช nรฃo tem permissรฃo para iniciar o banco de dados.",- "delete_database":"Excluir",- "permission_denied_delete_database":"Vocรช nรฃo tem permissรฃo para excluir um banco de dados",- "no_databases_found":"Nenhum banco de dados encontrado",- "logs":"Histรณrico"- },- "destination":{- "delete_destination":"Excluir",- "permission_denied_delete_destination":"Vocรช nรฃo tem permissรฃo para excluir este destino",- "add_to_coolify":"Adicionar ao Coolify",- "coolify_proxy_stopped":"Coolify Proxy parou!",- "coolify_proxy_started":"Coolify Proxy iniciado!",- "confirm_restart_proxy":"Tem certeza de que deseja reiniciar o proxy? Tudo serรก reconfigurado em ~10 segundos.",- "coolify_proxy_restarting":"Coolify Proxy reiniciando...",- "restarting_please_wait":"Reiniciando... aguarde...",- "force_restart_proxy":"Forรงar reinicializaรงรฃo do proxy",- "use_coolify_proxy":"Usar Coolify Proxy?",- "no_destination_found":"Nenhum destino encontrado",- "new_error_network_already_exists":"Rede {{network}} jรก configurada para outra equipe!",- "new":{- "saving_and_configuring_proxy":"Salvando...",- "install_proxy":"Isso instalarรก um proxy no destino para permitir que vocรช acesse seus aplicativos e serviรงos sem qualquer configuraรงรฃo manual (recomendado para o Docker).<br><br>Os bancos de dados terรฃo seu prรณprio proxy.",- "add_new_destination":"Adicionar novo destino",- "predefined_destinations":"Destinos predefinidos"- }- },- "sources":{- "local_docker":"Docker local",- "remote_docker":"Docker remoto",- "organization_explainer":"Preencha-o se quiser usar o de uma organizaรงรฃo como seu Git Source. Caso contrรกrio, seu usuรกrio serรก usado."- },- "source":{- "new":{- "git_source":"Adicionar nova fonte Git",- "official_providers":"Fornecedores oficiais"- },- "no_git_sources_found":"Nenhuma fonte git encontrada",- "delete_git_source":"Excluir",- "permission_denied":"Vocรช nรฃo tem permissรฃo para excluir uma fonte Git",- "create_new_app":"Criar novo aplicativo {{name}}",- "change_app_settings":"Alterar {{name}} configuraรงรตes do aplicativo",- "install_repositories":"Instalar repositรณrios",- "application_id":"ID do aplicativo",- "group_name":"Nome do grupo",- "oauth_id":"ID OAuth",- "oauth_id_explainer":"O OAuth ID รฉ o identificador exclusivo do aplicativo GitLab. <br>Vocรช pode encontrรก-lo <span class=' text-settings' >no URL</span> do seu aplicativo GitLab OAuth.",- "register_oauth_gitlab":"Registre um novo aplicativo OAuth no GitLab",- "gitlab":{- "self_hosted":"Aplicativo em toda a instรขncia (auto-hospedado)",- "user_owned":"Aplicativo de propriedade do usuรกrio",- "group_owned":"Aplicativo de propriedade do grupo",- "gitlab_application_type":"Tipo de aplicativo GitLab",- "already_configured":"O aplicativo GitLab jรก estรก configurado."- },- "github":{- "redirecting":"Redirecionando para o Github..."- }- },- "services":{- "all_email_verified":"Todos os e-mails sรฃo verificados. Vocรช pode entrar agora.",- "generate_www_non_www_ssl":"Ele irรก gerar certificados para www e nรฃo www. <br>Vocรช precisa ter <span class='text-settings'>ambas as entradas DNS</span> definidas com antecedรชncia.<br><br>O serviรงo precisa ser reiniciado."- },- "service":{- "stop_service":"Pare",- "permission_denied_stop_service":"Vocรช nรฃo tem permissรฃo para interromper o serviรงo.",- "start_service":"Comeรงar",- "permission_denied_start_service":"Vocรช nรฃo tem permissรฃo para iniciar o serviรงo.",- "delete_service":"Excluir",- "permission_denied_delete_service":"Vocรช nรฃo tem permissรฃo para excluir um serviรงo.",- "no_service":"Nenhum serviรงo encontrado",- "logs":"Histรณrico"- },- "setting":{- "change_language":"Mudar idioma",- "permission_denied":"Vocรช nรฃo tem permissรฃo para fazer isso. \\nPeรงa a um administrador para modificar suas permissรตes.",- "domain_removed":"Domรญnio removido",- "ssl_explainer":"Se vocรช especificar <span class='text-settings'>https</span>, o Coolify serรก acessรญvel apenas por https. O certificado SSL serรก gerado para vocรช.<br>Se vocรช especificar <span class='text-settings '>www</span>, Coolify serรก redirecionado (302) de nรฃo www e vice-versa.<br><br ><span class='text-settings '>AVISO:</span> Se vocรช alterar um domรญnio jรก definido, isso interromperรก webhooks e outras integraรงรตes! Vocรช precisa atualizรก-los manualmente.",- "must_remove_domain_before_changing":"Deve remover o domรญnio antes de alterar esta configuraรงรฃo.",- "registration_allowed":"Registro permitido?",- "registration_allowed_explainer":"Permitir mais registros no aplicativo. <br>ร desligado apรณs o primeiro registro.",- "coolify_proxy_settings":"Configuraรงรตes de proxy do Coolify",- "credential_stat_explainer":"Credenciais para a pรกgina de <a class=\"text-white \" href=\"{{link}}\" target=\"_blank\">estatรญsticas</a>.",- "auto_update_enabled":"Atualizaรงรฃo automรกtica habilitada?",- "auto_update_enabled_explainer":"Habilite atualizaรงรตes automรกticas para Coolify. Isso serรก feito automaticamente nos bastidores, se nรฃo houver nenhum processo de compilaรงรฃo em execuรงรฃo.",- "generate_www_non_www_ssl":"Ele irรก gerar certificados para www e nรฃo www. <br>Vocรช precisa ter <span class=' text-settings'>ambas as entradas de DNS</span> configuradas antecipadamente.",- "is_dns_check_enabled":"Verificaรงรฃo de DNS habilitada?",- "is_dns_check_enabled_explainer":"Vocรช pode desabilitar a verificaรงรฃo de DNS antes de criar certificados SSL.<br><br>Desligรก-la รฉ รบtil quando o Coolify estรก atrรกs de um proxy reverso ou tรบnel."- },- "team":{- "pending_invitations":"Convites pendentes",- "accept":"Aceitar",- "delete":"Excluir",- "member":"membros)",- "root":"(raiz)",- "invited_with_permissions":"Convidado para <span class=\" text-settings\">{{teamName}}</span> com permissรฃo <span class=\" text-rose-600\">{{permission}}</span>.",- "members":"Membros",- "root_team_explainer":"Esta รฉ a equipe <span class='text-red-500 '>raiz</span>. Isso significa que os membros deste grupo podem gerenciar as configuraรงรตes de toda a instรขncia e ter todos os privilรฉgios no Coolify (imagine como usuรกrio root no Linux).",- "permission":"Permissรฃo",- "you":"Vocรช",- "promote_to":"Promover para {{grade}}",- "revoke_invitation":"Revogar convite",- "pending_invitation":"Convite pendente",- "invite_new_member":"Convidar novo membro",- "send_invitation":"Enviar convite",- "invite_only_register_explainer":"Vocรช sรณ pode convidar usuรกrios registrados.",- "admin":"Administrador",- "read":"Ler"- }-}\ No newline at end of filediff --git a/apps/ui/src/lib/store.ts b/apps/ui/src/lib/store.tsdeleted file mode 100644index 52bf6eb4ca..0000000000--- a/apps/ui/src/lib/store.ts+++ /dev/null@@ -1,177 +0,0 @@-import { dev } from '$app/env';-import cuid from 'cuid';-import Cookies from 'js-cookie';-import { writable, readable, type Writable } from 'svelte/store';-import { io as ioClient } from 'socket.io-client';-const socket = ioClient(dev ? `http://${window.location.hostname}:3001` : '/', { auth: { token: Cookies.get('token') }, autoConnect: false });--export const io = socket;-interface AppSession {- isRegistrationEnabled: boolean;- ipv4: string | null,- ipv6: string | null,- version: string | null,- userId: string | null,- teamId: string | null,- permission: string,- isAdmin: boolean,- whiteLabeled: boolean,- whiteLabeledDetails: {- icon: string | null,- },- tokens: {- github: string | null,- gitlab: string | null,- },- pendingInvitations: Array<any>,- isARM: boolean-}-interface AddToast {- type?: "info" | "success" | "error",- message: string,- timeout?: number | undefined-}-export const updateLoading: Writable<boolean> = writable(false);-export const isUpdateAvailable: Writable<boolean> = writable(false);-export const latestVersion: Writable<string> = writable('latest');-export const search: any = writable('')-export const loginEmail: Writable<string | undefined> = writable()-export const appSession: Writable<AppSession> = writable({- isRegistrationEnabled: false,- ipv4: null,- ipv6: null,- version: null,- userId: null,- teamId: null,- permission: 'read',- isAdmin: false,- whiteLabeled: false,- whiteLabeledDetails: {- icon: null- },- tokens: {- github: null,- gitlab: null- },- pendingInvitations: [],- isARM: false-});-export const disabledButton: Writable<boolean> = writable(false);-export const isDeploymentEnabled: Writable<boolean> = writable(false);-export function checkIfDeploymentEnabledApplications(application: any) {- return !!(- (application.buildPack === 'compose') ||- (application.fqdn || application.settings?.isBot) &&- ((application.gitSource &&- application.repository &&- application.buildPack) || application.simpleDockerfile) &&- application.destinationDocker-- );-}-export function checkIfDeploymentEnabledServices( service: any) {- return (- service.fqdn &&- service.destinationDocker &&- service.version &&- service.type- );-}-export const status: Writable<any> = writable({- application: {- statuses: [],- overallStatus: 'stopped',- loading: false,- restarting: false,- initialLoading: true- },- service: {- statuses: [],- overallStatus: 'stopped',- loading: false,- startup: {},- initialLoading: true- },- database: {- isRunning: false,- isExited: false,- loading: false,- initialLoading: true,- isPublic: false- }--});--export const features = readable({- beta: window.localStorage.getItem('beta') === 'true',- latestVersion: window.localStorage.getItem('latestVersion')-});--export const location: Writable<null | string> = writable(null)-export const setLocation = (resource: any, settings?: any) => {- if (resource.settings.isBot && resource.exposePort) {- disabledButton.set(false);- return location.set(`http://${dev ? 'localhost' : settings.ipv4}:${resource.exposePort}`)- }- if (GITPOD_WORKSPACE_URL && resource.exposePort) {- const { href } = new URL(GITPOD_WORKSPACE_URL);- const newURL = href- .replace('https://', `https://${resource.exposePort}-`)- .replace(/\/$/, '');- return location.set(newURL)- } else if (CODESANDBOX_HOST) {- const newURL = `https://${CODESANDBOX_HOST.replace(/\$PORT/, resource.exposePort)}`- return location.set(newURL)- }- if (resource.fqdn) {- return location.set(resource.fqdn)- } else {- location.set(null);- disabledButton.set(false);- }-}--export const toasts: any = writable([])--export const dismissToast = (id: string) => {- toasts.update((all: any) => all.filter((t: any) => t.id !== id))-}-export const pauseToast = (id: string) => {- toasts.update((all: any) => {- const index = all.findIndex((t: any) => t.id === id);- if (index > -1) clearTimeout(all[index].timeoutInterval);- return all;- })-}-export const resumeToast = (id: string) => {- toasts.update((all: any) => {- const index = all.findIndex((t: any) => t.id === id);- if (index > -1) {- all[index].timeoutInterval = setTimeout(() => {- dismissToast(id)- }, all[index].timeout)- }- return all;- })-}--export const addToast = (toast: AddToast) => {- const id = cuid();- const defaults = {- id,- type: 'info',- timeout: 2000,- }- let t: any = { ...defaults, ...toast }- if (t.timeout) t.timeoutInterval = setTimeout(() => dismissToast(id), t.timeout)- toasts.update((all: any) => [t, ...all])-}--export const selectedBuildId: any = writable(null)--type State = {- requests: Array<Request>;-};-export const state = writable<State>({- requests: [],-});diff --git a/apps/ui/src/lib/templates.ts b/apps/ui/src/lib/templates.tsdeleted file mode 100644index d71fd93232..0000000000--- a/apps/ui/src/lib/templates.ts+++ /dev/null@@ -1,410 +0,0 @@-function defaultBuildAndDeploy(packageManager: string) {- return {- installCommand:- packageManager === 'npm' ? `${packageManager} install` : `${packageManager} install`,- buildCommand:- packageManager === 'npm' ? `${packageManager} run build` : `${packageManager} build`,- startCommand:- packageManager === 'npm' ? `${packageManager} run start` : `${packageManager} start`- };-}-export function findBuildPack(pack: string, packageManager = 'npm') {- const metaData = buildPacks.find((b) => b.name === pack);- if (pack === 'node') {- return {- ...metaData,- ...defaultBuildAndDeploy(packageManager),- buildCommand: null,- publishDirectory: null,- port: null- };- }- if (pack === 'static') {- return {- ...metaData,- installCommand: null,- buildCommand: null,- startCommand: null,- publishDirectory: null,- port: 80- };- }- if (pack === 'docker' || pack === 'compose') {- return {- ...metaData,- installCommand: null,- buildCommand: null,- startCommand: null,- publishDirectory: null,- port: null- };- }-- if (pack === 'svelte') {- return {- ...metaData,- ...defaultBuildAndDeploy(packageManager),- publishDirectory: 'public',- port: 80- };- }- if (pack === 'nestjs') {- return {- ...metaData,- ...defaultBuildAndDeploy(packageManager),- startCommand:- packageManager === 'npm' ? 'npm run start:prod' : `${packageManager} run start:prod`,- publishDirectory: null,- port: 3000- };- }- if (pack === 'react') {- return {- ...metaData,- ...defaultBuildAndDeploy(packageManager),- publishDirectory: 'build',- port: 80- };- }- if (pack === 'nextjs') {- return {- ...metaData,- ...defaultBuildAndDeploy(packageManager),- publishDirectory: null,- port: 3000,- deploymentType: 'node'- };- }- if (pack === 'gatsby') {- return {- ...metaData,- ...defaultBuildAndDeploy(packageManager),- publishDirectory: 'public',- port: 80- };- }- if (pack === 'vuejs') {- return {- ...metaData,- ...defaultBuildAndDeploy(packageManager),- publishDirectory: 'dist',- port: 80- };- }- if (pack === 'nuxtjs') {- return {- ...metaData,- ...defaultBuildAndDeploy(packageManager),- publishDirectory: null,- port: 3000,- deploymentType: 'node'- };- }- if (pack === 'preact') {- return {- ...metaData,- ...defaultBuildAndDeploy(packageManager),- publishDirectory: 'build',- port: 80- };- }- if (pack === 'php') {- return {- ...metaData,- installCommand: null,- buildCommand: null,- startCommand: null,- publishDirectory: null,- port: 80- };- }- if (pack === 'rust') {- return {- ...metaData,- installCommand: null,- buildCommand: null,- startCommand: null,- publishDirectory: null,- port: 3000- };- }- if (pack === 'astro') {- return {- ...metaData,- ...defaultBuildAndDeploy(packageManager),- publishDirectory: `dist`,- port: 80- };- }- if (pack === 'eleventy') {- return {- ...metaData,- ...defaultBuildAndDeploy(packageManager),- publishDirectory: `_site`,- port: 80- };- }- if (pack === 'python') {- return {- ...metaData,- startCommand: null,- port: 8000- };- }- if (pack === 'deno') {- return {- ...metaData,- installCommand: null,- buildCommand: null,- startCommand: null,- publishDirectory: null,- port: 8000- };- }- if (pack === 'laravel') {- return {- ...metaData,- installCommand: null,- buildCommand: null,- startCommand: null,- publishDirectory: null,- port: 80- };- }- if (pack === 'heroku') {- return {- ...metaData,- installCommand: null,- buildCommand: null,- startCommand: null,- publishDirectory: null,- port: 5000- };- }- return {- name: 'node',- fancyName: 'Node.js',- hoverColor: 'hover:bg-green-700',- color: 'bg-green-700',- installCommand: null,- buildCommand: null,- startCommand: null,- publishDirectory: null,- port: null- };-}-export const buildPacks = [- {- name: 'node',- type: 'base',- fancyName: 'Node.js',- hoverColor: 'hover:bg-green-700',- color: 'bg-green-700',- isCoolifyBuildPack: true,- },- {- name: 'static',- type: 'base',- fancyName: 'Static',- hoverColor: 'hover:bg-orange-700',- color: 'bg-orange-700',- isCoolifyBuildPack: true,- },-- {- name: 'php',- type: 'base',- fancyName: 'PHP',- hoverColor: 'hover:bg-indigo-700',- color: 'bg-indigo-700',- isCoolifyBuildPack: true,- },- {- name: 'laravel',- type: 'specific',- base: 'php',- fancyName: 'Laravel',- hoverColor: 'hover:bg-indigo-700',- color: 'bg-indigo-700',- isCoolifyBuildPack: true,- },- {- name: 'docker',- type: 'base',- fancyName: 'Docker',- hoverColor: 'hover:bg-sky-700',- color: 'bg-sky-700',- isCoolifyBuildPack: true,- },- {- name: 'compose',- type: 'base',- fancyName: 'Docker Compose',- hoverColor: 'hover:bg-sky-700',- color: 'bg-sky-700',- isCoolifyBuildPack: true,- },- {- name: 'svelte',- type: 'specific',- base: 'node',- fancyName: 'Svelte',- hoverColor: 'hover:bg-orange-700',- color: 'bg-orange-700',- isCoolifyBuildPack: true,- },- {- name: 'vuejs',- type: 'specific',- base: 'node',- fancyName: 'VueJS',- hoverColor: 'hover:bg-green-700',- color: 'bg-green-700',- isCoolifyBuildPack: true,- },- {- name: 'nuxtjs',- type: 'specific',- base: 'node',- fancyName: 'NuxtJS',- hoverColor: 'hover:bg-green-700',- color: 'bg-green-700',- isCoolifyBuildPack: true,- },- {- name: 'gatsby',- type: 'specific',- base: 'node',- fancyName: 'Gatsby',- hoverColor: 'hover:bg-blue-700',- color: 'bg-blue-700',- isCoolifyBuildPack: true,- },- {- name: 'astro',- type: 'specific',- base: 'node',- fancyName: 'Astro',- hoverColor: 'hover:bg-pink-700',- color: 'bg-pink-700',- isCoolifyBuildPack: true,- },- {- name: 'eleventy',- type: 'specific',- base: 'node',- fancyName: 'Eleventy',- hoverColor: 'hover:bg-red-700',- color: 'bg-red-700',- isCoolifyBuildPack: true,- },- {- name: 'react',- type: 'specific',- base: 'node',- fancyName: 'React',- hoverColor: 'hover:bg-blue-700',- color: 'bg-blue-700',- isCoolifyBuildPack: true,- },- {- name: 'preact',- type: 'specific',- base: 'node',- fancyName: 'Preact',- hoverColor: 'hover:bg-blue-700',- color: 'bg-blue-700',- isCoolifyBuildPack: true,- },- {- name: 'nextjs',- type: 'specific',- base: 'node',- fancyName: 'NextJS',- hoverColor: 'hover:bg-blue-700',- color: 'bg-blue-700',- isCoolifyBuildPack: true,- },- {- name: 'nestjs',- type: 'specific',- base: 'node',- fancyName: 'NestJS',- hoverColor: 'hover:bg-red-700',- color: 'bg-red-700',- isCoolifyBuildPack: true,- },- {- name: 'rust',- type: 'base',- fancyName: 'Rust',- hoverColor: 'hover:bg-pink-700',- color: 'bg-pink-700',- isCoolifyBuildPack: true,- },- {- name: 'python',- type: 'base',- fancyName: 'Python',- hoverColor: 'hover:bg-green-700',- color: 'bg-green-700',- isCoolifyBuildPack: true,- },- {- name: 'deno',- type: 'base',- fancyName: 'Deno',- hoverColor: 'hover:bg-green-700',- color: 'bg-green-700',- isCoolifyBuildPack: true,- },- {- name: 'heroku',- type: 'base',- fancyName: 'Heroku',- hoverColor: 'hover:bg-purple-700',- color: 'bg-purple-700',- isHerokuBuildPack: true,- }-];-export const scanningTemplates = {- '@sveltejs/kit': {- buildPack: 'nodejs'- },- astro: {- buildPack: 'astro'- },- '@11ty/eleventy': {- buildPack: 'eleventy'- },- svelte: {- buildPack: 'svelte'- },- '@nestjs/core': {- buildPack: 'nestjs'- },- next: {- buildPack: 'nextjs'- },- nuxt: {- buildPack: 'nuxtjs'- },- 'react-scripts': {- buildPack: 'react'- },- 'parcel-bundler': {- buildPack: 'static'- },- '@vue/cli-service': {- buildPack: 'vuejs'- },- vuejs: {- buildPack: 'vuejs'- },- gatsby: {- buildPack: 'gatsby'- },- 'preact-cli': {- buildPack: 'react'- }-};diff --git a/apps/ui/src/lib/translations.ts b/apps/ui/src/lib/translations.tsdeleted file mode 100644index 9cc71a118c..0000000000--- a/apps/ui/src/lib/translations.ts+++ /dev/null@@ -1,47 +0,0 @@-import i18n from 'sveltekit-i18n';-import { derived, writable } from "svelte/store";-import lang from './lang.json';--export let currentLocale = writable("en");-export let debugTranslation = writable(false);--/** @type {import('sveltekit-i18n').Config} */-export const config = {- fallbackLocale: 'en',- translations: {- en: { lang },- es: { lang },- pt: { lang },- ko: { lang },- fr: { lang }- },- loaders: [- {- locale: 'en',- key: '',- loader: async () => (await import('./locales/en.json')).default- },- {- locale: 'es',- key: '',- loader: async () => (await import('./locales/es.json')).default- },- {- locale: 'pt',- key: '',- loader: async () => (await import('./locales/pt.json')).default- },- {- locale: 'fr',- key: '',- loader: async () => (await import('./locales/fr.json')).default- },- {- locale: 'ko',- key: '',- loader: async () => (await import('./locales/ko.json')).default- }- ]-};--export const { t, locales, locale, loadTranslations } = new i18n(config);\ No newline at end of filediff --git a/apps/ui/src/routes/_NewResource.svelte b/apps/ui/src/routes/_NewResource.sveltedeleted file mode 100644index c02221d024..0000000000--- a/apps/ui/src/routes/_NewResource.svelte+++ /dev/null@@ -1,147 +0,0 @@-<script lang="ts">- import { goto } from '$app/navigation';- import { post } from '$lib/api';-- async function newApplication() {- const { id } = await post('/applications/new', {});- return await goto(`/applications/${id}`, { replaceState: true });- }- async function newService() {- const { id } = await post('/services/new', {});- return await goto(`/services/${id}`, { replaceState: true });- }- async function newDatabase() {- const { id } = await post('/databases/new', {});- return await goto(`/databases/${id}`, { replaceState: true });- }-</script>--<!-- svelte-ignore a11y-no-noninteractive-tabindex -->-<div class="dropdown dropdown-bottom">- <slot>- <label for="new" tabindex="0" class="btn btn-sm text-sm bg-coollabs hover:bg-coollabs-100 w-64">- <svg- class="h-6 w-6"- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"- /></svg- > Create New Resource- </label>- </slot>-- <ul id="new" tabindex="0" class="dropdown-content menu p-2 shadow bg-coolgray-300 rounded w-64">- <li>- <button on:click={newApplication} class="no-underline hover:bg-applications tracking-wide font-bold">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentcolor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <rect x="4" y="4" width="6" height="6" rx="1" />- <rect x="4" y="14" width="6" height="6" rx="1" />- <rect x="14" y="14" width="6" height="6" rx="1" />- <line x1="14" y1="7" x2="20" y2="7" />- <line x1="17" y1="4" x2="17" y2="10" />- </svg>Application</button- >- </li>- <li>- <button on:click={newService} class="no-underline hover:bg-services tracking-wide font-bold">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M7 18a4.6 4.4 0 0 1 0 -9a5 4.5 0 0 1 11 2h1a3.5 3.5 0 0 1 0 7h-12" />- </svg>Service</button- >- </li>- <li>- <button on:click={newDatabase} class="no-underline hover:bg-databases tracking-wide font-bold">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <ellipse cx="12" cy="6" rx="8" ry="3" />- <path d="M4 6v6a8 3 0 0 0 16 0v-6" />- <path d="M4 12v6a8 3 0 0 0 16 0v-6" />- </svg>Database</button- >- </li>- <li>- <a href="/sources/new" class="no-underline hover:bg-sources tracking-wide font-bold">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="6" cy="6" r="2" />- <circle cx="18" cy="18" r="2" />- <path d="M11 6h5a2 2 0 0 1 2 2v8" />- <polyline points="14 9 11 6 14 3" />- <path d="M13 18h-5a2 2 0 0 1 -2 -2v-8" />- <polyline points="10 15 13 18 10 21" />- </svg>Git Source</a- >- </li>- <li>- <a href="/destinations/new" class="no-underline hover:bg-destinations tracking-wide font-bold">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"- />- <path d="M5 10h3v3h-3z" />- <path d="M8 10h3v3h-3z" />- <path d="M11 10h3v3h-3z" />- <path d="M8 7h3v3h-3z" />- <path d="M11 7h3v3h-3z" />- <path d="M11 4h3v3h-3z" />- <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />- <line x1="10" y1="16" x2="10" y2="16.01" />- </svg>Destination</a- >- </li>- </ul>-</div>diff --git a/apps/ui/src/routes/__error.svelte b/apps/ui/src/routes/__error.sveltedeleted file mode 100644index ac32b098ec..0000000000--- a/apps/ui/src/routes/__error.svelte+++ /dev/null@@ -1,31 +0,0 @@-<script context="module" lang="ts">- export function load({ error, status }: { error: any; status: any }) {- console.log(error);- return {- props: {- error,- status- }- };- }-</script>--<script lang="ts">- import { t } from '$lib/translations';-- export let status: string;- export let error: any;-</script>--<div class="mx-auto flex h-screen flex-col items-center justify-center px-4">- <div class="pb-10 text-7xl font-bold">{status}</div>- <div class="text-3xl font-bold">{$t('error.you_are_lost')}</div>- <div class="text-xl">- {$t('error.you_can_find_your_way_back')}- <a href="/" class="font-bold uppercase text-sky-400">{$t('error.here')}</a>- </div>- <div class="py-10 text-xs font-bold">- <pre- class="w-full whitespace-pre-wrap break-words text-left text-xs tracking-tighter">{error.message} {error.stack}</pre>- </div>-</div>diff --git a/apps/ui/src/routes/__layout.svelte b/apps/ui/src/routes/__layout.sveltedeleted file mode 100644index 4e68957b28..0000000000--- a/apps/ui/src/routes/__layout.svelte+++ /dev/null@@ -1,557 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ url }) => {- const baseSettings = await get('/base');- try {- if (Cookies.get('token')) {- const response = await get(`/user`);- return {- props: {- ...response,- baseSettings- },- stuff: {- ...response- }- };- } else {- if (url.pathname !== '/login' && url.pathname !== '/register') {- return {- status: 302,- redirect: '/login',- props: {- baseSettings- }- };- }- return {- props: {- baseSettings- }- };- }- } catch (error: any) {- if (error?.code?.startsWith('FAST_JWT') || error.status === 401) {- Cookies.remove('token');- if (url.pathname !== '/login') {- return {- status: 302,- redirect: '/login',- props: {- baseSettings- }- };- }- }- if (url.pathname !== '/login') {- return {- status: 302,- redirect: '/login',- props: {- baseSettings- }- };- }- return {- status: 500,- error: new Error(error),- props: {- baseSettings- }- };- }- };-</script>--<script lang="ts">- export let settings: any;- export let sentryDSN: any;- export let baseSettings: any;- export let pendingInvitations: any = 0;-- $appSession.isRegistrationEnabled = baseSettings.isRegistrationEnabled;- $appSession.ipv4 = baseSettings.ipv4;- $appSession.ipv6 = baseSettings.ipv6;- $appSession.version = baseSettings.version;- $appSession.whiteLabeled = baseSettings.whiteLabeled;- $appSession.whiteLabeledDetails.icon = baseSettings.whiteLabeledIcon;- $appSession.isARM = baseSettings.isARM;-- $appSession.pendingInvitations = pendingInvitations;-- export let userId: string;- export let teamId: string;- export let permission: string;- export let isAdmin: boolean;-- import { status, io } from '$lib/store';- import '../tailwind.css';- import Cookies from 'js-cookie';- import { fade } from 'svelte/transition';- import { navigating, page } from '$app/stores';-- import { get } from '$lib/api';- import UpdateAvailable from '$lib/components/UpdateAvailable.svelte';- import PageLoader from '$lib/components/PageLoader.svelte';- import { errorNotification } from '$lib/common';- import { appSession } from '$lib/store';- import Toasts from '$lib/components/Toasts.svelte';- import Tooltip from '$lib/components/Tooltip.svelte';- import { onMount } from 'svelte';- import LocalePicker from '$lib/components/LocalePicker.svelte';- import * as Sentry from '@sentry/svelte';- import { BrowserTracing } from '@sentry/tracing';- import { dev } from '$app/env';-- if (userId) $appSession.userId = userId;- if (teamId) $appSession.teamId = teamId;- if (permission) $appSession.permission = permission;- if (isAdmin) $appSession.isAdmin = isAdmin;- // if (settings?.doNotTrack === false) {- // Sentry.init({- // dsn: sentryDSN,- // environment: dev ? 'development' : 'production',- // integrations: [new BrowserTracing()],- // release: $appSession.version?.toString(),- // tracesSampleRate: 0.2- // });- // }- async function logout() {- try {- Cookies.remove('token');- return window.location.replace('/login');- } catch (error) {- return errorNotification(error);- }- }- onMount(async () => {- if ($appSession.userId) {- io.connect();- io.on('start-service', (message) => {- const { serviceId, state } = message;- $status.service.startup[serviceId] = state;- if (state === 0 || state === 1) {- delete $status.service.startup[serviceId];- }- });- }- });-- let sidedrawerToggler: HTMLInputElement;-- const closeDrawer = () => (sidedrawerToggler.checked = false);-</script>--<svelte:head>- {#if !$appSession.whiteLabeled}- <title>Coolify</title>- <link rel="icon" href="/favicon.png" />- {:else if $appSession.whiteLabeledDetails.icon}- <title>Coolify</title>- <link rel="icon" href={$appSession.whiteLabeledDetails.icon} />- {/if}-</svelte:head>-<Toasts />-{#if $navigating}- <div out:fade={{ delay: 100 }}>- <PageLoader />- </div>-{/if}--<div class="drawer">- <input id="main-drawer" type="checkbox" class="drawer-toggle" bind:this={sidedrawerToggler} />- <div class="drawer-content">- {#if $appSession.userId}- <Tooltip triggeredBy="#dashboard" placement="right" color="bg-pink-500">Dashboard</Tooltip>- <Tooltip triggeredBy="#servers" placement="right" color="bg-sky-500">Servers</Tooltip>- <Tooltip triggeredBy="#iam" placement="right" color="bg-iam">IAM</Tooltip>- <Tooltip triggeredBy="#settings" placement="right" color="bg-settings text-black"- >Settings</Tooltip- >- <Tooltip triggeredBy="#logout" placement="right" color="bg-red-600">Logout</Tooltip>- <nav class="nav-main hidden lg:block z-20">- <div class="flex h-screen w-full flex-col items-center transition-all duration-100">- {#if !$appSession.whiteLabeled}- <div class="mb-2 mt-4 h-10 w-10">- <img src="/favicon.png" alt="coolLabs logo" />- </div>- {:else if $appSession.whiteLabeledDetails.icon}- <div class="mb-2 mt-4 h-10 w-10">- <img src={$appSession.whiteLabeledDetails.icon} alt="White labeled logo" />- </div>- {/if}- <div class="flex flex-col space-y-2 py-2" class:mt-2={$appSession.whiteLabeled}>- <a- id="dashboard"- href="/"- class="icons hover:text-pink-500"- class:text-pink-500={$page.url.pathname === '/'}- class:bg-coolgray-500={$page.url.pathname === '/'}- class:bg-coolgray-200={!($page.url.pathname === '/')}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-9 w-9"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M19 8.71l-5.333 -4.148a2.666 2.666 0 0 0 -3.274 0l-5.334 4.148a2.665 2.665 0 0 0 -1.029 2.105v7.2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-7.2c0 -.823 -.38 -1.6 -1.03 -2.105"- />- <path d="M16 15c-2.21 1.333 -5.792 1.333 -8 0" />- </svg>- </a>- {#if $appSession.teamId === '0'}- <a- id="servers"- href="/servers"- class="icons hover:text-sky-500"- class:text-sky-500={$page.url.pathname === '/servers'}- class:bg-coolgray-500={$page.url.pathname === '/servers'}- class:bg-coolgray-200={!($page.url.pathname === '/servers')}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-8 h-8 mx-auto"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <rect x="3" y="4" width="18" height="8" rx="3" />- <rect x="3" y="12" width="18" height="8" rx="3" />- <line x1="7" y1="8" x2="7" y2="8.01" />- <line x1="7" y1="16" x2="7" y2="16.01" />- </svg>- </a>- {/if}- </div>- <div class="flex-1" />- <div class="lg:block hidden">- <UpdateAvailable />- </div>- <div class="flex flex-col space-y-2 py-2">- <a- id="iam"- href={$appSession.pendingInvitations.length > 0 ? '/iam/pending' : '/iam'}- class="icons hover:text-iam indicator"- class:text-iam={$page.url.pathname.startsWith('/iam')}- class:bg-coolgray-500={$page.url.pathname.startsWith('/iam')}- >- {#if $appSession.pendingInvitations.length > 0}- <span class="indicator-item rounded-full badge badge-primary mr-2"- >{pendingInvitations.length}</span- >- {/if}<svg- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 24 24"- class="h-9 w-9"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="9" cy="7" r="4" />- <path d="M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />- <path d="M16 3.13a4 4 0 0 1 0 7.75" />- <path d="M21 21v-2a4 4 0 0 0 -3 -3.85" />- </svg>- </a>- <a- id="settings"- href={$appSession.teamId === '0' ? '/settings/coolify' : '/settings/docker'}- class="icons hover:text-settings"- class:text-settings={$page.url.pathname.startsWith('/settings')}- class:bg-coolgray-500={$page.url.pathname.startsWith('/settings')}- >- <svg- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 24 24"- class="h-9 w-9"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"- />- <circle cx="12" cy="12" r="3" />- </svg>- </a>- <a- id="documentation"- href="https://docs.coollabs.io/coolify/"- target="_blank"- rel="noreferrer external"- class="icons hover:text-info"- >- <svg- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- class="w-9 h-9"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- d="M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"- />- </svg>- </a>-- <!-- svelte-ignore a11y-click-events-have-key-events -->- <div- id="logout"- class="icons bg-coolgray-200 hover:text-error cursor-pointer"- on:click={logout}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="ml-1 h-8 w-8"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2"- />- <path d="M7 12h14l-3 -3m0 6l3 -3" />- </svg>- </div>- <!-- <div class="lg:block">- <LocalePicker/>- </div> -->- <div- class="w-full text-center font-bold text-stone-400 hover:bg-coolgray-200 hover:text-white"- >- <a- class="text-[10px] no-underline"- href={`https://github.com/coollabsio/coolify/releases/tag/v${$appSession.version}`}- target="_blank noreferrer">v{$appSession.version}</a- >- </div>- </div>- </div>- </nav>- {#if $appSession.whiteLabeled}- <span class="fixed bottom-0 left-[50px] z-50 m-2 px-4 text-xs text-stone-700"- >Powered by <a href="https://coolify.io" target="_blank noreferrer">Coolify</a></span- >- {/if}- {/if}- <div- class="navbar lg:hidden space-x-2 flex flex-row justify-between bg-coollabs"- class:hidden={!$appSession.userId}- >- <div>- <label for="main-drawer" class="drawer-button btn btn-square btn-ghost flex-col">- <span class="burger bg-white" />- <span class="burger bg-white" />- <span class="burger bg-white" />- </label>- <div class="prose flex flex-row justify-between space-x-1 w-full items-center pr-3">- {#if !$appSession.whiteLabeled}- <h3 class="mb-0 text-white">Coolify</h3>- {/if}- </div>- </div>- <!-- <LocalePicker /> -->- </div>- <main>- <div class={$appSession.userId ? 'lg:pl-16' : null}>- <slot />- </div>- </main>- </div>- <div class="drawer-side">- <label for="main-drawer" class="drawer-overlay w-full" />- <ul class="menu bg-coolgray-200 w-60 p-2 space-y-3 pt-4 ">- <li>- <a- class="no-underline icons hover:text-white hover:bg-pink-500"- href="/"- class:bg-pink-500={$page.url.pathname === '/'}- on:click={closeDrawer}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-8 w-8"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M19 8.71l-5.333 -4.148a2.666 2.666 0 0 0 -3.274 0l-5.334 4.148a2.665 2.665 0 0 0 -1.029 2.105v7.2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-7.2c0 -.823 -.38 -1.6 -1.03 -2.105"- />- <path d="M16 15c-2.21 1.333 -5.792 1.333 -8 0" />- </svg>- Dashboard- </a>- </li>-- <li>- <a- id="servers"- class="no-underline icons hover:text-white hover:bg-sky-500"- href="/servers"- class:bg-sky-500={$page.url.pathname.startsWith('/servers')}- on:click={closeDrawer}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-8 h-8"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <rect x="3" y="4" width="18" height="8" rx="3" />- <rect x="3" y="12" width="18" height="8" rx="3" />- <line x1="7" y1="8" x2="7" y2="8.01" />- <line x1="7" y1="16" x2="7" y2="16.01" />- </svg>- Servers- </a>- </li>- <li>- <a- class="no-underline icons hover:text-white hover:bg-iam"- href="/iam"- class:bg-iam={$page.url.pathname.startsWith('/iam')}- on:click={closeDrawer}- ><svg- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 24 24"- class="h-8 w-8"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="9" cy="7" r="4" />- <path d="M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />- <path d="M16 3.13a4 4 0 0 1 0 7.75" />- <path d="M21 21v-2a4 4 0 0 0 -3 -3.85" />- </svg>- IAM {#if $appSession.pendingInvitations.length > 0}- <span class="indicator-item rounded-full badge badge-primary"- >{pendingInvitations.length}</span- >- {/if}- </a>- </li>- <li>- <a- class="no-underline icons hover:text-black hover:bg-settings"- href={$appSession.teamId === '0' ? '/settings/coolify' : '/settings/ssh'}- class:bg-settings={$page.url.pathname.startsWith('/settings')}- class:text-black={$page.url.pathname.startsWith('/settings')}- on:click={closeDrawer}- >- <svg- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 24 24"- class="h-8 w-8"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"- />- <circle cx="12" cy="12" r="3" />- </svg>- Settings- </a>- </li>- <li>- <a- class="no-underline icons hover:text-white hover:bg-info"- href="https://docs.coollabs.io/coolify/"- target="_blank"- rel="noreferrer external"- >- <svg- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- class="w-8 h-8"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- d="M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"- />- </svg>- Documentation- </a>- </li>- <li class="flex-1 bg-transparent" />- <div class="block lg:hidden">- <UpdateAvailable />- </div>- <li>- <!-- svelte-ignore a11y-click-events-have-key-events -->- <div class="no-underline icons hover:bg-error" on:click={logout}>- <svg- xmlns="http://www.w3.org/2000/svg"- class="ml-1 h-8 w-8"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2"- />- <path d="M7 12h14l-3 -3m0 6l3 -3" />- </svg>- <div class="-ml-1">Logout</div>- </div>- </li>- <li class="w-full">- <a- class="text-xs hover:bg-coolgray-200 no-underline hover:text-white text-right"- href={`https://github.com/coollabsio/coolify/releases/tag/v${$appSession.version}`}- target="_blank noreferrer">v{$appSession.version}</a- >- </li>- </ul>- </div>-</div>diff --git a/apps/ui/src/routes/applications/[id]/_Menu.svelte b/apps/ui/src/routes/applications/[id]/_Menu.sveltedeleted file mode 100644index bd57f648e3..0000000000--- a/apps/ui/src/routes/applications/[id]/_Menu.svelte+++ /dev/null@@ -1,323 +0,0 @@-<script lang="ts">- export let application: any;- import { appSession, status } from '$lib/store';- import { page } from '$app/stores';-</script>--<ul class="menu border bg-coolgray-100 border-coolgray-200 rounded p-2 space-y-2 sticky top-4">- <li class="menu-title">- <span>General</span>- </li>- {#if application.gitSource?.htmlUrl && application.repository && application.branch}- <li>- <a- id="git"- href="{application.gitSource.htmlUrl}/{application.repository}/tree/{application.branch}"- target="_blank noreferrer"- class="no-underline"- >- {#if application.gitSource?.type === 'gitlab'}- <svg viewBox="0 0 128 128" class="w-6 h-6">- <path- fill="#FC6D26"- d="M126.615 72.31l-7.034-21.647L105.64 7.76c-.716-2.206-3.84-2.206-4.556 0l-13.94 42.903H40.856L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664 1.385 72.31a4.792 4.792 0 001.74 5.358L64 121.894l60.874-44.227a4.793 4.793 0 001.74-5.357"- /><path fill="#E24329" d="M64 121.894l23.144-71.23H40.856L64 121.893z" /><path- fill="#FC6D26"- d="M64 121.894l-23.144-71.23H8.42L64 121.893z"- /><path- fill="#FCA326"- d="M8.42 50.663L1.384 72.31a4.79 4.79 0 001.74 5.357L64 121.894 8.42 50.664z"- /><path- fill="#E24329"- d="M8.42 50.663h32.436L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664z"- /><path fill="#FC6D26" d="M64 121.894l23.144-71.23h32.437L64 121.893z" /><path- fill="#FCA326"- d="M119.58 50.663l7.035 21.647a4.79 4.79 0 01-1.74 5.357L64 121.894l55.58-71.23z"- /><path- fill="#E24329"- d="M119.58 50.663H87.145l13.94-42.902c.717-2.206 3.84-2.206 4.557 0l13.94 42.903z"- />- </svg>- {:else if application.gitSource?.type === 'github'}- <svg viewBox="0 0 128 128" class="w-6 h-6">- <g fill="#ffffff"- ><path- fill-rule="evenodd"- clip-rule="evenodd"- d="M64 5.103c-33.347 0-60.388 27.035-60.388 60.388 0 26.682 17.303 49.317 41.297 57.303 3.017.56 4.125-1.31 4.125-2.905 0-1.44-.056-6.197-.082-11.243-16.8 3.653-20.345-7.125-20.345-7.125-2.747-6.98-6.705-8.836-6.705-8.836-5.48-3.748.413-3.67.413-3.67 6.063.425 9.257 6.223 9.257 6.223 5.386 9.23 14.127 6.562 17.573 5.02.542-3.903 2.107-6.568 3.834-8.076-13.413-1.525-27.514-6.704-27.514-29.843 0-6.593 2.36-11.98 6.223-16.21-.628-1.52-2.695-7.662.584-15.98 0 0 5.07-1.623 16.61 6.19C53.7 35 58.867 34.327 64 34.304c5.13.023 10.3.694 15.127 2.033 11.526-7.813 16.59-6.19 16.59-6.19 3.287 8.317 1.22 14.46.593 15.98 3.872 4.23 6.215 9.617 6.215 16.21 0 23.194-14.127 28.3-27.574 29.796 2.167 1.874 4.097 5.55 4.097 11.183 0 8.08-.07 14.583-.07 16.572 0 1.607 1.088 3.49 4.148 2.897 23.98-7.994 41.263-30.622 41.263-57.294C124.388 32.14 97.35 5.104 64 5.104z"- /><path- d="M26.484 91.806c-.133.3-.605.39-1.035.185-.44-.196-.685-.605-.543-.906.13-.31.603-.395 1.04-.188.44.197.69.61.537.91zm2.446 2.729c-.287.267-.85.143-1.232-.28-.396-.42-.47-.983-.177-1.254.298-.266.844-.14 1.24.28.394.426.472.984.17 1.255zM31.312 98.012c-.37.258-.976.017-1.35-.52-.37-.538-.37-1.183.01-1.44.373-.258.97-.025 1.35.507.368.545.368 1.19-.01 1.452zm3.261 3.361c-.33.365-1.036.267-1.552-.23-.527-.487-.674-1.18-.343-1.544.336-.366 1.045-.264 1.564.23.527.486.686 1.18.333 1.543zm4.5 1.951c-.147.473-.825.688-1.51.486-.683-.207-1.13-.76-.99-1.238.14-.477.823-.7 1.512-.485.683.206 1.13.756.988 1.237zm4.943.361c.017.498-.563.91-1.28.92-.723.017-1.308-.387-1.315-.877 0-.503.568-.91 1.29-.924.717-.013 1.306.387 1.306.88zm4.598-.782c.086.485-.413.984-1.126 1.117-.7.13-1.35-.172-1.44-.653-.086-.498.422-.997 1.122-1.126.714-.123 1.354.17 1.444.663zm0 0"- /></g- >- </svg>- {/if}- Open on Git- <svg- xmlns="http://www.w3.org/2000/svg"- fill="currentColor"- viewBox="0 0 24 24"- stroke-width="3"- stroke="currentColor"- class="w-3 h-3 text-white"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- d="M4.5 19.5l15-15m0 0H8.25m11.25 0v11.25"- />- </svg>- </a>- </li>- {/if}-- <li class="rounded" class:bg-coollabs={$page.url.pathname === `/applications/${$page.params.id}`}>- <a href={`/applications/${$page.params.id}`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5"- />- </svg>Configuration</a- >- </li>- <li- class="rounded"- class:bg-coollabs={$page.url.pathname === `/applications/${$page.params.id}/secrets`}- >- <a href={`/applications/${$page.params.id}/secrets`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3"- />- <circle cx="12" cy="11" r="1" />- <line x1="12" y1="12" x2="12" y2="14.5" />- </svg>Secrets</a- >- </li>- <li- class="rounded"- class:bg-coollabs={$page.url.pathname === `/applications/${$page.params.id}/storages`}- >- <a href={`/applications/${$page.params.id}/storages`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <ellipse cx="12" cy="6" rx="8" ry="3" />- <path d="M4 6v6a8 3 0 0 0 16 0v-6" />- <path d="M4 12v6a8 3 0 0 0 16 0v-6" />- </svg>Persistent Volumes</a- >- </li>- {#if !application.simpleDockerfile}- <li- class="rounded"- class:bg-coollabs={$page.url.pathname === `/applications/${$page.params.id}/features`}- >- <a href={`/applications/${$page.params.id}/features`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <polyline points="13 3 13 10 19 10 11 21 11 14 5 14 13 3" />- </svg>Features</a- >- </li>- {/if}-- <li class="menu-title">- <span>Logs</span>- </li>- <li- class:text-stone-600={$status.application.overallStatus === 'stopped'}- class="rounded"- class:bg-coollabs={$page.url.pathname === `/applications/${$page.params.id}/logs`}- >- <a- href={$status.application.overallStatus !== 'stopped'- ? `/applications/${$page.params.id}/logs`- : ''}- class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0" />- <path d="M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0" />- <line x1="3" y1="6" x2="3" y2="19" />- <line x1="12" y1="6" x2="12" y2="19" />- <line x1="21" y1="6" x2="21" y2="19" />- </svg>Application</a- >- </li>- <li- class="rounded"- class:bg-coollabs={$page.url.pathname === `/applications/${$page.params.id}/logs/build`}- >- <a href={`/applications/${$page.params.id}/logs/build`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="19" cy="13" r="2" />- <circle cx="4" cy="17" r="2" />- <circle cx="13" cy="17" r="2" />- <line x1="13" y1="19" x2="4" y2="19" />- <line x1="4" y1="15" x2="13" y2="15" />- <path d="M8 12v-5h2a3 3 0 0 1 3 3v5" />- <path d="M5 15v-2a1 1 0 0 1 1 -1h7" />- <path d="M19 11v-7l-6 7" />- </svg>Build</a- >- </li>- <li class="menu-title">- <span>Advanced</span>- </li>- {#if application.gitSourceId && $appSession.isAdmin}- <li- class="rounded"- class:bg-coollabs={$page.url.pathname === `/applications/${$page.params.id}/revert`}- >- <a href={`/applications/${$page.params.id}/revert`} class="no-underline w-full">- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M20 5v14l-12 -7z" />- <line x1="4" y1="5" x2="4" y2="19" />- </svg>- Revert</a- >- </li>- {/if}- <li- class="rounded"- class:text-stone-600={$status.application.overallStatus !== 'healthy'}- class:bg-coollabs={$page.url.pathname === `/applications/${$page.params.id}/usage`}- >- <a- href={$status.application.overallStatus === 'healthy'- ? `/applications/${$page.params.id}/usage`- : ''}- class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M3 12h4l3 8l4 -16l3 8h4" />- </svg>Monitoring</a- >- </li>- {#if !application.settings.isBot && application.gitSourceId}- <li- class="rounded"- class:bg-coollabs={$page.url.pathname === `/applications/${$page.params.id}/previews`}- >- <a href={`/applications/${$page.params.id}/previews`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="7" cy="18" r="2" />- <circle cx="7" cy="6" r="2" />- <circle cx="17" cy="12" r="2" />- <line x1="7" y1="8" x2="7" y2="16" />- <path d="M7 8a4 4 0 0 0 4 4h4" />- </svg>Preview Deployments</a- >- </li>- {/if}- {#if $appSession.isAdmin}- <li- class="rounded"- class:bg-coollabs={$page.url.pathname === `/applications/${$page.params.id}/danger`}- >- <a href={`/applications/${$page.params.id}/danger`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M12 9v2m0 4v.01" />- <path- d="M5 19h14a2 2 0 0 0 1.84 -2.75l-7.1 -12.25a2 2 0 0 0 -3.5 0l-7.1 12.25a2 2 0 0 0 1.75 2.75"- />- </svg>Danger Zone</a- >- </li>- {/if}-</ul>diff --git a/apps/ui/src/routes/applications/[id]/_PreviewSecret.svelte b/apps/ui/src/routes/applications/[id]/_PreviewSecret.sveltedeleted file mode 100644index 3dba6e30ff..0000000000--- a/apps/ui/src/routes/applications/[id]/_PreviewSecret.svelte+++ /dev/null@@ -1,133 +0,0 @@-<script lang="ts">- export let length = 0;- export let index: number = 0;- export let name = '';- export let value = '';- export let isBuildSecret = false;-- import { page } from '$app/stores';- import { del, post, put } from '$lib/api';- import { errorNotification } from '$lib/common';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { addToast, appSession } from '$lib/store';- import { t } from '$lib/translations';- import { createEventDispatcher } from 'svelte';-- const dispatch = createEventDispatcher();- const { id } = $page.params;-- async function updatePreviewSecret() {- try {- await put(`/applications/${id}/secrets/preview`, {- name,- value- });- addToast({- message: 'Secret updated.',- type: 'success'- });- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="w-full grid grid-cols-1 lg:grid-cols-4 gap-2 pb-2">- <div class="flex flex-col">- {#if index === 0 || length === 0}- <label for="name" class="pb-2 uppercase font-bold">name</label>- {/if}-- <input- id="secretName"- readonly- disabled- value={name}- required- placeholder="EXAMPLE_VARIABLE"- class=" w-full"- />- </div>- <div class="flex flex-col">- {#if index === 0 || length === 0}- <label for="value" class="pb-2 uppercase font-bold">value</label>- {/if}-- <CopyPasswordField- id="secretValue"- name="secretValue"- isPasswordField={true}- bind:value- placeholder="J$#@UIO%HO#$U%H"- />- </div>- <div class="flex lg:flex-col flex-row justify-start items-center pt-3 lg:pt-0">- {#if index === 0 || length === 0}- <label for="name" class="pb-2 uppercase lg:block hidden font-bold"- >Need during buildtime?</label- >- {/if}- <label for="name" class="pb-2 uppercase lg:hidden block font-bold">Need during buildtime?</label- >-- <div class="flex justify-center h-full items-center pt-0 lg:pt-0 pl-4 lg:pl-0">- <button- aria-pressed="false"- class="opacity-50 cursor-pointer cursor-not-allowedrelative inline-flex h-6 w-11 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out "- class:bg-green-600={isBuildSecret}- class:bg-stone-700={!isBuildSecret}- >- <span class="sr-only">{$t('application.secrets.use_isbuildsecret')}</span>- <span- class="pointer-events-none relative inline-block h-5 w-5 transform rounded-full bg-white shadow transition duration-200 ease-in-out"- class:translate-x-5={isBuildSecret}- class:translate-x-0={!isBuildSecret}- >- <span- class="absolute inset-0 flex h-full w-full items-center justify-center transition-opacity duration-200 ease-in"- class:opacity-0={isBuildSecret}- class:opacity-100={!isBuildSecret}- aria-hidden="true"- >- <svg class="h-3 w-3 bg-white text-red-600" fill="none" viewBox="0 0 12 12">- <path- d="M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2"- stroke="currentColor"- stroke-width="2"- stroke-linecap="round"- stroke-linejoin="round"- />- </svg>- </span>- <span- class="absolute inset-0 flex h-full w-full items-center justify-center transition-opacity duration-100 ease-out"- aria-hidden="true"- class:opacity-100={isBuildSecret}- class:opacity-0={!isBuildSecret}- >- <svg class="h-3 w-3 bg-white text-green-600" fill="currentColor" viewBox="0 0 12 12">- <path- d="M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"- />- </svg>- </span>- </span>- </button>- </div>- </div>- <div class="flex flex-row lg:flex-col lg:items-center items-start">- {#if index === 0 || length === 0}- <label for="name" class="pb-5 uppercase lg:block hidden font-bold" />- {/if}-- {#if $appSession.isAdmin}- <div class="flex justify-center h-full items-center pt-3">- <div class="flex flex-row justify-center space-x-2">- <div class="flex items-center justify-center">- <button class="btn btn-sm btn-primary" on:click={updatePreviewSecret}>Update</button>- </div>- </div>- </div>- {/if}- </div>-</div>diff --git a/apps/ui/src/routes/applications/[id]/_Secret.svelte b/apps/ui/src/routes/applications/[id]/_Secret.sveltedeleted file mode 100644index ce7c9e962f..0000000000--- a/apps/ui/src/routes/applications/[id]/_Secret.svelte+++ /dev/null@@ -1,193 +0,0 @@-<script lang="ts">- export let length = 0;- export let index: number = 0;- export let name = '';- export let value = '';- export let isBuildSecret = false;- export let isNewSecret = false;-- import { page } from '$app/stores';- import { del, post, put } from '$lib/api';- import { errorNotification } from '$lib/common';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { addToast, appSession } from '$lib/store';- import { t } from '$lib/translations';- import { createEventDispatcher } from 'svelte';-- const dispatch = createEventDispatcher();- const { id } = $page.params;- function cleanupState() {- if (isNewSecret) {- name = '';- value = '';- isBuildSecret = false;- }- }- async function removeSecret() {- try {- await del(`/applications/${id}/secrets`, { name });- cleanupState();- addToast({- message: 'Secret removed.',- type: 'success'- });- dispatch('refresh');- } catch (error) {- return errorNotification(error);- }- }-- async function addNewSecret() {- try {- if (!name.trim()) return errorNotification({ message: 'Name is required.' });- if (!value.trim()) return errorNotification({ message: 'Value is required.' });- await post(`/applications/${id}/secrets`, {- name: name.trim(),- value: value.trim(),- isBuildSecret- });- cleanupState();- addToast({- message: 'Secret added.',- type: 'success'- });- dispatch('refresh');- } catch (error) {- return errorNotification(error);- }- }-- async function updateSecret({- changeIsBuildSecret = false- }: { changeIsBuildSecret?: boolean } = {}) {- if (changeIsBuildSecret) isBuildSecret = !isBuildSecret;- if (isNewSecret) return;- try {- await put(`/applications/${id}/secrets`, {- name: name.trim(),- value: value.trim(),- isBuildSecret: changeIsBuildSecret ? isBuildSecret : undefined- });- addToast({- message: 'Secret updated.',- type: 'success'- });- dispatch('refresh');- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="w-full grid grid-cols-1 lg:grid-cols-4 gap-2 pb-2">- <div class="flex flex-col">- {#if (index === 0 && !isNewSecret) || length === 0}- <label for="name" class="pb-2 uppercase font-bold">name</label>- {/if}-- <input- id={isNewSecret ? 'secretName' : 'secretNameNew'}- bind:value={name}- required- placeholder="EXAMPLE_VARIABLE"- readonly={!isNewSecret}- class="w-full"- class:bg-coolblack={!isNewSecret}- class:border={!isNewSecret}- class:border-dashed={!isNewSecret}- class:border-coolgray-300={!isNewSecret}- class:cursor-not-allowed={!isNewSecret}- />- </div>- <div class="flex flex-col">- {#if (index === 0 && !isNewSecret) || length === 0}- <label for="value" class="pb-2 uppercase font-bold">value</label>- {/if}-- <CopyPasswordField- id={isNewSecret ? 'secretValue' : 'secretValueNew'}- name={isNewSecret ? 'secretValue' : 'secretValueNew'}- isPasswordField={true}- bind:value- placeholder="J$#@UIO%HO#$U%H"- />- </div>- <div class="flex lg:flex-col flex-row justify-start items-center pt-3 lg:pt-0">- {#if (index === 0 && !isNewSecret) || length === 0}- <label for="name" class="pb-2 uppercase lg:block hidden font-bold"- >Need during buildtime?</label- >- {/if}- <label for="name" class="pb-2 uppercase lg:hidden block font-bold">Need during buildtime?</label- >-- <div class="flex justify-center h-full items-center pt-0 lg:pt-0 pl-4 lg:pl-0">- <button- on:click={() => updateSecret({ changeIsBuildSecret: true })}- disabled={!$appSession.isAdmin}- aria-pressed="false"- class="relative inline-flex h-6 w-11 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out"- class:bg-green-600={isBuildSecret}- class:bg-stone-700={!isBuildSecret}- >- <span class="sr-only">{$t('application.secrets.use_isbuildsecret')}</span>- <span- class="pointer-events-none relative inline-block h-5 w-5 transform rounded-full bg-white shadow transition duration-200 ease-in-out"- class:translate-x-5={isBuildSecret}- class:translate-x-0={!isBuildSecret}- >- <span- class="absolute inset-0 flex h-full w-full items-center justify-center transition-opacity duration-200 ease-in"- class:opacity-0={isBuildSecret}- class:opacity-100={!isBuildSecret}- aria-hidden="true"- >- <svg class="h-3 w-3 bg-white text-red-600" fill="none" viewBox="0 0 12 12">- <path- d="M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2"- stroke="currentColor"- stroke-width="2"- stroke-linecap="round"- stroke-linejoin="round"- />- </svg>- </span>- <span- class="absolute inset-0 flex h-full w-full items-center justify-center transition-opacity duration-100 ease-out"- aria-hidden="true"- class:opacity-100={isBuildSecret}- class:opacity-0={!isBuildSecret}- >- <svg class="h-3 w-3 bg-white text-green-600" fill="currentColor" viewBox="0 0 12 12">- <path- d="M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"- />- </svg>- </span>- </span>- </button>- </div>- </div>- <div class="flex flex-row lg:flex-col lg:items-center items-start">- {#if (index === 0 && !isNewSecret) || length === 0}- <label for="name" class="pb-5 uppercase lg:block hidden font-bold" />- {/if}-- <div class="flex justify-center h-full items-center pt-3">- {#if isNewSecret}- <div class="flex items-center justify-center">- <button class="btn btn-sm btn-primary" on:click={addNewSecret}>Add</button>- </div>- {:else if $appSession.isAdmin}- <div class="flex flex-row justify-center space-x-2">- <div class="flex items-center justify-center">- <button class="btn btn-sm btn-primary" on:click={() => updateSecret()}>Set</button>- </div>- <div class="flex justify-center items-end">- <button class="btn btn-sm btn-error" on:click={removeSecret}>Remove</button>- </div>- </div>- {/if}- </div>- </div>-</div>diff --git a/apps/ui/src/routes/applications/[id]/_Storage.svelte b/apps/ui/src/routes/applications/[id]/_Storage.sveltedeleted file mode 100644index 6eeb2c66bf..0000000000--- a/apps/ui/src/routes/applications/[id]/_Storage.svelte+++ /dev/null@@ -1,138 +0,0 @@-<script lang="ts">- export let isNew = false;- export let storage: any = {- id: null,- path: null- };- import { del, post } from '$lib/api';- import { page } from '$app/stores';- import { createEventDispatcher } from 'svelte';- import { browser } from '$app/env';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import { addToast } from '$lib/store';- import CopyVolumeField from '$lib/components/CopyVolumeField.svelte';- import SimpleExplainer from '$lib/components/SimpleExplainer.svelte';- const { id } = $page.params;- let isHttps = browser && window.location.protocol === 'https:';- export let value: string;- function copyToClipboard() {- if (isHttps && navigator.clipboard) {- navigator.clipboard.writeText(value);- addToast({- message: 'Copied to clipboard.',- type: 'success'- });- }- }- const dispatch = createEventDispatcher();- async function saveStorage(newStorage = false) {- try {- if (!storage.path) return errorNotification($t('application.storage.path_is_required'));- storage.path = storage.path.startsWith('/') ? storage.path : `/${storage.path}`;- storage.path = storage.path.endsWith('/') ? storage.path.slice(0, -1) : storage.path;- storage.path.replace(/\/\//g, '/');- await post(`/applications/${id}/storages`, {- path: storage.path,- hostPath: storage.hostPath,- storageId: storage.id,- newStorage- });- dispatch('refresh');- if (isNew) {- storage.hostPath = null;- storage.path = null;- storage.id = null;- }- if (newStorage) {- addToast({- message: $t('application.storage.storage_saved'),- type: 'success'- });- } else {- addToast({- message: $t('application.storage.storage_updated'),- type: 'success'- });- }- } catch (error) {- return errorNotification(error);- }- }- async function removeStorage() {- try {- await del(`/applications/${id}/storages`, { path: storage.path });- dispatch('refresh');- addToast({- message: $t('application.storage.storage_deleted'),- type: 'success'- });- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="w-full lg:px-0 px-4">- {#if storage.predefined}- <div class="flex flex-col lg:flex-row gap-4 pb-2">- <input disabled readonly class="w-full" value={storage.id} />- <input disabled readonly class="w-full" bind:value={storage.path} />- </div>- {:else}- <div class="flex gap-4 pb-2" class:pt-8={isNew}>- {#if storage.applicationId}- {#if storage.oldPath}- <CopyVolumeField- value="{storage.applicationId}{storage.path.replace(/\//gi, '-').replace('-app', '')}"- />- {:else if !storage.hostPath}- <CopyVolumeField- value="{storage.applicationId}{storage.path.replace(/\//gi, '-').replace('-app', '')}"- />- {/if}- {/if}-- {#if isNew}- <div class="w-full">- <input- disabled={!isNew}- readonly={!isNew}- bind:value={storage.hostPath}- placeholder="Host path, example: ~/.directory"- />-- <SimpleExplainer- text="You can mount <span class='text-yellow-400 font-bold'>host paths</span> from the operating system.<br>Leave it empty to define a volume based volume."- />- </div>- {:else if storage.hostPath}- <input disabled readonly value={storage.hostPath} />- {/if}- <input- disabled={!isNew}- readonly={!isNew}- class="w-full"- bind:value={storage.path}- required- placeholder="Mount point inside the container, example: /data"- />-- <div class="flex items-start justify-center">- {#if isNew}- <div class="w-full lg:w-64">- <button class="btn btn-sm btn-primary w-full" on:click={() => saveStorage(true)}- >{$t('forms.add')}</button- >- </div>- {:else}- <div class="flex justify-center">- <button class="btn btn-sm btn-error" on:click={removeStorage}- >{$t('forms.remove')}</button- >- </div>- {/if}- </div>- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/applications/[id]/__layout.svelte b/apps/ui/src/routes/applications/[id]/__layout.sveltedeleted file mode 100644index a61b274862..0000000000--- a/apps/ui/src/routes/applications/[id]/__layout.svelte+++ /dev/null@@ -1,530 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- function checkConfiguration(application: any): string | null {- let configurationPhase = null;- if (!application.gitSourceId && !application.simpleDockerfile) {- return (configurationPhase = 'source');- }- if (application.simpleDockerfile) {- if (!application.destinationDockerId) {- configurationPhase = 'destination';- }- return configurationPhase;- } else if (!application.repository && !application.branch) {- configurationPhase = 'repository';- } else if (!application.destinationDockerId) {- configurationPhase = 'destination';- } else if (!application.buildPack) {- configurationPhase = 'buildpack';- }- return configurationPhase;- }- export const load: Load = async ({ fetch, url, params }) => {- try {- const response = await get(`/applications/${params.id}`);- let { application, appId, settings } = response;- if (!application || Object.entries(application).length === 0) {- return {- status: 302,- redirect: '/'- };- }- const configurationPhase = checkConfiguration(application);- if (- configurationPhase &&- url.pathname !== `/applications/${params.id}/configuration/${configurationPhase}`- ) {- return {- status: 302,- redirect: `/applications/${params.id}/configuration/${configurationPhase}`- };- }-- return {- props: {- application,- settings- },- stuff: {- application,- appId,- settings- }- };- } catch (error) {- return handlerNotFoundLoad(error, url);- }- };-</script>--<script lang="ts">- export let application: any;- export let settings: any;- import { page } from '$app/stores';- import { del, get, post } from '$lib/api';- import { goto } from '$app/navigation';- import { onDestroy, onMount } from 'svelte';- import { t } from '$lib/translations';- import {- appSession,- status,- location,- setLocation,- addToast,- isDeploymentEnabled,- checkIfDeploymentEnabledApplications,- selectedBuildId- } from '$lib/store';- import { errorNotification, handlerNotFoundLoad } from '$lib/common';- import Menu from './_Menu.svelte';- import { saveForm } from './utils';-- let statusInterval: any;- let forceDelete = false;- let stopping = false;- const { id } = $page.params;- $isDeploymentEnabled = checkIfDeploymentEnabledApplications(application);-- async function deleteApplication(name: string, force: boolean) {- const sure = confirm($t('application.confirm_to_delete', { name }));- if (sure) {- try {- await del(`/applications/${id}`, {});- return await goto('/');- } catch (error) {- if (error.message.startsWith(`Command failed: SSH_AUTH_SOCK=/tmp/coolify-ssh-agent.pid`)) {- forceDelete = true;- }- return errorNotification(error);- }- }- }-- async function handleDeploySubmit(forceRebuild = false) {- if (!$isDeploymentEnabled) return;- if (application.gitCommitHash && !application.settings.isPublicRepository) {- const sure = await confirm(- `Are you sure you want to deploy a specific commit (${application.gitCommitHash})? This will disable the "Automatic Deployment" feature to prevent accidental overwrites of incoming commits.`- );- if (!sure) {- return;- } else {- await post(`/applications/${id}/settings`, {- autodeploy: false- });- }- }- if (!statusInterval) {- statusInterval = setInterval(async () => {- await getStatus();- }, 2000);- }- try {- await saveForm(id, application);- const { buildId } = await post(`/applications/${id}/deploy`, {- ...application,- forceRebuild- });- addToast({- message: $t('application.deployment_queued'),- type: 'success'- });- $selectedBuildId = buildId;- return await goto(`/applications/${id}/logs/build?buildId=${buildId}`, {- replaceState: true- });- } catch (error) {- return errorNotification(error);- }- }-- async function restartApplication() {- try {- $status.application.initialLoading = true;- $status.application.loading = true;- await post(`/applications/${id}/restart`, {});- addToast({- type: 'success',- message: 'Restart successful.'- });- } catch (error) {- return errorNotification(error);- } finally {- $status.application.initialLoading = false;- $status.application.loading = false;- await getStatus();- }- }- async function stopApplication() {- try {- stopping = true;- await post(`/applications/${id}/stop`, {});- } catch (error) {- return errorNotification(error);- } finally {- stopping = false;- await getStatus();- }- }- async function getStatus() {- if (($status.application.loading && stopping) || $status.application.restarting === true)- return;- $status.application.loading = true;- const data = await get(`/applications/${id}/status`);-- $status.application.statuses = data;- let numberOfApplications = 0;- if (application.dockerComposeConfiguration) {- numberOfApplications =- application.buildPack === 'compose'- ? Object.entries(JSON.parse(application.dockerComposeConfiguration)).length- : 1;- } else {- numberOfApplications = 1;- }-- if ($status.application.statuses.length === 0) {- $status.application.overallStatus = 'stopped';- } else {- for (const oneStatus of $status.application.statuses) {- if (oneStatus.status.isExited || oneStatus.status.isRestarting) {- $status.application.overallStatus = 'degraded';- break;- }- if (oneStatus.status.isRunning) {- $status.application.overallStatus = 'healthy';- }- if (- !oneStatus.status.isExited &&- !oneStatus.status.isRestarting &&- !oneStatus.status.isRunning- ) {- $status.application.overallStatus = 'stopped';- }- }- }- $status.application.loading = false;- $status.application.initialLoading = false;- }-- onDestroy(() => {- $status.application.initialLoading = true;- $status.application.loading = false;- $status.application.statuses = [];- $status.application.overallStatus = 'stopped';- $location = null;- $isDeploymentEnabled = false;- clearInterval(statusInterval);- });- onMount(async () => {- setLocation(application, settings);- $status.application.loading = false;- if ($isDeploymentEnabled) {- await getStatus();- statusInterval = setInterval(async () => {- await getStatus();- }, 2000);- } else {- $status.application.initialLoading = false;- }- });-</script>--<div class="mx-auto max-w-screen-2xl px-6 grid grid-cols-1 lg:grid-cols-2">- <nav class="header flex flex-row order-2 lg:order-1 px-0 lg:px-4 items-start">- <div class="title lg:pb-10">- {#if $page.url.pathname === `/applications/${id}/configuration/source`}- Select a Source- {:else if $page.url.pathname === `/applications/${id}/configuration/destination`}- Select a Destination- {:else if $page.url.pathname === `/applications/${id}/configuration/repository`}- Select a Repository- {:else if $page.url.pathname === `/applications/${id}/configuration/buildpack`}- Select a Build Pack- {:else}- <div class="flex justify-center items-center space-x-2">- <div>Configurations</div>- <div- class="badge badge-lg rounded uppercase"- class:text-green-500={$status.application.overallStatus === 'healthy'}- class:text-yellow-400={$status.application.overallStatus === 'degraded'}- class:text-red-500={$status.application.overallStatus === 'stopped'}- >- {$status.application.overallStatus === 'healthy'- ? 'Healthy'- : $status.application.overallStatus === 'degraded'- ? 'Degraded'- : 'Stopped'}- </div>- </div>- {/if}- </div>- {#if $page.url.pathname.startsWith(`/applications/${id}/configuration/`)}- <div class="px-4">- {#if forceDelete}- <button- on:click={() => deleteApplication(application.name, true)}- disabled={!$appSession.isAdmin}- class:bg-red-600={$appSession.isAdmin}- class:hover:bg-red-500={$appSession.isAdmin}- class="btn btn-sm btn-error hover:bg-red-700 text-sm w-64"- >- Force Delete Application- </button>- {:else}- <button- on:click={() => deleteApplication(application.name, false)}- disabled={!$appSession.isAdmin}- class:bg-red-600={$appSession.isAdmin}- class:hover:bg-red-500={$appSession.isAdmin}- class="btn btn-sm btn-error hover:bg-red-700 text-sm w-64"- >- Delete Application- </button>- {/if}- </div>- {/if}- </nav>- <div- class="pt-4 flex flex-row items-start justify-center lg:justify-end space-x-2 order-1 lg:order-2"- >- {#if $status.application.overallStatus === 'degraded' && application.buildPack !== 'compose'}- <a- href={$isDeploymentEnabled ? `/applications/${id}/logs` : null}- class="btn btn-sm text-sm gap-2"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6 text-red-500"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentcolor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M8.7 3h6.6c.3 0 .5 .1 .7 .3l4.7 4.7c.2 .2 .3 .4 .3 .7v6.6c0 .3 -.1 .5 -.3 .7l-4.7 4.7c-.2 .2 -.4 .3 -.7 .3h-6.6c-.3 0 -.5 -.1 -.7 -.3l-4.7 -4.7c-.2 -.2 -.3 -.4 -.3 -.7v-6.6c0 -.3 .1 -.5 .3 -.7l4.7 -4.7c.2 -.2 .4 -.3 .7 -.3z"- />- <line x1="12" y1="8" x2="12" y2="12" />- <line x1="12" y1="16" x2="12.01" y2="16" />- </svg>- Application Error- </a>- {/if}- {#if stopping}- <button class="btn btn-ghost btn-sm gap-2">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6 animate-spin duration-500 ease-in-out"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M9 4.55a8 8 0 0 1 6 14.9m0 -4.45v5h5" />- <line x1="5.63" y1="7.16" x2="5.63" y2="7.17" />- <line x1="4.06" y1="11" x2="4.06" y2="11.01" />- <line x1="4.63" y1="15.1" x2="4.63" y2="15.11" />- <line x1="7.16" y1="18.37" x2="7.16" y2="18.38" />- <line x1="11" y1="19.94" x2="11" y2="19.95" />- </svg>- Stopping...- </button>- {:else if $status.application.initialLoading}- <button class="btn btn-ghost btn-sm gap-2">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6 animate-spin duration-500 ease-in-out"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M9 4.55a8 8 0 0 1 6 14.9m0 -4.45v5h5" />- <line x1="5.63" y1="7.16" x2="5.63" y2="7.17" />- <line x1="4.06" y1="11" x2="4.06" y2="11.01" />- <line x1="4.63" y1="15.1" x2="4.63" y2="15.11" />- <line x1="7.16" y1="18.37" x2="7.16" y2="18.38" />- <line x1="11" y1="19.94" x2="11" y2="19.95" />- </svg>- Loading...- </button>- {:else if $status.application.overallStatus === 'healthy'}- {#if application.buildPack !== 'compose'}- <button- on:click={restartApplication}- type="submit"- disabled={!$isDeploymentEnabled || !$appSession.isAdmin}- class="btn btn-sm gap-2"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4" />- <path d="M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4" />- </svg> Restart- </button>- {/if}- <button- disabled={!$isDeploymentEnabled || !$appSession.isAdmin}- class="btn btn-sm gap-2"- on:click={() => handleDeploySubmit(true)}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M16.3 5h.7a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h5l-2.82 -2.82m0 5.64l2.82 -2.82"- transform="rotate(-45 12 12)"- />- </svg>-- Force Redeploy- </button>- <button- on:click={stopApplication}- type="submit"- disabled={!$isDeploymentEnabled || !$appSession.isAdmin}- class="btn btn-sm gap-2"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6 text-error"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <rect x="6" y="5" width="4" height="14" rx="1" />- <rect x="14" y="5" width="4" height="14" rx="1" />- </svg> Stop- </button>- {:else if $isDeploymentEnabled && !$page.url.pathname.startsWith(`/applications/${id}/configuration/`)}- <button- class="btn btn-sm gap-2"- disabled={!$isDeploymentEnabled || !$appSession.isAdmin}- on:click={() => handleDeploySubmit(true)}- >- {#if $status.application.overallStatus !== 'degraded'}- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6 text-pink-500"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M7 4v16l13 -8z" />- </svg>- {:else}- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M16.3 5h.7a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h5l-2.82 -2.82m0 5.64l2.82 -2.82"- transform="rotate(-45 12 12)"- />- </svg>- {/if}- {$status.application.overallStatus === 'degraded'- ? $status.application.statuses.length === 1- ? 'Force Redeploy'- : 'Redeploy Stack'- : 'Deploy'}- </button>- {#if $status.application.overallStatus === 'degraded'}- <button- on:click={stopApplication}- type="submit"- disabled={!$isDeploymentEnabled || !$appSession.isAdmin}- class="btn btn-sm gap-2"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6 text-error"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <rect x="6" y="5" width="4" height="14" rx="1" />- <rect x="14" y="5" width="4" height="14" rx="1" />- </svg> Stop- </button>- {/if}- {/if}- {#if $location && $status.application.overallStatus === 'healthy'}- <a href={$location} target="_blank noreferrer" class="btn btn-sm gap-2 text-sm bg-primary"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5" />- <line x1="10" y1="14" x2="20" y2="4" />- <polyline points="15 4 20 4 20 9" />- </svg>Open</a- >- {/if}- </div>-</div>-<div- class="mx-auto max-w-screen-2xl px-0 lg:px-10 grid grid-cols-1"- class:lg:grid-cols-4={!$page.url.pathname.startsWith(`/applications/${id}/configuration/`)}->- {#if !$page.url.pathname.startsWith(`/applications/${id}/configuration/`)}- <nav class="header flex flex-col lg:pt-0 ">- <Menu {application} />- </nav>- {/if}- <div class="pt-0 col-span-0 lg:col-span-3 pb-24">- <slot />- </div>-</div>diff --git a/apps/ui/src/routes/applications/[id]/configuration/_BuildPack.svelte b/apps/ui/src/routes/applications/[id]/configuration/_BuildPack.sveltedeleted file mode 100644index c6872dedec..0000000000--- a/apps/ui/src/routes/applications/[id]/configuration/_BuildPack.svelte+++ /dev/null@@ -1,72 +0,0 @@-<script lang="ts">- import { goto } from '$app/navigation';-- import { page } from '$app/stores';- import { post } from '$lib/api';- import { errorNotification } from '$lib/common';- import { findBuildPack } from '$lib/templates';- import { t } from '$lib/translations';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');-- export let buildPack: any;- export let foundConfig: any;- export let scanning: any;- export let packageManager: any;- export let dockerComposeFile: string | null = null;- export let dockerComposeFileLocation: string | null = null;- export let dockerComposeConfiguration: any = null;-- async function handleSubmit(name: string) {- try {- const tempBuildPack = JSON.parse(- JSON.stringify(findBuildPack(buildPack.name, packageManager))- );-- delete tempBuildPack.name;- delete tempBuildPack.fancyName;- delete tempBuildPack.color;- delete tempBuildPack.hoverColor;- let composeConfiguration: any = {};- if (!dockerComposeConfiguration && dockerComposeFile && buildPack.name === 'compose') {- const parsed = JSON.parse(dockerComposeFile);- if (!parsed?.services) {- throw new Error('No services found in docker-compose file. <br>Choose a different buildpack.');- }- for (const [name, _] of Object.entries(parsed.services)) {- composeConfiguration[name] = {};- }- }- await post(`/applications/${id}`, {- ...tempBuildPack,- buildPack: name,- dockerComposeFile,- dockerComposeFileLocation,- dockerComposeConfiguration: JSON.stringify(composeConfiguration) || JSON.stringify({})- });- await post(`/applications/${id}/configuration/buildpack`, { buildPack: name });- return await goto(from || `/applications/${id}`);- } catch (error) {- return errorNotification(error);- }- }-</script>--<form on:submit|preventDefault={() => handleSubmit(buildPack.name)}>- <button- type="submit"- class="box-selection relative flex flex-col items-center text-xl font-bold {buildPack.hoverColor} {foundConfig?.name ===- buildPack.name && buildPack.color}"- >- <div>{buildPack.fancyName}</div>- {#if buildPack.base}- <div class="text-xs font-mono">{buildPack.base}</div>- {/if}- {#if !scanning && foundConfig?.name === buildPack.name}- <span class="absolute bottom-0 pb-2 text-xs"- >{$t('application.configuration.buildpack.choose_this_one')}</span- >- {/if}- </button>-</form>diff --git a/apps/ui/src/routes/applications/[id]/configuration/_GithubRepositories.svelte b/apps/ui/src/routes/applications/[id]/configuration/_GithubRepositories.sveltedeleted file mode 100644index 593436950e..0000000000--- a/apps/ui/src/routes/applications/[id]/configuration/_GithubRepositories.svelte+++ /dev/null@@ -1,181 +0,0 @@-<script lang="ts">- export let application: any;- //@ts-ignore- import Select from 'svelte-select';- import { goto } from '$app/navigation';- import { page } from '$app/stores';- import { get, post } from '$lib/api';- import { onMount } from 'svelte';- import { appSession } from '$lib/store';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');- const to = $page.url.searchParams.get('to');-- let htmlUrl = application.gitSource.htmlUrl;- let apiUrl = application.gitSource.apiUrl;-- let loading = {- repositories: true,- branches: false- };- let repositories: any = [];- let branches: any = [];-- let selected = {- projectId: undefined,- repository: undefined,- branch: undefined,- autodeploy: application.settings.autodeploy || true- };- let showSave = false;-- async function loadRepositoriesByPage(page = 0) {- return await get(`${apiUrl}/installation/repositories?per_page=100&page=${page}`, {- Authorization: `token ${$appSession.tokens.github}`- });- }-- async function loadBranchesByPage(page = 0) {- return await get(`${apiUrl}/repos/${selected.repository}/branches?per_page=100&page=${page}`, {- Authorization: `token ${$appSession.tokens.github}`- });- }-- let reposSelectOptions: any;- let branchSelectOptions: any;-- async function loadRepositories() {- let page = 1;- let reposCount = 0;- const loadedRepos = await loadRepositoriesByPage();- repositories = repositories.concat(loadedRepos.repositories);- reposCount = loadedRepos.total_count;- if (reposCount > repositories.length) {- while (reposCount > repositories.length) {- page = page + 1;- const repos = await loadRepositoriesByPage(page);- repositories = repositories.concat(repos.repositories);- }- }- loading.repositories = false;- reposSelectOptions = repositories.map((repo: any) => ({- value: repo.full_name,- label: repo.name- }));- }- async function loadBranches(event: any) {- branches = [];- selected.repository = event.detail.value;- selected.projectId = repositories.find(- (repo: any) => repo.full_name === selected.repository- ).id;- let page = 1;- let branchCount = 0;- loading.branches = true;- const loadedBranches = await loadBranchesByPage();- branches = branches.concat(loadedBranches);- branchCount = branches.length;- if (branchCount === 100) {- while (branchCount === 100) {- page = page + 1;- const nextBranches = await loadBranchesByPage(page);- branches = branches.concat(nextBranches);- branchCount = nextBranches.length;- }- }- loading.branches = false;- branchSelectOptions = branches.map((branch: any) => ({- value: branch.name,- label: branch.name- }));- }- async function selectBranch(event: any) {- selected.branch = event.detail.value;- showSave = true;- }-- onMount(async () => {- try {- if (!$appSession.tokens.github) {- const { token } = await get(`/applications/${id}/configuration/githubToken`);- $appSession.tokens.github = token;- }- await loadRepositories();- } catch (error: any) {- if (error.message === 'Bad credentials') {- const { token } = await get(`/applications/${id}/configuration/githubToken`);- $appSession.tokens.github = token;- return await loadRepositories();- }- return errorNotification(error);- }- });- async function handleSubmit() {- try {- await post(`/applications/${id}/configuration/repository`, { ...selected });- if (to) {- return await goto(`${to}?from=${from}`);- }- return await goto(from || `/applications/${id}/configuration/destination`);- } catch (error) {- return errorNotification(error);- }- }-</script>--{#if repositories.length === 0 && loading.repositories === false}- <div class="flex-col text-center">- <div class="pb-4">{$t('application.configuration.no_repositories_configured')}</div>- <a href={`/sources/${application.gitSource.id}`}- ><button>{$t('application.configuration.configure_it_now')}</button></a- >- </div>-{:else}- <form on:submit|preventDefault={handleSubmit} class="px-10">- <div- class="flex lg:flex-row flex-col lg:space-y-0 space-y-2 space-x-0 lg:space-x-2 items-center lg:justify-center"- >- <div class="custom-select-wrapper w-full">- <label for="repository" class="pb-1">Repository</label>- <Select- placeholder={loading.repositories- ? $t('application.configuration.loading_repositories')- : $t('application.configuration.select_a_repository')}- id="repository"- showIndicator={!loading.repositories}- isWaiting={loading.repositories}- on:select={loadBranches}- items={reposSelectOptions}- isDisabled={loading.repositories}- isClearable={false}- />- </div>- <input class="hidden" bind:value={selected.projectId} name="projectId" />- <div class="custom-select-wrapper w-full">- <label for="repository" class="pb-1">Branch</label>- <Select- placeholder={loading.branches- ? $t('application.configuration.loading_branches')- : !selected.repository- ? $t('application.configuration.select_a_repository_first')- : $t('application.configuration.select_a_branch')}- isWaiting={loading.branches}- showIndicator={selected.repository && !loading.branches}- id="branches"- on:select={selectBranch}- items={branchSelectOptions}- isDisabled={loading.branches || !selected.repository}- isClearable={false}- />- </div>- </div>- <div class="pt-5 flex-col flex justify-center items-center space-y-4">- <button class="btn btn-wide btn-primary" type="submit" disabled={!showSave}- >{$t('forms.save')}</button- >- </div>- </form>-{/if}diff --git a/apps/ui/src/routes/applications/[id]/configuration/_GitlabRepositories.svelte b/apps/ui/src/routes/applications/[id]/configuration/_GitlabRepositories.sveltedeleted file mode 100644index 97db0ba07c..0000000000--- a/apps/ui/src/routes/applications/[id]/configuration/_GitlabRepositories.svelte+++ /dev/null@@ -1,420 +0,0 @@-<script lang="ts">- export let application: any;- export let appId: any;- export let settings: any;- //@ts-ignore- import cuid from 'cuid';- import { page } from '$app/stores';- import { onMount } from 'svelte';- import { dev } from '$app/env';- import { goto } from '$app/navigation';- import { del, get, getAPIUrl, getWebhookUrl, post } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import { appSession } from '$lib/store';- import Select from 'svelte-select';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');-- let url = settings?.fqdn ? settings.fqdn : window.location.origin;- if (dev) url = getAPIUrl();-- const updateDeployKeyIdUrl = `/applications/${id}/configuration/deploykey`;-- let loading = {- base: true,- projects: false,- branches: false,- save: false- };- let tryAgain = false;-- let htmlUrl = application.gitSource.htmlUrl;- let apiUrl = application.gitSource.apiUrl;-- let username: any = null;- let groups: any = [];- let projects: any = [];- let branches: any = [];- let showSave = false;- let autodeploy = application.settings.autodeploy || true;-- let selected: any = {- group: undefined,- project: undefined,- branch: undefined- };-- onMount(async () => {- if (!$appSession.tokens.gitlab) {- await getGitlabToken();- }- loading.base = true;- try {- const user = await get(`${apiUrl}/v4/user`, {- Authorization: `Bearer ${$appSession.tokens.gitlab}`- });- username = user.username;- groups.push({- full_name: username,- name: username- });- await loadGroups();- } catch (error) {- loading.base = false;- tryAgain = true;- }- });- function selectGroup(event: any) {- selected.group = event.detail;- selected.project = null;- selected.branch = null;- showSave = false;-- // Clear out projects- projects = [];- loadProjects();- }- function selectProject(event: any) {- selected.project = event.detail;- selected.branch = null;- showSave = false;- loadBranches();- }- async function getGitlabToken() {- return await new Promise<void>((resolve, reject) => {- const left = screen.width / 2 - 1020 / 2;- const top = screen.height / 2 - 618 / 2;- const newWindow = open(- `${htmlUrl}/oauth/authorize?client_id=${application.gitSource.gitlabApp.appId}&redirect_uri=${url}/webhooks/gitlab&response_type=code&scope=api+email+read_repository&state=${$page.params.id}`,- 'GitLab',- 'resizable=1, scrollbars=1, fullscreen=0, height=618, width=1020,top=' +- top +- ', left=' +- left +- ', toolbar=0, menubar=0, status=0'- );- const timer = setInterval(() => {- if (newWindow?.closed) {- clearInterval(timer);- $appSession.tokens.gitlab = localStorage.getItem('gitLabToken');- // localStorage.removeItem('gitLabToken');- resolve();- }- }, 100);- });- }- async function loadGroups(page: number = 1) {- let perPage = 100;- //@ts-ignore- const params: any = new URLSearchParams({- page,- per_page: perPage- });- loading.base = true;- try {- const newGroups = await get(`${apiUrl}/v4/groups?${params}`, {- Authorization: `Bearer ${$appSession.tokens.gitlab}`- });- groups = groups.concat(newGroups);- if (newGroups.length === perPage) {- await loadGroups(page + 1);- }- } catch (error) {- return errorNotification(error);- } finally {- loading.base = false;- }- }- async function loadProjects(page: number = 1) {- let perPage = 100;- //@ts-ignore- const params: any = new URLSearchParams({- page,- per_page: perPage,- archived: false- });- loading.projects = true;- if (username === selected.group.name) {- try {- params.append('min_access_level', 40);- const newProjects = await get(- `${apiUrl}/v4/users/${selected.group.name}/projects?${params}`,- {- Authorization: `Bearer ${$appSession.tokens.gitlab}`- }- );- projects = projects.concat(newProjects);- if (newProjects.length === perPage) {- await loadProjects(page + 1);- }- } catch (error) {- return errorNotification(error);- } finally {- loading.projects = false;- }- } else {- try {- const newProjects = await get(- `${apiUrl}/v4/groups/${selected.group.id}/projects?${params}`,- {- Authorization: `Bearer ${$appSession.tokens.gitlab}`- }- );- projects = projects.concat(newProjects);- if (newProjects.length === perPage) {- await loadProjects(page + 1);- }- } catch (error) {- return errorNotification(error);- } finally {- loading.projects = false;- }- }- }- async function loadBranches(page: number = 1) {- let perPage = 100;- //@ts-ignore- const params = new URLSearchParams({- page,- per_page: perPage- });- loading.branches = true;- try {- const newBranches = await get(- `${apiUrl}/v4/projects/${selected.project.id}/repository/branches?${params}`,- {- Authorization: `Bearer ${$appSession.tokens.gitlab}`- }- );- branches = branches.concat(newBranches);- if (newBranches.length === perPage) {- await loadBranches(page + 1);- }- } catch (error) {- return errorNotification(error);- } finally {- loading.branches = false;- }- }-- async function selectBranch(event: any) {- selected.branch = event.detail;- showSave = true;- }-- async function checkSSHKey(sshkeyUrl: any) {- try {- return await post(sshkeyUrl, {});- } catch (error) {- return errorNotification(error);- }- }- async function setWebhook(url: any, webhookToken: any) {- const host = dev ? getWebhookUrl('gitlab') : `${window.location.origin}/webhooks/gitlab/events`;- try {- await post(- url,- {- id: selected.project.id,- url: host,- token: webhookToken,- push_events: true,- enable_ssl_verification: true,- merge_requests_events: true- },- {- Authorization: `Bearer ${$appSession.tokens.gitlab}`- }- );- } catch (error) {- return errorNotification(error);- }- }- async function save() {- loading.save = true;- let privateSshKey = application.gitSource.gitlabApp.privateSshKey;- let publicSshKey = application.gitSource.gitlabApp.publicSshKey;-- const deployKeyUrl = `${apiUrl}/v4/projects/${selected.project.id}/deploy_keys`;- const sshkeyUrl = `/applications/${id}/configuration/sshkey`;- const webhookUrl = `${apiUrl}/v4/projects/${selected.project.id}/hooks`;- const webhookToken = cuid();-- try {- if (!privateSshKey || !publicSshKey) {- const data: any = await checkSSHKey(sshkeyUrl);- publicSshKey = data.publicKey;- }- const deployKeys = await get(deployKeyUrl, {- Authorization: `Bearer ${$appSession.tokens.gitlab}`- });- const deployKeyFound = deployKeys.filter(- (dk: any) => dk.title === `${appId}-coolify-deploy-key`- );- if (deployKeyFound.length > 0) {- for (const deployKey of deployKeyFound) {- await del(- `${deployKeyUrl}/${deployKey.id}`,- {},- {- Authorization: `Bearer ${$appSession.tokens.gitlab}`- }- );- }- }- const { id } = await post(- deployKeyUrl,- {- title: `${appId}-coolify-deploy-key`,- key: publicSshKey,- can_push: false- },- {- Authorization: `Bearer ${$appSession.tokens.gitlab}`- }- );- await post(updateDeployKeyIdUrl, { deployKeyId: id });- } catch (error) {- loading.save = false;- return errorNotification(error);- }-- try {- await setWebhook(webhookUrl, webhookToken);- } catch (error) {- loading.save = false;- return errorNotification(error);- }-- const url = `/applications/${id}/configuration/repository`;- try {- const repository = selected.project.path_with_namespace;- await post(url, {- repository,- branch: selected.branch.name,- projectId: selected.project.id,- autodeploy,- webhookToken- });- loading.save = false;- return await goto(from || `/applications/${id}/configuration/buildpack`);- } catch (error) {- loading.save = false;- return errorNotification(error);- }- }- async function handleSubmit() {- try {- await post(`/applications/${id}/configuration/repository`, { ...selected });- return await goto(from || `/applications/${id}/configuration/destination`);- } catch (error) {- return errorNotification(error);- }- }-</script>--<form on:submit={handleSubmit}>- <div- class="flex lg:flex-row flex-col lg:space-y-0 space-y-2 space-x-0 lg:space-x-2 items-center lg:justify-center lg:px-0 px-8"- >- <div class="custom-select-wrapper w-full">- <label for="groups" class="pb-1">Groups</label>- <Select- placeholder={loading.base- ? $t('application.configuration.loading_groups')- : $t('application.configuration.select_a_group')}- id="group"- showIndicator={!loading.base}- isWaiting={loading.base}- on:select={selectGroup}- on:clear={() => {- showSave = false;- projects = [];- branches = [];- selected.group = null;- selected.project = null;- selected.branch = null;- }}- value={selected.group}- isDisabled={loading.base}- isClearable={false}- items={groups}- labelIdentifier="full_name"- optionIdentifier="id"- />- </div>- <div class="custom-select-wrapper w-full">- <label for="projects" class="pb-1">Projects</label>- <Select- placeholder={loading.projects- ? $t('application.configuration.loading_projects')- : $t('application.configuration.select_a_project')}- noOptionsMessage={$t('application.configuration.no_projects_found')}- id="project"- showIndicator={!loading.projects}- isWaiting={loading.projects}- isDisabled={loading.projects || !selected.group}- on:select={selectProject}- on:clear={() => {- showSave = false;- branches = [];- selected.project = null;- selected.branch = null;- }}- value={selected.project}- isClearable={false}- items={projects}- labelIdentifier="name"- optionIdentifier="id"- isSearchable={true}- />- </div>- <div class="custom-select-wrapper w-full">- <label for="branches" class="pb-1">Branches</label>- <Select- placeholder={loading.branches- ? $t('application.configuration.loading_branches')- : $t('application.configuration.select_a_branch')}- noOptionsMessage={$t('application.configuration.no_branches_found')}- id="branch"- showIndicator={!loading.branches}- isWaiting={loading.branches}- isDisabled={loading.branches || !selected.project}- on:select={selectBranch}- on:clear={() => {- showSave = false;- selected.branch = null;- }}- value={selected.branch}- isClearable={false}- items={branches}- isSearchable={true}- labelIdentifier="name"- optionIdentifier="web_url"- />- </div>- </div>- <div class="flex flex-col items-center justify-center space-y-4 pt-5">- <button- on:click|preventDefault={save}- class="btn btn-wide"- type="submit"- disabled={!showSave || loading.save}- >{loading.save ? $t('forms.saving') : $t('forms.save')}</button- >- {#if tryAgain}- <div class="p-5">- An error occurred during authenticating with GitLab. Please check your GitLab Source- configuration <a href={`/sources/${application.gitSource.id}`}>here.</a>- </div>- <button- class="btn btn-sm w-40 btn-primary"- on:click|stopPropagation|preventDefault={() => window.location.reload()}- >- Try again- </button>- {/if}- </div>-</form>diff --git a/apps/ui/src/routes/applications/[id]/configuration/_PublicRepository.svelte b/apps/ui/src/routes/applications/[id]/configuration/_PublicRepository.sveltedeleted file mode 100644index f6468856fb..0000000000--- a/apps/ui/src/routes/applications/[id]/configuration/_PublicRepository.svelte+++ /dev/null@@ -1,197 +0,0 @@-<script lang="ts">- import { get, post } from '$lib/api';- import { t } from '$lib/translations';- import { page } from '$app/stores';-- import Select from 'svelte-select';- import { goto } from '$app/navigation';- import { errorNotification } from '$lib/common';-- const { id } = $page.params;-- let publicRepositoryLink: string;- let projectId: number;- let repositoryName: string;- let branchName: string;- let ownerName: string;- let type: string;- let branchSelectOptions: any = [];- let loading = {- branches: false- };- async function loadBranches() {- try {- if (!publicRepositoryLink) return- loading.branches = true;- publicRepositoryLink = publicRepositoryLink.trim();- const protocol = publicRepositoryLink.split(':')[0];- const gitUrl = publicRepositoryLink.replace('http://', '').replace('https://', '');-- let [host, ...path] = gitUrl.split('/');- const [owner, repository, ...branch] = path;-- ownerName = owner;- repositoryName = repository;-- if (host === 'github.com') {- host = 'api.github.com';- type = 'github';- if (branch[0] === 'tree' && branch[1]) {- branchName = branch[1];- }- if (branch.length === 1) {- branchName = branch[0]- }- }- if (host === 'gitlab.com') {- host = 'gitlab.com/api/v4';- type = 'gitlab';- if (branch[1] === 'tree' && branch[2]) {- branchName = branch[2];- }- if (branch.length === 1) {- branchName = branch[0]- }- }- const apiUrl = `${protocol}://${host}`;- if (type === 'github') {- const repositoryDetails = await get(`${apiUrl}/repos/${ownerName}/${repositoryName}`);- projectId = repositoryDetails.id.toString();- }- if (type === 'gitlab') {- const repositoryDetails = await get(`${apiUrl}/projects/${ownerName}%2F${repositoryName}`);- projectId = repositoryDetails.id.toString();- }- if (type === 'github' && branchName) {- try {- await get(`${apiUrl}/repos/${ownerName}/${repositoryName}/branches/${branchName}`);- await saveRepository();- loading.branches = false;- return;- } catch (error) {- errorNotification(error);- }- }- if (type === 'gitlab' && branchName) {- try {- await get(- `${apiUrl}/projects/${ownerName}%2F${repositoryName}/repository/branches/${branchName}`- );- await saveRepository();- loading.branches = false;- return;- } catch (error) {- errorNotification(error);- }- }- let branches: any[] = [];- let page = 1;- let branchCount = 0;- const loadedBranches = await loadBranchesByPage(- apiUrl,- ownerName,- repositoryName,- page,- type- );- branches = branches.concat(loadedBranches);- branchCount = branches.length;- if (branchCount === 100) {- while (branchCount === 100) {- page = page + 1;- const nextBranches = await loadBranchesByPage(- apiUrl,- ownerName,- repositoryName,- page,- type- );- branches = branches.concat(nextBranches);- branchCount = nextBranches.length;- }- }- loading.branches = false;- branchSelectOptions = branches.map((branch: any) => ({- value: branch.name,- label: branch.name- }));- } catch (error) {- return errorNotification(error);- } finally {- loading.branches = false;- }- }- async function loadBranchesByPage(- apiUrl: string,- owner: string,- repository: string,- page = 1,- type: string- ) {- if (type === 'github') {- return await get(`${apiUrl}/repos/${owner}/${repository}/branches?per_page=100&page=${page}`);- }- if (type === 'gitlab') {- return await get(- `${apiUrl}/projects/${ownerName}%2F${repositoryName}/repository/branches?page=${page}`- );- }- }- async function saveRepository(event?: any) {- try {- if (event?.detail?.value) {- branchName = event.detail.value;- }- await post(`/applications/${id}/configuration/source`, {- gitSourceId: null,- forPublic: true,- type- });- await post(`/applications/${id}/configuration/repository`, {- repository: `${ownerName}/${repositoryName}`,- branch: branchName,- projectId,- autodeploy: false,- webhookToken: null,- isPublicRepository: true- });-- return await goto(`/applications/${id}/configuration/destination`);- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="mx-auto max-w-screen-2xl">- <form class="flex flex-col" on:submit|preventDefault={loadBranches}>- <div class="flex flex-col space-y-2 w-full">- <div class="flex flex-row space-x-2"><input- class="w-full"- placeholder="eg: https://github.com/coollabsio/nodejs-example/tree/main"- bind:value={publicRepositoryLink}- />- <button class="btn btn-primary" disabled={loading.branches} type="submit" class:loading={loading.branches}>- Load Repository- </button>- </div>-- <div class="custom-select-wrapper">- <Select- placeholder={loading.branches- ? $t('application.configuration.loading_branches')- : branchSelectOptions.length ===0- ? 'Please type a repository link first.'- : $t('application.configuration.select_a_branch')}- isWaiting={loading.branches}- showIndicator={!!publicRepositoryLink && !loading.branches}- id="branches"- on:select={saveRepository}- items={branchSelectOptions}- isDisabled={loading.branches || !ownerName}- isClearable={false}- />- </div>- </div>- </form>-</div>diff --git a/apps/ui/src/routes/applications/[id]/configuration/buildpack.svelte b/apps/ui/src/routes/applications/[id]/configuration/buildpack.sveltedeleted file mode 100644index d9e2d5cd7d..0000000000--- a/apps/ui/src/routes/applications/[id]/configuration/buildpack.svelte+++ /dev/null@@ -1,383 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, url, stuff }) => {- try {- const { application } = stuff;- if (application?.buildPack && !url.searchParams.get('from')) {- return {- status: 302,- redirect: `/applications/${params.id}`- };- }- if (application.simpleDockerfile) {- return {- status: 302,- redirect: `/applications/${params.id}`- };- }- const response = await get(`/applications/${params.id}/configuration/buildpack`);- return {- props: {- application,- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let apiUrl: any;- export let projectId: any;- export let repository: any;- export let branch: any;- export let type: any;- export let application: any;- export let isPublicRepository: boolean;-- import { onMount } from 'svelte';-- import { page } from '$app/stores';- import { get, getAPIUrl } from '$lib/api';- import { appSession } from '$lib/store';- import { t } from '$lib/translations';- import { buildPacks, findBuildPack, scanningTemplates } from '$lib/templates';- import { errorNotification } from '$lib/common';- import BuildPack from './_BuildPack.svelte';- import yaml from 'js-yaml';-- const { id } = $page.params;-- let htmlUrl = application.gitSource?.htmlUrl || null;-- let scanning: boolean = true;- let foundConfig: any = null;- let packageManager: string = 'npm';- let dockerComposeFile: string | null = application.dockerComposeFile || null;- let dockerComposeFileLocation: string | null = application.dockerComposeFileLocation || null;- let dockerComposeConfiguration: any = application.dockerComposeConfiguration || null;-- function checkPackageJSONContents({ key, json }: { key: any; json: any }) {- return json?.dependencies?.hasOwnProperty(key) || json?.devDependencies?.hasOwnProperty(key);- }- function checkTemplates({ json, packageManager }: { json: any; packageManager: any }) {- for (const [key, value] of Object.entries(scanningTemplates)) {- if (checkPackageJSONContents({ key, json })) {- foundConfig = findBuildPack(value.buildPack, packageManager);- break;- }- }- }- async function getGitlabToken() {- return await new Promise<void>((resolve, reject) => {- const left = screen.width / 2 - 1020 / 2;- const top = screen.height / 2 - 618 / 2;- const newWindow = open(- `${htmlUrl}/oauth/authorize?client_id=${- application.gitSource.gitlabApp.appId- }&redirect_uri=${getAPIUrl()}/webhooks/gitlab&response_type=code&scope=api+email+read_repository&state=${- $page.params.id- }`,- 'GitLab',- 'resizable=1, scrollbars=1, fullscreen=0, height=618, width=1020,top=' +- top +- ', left=' +- left +- ', toolbar=0, menubar=0, status=0'- );- const timer = setInterval(() => {- if (newWindow?.closed) {- clearInterval(timer);- $appSession.tokens.gitlab = localStorage.getItem('gitLabToken');- localStorage.removeItem('gitLabToken');- resolve();- }- }, 100);- });- }- async function scanRepository(isPublicRepository: boolean): Promise<void> {- try {- if (type === 'gitlab') {- const headers = isPublicRepository- ? {}- : {- Authorization: `Bearer ${$appSession.tokens.gitlab}`- };-- const url = isPublicRepository ? `/projects/${projectId}/repository/tree` : `/v4/projects/${projectId}/repository/tree`;- const files = await get(`${apiUrl}${url}`, {- ...headers- });- const packageJson = files.find(- (file: { name: string; type: string }) =>- file.name === 'package.json' && file.type === 'blob'- );- const yarnLock = files.find(- (file: { name: string; type: string }) =>- file.name === 'yarn.lock' && file.type === 'blob'- );- const pnpmLock = files.find(- (file: { name: string; type: string }) =>- file.name === 'pnpm-lock.yaml' && file.type === 'blob'- );- const dockerfile = files.find(- (file: { name: string; type: string }) =>- file.name === 'Dockerfile' && file.type === 'blob'- );- const dockerComposeFileYml = files.find(- (file: { name: string; type: string }) =>- file.name === 'docker-compose.yml' && file.type === 'blob'- );- const dockerComposeFileYaml = files.find(- (file: { name: string; type: string }) =>- file.name === 'docker-compose.yaml' && file.type === 'blob'- );- const cargoToml = files.find(- (file: { name: string; type: string }) =>- file.name === 'Cargo.toml' && file.type === 'blob'- );- const requirementsTxt = files.find(- (file: { name: string; type: string }) =>- file.name === 'requirements.txt' && file.type === 'blob'- );- const indexHtml = files.find(- (file: { name: string; type: string }) =>- file.name === 'index.html' && file.type === 'blob'- );- const indexPHP = files.find(- (file: { name: string; type: string }) =>- file.name === 'index.php' && file.type === 'blob'- );- const composerPHP = files.find(- (file: { name: string; type: string }) =>- file.name === 'composer.json' && file.type === 'blob'- );- const laravel = files.find(- (file: { name: string; type: string }) => file.name === 'artisan' && file.type === 'blob'- );- if (yarnLock) packageManager = 'yarn';- if (pnpmLock) packageManager = 'pnpm';-- if (dockerComposeFileYml || dockerComposeFileYaml) {- foundConfig = findBuildPack('compose', packageManager);- const id = dockerComposeFileYml.id || dockerComposeFileYaml.id;- const data = await get(`${apiUrl}/v4/projects/${projectId}/repository/blobs/${id}`, {- ...headers- });- if (data?.content) {- const content = atob(data.content);- const dockerComposeJson = yaml.load(content) || null;- dockerComposeFile = JSON.stringify(dockerComposeJson);- dockerComposeFileLocation = dockerComposeFileYml- ? 'docker-compose.yml'- : 'docker-compose.yaml';- }- } else if (dockerfile) {- foundConfig = findBuildPack('docker', packageManager);- } else if (packageJson && !laravel) {- const path = packageJson.path;- const data: any = await get(- `${apiUrl}/v4/projects/${projectId}/repository/files/${path}/raw?ref=${branch}`,- {- Authorization: `Bearer ${$appSession.tokens.gitlab}`- }- );- const json = JSON.parse(data) || {};- checkTemplates({ json, packageManager });- } else if (cargoToml) {- foundConfig = findBuildPack('rust');- } else if (requirementsTxt) {- foundConfig = findBuildPack('python');- } else if (indexHtml) {- foundConfig = findBuildPack('static', packageManager);- } else if ((indexPHP || composerPHP) && !laravel) {- foundConfig = findBuildPack('php');- } else if (laravel) {- foundConfig = findBuildPack('laravel');- } else {- foundConfig = findBuildPack('node', packageManager);- }- } else if (type === 'github') {- const headers = isPublicRepository- ? {}- : {- Authorization: `token ${$appSession.tokens.github}`- };- const files = await get(`${apiUrl}/repos/${repository}/contents?ref=${branch}`, {- ...headers,- Accept: 'application/vnd.github.v2.json'- });- const packageJson = files.find(- (file: { name: string; type: string }) =>- file.name === 'package.json' && file.type === 'file'- );- const yarnLock = files.find(- (file: { name: string; type: string }) =>- file.name === 'yarn.lock' && file.type === 'file'- );- const pnpmLock = files.find(- (file: { name: string; type: string }) =>- file.name === 'pnpm-lock.yaml' && file.type === 'file'- );- const dockerfile = files.find(- (file: { name: string; type: string }) =>- file.name === 'Dockerfile' && file.type === 'file'- );- const dockerComposeFileYml = files.find(- (file: { name: string; type: string }) =>- file.name === 'docker-compose.yml' && file.type === 'file'- );- const dockerComposeFileYaml = files.find(- (file: { name: string; type: string }) =>- file.name === 'docker-compose.yaml' && file.type === 'file'- );- const cargoToml = files.find(- (file: { name: string; type: string }) =>- file.name === 'Cargo.toml' && file.type === 'file'- );- const requirementsTxt = files.find(- (file: { name: string; type: string }) =>- file.name === 'requirements.txt' && file.type === 'file'- );- const indexHtml = files.find(- (file: { name: string; type: string }) =>- file.name === 'index.html' && file.type === 'file'- );- const indexPHP = files.find(- (file: { name: string; type: string }) =>- file.name === 'index.php' && file.type === 'file'- );- const composerPHP = files.find(- (file: { name: string; type: string }) =>- file.name === 'composer.json' && file.type === 'file'- );- const laravel = files.find(- (file: { name: string; type: string }) => file.name === 'artisan' && file.type === 'file'- );-- if (yarnLock) packageManager = 'yarn';- if (pnpmLock) packageManager = 'pnpm';-- if (dockerComposeFileYml || dockerComposeFileYaml) {- foundConfig = findBuildPack('compose', packageManager);- const data = await get(- `${apiUrl}/repos/${repository}/contents/${- dockerComposeFileYml ? 'docker-compose.yml' : 'docker-compose.yaml'- }?ref=${branch}`,- {- ...headers,- Accept: 'application/vnd.github.v2.json'- }- );- if (data?.content) {- const content = atob(data.content);- const dockerComposeJson = yaml.load(content) || null;- dockerComposeFile = JSON.stringify(dockerComposeJson);- dockerComposeFileLocation = dockerComposeFileYml- ? 'docker-compose.yml'- : 'docker-compose.yaml';- }- } else if (dockerfile) {- foundConfig = findBuildPack('docker', packageManager);- } else if (packageJson && !laravel) {- const data: any = await get(`${packageJson.git_url}`, {- ...headers,- Accept: 'application/vnd.github.v2.raw'- });- const json = JSON.parse(data) || {};- checkTemplates({ json, packageManager });- } else if (cargoToml) {- foundConfig = findBuildPack('rust');- } else if (requirementsTxt) {- foundConfig = findBuildPack('python');- } else if (indexHtml) {- foundConfig = findBuildPack('static', packageManager);- } else if ((indexPHP || composerPHP) && !laravel) {- foundConfig = findBuildPack('php');- } else if (laravel) {- foundConfig = findBuildPack('laravel');- } else {- foundConfig = findBuildPack('node', packageManager);- }- }- } catch (error: any) {- scanning = true;- if (- error.error === 'invalid_token' ||- error.error_description ===- 'Token is expired. You can either do re-authorization or token refresh.' ||- error.message === '401 Unauthorized'- ) {- if (application.gitSource.gitlabAppId) {- if (!$appSession.tokens.gitlab) {- await getGitlabToken();- }- scanRepository(isPublicRepository);- }- } else if (error.message === 'Bad credentials') {- const { token } = await get(`/applications/${id}/configuration/githubToken`);- $appSession.tokens.github = token;- return await scanRepository(isPublicRepository);- }- return errorNotification(error);- } finally {- if (!foundConfig) foundConfig = findBuildPack('node', packageManager);- scanning = false;- }- }- onMount(async () => {- await scanRepository(isPublicRepository);- });-</script>--{#if scanning}- <div class="flex justify-center space-x-1 p-6 font-bold">- <div class="text-xl tracking-tight">- {$t('application.configuration.scanning_repository_suggest_build_pack')}- </div>- </div>-{:else}- <div class="max-w-screen-2xl mx-auto px-10">- <div class="title pb-2">Other</div>- <div class="flex flex-wrap justify-center">- {#each buildPacks.filter((bp) => bp.isHerokuBuildPack === true) as buildPack}- <div class="p-2">- <BuildPack {packageManager} {buildPack} {scanning} bind:foundConfig />- </div>- {/each}- </div>- </div>- <div class="max-w-screen-2xl mx-auto px-10">- <div class="title pb-2">Coolify Base</div>- <div class="flex flex-wrap justify-center">- {#each buildPacks.filter((bp) => bp.isCoolifyBuildPack === true && bp.type === 'base') as buildPack}- <div class="p-2">- <BuildPack- {packageManager}- {buildPack}- {scanning}- bind:foundConfig- {dockerComposeFile}- {dockerComposeFileLocation}- {dockerComposeConfiguration}- />- </div>- {/each}- </div>- </div>- <div class="max-w-screen-2xl mx-auto px-10">- <div class="title pb-2">Coolify Specific</div>- <div class="flex flex-wrap justify-center">- {#each buildPacks.filter((bp) => bp.isCoolifyBuildPack === true && bp.type === 'specific') as buildPack}- <div class="p-2">- <BuildPack {packageManager} {buildPack} {scanning} bind:foundConfig />- </div>- {/each}- </div>- </div>-{/if}diff --git a/apps/ui/src/routes/applications/[id]/configuration/database.svelte b/apps/ui/src/routes/applications/[id]/configuration/database.sveltedeleted file mode 100644index 1d7401ecb5..0000000000--- a/apps/ui/src/routes/applications/[id]/configuration/database.svelte+++ /dev/null@@ -1,162 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async () => {- try {- const response = await get(`/databases`);- return {- props: {- ...response- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let databases: any = [];- import { get, post } from '$lib/api';- import { t } from '$lib/translations';- import { appSession } from '$lib/store';- import DatabaseIcons from '$lib/components/svg/databases/DatabaseIcons.svelte';- import { errorNotification } from '$lib/common';- import { page } from '$app/stores';- import { goto } from '$app/navigation';-- const from = $page.url.searchParams.get('from');-- let remoteDatabase = {- name: null,- type: null,- host: null,- port: null,- user: null,- password: null,- database: null- };-- const ownDatabases = databases.filter((database: any) => {- if (database.teams[0].id === $appSession.teamId) {- return database;- }- });- const otherDatabases = databases.filter((database: any) => {- if (database.teams[0].id !== $appSession.teamId) {- return database;- }- });-- async function addCoolifyDatabase(database: any) {- try {- await post(`/applications/${$page.params.id}/configuration/database`, {- databaseId: database.id,- type: database.type- });- return window.location.assign(from || `/applications/${$page.params.id}/`);- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="flex space-x-1 p-6 font-bold">- <div class="mr-4 text-2xl tracking-tight">Select a Database</div>-</div>--<div class="flex-col justify-center mt-10 pb-12 sm:pb-16">- {#if !databases || ownDatabases.length === 0}- <div class="flex-col">- <div class="text-center text-xl font-bold">{$t('database.no_databases_found')}</div>- </div>- {/if}- {#if ownDatabases.length > 0 || otherDatabases.length > 0}- <div class="flex flex-col">- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each ownDatabases as database}- <button on:click={() => addCoolifyDatabase(database)} class="p-2 no-underline">- <div class="box-selection group relative hover:bg-purple-600">- <DatabaseIcons type={database.type} isAbsolute={true} />- <div class="truncate text-center text-xl font-bold">- {database.name}- </div>- {#if $appSession.teamId === '0' && otherDatabases.length > 0}- <div class="truncate text-center">{database.teams[0].name}</div>- {/if}- {#if database.destinationDocker?.name}- <div class="truncate text-center">{database.destinationDocker.name}</div>- {/if}- {#if !database.type}- <div class="truncate text-center font-bold text-red-500 group-hover:text-white">- {$t('application.configuration.configuration_missing')}- </div>- {/if}- </div>- </button>- {/each}- </div>- {#if otherDatabases.length > 0 && $appSession.teamId === '0'}- <div class="px-6 pb-5 pt-10 text-2xl font-bold text-center">Other Databases</div>- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each otherDatabases as database}- <a href="/databases/{database.id}" class="p-2 no-underline">- <div class="box-selection group relative hover:bg-purple-600">- <DatabaseIcons type={database.type} isAbsolute={true} />- <div class="truncate text-center text-xl font-bold">- {database.name}- </div>- {#if $appSession.teamId === '0'}- <div class="truncate text-center">{database.teams[0].name}</div>- {/if}- {#if !database.type}- <div class="truncate text-center font-bold text-red-500 group-hover:text-white">- Configuration missing- </div>- {:else}- <div class="text-center truncate">{database.type}</div>- {/if}- </div>- </a>- {/each}- </div>- {/if}- </div>- {/if}-- <div class="mx-auto max-w-6xl p-6">- <div class="grid grid-flow-row gap-2 px-10">- <div class="font-bold text-xl tracking-tight">Connect a Hosted / Remote Database</div>- <div class="mt-2 grid grid-cols-2 items-center px-4">- <label for="name" class="text-base font-bold text-stone-100">Name</label>- <input name="name" id="name" required bind:value={remoteDatabase.name} />- </div>- <div class="mt-2 grid grid-cols-2 items-center px-4">- <label for="type" class="text-base font-bold text-stone-100">Type</label>- <input name="type" id="type" required bind:value={remoteDatabase.type} />- </div>- <div class="mt-2 grid grid-cols-2 items-center px-4">- <label for="host" class="text-base font-bold text-stone-100">Host</label>- <input name="host" id="host" required bind:value={remoteDatabase.host} />- </div>- <div class="mt-2 grid grid-cols-2 items-center px-4">- <label for="port" class="text-base font-bold text-stone-100">Port</label>- <input name="port" id="port" required bind:value={remoteDatabase.port} />- </div>- <div class="mt-2 grid grid-cols-2 items-center px-4">- <label for="user" class="text-base font-bold text-stone-100">User</label>- <input name="user" id="user" required bind:value={remoteDatabase.user} />- </div>- <div class="mt-2 grid grid-cols-2 items-center px-4">- <label for="password" class="text-base font-bold text-stone-100">Password</label>- <input name="password" id="password" required bind:value={remoteDatabase.password} />- </div>- <div class="mt-2 grid grid-cols-2 items-center px-4">- <label for="database" class="text-base font-bold text-stone-100">Database Name</label>- <input name="database" id="database" required bind:value={remoteDatabase.database} />- </div>- </div>- </div>-</div>diff --git a/apps/ui/src/routes/applications/[id]/configuration/destination.svelte b/apps/ui/src/routes/applications/[id]/configuration/destination.sveltedeleted file mode 100644index be4b171fa7..0000000000--- a/apps/ui/src/routes/applications/[id]/configuration/destination.svelte+++ /dev/null@@ -1,202 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, url, stuff }) => {- try {- const { application } = stuff;- if (application?.destinationDockerId && !url.searchParams.get('from')) {- return {- status: 302,- redirect: `/applications/${params.id}`- };- }- const response = await get(`/destinations?onlyVerified=true`);- return {- props: {- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- import { page } from '$app/stores';- import { goto } from '$app/navigation';- import { get, post } from '$lib/api';- import { t } from '$lib/translations';- import { appSession } from '$lib/store';- import { errorNotification } from '$lib/common';- import { onMount } from 'svelte';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');-- export let destinations: any;-- const ownDestinations = destinations.filter((destination: any) => {- if (destination.teams[0].id === $appSession.teamId) {- return destination;- }- });- const otherDestinations = destinations.filter((destination: any) => {- if (destination.teams[0].id !== $appSession.teamId) {- return destination;- }- });- async function handleSubmit(destinationId: any) {- try {- await post(`/applications/${id}/configuration/destination`, { destinationId });- return await goto(from || `/applications/${id}/configuration/buildpack`);- } catch (error) {- return errorNotification(error);- }- }- onMount(async () => {- if (destinations.length === 1) {- await handleSubmit(destinations[0].id);- }- });-</script>--<div class="flex flex-col justify-center w-full">- {#if !destinations || ownDestinations.length === 0}- <div class="flex-col">- <div class="pb-2 text-center font-bold">- {$t('application.configuration.no_configurable_destination')}- </div>- <div class="flex justify-center">- <a- href={`/destinations/new?from=/applications/${id}/configuration/destination`}- class="add-icon bg-sky-600 hover:bg-sky-500"- >- <svg- class="w-6"- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"- /></svg- >- </a>- </div>- </div>- {:else}- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row mx-auto gap-4">- {#each ownDestinations as destination}- <button- on:click={() => handleSubmit(destination.id)}- class="box-selection hover:bg-primary font-bold relative"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-0 -m-4 h-12 w-12 text-sky-500"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"- />- <path d="M5 10h3v3h-3z" />- <path d="M8 10h3v3h-3z" />- <path d="M11 10h3v3h-3z" />- <path d="M8 7h3v3h-3z" />- <path d="M11 7h3v3h-3z" />- <path d="M11 4h3v3h-3z" />- <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />- <line x1="10" y1="16" x2="10" y2="16.01" />- </svg>- {#if destination.remoteEngine}- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-9 -m-2 h-6 w-6 text-sky-500 rotate-45"- viewBox="0 0 24 24"- stroke-width="3"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="12" y1="18" x2="12.01" y2="18" />- <path d="M9.172 15.172a4 4 0 0 1 5.656 0" />- <path d="M6.343 12.343a8 8 0 0 1 11.314 0" />- <path d="M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0" />- </svg>- {/if}- <div class="font-bold text-xl text-center truncate">{destination.name}</div>- <div class="text-center truncate">{destination.network}</div>- </button>- {/each}- </div>- {#if otherDestinations.length > 0 && $appSession.teamId === '0'}- <div class="px-6 pb-5 pt-10 title">Other Destinations</div>- {/if}- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row mx-auto gap-4">- {#each otherDestinations as destination}- <button- class="box-selection hover:bg-sky-700 font-bold relative"- on:click={() => handleSubmit(destination.id)}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-0 -m-4 h-12 w-12 text-sky-500"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"- />- <path d="M5 10h3v3h-3z" />- <path d="M8 10h3v3h-3z" />- <path d="M11 10h3v3h-3z" />- <path d="M8 7h3v3h-3z" />- <path d="M11 7h3v3h-3z" />- <path d="M11 4h3v3h-3z" />- <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />- <line x1="10" y1="16" x2="10" y2="16.01" />- </svg>- {#if destination.remoteEngine}- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-9 -m-2 h-6 w-6 text-sky-500 rotate-45"- viewBox="0 0 24 24"- stroke-width="3"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="12" y1="18" x2="12.01" y2="18" />- <path d="M9.172 15.172a4 4 0 0 1 5.656 0" />- <path d="M6.343 12.343a8 8 0 0 1 11.314 0" />- <path d="M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0" />- </svg>- {/if}- <div class="font-bold text-xl text-center truncate">{destination.name}</div>- <div class="text-center truncate">{destination.network}</div>- </button>- {/each}- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/applications/[id]/configuration/registry.svelte b/apps/ui/src/routes/applications/[id]/configuration/registry.sveltedeleted file mode 100644index c122f8d683..0000000000--- a/apps/ui/src/routes/applications/[id]/configuration/registry.svelte+++ /dev/null@@ -1,93 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, url, stuff }) => {- try {- const { application } = stuff;- if (application?.destinationDockerId && !url.searchParams.get('from')) {- return {- status: 302,- redirect: `/applications/${params.id}`- };- }- const response = await get(`/settings`);- return {- props: {- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let registries: any;- import { page } from '$app/stores';- import { goto } from '$app/navigation';- import { get, post } from '$lib/api';- import { errorNotification } from '$lib/common';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');-- async function handleSubmit(registryId: any) {- try {- await post(`/applications/${id}/configuration/registry`, { registryId });- return await goto(from || `/applications/${id}`);- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="flex flex-col justify-center w-full">- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row mx-auto gap-4">- {#if registries.length > 0}- {#each registries as registry}- <button- on:click={() => handleSubmit(registry.id)}- class="box-selection hover:bg-primary relative"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-0 -m-4 h-12 w-12 text-sky-500"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"- />- <path d="M5 10h3v3h-3z" />- <path d="M8 10h3v3h-3z" />- <path d="M11 10h3v3h-3z" />- <path d="M8 7h3v3h-3z" />- <path d="M11 7h3v3h-3z" />- <path d="M11 4h3v3h-3z" />- <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />- <line x1="10" y1="16" x2="10" y2="16.01" />- </svg>-- <div class="font-bold text-xl text-center truncate">{registry.name}</div>- <div class="text-center truncate">{registry.url}</div>- </button>- {/each}- {:else}- <div class="flex flex-col items-center gap-2">- <div class="text-center text-xl font-bold pb-4">No registries found.</div>- <div class="flex gap-2">- <a class="btn btn-sm" href={from || `/applications/${id}`}>Go back</a>- <a class="btn btn-sm btn-primary" href={`/settings/docker`}>Add a Docker Registry</a>- </div>- </div>- {/if}- </div>-</div>diff --git a/apps/ui/src/routes/applications/[id]/configuration/repository.svelte b/apps/ui/src/routes/applications/[id]/configuration/repository.sveltedeleted file mode 100644index c297887639..0000000000--- a/apps/ui/src/routes/applications/[id]/configuration/repository.svelte+++ /dev/null@@ -1,41 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ params, url, stuff }) => {- try {- const { application, appId, settings } = stuff;- if (application?.branch && application?.repository && !url.searchParams.get('from')) {- return {- status: 302,- redirect: `/applications/${params.id}`- };- }- return {- props: {- application,- appId,- settings- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let application: any;- export let appId: string;- export let settings: any;-- import GithubRepositories from './_GithubRepositories.svelte';- import GitlabRepositories from './_GitlabRepositories.svelte';-</script>--{#if application.gitSource.type === 'github'}- <GithubRepositories {application} />-{:else if application.gitSource.type === 'gitlab'}- <GitlabRepositories {application} {appId} {settings} />-{/if}diff --git a/apps/ui/src/routes/applications/[id]/configuration/source.svelte b/apps/ui/src/routes/applications/[id]/configuration/source.sveltedeleted file mode 100644index 20db4c7bbc..0000000000--- a/apps/ui/src/routes/applications/[id]/configuration/source.svelte+++ /dev/null@@ -1,275 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, url, stuff }) => {- try {- const { application } = stuff;- if (application?.gitSourceId && !url.searchParams.get('from')) {- return {- status: 302,- redirect: `/applications/${params.id}`- };- }- const response = await get(`/sources`);- return {- props: {- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let sources: any;-- import { page } from '$app/stores';- import { goto } from '$app/navigation';- import { get, post } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import { appSession } from '$lib/store';- import PublicRepository from './_PublicRepository.svelte';- import DocLink from '$lib/components/DocLink.svelte';- import Beta from '$lib/components/Beta.svelte';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');- let simpleDockerfile: any = null;-- const filteredSources = sources.filter(- (source: any) =>- (source.type === 'github' && source.githubAppId && source.githubApp.installationId) ||- (source.type === 'gitlab' && source.gitlabAppId)- );- const ownSources = filteredSources.filter((source: any) => {- if (source.teams[0].id === $appSession.teamId) {- return source;- }- });- const otherSources = filteredSources.filter((source: any) => {- if (source.teams[0].id !== $appSession.teamId) {- return source;- }- });- async function handleSubmit(gitSourceId: string) {- try {- await post(`/applications/${id}/configuration/source`, { gitSourceId });- return await goto(from || `/applications/${id}/configuration/repository`);- } catch (error) {- return errorNotification(error);- }- }- async function handleDockerImage() {- try {- await post(`/applications/${id}/configuration/source`, { simpleDockerfile });- return await goto(from || `/applications/${id}/configuration/destination`);- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="max-w-screen-2xl mx-auto px-9">- {#if !filteredSources}- <div class="title pb-8">Git App</div>- <div class="flex flex-wrap justify-center">- <div class="flex-col">- <div class="pb-2 text-center font-bold">- {$t('application.configuration.no_configurable_git')}- </div>- <div class="flex justify-center">- <a href="/sources/new?from={$page.url.pathname}" class="add-icon">- <svg- class="w-6"- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"- /></svg- >- </a>- </div>- </div>- </div>- {/if}- {#if ownSources.length > 0 || otherSources.length > 0}- <div class="title pb-8">Integrated with Git App</div>- {/if}- {#if ownSources.length > 0 || otherSources.length > 0}- <div class="flex flex-wrap justify-center">- <div class="flex flex-col lg:flex-row lg:flex-wrap justify-center">- {#each ownSources as source}- <div class="p-2 relative">- <div class="absolute -m-4">- {#if source?.type === 'gitlab'}- <svg viewBox="0 0 128 128" class="w-8">- <path- fill="#FC6D26"- d="M126.615 72.31l-7.034-21.647L105.64 7.76c-.716-2.206-3.84-2.206-4.556 0l-13.94 42.903H40.856L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664 1.385 72.31a4.792 4.792 0 001.74 5.358L64 121.894l60.874-44.227a4.793 4.793 0 001.74-5.357"- /><path fill="#E24329" d="M64 121.894l23.144-71.23H40.856L64 121.893z" /><path- fill="#FC6D26"- d="M64 121.894l-23.144-71.23H8.42L64 121.893z"- /><path- fill="#FCA326"- d="M8.42 50.663L1.384 72.31a4.79 4.79 0 001.74 5.357L64 121.894 8.42 50.664z"- /><path- fill="#E24329"- d="M8.42 50.663h32.436L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664z"- /><path fill="#FC6D26" d="M64 121.894l23.144-71.23h32.437L64 121.893z" /><path- fill="#FCA326"- d="M119.58 50.663l7.035 21.647a4.79 4.79 0 01-1.74 5.357L64 121.894l55.58-71.23z"- /><path- fill="#E24329"- d="M119.58 50.663H87.145l13.94-42.902c.717-2.206 3.84-2.206 4.557 0l13.94 42.903z"- />- </svg>- {:else if source?.type === 'github'}- <svg viewBox="0 0 128 128" class="w-8">- <g fill="#ffffff"- ><path- fill-rule="evenodd"- clip-rule="evenodd"- d="M64 5.103c-33.347 0-60.388 27.035-60.388 60.388 0 26.682 17.303 49.317 41.297 57.303 3.017.56 4.125-1.31 4.125-2.905 0-1.44-.056-6.197-.082-11.243-16.8 3.653-20.345-7.125-20.345-7.125-2.747-6.98-6.705-8.836-6.705-8.836-5.48-3.748.413-3.67.413-3.67 6.063.425 9.257 6.223 9.257 6.223 5.386 9.23 14.127 6.562 17.573 5.02.542-3.903 2.107-6.568 3.834-8.076-13.413-1.525-27.514-6.704-27.514-29.843 0-6.593 2.36-11.98 6.223-16.21-.628-1.52-2.695-7.662.584-15.98 0 0 5.07-1.623 16.61 6.19C53.7 35 58.867 34.327 64 34.304c5.13.023 10.3.694 15.127 2.033 11.526-7.813 16.59-6.19 16.59-6.19 3.287 8.317 1.22 14.46.593 15.98 3.872 4.23 6.215 9.617 6.215 16.21 0 23.194-14.127 28.3-27.574 29.796 2.167 1.874 4.097 5.55 4.097 11.183 0 8.08-.07 14.583-.07 16.572 0 1.607 1.088 3.49 4.148 2.897 23.98-7.994 41.263-30.622 41.263-57.294C124.388 32.14 97.35 5.104 64 5.104z"- /><path- d="M26.484 91.806c-.133.3-.605.39-1.035.185-.44-.196-.685-.605-.543-.906.13-.31.603-.395 1.04-.188.44.197.69.61.537.91zm2.446 2.729c-.287.267-.85.143-1.232-.28-.396-.42-.47-.983-.177-1.254.298-.266.844-.14 1.24.28.394.426.472.984.17 1.255zM31.312 98.012c-.37.258-.976.017-1.35-.52-.37-.538-.37-1.183.01-1.44.373-.258.97-.025 1.35.507.368.545.368 1.19-.01 1.452zm3.261 3.361c-.33.365-1.036.267-1.552-.23-.527-.487-.674-1.18-.343-1.544.336-.366 1.045-.264 1.564.23.527.486.686 1.18.333 1.543zm4.5 1.951c-.147.473-.825.688-1.51.486-.683-.207-1.13-.76-.99-1.238.14-.477.823-.7 1.512-.485.683.206 1.13.756.988 1.237zm4.943.361c.017.498-.563.91-1.28.92-.723.017-1.308-.387-1.315-.877 0-.503.568-.91 1.29-.924.717-.013 1.306.387 1.306.88zm4.598-.782c.086.485-.413.984-1.126 1.117-.7.13-1.35-.172-1.44-.653-.086-.498.422-.997 1.122-1.126.714-.123 1.354.17 1.444.663zm0 0"- /></g- >- </svg>- {/if}- </div>- <form on:submit|preventDefault={() => handleSubmit(source.id)}>- <button- disabled={source.gitlabApp && !source.gitlabAppId}- type="submit"- class="disabled:opacity-95 disabled:text-white box-selection hover:btn-primary group w-full lg:w-96"- class:border-red-500={source.gitlabApp && !source.gitlabAppId}- class:border-0={source.gitlabApp && !source.gitlabAppId}- class:border-l-4={source.gitlabApp && !source.gitlabAppId}- >- <div class="font-bold text-xl text-center truncate">{source.name}</div>- {#if source.gitlabApp && !source.gitlabAppId}- <div class="font-bold text-center truncate text-red-500 group-hover:text-white">- Configuration missing- </div>- {/if}- </button>- </form>- </div>- {/each}- </div>-- {#if otherSources.length > 0 && $appSession.teamId === '0'}- <div class="px-6 pb-5 pt-10 text-xl font-bold">Other Sources</div>- {/if}- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each otherSources as source}- <div class="p-2">- <form on:submit|preventDefault={() => handleSubmit(source.id)}>- <button- disabled={source.gitlabApp && !source.gitlabAppId}- type="submit"- class="relative disabled:opacity-95 bg-coolgray-200 disabled:text-white box-selection hover:bg-orange-700 group"- class:border-red-500={source.gitlabApp && !source.gitlabAppId}- class:border-0={source.gitlabApp && !source.gitlabAppId}- class:border-l-4={source.gitlabApp && !source.gitlabAppId}- >- <div class="absolute top-0 left-0 -m-5 flex">- {#if source?.type === 'gitlab'}- <svg viewBox="0 0 128 128" class="h-10 w-10">- <path- fill="#FC6D26"- d="M126.615 72.31l-7.034-21.647L105.64 7.76c-.716-2.206-3.84-2.206-4.556 0l-13.94 42.903H40.856L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664 1.385 72.31a4.792 4.792 0 001.74 5.358L64 121.894l60.874-44.227a4.793 4.793 0 001.74-5.357"- /><path fill="#E24329" d="M64 121.894l23.144-71.23H40.856L64 121.893z" /><path- fill="#FC6D26"- d="M64 121.894l-23.144-71.23H8.42L64 121.893z"- /><path- fill="#FCA326"- d="M8.42 50.663L1.384 72.31a4.79 4.79 0 001.74 5.357L64 121.894 8.42 50.664z"- /><path- fill="#E24329"- d="M8.42 50.663h32.436L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664z"- /><path fill="#FC6D26" d="M64 121.894l23.144-71.23h32.437L64 121.893z" /><path- fill="#FCA326"- d="M119.58 50.663l7.035 21.647a4.79 4.79 0 01-1.74 5.357L64 121.894l55.58-71.23z"- /><path- fill="#E24329"- d="M119.58 50.663H87.145l13.94-42.902c.717-2.206 3.84-2.206 4.557 0l13.94 42.903z"- />- </svg>- {:else if source?.type === 'github'}- <svg viewBox="0 0 128 128" class="h-10 w-10">- <g fill="#ffffff"- ><path- fill-rule="evenodd"- clip-rule="evenodd"- d="M64 5.103c-33.347 0-60.388 27.035-60.388 60.388 0 26.682 17.303 49.317 41.297 57.303 3.017.56 4.125-1.31 4.125-2.905 0-1.44-.056-6.197-.082-11.243-16.8 3.653-20.345-7.125-20.345-7.125-2.747-6.98-6.705-8.836-6.705-8.836-5.48-3.748.413-3.67.413-3.67 6.063.425 9.257 6.223 9.257 6.223 5.386 9.23 14.127 6.562 17.573 5.02.542-3.903 2.107-6.568 3.834-8.076-13.413-1.525-27.514-6.704-27.514-29.843 0-6.593 2.36-11.98 6.223-16.21-.628-1.52-2.695-7.662.584-15.98 0 0 5.07-1.623 16.61 6.19C53.7 35 58.867 34.327 64 34.304c5.13.023 10.3.694 15.127 2.033 11.526-7.813 16.59-6.19 16.59-6.19 3.287 8.317 1.22 14.46.593 15.98 3.872 4.23 6.215 9.617 6.215 16.21 0 23.194-14.127 28.3-27.574 29.796 2.167 1.874 4.097 5.55 4.097 11.183 0 8.08-.07 14.583-.07 16.572 0 1.607 1.088 3.49 4.148 2.897 23.98-7.994 41.263-30.622 41.263-57.294C124.388 32.14 97.35 5.104 64 5.104z"- /><path- d="M26.484 91.806c-.133.3-.605.39-1.035.185-.44-.196-.685-.605-.543-.906.13-.31.603-.395 1.04-.188.44.197.69.61.537.91zm2.446 2.729c-.287.267-.85.143-1.232-.28-.396-.42-.47-.983-.177-1.254.298-.266.844-.14 1.24.28.394.426.472.984.17 1.255zM31.312 98.012c-.37.258-.976.017-1.35-.52-.37-.538-.37-1.183.01-1.44.373-.258.97-.025 1.35.507.368.545.368 1.19-.01 1.452zm3.261 3.361c-.33.365-1.036.267-1.552-.23-.527-.487-.674-1.18-.343-1.544.336-.366 1.045-.264 1.564.23.527.486.686 1.18.333 1.543zm4.5 1.951c-.147.473-.825.688-1.51.486-.683-.207-1.13-.76-.99-1.238.14-.477.823-.7 1.512-.485.683.206 1.13.756.988 1.237zm4.943.361c.017.498-.563.91-1.28.92-.723.017-1.308-.387-1.315-.877 0-.503.568-.91 1.29-.924.717-.013 1.306.387 1.306.88zm4.598-.782c.086.485-.413.984-1.126 1.117-.7.13-1.35-.172-1.44-.653-.086-.498.422-.997 1.122-1.126.714-.123 1.354.17 1.444.663zm0 0"- /></g- >- </svg>- {/if}- {#if source.isSystemWide}- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-10 w-10"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="12" r="9" />- <line x1="3.6" y1="9" x2="20.4" y2="9" />- <line x1="3.6" y1="15" x2="20.4" y2="15" />- <path d="M11.5 3a17 17 0 0 0 0 18" />- <path d="M12.5 3a17 17 0 0 1 0 18" />- </svg>- {/if}- </div>-- <div class="font-bold text-xl text-center truncate">{source.name}</div>- {#if source.gitlabApp && !source.gitlabAppId}- <div class="font-bold text-center truncate text-red-500 group-hover:text-white">- {$t('application.configuration.configuration_missing')}- </div>- {/if}- </button>- </form>- </div>- {/each}- </div>- </div>- {/if}- <div class="flex flex-row items-center">- <div class="title py-4 pr-4">Public Repository from Git</div>- <DocLink url="https://docs.coollabs.io/coolify/applications/#public-repository-from-git" />- </div>- <PublicRepository />- <div class="flex flex-row items-center pt-10">- <div class="title py-4 pr-4">Simple Dockerfile <Beta /></div>- <DocLink url="https://docs.coollabs.io/coolify/applications/#dockerfile" />- </div>- <div class="mx-auto max-w-screen-2xl">- <form class="flex flex-col" on:submit|preventDefault={handleDockerImage}>- <div class="flex flex-col space-y-2 w-full">- <div class="flex flex-row space-x-2">- <textarea required class="w-full" rows="10" bind:value={simpleDockerfile} />- <button class="btn btn-primary" type="submit">Deploy Dockerfile</button>- </div>- </div>- </form>- </div>-</div>diff --git a/apps/ui/src/routes/applications/[id]/danger.svelte b/apps/ui/src/routes/applications/[id]/danger.sveltedeleted file mode 100644index 9d65bb65e6..0000000000--- a/apps/ui/src/routes/applications/[id]/danger.svelte+++ /dev/null@@ -1,79 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, stuff, url }) => {- try {- const response = await get(`/applications/${params.id}/secrets`);- return {- props: {- application: stuff.application,- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let application: any;- import { page } from '$app/stores';- import { del, get } from '$lib/api';- import { t } from '$lib/translations';- import { appSession, status } from '$lib/store';- import { errorNotification } from '$lib/common';- import { goto } from '$app/navigation';- const { id } = $page.params;-- let forceDelete = false;- async function deleteApplication(name: string, force: boolean) {- const sure = confirm($t('application.confirm_to_delete', { name }));- if (sure) {- $status.application.initialLoading = true;- try {- await del(`/applications/${id}`,{});- return await goto('/')- } catch (error) {- if (error.message.startsWith(`Command failed: SSH_AUTH_SOCK=/tmp/coolify-ssh-agent.pid`)) {- forceDelete = true;- }- return errorNotification(error);- } finally {- $status.application.initialLoading = false;- }- }- }-</script>--<div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">Danger Zone</div>- </div>-- {#if forceDelete}- <button- id="forcedelete"- on:click={() => deleteApplication(application.name, true)}- type="submit"- disabled={!$appSession.isAdmin}- class:bg-red-600={$appSession.isAdmin}- class:hover:bg-red-500={$appSession.isAdmin}- class="btn btn-lg btn-error hover:bg-red-700 text-sm w-64"- >- Force Delete Application- </button>- {:else}- <button- id="delete"- on:click={() => deleteApplication(application.name, false)}- type="submit"- disabled={!$appSession.isAdmin}- class="btn btn-lg btn-error hover:bg-red-700 text-sm w-64"- >- Delete Application- </button>- {/if}-</div>diff --git a/apps/ui/src/routes/applications/[id]/features.svelte b/apps/ui/src/routes/applications/[id]/features.sveltedeleted file mode 100644index a505b68cf0..0000000000--- a/apps/ui/src/routes/applications/[id]/features.svelte+++ /dev/null@@ -1,147 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, stuff, url }) => {- try {- if (stuff?.application?.id) {- return {- props: {- application: stuff.application,- settings: stuff.settings- }- };- }- const response = await get(`/applications/${params.id}`);- return {- props: {- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let application: any;- export let settings: any;- import { page } from '$app/stores';- import { get, post } from '$lib/api';- import {- addToast,- appSession,- checkIfDeploymentEnabledApplications,- setLocation,- status,- isDeploymentEnabled- } from '$lib/store';- import { t } from '$lib/translations';- import { errorNotification, getDomain, notNodeDeployments, staticDeployments } from '$lib/common';- import Setting from '$lib/components/Setting.svelte';-- const { id } = $page.params;-- let previews = application.settings.previews;- let dualCerts = application.settings.dualCerts;- let autodeploy = application.settings.autodeploy;- let isBot = application.settings.isBot;- let isDBBranching = application.settings.isDBBranching;-- async function changeSettings(name: any) {- if (!$appSession.isAdmin) return- if (name === 'previews') {- previews = !previews;- }- if (name === 'dualCerts') {- dualCerts = !dualCerts;- }- if (name === 'autodeploy') {- autodeploy = !autodeploy;- }- if (name === 'isBot') {- if ($status.application.isRunning) return;- isBot = !isBot;- application.settings.isBot = isBot;- application.fqdn = null;- setLocation(application, settings);- }- if (name === 'isDBBranching') {- isDBBranching = !isDBBranching;- }- try {- await post(`/applications/${id}/settings`, {- previews,- dualCerts,- isBot,- autodeploy,- isDBBranching,- branch: application.branch,- projectId: application.projectId- });- return addToast({- message: $t('application.settings_saved'),- type: 'success'- });- } catch (error) {- if (name === 'previews') {- previews = !previews;- }- if (name === 'dualCerts') {- dualCerts = !dualCerts;- }- if (name === 'autodeploy') {- autodeploy = !autodeploy;- }- if (name === 'isBot') {- isBot = !isBot;- }- if (name === 'isDBBranching') {- isDBBranching = !isDBBranching;- }- return errorNotification(error);- } finally {- $isDeploymentEnabled = checkIfDeploymentEnabledApplications(application);- }- }-</script>--<div class="w-full">- <div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">Features</div>- </div>- <div class="px-4 lg:pb-10 pb-6">- {#if !application.settings.isPublicRepository}- <div class="grid grid-cols-2 items-center">- <Setting- id="autodeploy"- isCenter={false}- bind:setting={autodeploy}- disabled={!$appSession.isAdmin}- on:click={() => changeSettings('autodeploy')}- title={$t('application.enable_automatic_deployment')}- description={$t('application.enable_auto_deploy_webhooks')}- />- </div>- {#if !application.settings.isBot && !application.simpleDockerfile}- <div class="grid grid-cols-2 items-center">- <Setting- id="previews"- isCenter={false}- bind:setting={previews}- disabled={!$appSession.isAdmin}- on:click={() => changeSettings('previews')}- title={$t('application.enable_mr_pr_previews')}- description={$t('application.enable_preview_deploy_mr_pr_requests')}- />- </div>- {/if}- {:else}- No features available for this application- {/if}- </div>- </div>-</div>diff --git a/apps/ui/src/routes/applications/[id]/index.svelte b/apps/ui/src/routes/applications/[id]/index.sveltedeleted file mode 100644index 85910ec2ab..0000000000--- a/apps/ui/src/routes/applications/[id]/index.svelte+++ /dev/null@@ -1,1280 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, stuff, url }) => {- try {- if (stuff?.application?.id) {- return {- props: {- application: stuff.application,- settings: stuff.settings- }- };- }- const response = await get(`/applications/${params.id}`);- return {- props: {- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let application: any;- export let settings: any;-- import yaml from 'js-yaml';- import { page } from '$app/stores';- import { onMount } from 'svelte';- import Select from 'svelte-select';- import { get, getAPIUrl, post } from '$lib/api';- import cuid from 'cuid';- import {- addToast,- appSession,- checkIfDeploymentEnabledApplications,- setLocation,- status,- isDeploymentEnabled,- features- } from '$lib/store';- import { t } from '$lib/translations';- import { errorNotification, getDomain, notNodeDeployments, staticDeployments } from '$lib/common';- import Setting from '$lib/components/Setting.svelte';- import Explainer from '$lib/components/Explainer.svelte';- import { goto } from '$app/navigation';- import Beta from '$lib/components/Beta.svelte';- import { saveForm } from './utils';-- const { id } = $page.params;- $: isDisabled =- !$appSession.isAdmin ||- $status.application.overallStatus === 'degraded' ||- $status.application.overallStatus === 'healthy' ||- $status.application.initialLoading;- $isDeploymentEnabled = checkIfDeploymentEnabledApplications(application);- let statues: any = {};- let loading = {- save: false,- reloadCompose: false- };- let isSimpleDockerfile = !!application.simpleDockerfile;- let fqdnEl: any = null;- let forceSave = false;- let isPublicRepository = application.settings?.isPublicRepository;- let apiUrl = application.gitSource?.apiUrl;- let branch = application.branch;- let repository = application.repository;- let debug = application.settings?.debug;- let previews = application.settings?.previews;- let dualCerts = application.settings?.dualCerts;- let isCustomSSL = application.settings?.isCustomSSL;- let autodeploy = application.settings?.autodeploy;- let isBot = application.settings?.isBot;- let isDBBranching = application.settings?.isDBBranching;- let htmlUrl = application.gitSource?.htmlUrl;- let isHttp2 = application.settings.isHttp2;-- let dockerComposeFile = JSON.parse(application.dockerComposeFile) || null;- let dockerComposeServices: any[] = [];- let dockerComposeConfiguration = JSON.parse(application.dockerComposeConfiguration) || {};- let originalDockerComposeFileLocation = application.dockerComposeFileLocation;-- let baseDatabaseBranch: any = application?.connectedDatabase?.hostedDatabaseDBName || null;- let nonWWWDomain = application.fqdn && getDomain(application.fqdn).replace(/^www\./, '');- let isHttps = application.fqdn && application.fqdn.startsWith('https://');- let isNonWWWDomainOK = false;- let isWWWDomainOK = false;-- let wsgis = [- {- value: 'None',- label: 'None'- },- {- value: 'Gunicorn',- label: 'Gunicorn'- },- {- value: 'Uvicorn',- label: 'Uvicorn'- }- ];- function normalizeDockerServices(services: any[]) {- const tempdockerComposeServices = [];- for (const [name, data] of Object.entries(services)) {- tempdockerComposeServices.push({- name,- data- });- }- for (const service of tempdockerComposeServices) {- if (!dockerComposeConfiguration[service.name]) {- dockerComposeConfiguration[service.name] = {};- }- }- return tempdockerComposeServices;- }- if (dockerComposeFile?.services) {- dockerComposeServices = normalizeDockerServices(dockerComposeFile.services);- }-- function containerClass() {- return 'text-white bg-transparent font-thin px-0 w-full border border-dashed border-coolgray-200';- }-- onMount(async () => {- if (window.location.hostname === 'demo.coolify.io' && !application.fqdn) {- application.fqdn = `http://${cuid()}.demo.coolify.io`;- await handleSubmit();- }- await getBaseBuildImages();- if (!application.fqdn && fqdnEl) fqdnEl.focus();- });- async function getBaseBuildImages() {- const data = await post(`/applications/images`, {- buildPack: application.buildPack,- deploymentType: application.deploymentType- });- const baseImageCorrect = data.baseImages.filter(- (image: any) => image.value === application.baseImage- );- if (baseImageCorrect.length === 0) {- application.baseImage = data.baseImage;- }- application.baseImages = data.baseImages;-- const baseBuildImageCorrect = data.baseBuildImages.filter(- (image: any) => image.value === application.baseBuildImage- );- if (baseBuildImageCorrect.length === 0) {- application.baseBuildImage = data.baseBuildImage;- }- application.baseBuildImages = data.baseBuildImages;- if (application.deploymentType === 'static' && application.port !== '80') {- application.port = data.port;- }- if (application.deploymentType === 'node' && application.port === '80') {- application.port = data.port;- }- if (application.deploymentType === 'static' && !application.publishDirectory) {- application.publishDirectory = data.publishDirectory;- }- if (application.deploymentType === 'node' && application.publishDirectory === 'out') {- application.publishDirectory = data.publishDirectory;- }- }- async function changeSettings(name: any) {- if (name === 'debug') {- debug = !debug;- }- if (name === 'previews') {- previews = !previews;- }- if (name === 'dualCerts') {- dualCerts = !dualCerts;- }- if (name === 'autodeploy') {- autodeploy = !autodeploy;- }- if (name === 'isCustomSSL') {- isCustomSSL = !isCustomSSL;- }- if (name === 'isBot') {- if ($status.application.overallStatus !== 'stopped') return;- isBot = !isBot;- application.settings.isBot = isBot;- application.fqdn = null;- setLocation(application, settings);- }- if (name === 'isDBBranching') {- isDBBranching = !isDBBranching;- }- if (name === 'isHttp2') {- isHttp2 = !isHttp2;- }- try {- await post(`/applications/${id}/settings`, {- previews,- debug,- dualCerts,- isBot,- autodeploy,- isDBBranching,- isCustomSSL,- isHttp2,- branch: application.branch,- projectId: application.projectId- });- return addToast({- message: $t('application.settings_saved'),- type: 'success'- });- } catch (error) {- if (name === 'debug') {- debug = !debug;- }- if (name === 'previews') {- previews = !previews;- }- if (name === 'dualCerts') {- dualCerts = !dualCerts;- }- if (name === 'autodeploy') {- autodeploy = !autodeploy;- }- if (name === 'isBot') {- isBot = !isBot;- }- if (name === 'isDBBranching') {- isDBBranching = !isDBBranching;- }- if (name === 'isCustomSSL') {- isCustomSSL = !isCustomSSL;- }- return errorNotification(error);- } finally {- $isDeploymentEnabled = checkIfDeploymentEnabledApplications(application);- }- }- async function handleSubmit(toast: boolean = true) {- if (loading.save) return;- if (toast) loading.save = true;- try {- nonWWWDomain = application.fqdn && getDomain(application.fqdn).replace(/^www\./, '');- if (application.deploymentType) {- application.deploymentType = application.deploymentType.toLowerCase();- }- if (originalDockerComposeFileLocation !== application.dockerComposeFileLocation) {- await reloadCompose();- }- if (!isBot) {- await post(`/applications/${id}/check`, {- fqdn: application.fqdn,- forceSave,- dualCerts,- exposePort: application.exposePort- });- for (const service of dockerComposeServices) {- if (dockerComposeConfiguration[service.name].fqdn) {- await post(`/applications/${id}/check`, {- fqdn: dockerComposeConfiguration[service.name].fqdn,- forceSave,- dualCerts,- exposePort: application.exposePort- });- }- }- }- await saveForm(id, application, baseDatabaseBranch, dockerComposeConfiguration);- setLocation(application, settings);- $isDeploymentEnabled = checkIfDeploymentEnabledApplications(application);-- forceSave = false;- if (toast) {- addToast({- message: 'Configuration saved.',- type: 'success'- });- }-- if (application.fqdn && application.fqdn.startsWith('https')) {- isHttps = true;- } else {- isHttps = false;- }- } catch (error) {- //@ts-ignore- if (error?.message.startsWith($t('application.dns_not_set_partial_error'))) {- forceSave = true;- if (dualCerts) {- isNonWWWDomainOK = await isDNSValid(getDomain(nonWWWDomain), false);- isWWWDomainOK = await isDNSValid(getDomain(`www.${nonWWWDomain}`), true);- } else {- const isWWW = getDomain(application.fqdn).includes('www.');- if (isWWW) {- isWWWDomainOK = await isDNSValid(getDomain(`www.${nonWWWDomain}`), true);- } else {- isNonWWWDomainOK = await isDNSValid(getDomain(nonWWWDomain), false);- }- }- }- return errorNotification(error);- } finally {- loading.save = false;- }- }- async function selectWSGI(event: any) {- application.pythonWSGI = event.detail.value;- }- async function selectBaseImage(event: any) {- application.baseImage = event.detail.value;- await handleSubmit();- }- async function selectBaseBuildImage(event: any) {- application.baseBuildImage = event.detail.value;- await handleSubmit();- }- async function selectDeploymentType(event: any) {- application.deploymentType = event.detail.value;- await getBaseBuildImages();- await handleSubmit();- }- async function isDNSValid(domain: any, isWWW: any) {- try {- await get(`/applications/${id}/check?domain=${domain}`);- addToast({- message: 'DNS configuration is valid.',- type: 'success'- });- isWWW ? (isWWWDomainOK = true) : (isNonWWWDomainOK = true);- return true;- } catch (error) {- errorNotification(error);- isWWW ? (isWWWDomainOK = false) : (isNonWWWDomainOK = false);- return false;- }- }- async function getGitlabToken() {- return await new Promise<void>((resolve, reject) => {- const left = screen.width / 2 - 1020 / 2;- const top = screen.height / 2 - 618 / 2;- const newWindow = open(- `${htmlUrl}/oauth/authorize?client_id=${- application.gitSource.gitlabApp.appId- }&redirect_uri=${getAPIUrl()}/webhooks/gitlab&response_type=code&scope=api+email+read_repository&state=${- $page.params.id- }`,- 'GitLab',- 'resizable=1, scrollbars=1, fullscreen=0, height=618, width=1020,top=' +- top +- ', left=' +- left +- ', toolbar=0, menubar=0, status=0'- );- const timer = setInterval(() => {- if (newWindow?.closed) {- clearInterval(timer);- $appSession.tokens.gitlab = localStorage.getItem('gitLabToken');- localStorage.removeItem('gitLabToken');- resolve();- }- }, 100);- });- }- async function reloadCompose() {- if (loading.reloadCompose) return;- loading.reloadCompose = true;- if (!$appSession.tokens.github && !isPublicRepository) {- const { token } = await get(`/applications/${id}/configuration/githubToken`);- $appSession.tokens.github = token;- }- try {- if (application.gitSource.type === 'github') {- const composeLocation = application.dockerComposeFileLocation.startsWith('/')- ? application.dockerComposeFileLocation- : `/${application.dockerComposeFileLocation}`;-- const headers = isPublicRepository- ? {}- : {- Authorization: `token ${$appSession.tokens.github}`- };- const data = await get(- `${apiUrl}/repos/${repository}/contents/${composeLocation}?ref=${branch}`,- {- ...headers,- 'If-None-Match': '',- Accept: 'application/vnd.github.v2.json'- }- );- if (data?.content) {- const content = atob(data.content);- let dockerComposeFileContent = JSON.stringify(yaml.load(content) || null);- let dockerComposeFileContentJSON = JSON.parse(dockerComposeFileContent);- dockerComposeServices = normalizeDockerServices(dockerComposeFileContentJSON?.services);- application.dockerComposeFile = dockerComposeFileContent;- await handleSubmit(false);- }- }- if (application.gitSource.type === 'gitlab') {- if (!$appSession.tokens.gitlab) {- await getGitlabToken();- }-- const composeLocation = application.dockerComposeFileLocation.startsWith('/')- ? application.dockerComposeFileLocation.substring(1) // Remove the '/' from the start- : application.dockerComposeFileLocation;-- // If the file is in a subdirectory, lastIndex will be > 0- // Otherwise it will be -1 and path will be an empty string- const lastIndex = composeLocation.lastIndexOf('/') + 1;- const path = composeLocation.substring(0, lastIndex);- const fileName = composeLocation.substring(lastIndex);-- const headers = isPublicRepository- ? {}- : {- Authorization: `Bearer ${$appSession.tokens.gitlab}`- };- const url = isPublicRepository- ? ``- : `/v4/projects/${application.projectId}/repository/tree?path=${path}`;- const files = await get(`${apiUrl}${url}`, {- ...headers- });- const dockerComposeFileYml = files.find(- (file: { name: string; type: string }) => file.name === fileName && file.type === 'blob'- );- const id = dockerComposeFileYml.id;-- const data = await get(- `${apiUrl}/v4/projects/${application.projectId}/repository/blobs/${id}`,- {- ...headers- }- );- if (data?.content) {- const content = atob(data.content);- let dockerComposeFileContent = JSON.stringify(yaml.load(content) || null);- let dockerComposeFileContentJSON = JSON.parse(dockerComposeFileContent);- dockerComposeServices = normalizeDockerServices(dockerComposeFileContentJSON?.services);- application.dockerComposeFile = dockerComposeFileContent;- await handleSubmit(false);- }- }- originalDockerComposeFileLocation = application.dockerComposeFileLocation;- addToast({- message: 'Compose file reloaded.',- type: 'success'- });- } catch (error: any) {- if (error.message === 'Not Found') {- error.message = `Can't find ${application.dockerComposeFileLocation} file.`;- errorNotification(error);- throw error;- }- errorNotification(error);- } finally {- loading.reloadCompose = false;- }- }- $: if ($status.application.statuses) {- for (const service of dockerComposeServices) {- getStatus(service);- }- }- function getStatus(service: any) {- let foundStatus = null;- const foundService = $status.application.statuses.find(- (s: any) => s.name === `${application.id}-${service.name}`- );- if (foundService) {- const statusText = foundService?.status;- if (statusText?.isRunning) {- foundStatus = 'Running';- }- if (statusText?.isExited) {- foundStatus = 'Exited';- }- if (statusText?.isRestarting) {- foundStatus = 'Restarting';- }- }- statues[service.name] = foundStatus || 'Stopped';- }-</script>--<div class="w-full">- <form id="saveForm" on:submit|preventDefault={() => handleSubmit()}>- <div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">General</div>- {#if $appSession.isAdmin}- <button- class="btn btn-sm btn-primary"- type="submit"- class:loading={loading.save}- class:bg-orange-600={forceSave}- class:hover:bg-orange-400={forceSave}- disabled={loading.save}>{$t('forms.save')}</button- >- {/if}- </div>- <div class="grid grid-flow-row gap-2 px-4">- <div class="mt-2 grid grid-cols-2 items-center">- <label for="name">{$t('forms.name')}</label>- <input- name="name"- id="name"- class="w-full"- bind:value={application.name}- disabled={!$appSession.isAdmin}- required- />- </div>- {#if !isSimpleDockerfile}- <div class="grid grid-cols-2 items-center">- <label for="gitSource">{$t('application.git_source')}</label>- {#if isDisabled || application.settings?.isPublicRepository}- <input- disabled={isDisabled || application.settings?.isPublicRepository}- class="w-full"- value={application.gitSource?.name}- />- {:else}- <a- href={`/applications/${id}/configuration/source?from=/applications/${id}`}- class="no-underline"- ><input- value={application.gitSource?.name}- id="gitSource"- class="cursor-pointer hover:bg-coolgray-500 w-full"- /></a- >- {/if}- </div>- <div class="grid grid-cols-2 items-center">- <label for="repository">Git commit</label>- <div class="flex gap-2">- <input- id="commit"- name="commit"- class="w-full"- disabled={isDisabled}- placeholder="default: latest commit"- bind:value={application.gitCommitHash}- />- <a- href="{application.gitSource- ?.htmlUrl}/{application.repository}/commits/{application.branch}"- target="_blank noreferrer"- class="btn btn-primary text-xs"- >Commits<svg- xmlns="http://www.w3.org/2000/svg"- fill="currentColor"- viewBox="0 0 24 24"- stroke-width="3"- stroke="currentColor"- class="w-3 h-3 text-white ml-2"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- d="M4.5 19.5l15-15m0 0H8.25m11.25 0v11.25"- />- </svg></a- >- </div>- </div>- <div class="grid grid-cols-2 items-center">- <label for="repository">{$t('application.git_repository')}</label>- {#if isDisabled || application.settings?.isPublicRepository}- <input- class="w-full"- disabled={isDisabled || application.settings?.isPublicRepository}- value="{application.repository}/{application.branch}"- />- {:else}- <a- href={`/applications/${id}/configuration/repository?from=/applications/${id}&to=/applications/${id}/configuration/buildpack`}- class="no-underline"- ><input- value="{application.repository}/{application.branch}"- id="repository"- class="cursor-pointer hover:bg-coolgray-500 w-full"- /></a- >- {/if}- </div>- {/if}- <div class="grid grid-cols-2 items-center">- <label for="registry">Docker Registry</label>- {#if isDisabled}- <input- class="capitalize w-full"- disabled={isDisabled}- value={application.dockerRegistry?.name || 'DockerHub (unauthenticated)'}- />- {:else}- <a- href={`/applications/${id}/configuration/registry?from=/applications/${id}`}- class="no-underline"- >- <input- value={application.dockerRegistry?.name || 'DockerHub (unauthenticated)'}- id="registry"- class="cursor-pointer hover:bg-coolgray-500 capitalize w-full"- /></a- >- {/if}- </div>- {#if application.dockerRegistry?.id && application.gitSourceId}- <div class="grid grid-cols-2 items-center">- <label for="registry"- >Push Image to Registry <Explainer- explanation="Push the build image to the specific Docker Registry.<br><br>This is useful if you want to use the image in other places. If you don't fill this the image will be only available on the server.<br><br>Tag is optional. If you don't fill it, the tag will be the same as the git commit hash."- /></label- >- <input- name="dockerRegistryImageName"- id="dockerRegistryImageName"- readonly={isDisabled}- disabled={isDisabled}- class="w-full"- placeholder="e.g. coollabsio/myimage (tag will be commit sha) or coollabsio/myimage:tag"- bind:value={application.dockerRegistryImageName}- />- </div>- {/if}- {#if !isSimpleDockerfile}- <div class="grid grid-cols-2 items-center">- <label for="buildPack">{$t('application.build_pack')} </label>- {#if isDisabled}- <input- class="capitalize w-full"- disabled={isDisabled}- value={application.buildPack}- />- {:else}- <a- href={`/applications/${id}/configuration/buildpack?from=/applications/${id}`}- class="no-underline"- >- <input- value={application.buildPack}- id="buildPack"- class="cursor-pointer hover:bg-coolgray-500 capitalize w-full"- /></a- >- {/if}- </div>- {/if}- <div class="grid grid-cols-2 items-center">- <label for="destination">{$t('application.destination')}</label>- <div class="no-underline">- <input- value={application.destinationDocker?.name}- id="destination"- disabled- class="bg-transparent w-full"- />- </div>- </div>- {#if application.buildPack !== 'compose'}- <div class="grid grid-cols-2 items-center">- <Setting- id="isBot"- isCenter={false}- bind:setting={isBot}- on:click={() => changeSettings('isBot')}- title="Is your application a bot?"- description="You can deploy applications without domains or make them to listen on the <span class='text-settings font-bold'>Exposed Port</span>.<br></Setting><br>Useful to host <span class='text-settings font-bold'>Twitch bots, regular jobs, or anything that does not require an incoming HTTP connection.</span>"- disabled={isDisabled}- />- </div>- {/if}- {#if !isBot && application.buildPack !== 'compose'}- <div class="grid grid-cols-2 items-center">- <label for="fqdn"- >{$t('application.url_fqdn')}- <Explainer- explanation={"If you specify <span class='text-settings font-bold'>https</span>, the application will be accessible only over https.<br>SSL certificate will be generated automatically.<br><br>If you specify <span class='text-settings font-bold'>www</span>, the application will be redirected (302) from non-www and vice versa.<br><br>To modify the domain, you must first stop the application.<br><br><span class='text-settings font-bold'>You must set your DNS to point to the server IP in advance.</span>"}- />- </label>- <div>- <input- bind:this={fqdnEl}- class="w-full"- required={!application.settings?.isBot}- readonly={isDisabled}- disabled={isDisabled}- name="fqdn"- id="fqdn"- class:border={!application.settings?.isBot && !application.fqdn}- class:border-red-500={!application.settings?.isBot && !application.fqdn}- bind:value={application.fqdn}- pattern="^https?://([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{'{'}2,{'}'}$"- placeholder="eg: https://coollabs.io"- />- {#if forceSave}- <div class="flex-col space-y-2 pt-4 text-center">- {#if isNonWWWDomainOK}- <button- class="btn btn-sm bg-green-600 hover:bg-green-500"- on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}- >DNS settings for {nonWWWDomain} is OK, click to recheck.</button- >- {:else}- <button- class="btn btn-sm bg-red-600 hover:bg-red-500"- on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}- >DNS settings for {nonWWWDomain} is invalid, click to recheck.</button- >- {/if}- {#if dualCerts}- {#if isWWWDomainOK}- <button- class="btn btn-sm bg-green-600 hover:bg-green-500"- on:click|preventDefault={() =>- isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}- >DNS settings for www.{nonWWWDomain} is OK, click to recheck.</button- >- {:else}- <button- class="btn btn-sm bg-red-600 hover:bg-red-500"- on:click|preventDefault={() =>- isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}- >DNS settings for www.{nonWWWDomain} is invalid, click to recheck.</button- >- {/if}- {/if}- </div>- {/if}- </div>- </div>- <div class="grid grid-cols-2 items-center">- <Setting- id="dualCerts"- dataTooltip={$t('forms.must_be_stopped_to_modify')}- disabled={isDisabled}- isCenter={false}- bind:setting={dualCerts}- title={$t('application.ssl_www_and_non_www')}- description="Generate certificates for both www and non-www. <br>You need to have <span class='font-bold text-settings'>both DNS entries</span> set in advance.<br><br>Useful if you expect to have visitors on both."- on:click={() => !isDisabled && changeSettings('dualCerts')}- />- </div>-- {#if isHttps && application.buildPack !== 'compose'}- <div class="grid grid-cols-2 items-center pb-4">- <Setting- id="isCustomSSL"- isCenter={false}- bind:setting={isCustomSSL}- title="Use Custom SSL Certificate"- description="Use Custom SSL Certificated added in the Settings/SSL Certificates section. <br><br>By default, the SSL certificate is generated automatically through Let's Encrypt"- on:click={() => changeSettings('isCustomSSL')}- />- </div>- {/if}- <div class="grid grid-cols-2 items-center pb-4">- <Setting- id="isHttp2"- isCenter={false}- bind:setting={isHttp2}- title="Enable HTTP/2 protocol?"- description="Enable HTTP/2 protocol. <br><br>HTTP/2 is a major revision of the HTTP network protocol used by the World Wide Web that allows faster web page loading by reducing the number of requests needed to load a web page.<br><br>Useful for gRPC and other HTTP/2 based services."- on:click={() => changeSettings('isHttp2')}- />- </div>- {/if}- </div>- {#if isSimpleDockerfile}- <div class="title font-bold pb-3 pt-10 border-b border-coolgray-500 mb-6">- Configuration- </div>-- <div class="grid grid-flow-row gap-2 px-4 pr-5">- <div class="grid grid-cols-2 items-center pt-4">- <label for="simpleDockerfile">Dockerfile</label>- <div class="flex gap-2">- <textarea- rows="10"- id="simpleDockerfile"- name="simpleDockerfile"- class="w-full"- disabled={isDisabled}- bind:value={application.simpleDockerfile}- />- </div>- </div>- <div class="grid grid-cols-2 items-center">- <label for="port"- >{$t('forms.port')}- <Explainer- explanation={'The port your application listens inside the docker container.'}- /></label- >- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="port"- id="port"- bind:value={application.port}- placeholder="{$t('forms.default')}: 3000"- />- </div>- </div>- {:else if application.buildPack !== 'compose'}- <div class="title font-bold pb-3 pt-10 border-b border-coolgray-500 mb-6">- Configuration- </div>- <div class="grid grid-flow-row gap-2 px-4 pr-5">- {#if application.buildCommand || application.buildPack === 'rust' || application.buildPack === 'laravel'}- <div class="grid grid-cols-2 items-center">- <label for="baseBuildImage"- >{$t('application.base_build_image')}- <Explainer- explanation={application.buildPack === 'laravel'- ? 'For building frontend assets with webpack.'- : 'Image that will be used during the build process.'}- />- </label>- <div class="custom-select-wrapper">- <Select- {isDisabled}- containerClasses={isDisabled && containerClass()}- id="baseBuildImages"- showIndicator={!isDisabled}- items={application.baseBuildImages}- on:select={selectBaseBuildImage}- value={application.baseBuildImage}- isClearable={false}- />- </div>- </div>- {/if}- {#if application.buildPack !== 'docker'}- <div class="grid grid-cols-2 items-center">- <label for="baseImage"- >{$t('application.base_image')}- <Explainer explanation={'Image that will be used for the deployment.'} /></label- >- <div class="custom-select-wrapper">- <Select- {isDisabled}- containerClasses={isDisabled && containerClass()}- id="baseImages"- showIndicator={!isDisabled}- items={application.baseImages}- on:select={selectBaseImage}- value={application.baseImage}- isClearable={false}- />- </div>- </div>- {/if}- {#if application.buildPack !== 'docker' && (application.buildPack === 'nextjs' || application.buildPack === 'nuxtjs')}- <div class="grid grid-cols-2 items-center pb-8">- <label for="deploymentType"- >Deployment Type- <Explainer- explanation={"Defines how to deploy your application. <br><br><span class='text-green-500 font-bold'>Static</span> is for static websites, <span class='text-green-500 font-bold'>node</span> is for server-side applications."}- /></label- >- <div class="custom-select-wrapper">- <Select- {isDisabled}- containerClasses={isDisabled && containerClass()}- id="deploymentTypes"- showIndicator={!isDisabled}- items={['static', 'node']}- on:select={selectDeploymentType}- value={application.deploymentType}- isClearable={false}- />- </div>- </div>- {/if}- {#if $features.beta}- {#if !application.settings?.isBot && !application.settings?.isPublicRepository}- <div class="grid grid-cols-2 items-center">- <Setting- id="isDBBranching"- isCenter={false}- bind:setting={isDBBranching}- on:click={() => changeSettings('isDBBranching')}- title="Enable DB Branching"- description="Enable DB Branching"- />- </div>- {#if isDBBranching}- <button- on:click|stopPropagation|preventDefault={() =>- goto(`/applications/${id}/configuration/database`)}- class="btn btn-sm">Configure Connected Database</button- >- {#if application.connectedDatabase}- <div class="grid grid-cols-2 items-center">- <label for="baseImage"- >Base Database- <Explainer- explanation={'The name of the database that will be used as base when branching.'}- /></label- >- <input- name="baseDatabaseBranch"- required- id="baseDatabaseBranch"- bind:value={baseDatabaseBranch}- />- </div>- <div class="text-center bg-green-600 rounded">- Connected to {application.connectedDatabase?.databaseId}- </div>- {/if}- {/if}- {/if}- {/if}-- {#if application.buildPack === 'python'}- <div class="grid grid-cols-2 items-center">- <label for="pythonModule">WSGI / ASGI</label>- <div class="custom-select-wrapper">- <Select- id="wsgi"- items={wsgis}- on:select={selectWSGI}- value={application.pythonWSGI}- />- </div>- </div>-- <div class="grid grid-cols-2 items-center">- <label for="pythonModule">Module</label>- <input- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="pythonModule"- id="pythonModule"- required- class="w-full"- bind:value={application.pythonModule}- placeholder={application.pythonWSGI?.toLowerCase() !== 'none' ? 'main' : 'main.py'}- />- </div>- {#if application.pythonWSGI?.toLowerCase() === 'gunicorn'}- <div class="grid grid-cols-2 items-center">- <label for="pythonVariable">Variable</label>- <input- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="pythonVariable"- id="pythonVariable"- required- class="w-full"- bind:value={application.pythonVariable}- placeholder="default: app"- />- </div>- {/if}- {#if application.pythonWSGI?.toLowerCase() === 'uvicorn'}- <div class="grid grid-cols-2 items-center">- <label for="pythonVariable">Variable</label>- <input- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="pythonVariable"- id="pythonVariable"- required- class="w-full"- bind:value={application.pythonVariable}- placeholder="default: app"- />- </div>- {/if}- {/if}- {#if !staticDeployments.includes(application.buildPack)}- <div class="grid grid-cols-2 items-center pt-4">- <label for="port"- >{$t('forms.port')}- <Explainer- explanation={'The port your application listens inside the docker container.'}- /></label- >- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="port"- id="port"- bind:value={application.port}- placeholder="{$t('forms.default')}: 'python' ? '8000' : '3000'"- />- </div>- {/if}- <div class="grid grid-cols-2 items-center pb-4">- <label for="exposePort"- >Exposed Port <Explainer- explanation={'You can expose your application to a port on the host system.<br><br>Useful if you would like to use your own reverse proxy or tunnel and also in development mode. Otherwise leave empty.'}- /></label- >- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="exposePort"- id="exposePort"- bind:value={application.exposePort}- placeholder="12345"- />- </div>- {#if !notNodeDeployments.includes(application.buildPack)}- <div class="grid grid-cols-2 items-center">- <label for="installCommand">{$t('application.install_command')}</label>- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="installCommand"- id="installCommand"- bind:value={application.installCommand}- placeholder="{$t('forms.default')}: yarn install"- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="buildCommand">{$t('application.build_command')}</label>- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="buildCommand"- id="buildCommand"- bind:value={application.buildCommand}- placeholder="{$t('forms.default')}: yarn build"- />- </div>- <div class="grid grid-cols-2 items-center pb-8">- <label for="startCommand">{$t('application.start_command')}</label>- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="startCommand"- id="startCommand"- bind:value={application.startCommand}- placeholder="{$t('forms.default')}: yarn start"- />- </div>- {/if}- {#if application.buildPack === 'deno'}- <div class="grid grid-cols-2 items-center">- <label for="denoMainFile">Main File</label>- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="denoMainFile"- id="denoMainFile"- bind:value={application.denoMainFile}- placeholder="default: main.ts"- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="denoOptions"- >Arguments <Explainer- explanation={"List of arguments to pass to <span class='text-settings font-bold'>deno run</span> command. Could include permissions, configurations files, etc."}- /></label- >- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="denoOptions"- id="denoOptions"- bind:value={application.denoOptions}- placeholder="eg: --allow-net --allow-hrtime --config path/to/file.json"- />- </div>- {/if}- {#if application.buildPack !== 'laravel'}- <div class="grid grid-cols-2 items-center">- <div class="flex-col">- <label for="baseDirectory"- >{$t('forms.base_directory')}- <Explainer- explanation={"Directory to use as the base for all commands.<br>Could be useful with <span class='text-settings font-bold'>monorepos</span>."}- /></label- >- </div>- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="baseDirectory"- id="baseDirectory"- bind:value={application.baseDirectory}- placeholder="{$t('forms.default')}: /"- />- </div>- {/if}- {#if application.buildPack === 'docker'}- <div class="grid grid-cols-2 items-center pb-4">- <label for="dockerFileLocation" class=""- >Dockerfile Location <Explainer- explanation={"Should be absolute path, like <span class='text-settings font-bold'>/data/Dockerfile</span> or <span class='text-settings font-bold'>/Dockerfile.</span>"}- /></label- >- <div class="form-control w-full">- <input- class="w-full input"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="dockerFileLocation"- id="dockerFileLocation"- bind:value={application.dockerFileLocation}- placeholder="default: /Dockerfile"- />- {#if application.baseDirectory}- <!-- svelte-ignore a11y-label-has-associated-control -->- <label class="label">- <span class="label-text-alt text-xs"- >Path: {application.baseDirectory.replace(- /^\/$/,- ''- )}{application.dockerFileLocation}</span- >- </label>- {/if}- </div>- </div>- {/if}- {#if !notNodeDeployments.includes(application.buildPack)}- <div class="grid grid-cols-2 items-center">- <div class="flex-col">- <label for="publishDirectory"- >{$t('forms.publish_directory')}- <Explainer- explanation={"Directory containing all the assets for deployment. <br> For example: <span class='text-settings font-bold'>dist</span>,<span class='text-settings font-bold'>_site</span> or <span class='text-settings font-bold'>public</span>."}- /></label- >- </div>-- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="publishDirectory"- id="publishDirectory"- required={application.deploymentType === 'static'}- bind:value={application.publishDirectory}- placeholder=" {$t('forms.default')}: /"- />- </div>- {/if}- </div>- {:else}- <div class="title font-bold pb-3 pt-10 border-b border-coolgray-500 mb-6">- Stack <Beta />- {#if $appSession.isAdmin}- <button- class="btn btn-sm btn-primary"- class:loading={loading.reloadCompose}- disabled={loading.reloadCompose}- on:click|preventDefault={reloadCompose}>Reload Docker Compose File</button- >- {/if}- </div>- <div class="grid grid-flow-row gap-2">- <div class="grid grid-cols-2 items-center px-8 pb-4">- <label for="dockerComposeFileLocation"- >Docker Compose File Location- <Explainer- explanation="You can specify a custom docker compose file location. <br> Should be absolute path, like <span class='text-settings font-bold'>/data/docker-compose.yml</span> or <span class='text-settings font-bold'>/docker-compose.yml.</span>"- />- </label>- <div>- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="dockerComposeFileLocation"- id="dockerComposeFileLocation"- bind:value={application.dockerComposeFileLocation}- placeholder="eg: /docker-compose.yml"- />- </div>- </div>- {#each dockerComposeServices as service}- <div- class="grid items-center bg-coolgray-100 rounded border border-coolgray-300 p-2 px-4"- >- <div class="text-xl font-bold uppercase">- {service.name}- <span- class="badge rounded text-white"- class:text-red-500={statues[service.name] === 'Exited' ||- statues[service.name] === 'Stopped'}- class:text-yellow-400={statues[service.name] === 'Restarting'}- class:text-green-500={statues[service.name] === 'Running'}- >{statues[service.name] || 'Loading...'}</span- >- </div>- <div class="text-xs">{application.id}-{service.name}</div>- </div>-- <div class="grid grid-cols-2 items-center px-8">- <label for="fqdn"- >{$t('application.url_fqdn')}- <Explainer- explanation={"If you specify <span class='text-settings font-bold'>https</span>, the application will be accessible only over https.<br>SSL certificate will be generated automatically.<br><br>If you specify <span class='text-settings font-bold'>www</span>, the application will be redirected (302) from non-www and vice versa.<br><br>To modify the domain, you must first stop the application.<br><br><span class='text-settings font-bold'>You must set your DNS to point to the server IP in advance.</span>"}- />- </label>- <div>- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="fqdn"- id="fqdn"- bind:value={dockerComposeConfiguration[service.name].fqdn}- pattern="^https?://([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{'{'}2,{'}'}$"- placeholder="eg: https://coollabs.io"- />- </div>- </div>- <div class="grid grid-cols-2 items-center px-8">- <label for="destinationdns"- >Internal DNS on the deployed Destination- <Explainer- explanation={'You can use these DNS names to access the application from other resources in your Destination.'}- />- </label>- <input- for="destinationdns"- class="w-full"- disabled- readonly- value={`${application.id}-${service.name}`}- />- </div>- <div class="grid grid-cols-2 items-center px-8">- <label for="stackdns"- >Internal DNS in the current stack- <Explainer- explanation={'You can use these DNS names to access the application from this stack.'}- />- </label>- <input for="stackdns" class="w-full" disabled readonly value={service.name} />- </div>- <div class="grid grid-cols-2 items-center px-8 pb-4">- <label for="port"- >{$t('forms.port')}- <Explainer- explanation={'The port your application listens inside the docker container.'}- /></label- >- <input- class="w-full"- disabled={isDisabled}- readonly={!$appSession.isAdmin}- name="port"- id="port"- required={!!dockerComposeConfiguration[service.name]?.fqdn}- bind:value={dockerComposeConfiguration[service.name].port}- />- </div>- {/each}- </div>- {/if}- </div>- </form>-</div>diff --git a/apps/ui/src/routes/applications/[id]/logs/_BuildLog.svelte b/apps/ui/src/routes/applications/[id]/logs/_BuildLog.sveltedeleted file mode 100644index 49ffb8258b..0000000000--- a/apps/ui/src/routes/applications/[id]/logs/_BuildLog.svelte+++ /dev/null@@ -1,213 +0,0 @@-<script lang="ts">- import { onDestroy, onMount } from 'svelte';- import { page } from '$app/stores';- import { get, post } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import Tooltip from '$lib/components/Tooltip.svelte';- import { day } from '$lib/dayjs';- import { selectedBuildId } from '$lib/store';- import { dev } from '$app/env';-- let logs: any = [];- let currentStatus: any;- let streamInterval: any;- let followingLogs: any;- let followingInterval: any;- let logsEl: any;- let fromDb = false;- let cancelInprogress = false;- let position = 0;- let loading = true;- const { id } = $page.params;-- const cleanAnsiCodes = (str: string) => str.replace(/\x1B\[(\d+)m/g, '');-- function detect() {- if (position < logsEl.scrollTop) {- position = logsEl.scrollTop;- } else {- if (followingLogs) {- clearInterval(followingInterval);- followingLogs = false;- }- position = logsEl.scrollTop;- }- }- function followBuild() {- followingLogs = !followingLogs;- if (followingLogs) {- followingInterval = setInterval(() => {- logsEl.scrollTop = logsEl.scrollHeight;- window.scrollTo(0, document.body.scrollHeight);- }, 100);- } else {- window.clearInterval(followingInterval);- }- }- async function streamLogs(sequence = 0) {- try {- loading = true;- let {- logs: responseLogs,- status,- fromDb: from- } = await get(`/applications/${id}/logs/build/${$selectedBuildId}?sequence=${sequence}`);-- currentStatus = status;- logs = logs.concat(- responseLogs.map((log: any) => ({ ...log, line: cleanAnsiCodes(log.line) }))- );- fromDb = from;-- streamInterval = setInterval(async () => {- const nextSequence = logs[logs.length - 1]?.time || 0;- if (status !== 'running' && status !== 'queued') {- loading = false;- try {- const data = await get(- `/applications/${id}/logs/build/${$selectedBuildId}?sequence=${nextSequence}`- );- status = data.status;- currentStatus = status;- fromDb = data.fromDb;-- logs = logs.concat(- data.logs.map((log: any) => ({ ...log, line: cleanAnsiCodes(log.line) }))- );- loading = false;- } catch (error) {- return errorNotification(error);- }- clearInterval(streamInterval);- return;- }- try {- const data = await get(- `/applications/${id}/logs/build/${$selectedBuildId}?sequence=${nextSequence}`- );- status = data.status;- currentStatus = status;- fromDb = data.fromDb;-- logs = logs.concat(- data.logs.map((log: any) => ({ ...log, line: cleanAnsiCodes(log.line) }))- );- loading = false;- } catch (error) {- return errorNotification(error);- }- }, 1000);- } catch (error) {- return errorNotification(error);- }- }- async function cancelBuild() {- if (cancelInprogress) return;- try {- cancelInprogress = true;- await post(`/applications/${id}/cancel`, {- buildId: $selectedBuildId,- applicationId: id- });- } catch (error) {- return errorNotification(error);- }- }- onDestroy(() => {- clearInterval(streamInterval);- clearInterval(followingInterval);- });- onMount(async () => {- window.scrollTo(0, 0);- await streamLogs();- });-</script>--<div class="flex justify-start top-0 pb-2 space-x-2">- <button- on:click={followBuild}- class="btn btn-sm bg-coollabs"- disabled={currentStatus !== 'running'}- class:bg-coolgray-300={followingLogs || currentStatus !== 'running'}- class:text-applications={followingLogs}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6 mr-2"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="12" r="9" />- <line x1="8" y1="12" x2="12" y2="16" />- <line x1="12" y1="8" x2="12" y2="16" />- <line x1="16" y1="12" x2="12" y2="16" />- </svg>-- {followingLogs ? 'Following Logs...' : 'Follow Logs'}- </button>-- <button- on:click={cancelBuild}- class:animation-spin={cancelInprogress}- class="btn btn-sm"- disabled={currentStatus !== 'running'}- class:bg-coolgray-300={cancelInprogress || currentStatus !== 'running'}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6 mr-2"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="12" r="9" />- <path d="M10 10l4 4m0 -4l-4 4" />- </svg>- {cancelInprogress ? 'Cancelling...' : 'Cancel Build'}- </button>- {#if currentStatus === 'running'}- <button id="streaming" class="btn btn-sm bg-transparent border-none loading" />- <Tooltip triggeredBy="#streaming">Streaming logs</Tooltip>- {/if}-</div>-{#if currentStatus === 'queued'}- <div- class="font-mono w-full bg-coolgray-200 p-5 overflow-x-auto overflox-y-auto max-h-[80vh] rounded mb-20 flex flex-col whitespace-nowrap scrollbar-thumb-coollabs scrollbar-track-coolgray-200 scrollbar-w-1"- >- {$t('application.build.queued_waiting_exec')}- </div>-{:else if logs.length > 0}- <div- bind:this={logsEl}- on:scroll={detect}- class="font-mono w-full bg-coolgray-100 border border-coolgray-200 p-5 overflow-x-auto overflox-y-auto max-h-[80vh] rounded mb-20 flex flex-col scrollbar-thumb-coollabs scrollbar-track-coolgray-200 scrollbar-w-1 whitespace-pre"- >- {#each logs as log}- {#if fromDb}- {log.line + '\n'}- {:else}- [{day.unix(log.time).format('HH:mm:ss.SSS')}] {log.line + '\n'}- {/if}- {/each}- </div>-{:else}- <div- class="font-mono w-full bg-coolgray-200 p-5 overflow-x-auto overflox-y-auto max-h-[80vh] rounded mb-20 flex flex-col whitespace-nowrap scrollbar-thumb-coollabs scrollbar-track-coolgray-200 scrollbar-w-1"- >- {loading- ? 'Loading logs...'- : dev- ? 'In development, logs are shown in the console.'- : 'No logs found yet.'}- </div>-{/if}diff --git a/apps/ui/src/routes/applications/[id]/logs/build.svelte b/apps/ui/src/routes/applications/[id]/logs/build.sveltedeleted file mode 100644index 7d9d935fb8..0000000000--- a/apps/ui/src/routes/applications/[id]/logs/build.svelte+++ /dev/null@@ -1,222 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, url, stuff }) => {- try {- const response = await get(`/applications/${params.id}/logs/build?skip=0`);- return {- props: {- application: stuff.application,- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let builds: any;- export let application: any;- export let buildCount: any;- import { page } from '$app/stores';- import { addToast, selectedBuildId } from '$lib/store';- import BuildLog from './_BuildLog.svelte';- import { get, post } from '$lib/api';- import { t } from '$lib/translations';- import { changeQueryParams, dateOptions, errorNotification, asyncSleep } from '$lib/common';- import Tooltip from '$lib/components/Tooltip.svelte';- import { day } from '$lib/dayjs';- import { onDestroy, onMount } from 'svelte';- const { id } = $page.params;- let debug = application.settings.debug;- let loadBuildLogsInterval: any = null;-- let skip = 0;- let noMoreBuilds = buildCount < 5 || buildCount <= skip;- let preselectedBuildId = $page.url.searchParams.get('buildId');- if (preselectedBuildId) $selectedBuildId = preselectedBuildId;-- onMount(async () => {- getBuildLogs();- loadBuildLogsInterval = setInterval(() => {- getBuildLogs();- }, 2000);- });- onDestroy(() => {- clearInterval(loadBuildLogsInterval);- });- async function getBuildLogs() {- const response = await get(`/applications/${$page.params.id}/logs/build?skip=${skip}`);- builds = response.builds;- }-- async function loadMoreBuilds() {- if (buildCount >= skip) {- skip = skip + 5;- noMoreBuilds = buildCount <= skip;- try {- const data = await get(`/applications/${id}/logs/build?skip=${skip}`);- builds = data.builds;- return;- } catch (error) {- return errorNotification(error);- }- } else {- noMoreBuilds = true;- }- }- function loadBuild(build: any) {- $selectedBuildId = build;- return changeQueryParams($selectedBuildId);- }- async function resetQueue() {- const sure = confirm(- 'It will reset all build queues for all applications. If something is queued, it will be canceled automatically. Are you sure? '- );- if (sure) {- try {- await post(`/internal/resetQueue`, {});- addToast({- message: 'Queue reset done.',- type: 'success'- });- await asyncSleep(500);- return window.location.reload();- } catch (error) {- return errorNotification(error);- }- }- }- function generateBadgeColors(status: string) {- if (status === 'failed') {- return 'text-red-500';- } else if (status === 'running') {- return 'text-yellow-300';- } else if (status === 'success') {- return 'text-green-500';- } else if (status === 'canceled') {- return 'text-orange-500';- } else {- return 'text-white';- }- }- async function changeSettings(name: any) {- if (name === 'debug') {- debug = !debug;- }- try {- await post(`/applications/${id}/settings`, {- debug,- branch: application.branch,- projectId: application.projectId- });- return addToast({- message: $t('application.settings_saved'),- type: 'success'- });- } catch (error) {- if (name === 'debug') {- debug = !debug;- }-- return errorNotification(error);- }- }-</script>--<div class="mx-auto w-full lg:px-0 px-1">- <div class="flex lg:flex-row flex-col border-b border-coolgray-500 mb-6 space-x-2">- <div class="flex flex-row">- <div class="title font-bold pb-3 pr-3">Build Logs</div>- <button class="btn btn-sm bg-error" on:click={resetQueue}>Reset Build Queue</button>- </div>- <div class=" flex-1" />- <div class="form-control">- <label class="label cursor-pointer">- <span class="label-text text-white pr-4 font-bold">Enable Debug Logs</span>- <input- type="checkbox"- checked={debug}- class="checkbox checkbox-success"- on:click={() => changeSettings('debug')}- />- </label>- </div>- </div>-</div>-<div class="justify-start space-x-5 flex flex-col-reverse lg:flex-row">- <div class="flex-1 md:w-96">- {#if $selectedBuildId}- {#key $selectedBuildId}- <svelte:component this={BuildLog} />- {/key}- {:else if buildCount === 0}- Not build logs found.- {:else}- Select a build to see the logs.- {/if}- </div>- <div class="mb-4 min-w-[16rem] space-y-2 md:mb-0 ">- <div class="top-4 md:sticky">- <div class="flex space-x-2 pb-2">- <button- disabled={noMoreBuilds}- class:btn-primary={!noMoreBuilds}- class=" btn btn-sm w-full"- on:click={loadMoreBuilds}>{$t('application.build.load_more')}</button- >- </div>- {#each builds as build, index (build.id)}- <!-- svelte-ignore a11y-click-events-have-key-events -->- <div- id={`building-${build.id}`}- on:click={() => loadBuild(build.id)}- class:rounded-tr={index === 0}- class:rounded-br={index === builds.length - 1}- class="flex cursor-pointer items-center justify-center py-4 no-underline transition-all duration-150 hover:bg-coolgray-300 hover:shadow-xl"- class:bg-coolgray-200={$selectedBuildId === build.id}- >- <div class="flex-col px-2 text-center">- <div class="text-sm font-bold truncate">- {build.branch || application.branch}- </div>- <div class="text-xs">- {build.type}- </div>- <div- class={`badge badge-sm text-xs uppercase rounded bg-coolgray-300 border-none font-bold ${generateBadgeColors(- build.status- )}`}- >- {build.status}- </div>- </div>-- <div class="w-32 text-center text-xs">- {#if build.status === 'running'}- <div>- <span class="font-bold text-xl">{build.elapsed}s</span>- </div>- {:else if build.status !== 'queued'}- <div>{day(build.updatedAt).utc().fromNow()}</div>- <div>- {$t('application.build.finished_in')}- <span class="font-bold"- >{day(build.updatedAt).utc().diff(day(build.createdAt)) / 1000}s</span- >- </div>- {/if}- </div>- </div>- <Tooltip triggeredBy={`#building-${build.id}`}- >{new Intl.DateTimeFormat('default', dateOptions).format(new Date(build.createdAt)) +- `\n`}</Tooltip- >- {/each}- </div>- </div>-</div>diff --git a/apps/ui/src/routes/applications/[id]/logs/index.svelte b/apps/ui/src/routes/applications/[id]/logs/index.sveltedeleted file mode 100644index c52e1d0cf3..0000000000--- a/apps/ui/src/routes/applications/[id]/logs/index.svelte+++ /dev/null@@ -1,175 +0,0 @@-<script lang="ts">- import { page } from '$app/stores';- import { get } from '$lib/api';- import { errorNotification } from '$lib/common';- import { onMount, onDestroy } from 'svelte';-- let application: any = {};- let logsLoading = false;- let loadLogsInterval: any = null;- let logs: any = [];- let lastLog: any = null;- let followingInterval: any;- let followingLogs: any;- let logsEl: any;- let position = 0;- let services: any = [];- let selectedService: any = null;- let noContainer = false;-- const { id } = $page.params;- onMount(async () => {- const response = await get(`/applications/${id}`);- application = response.application;- if (response.application.dockerComposeFile && application.buildPack === 'compose') {- services = normalizeDockerServices(- JSON.parse(response.application.dockerComposeFile).services- );- } else {- services = [- {- name: ''- }- ];- await selectService('');- }- });- onDestroy(() => {- clearInterval(loadLogsInterval);- clearInterval(followingInterval);- });- function normalizeDockerServices(services: any[]) {- const tempdockerComposeServices = [];- for (const [name, data] of Object.entries(services)) {- tempdockerComposeServices.push({- name,- data- });- }- return tempdockerComposeServices;- }- async function loadLogs() {- if (logsLoading) return;- try {- const newLogs: any = await get(- `/applications/${id}/logs/${selectedService}?since=${lastLog?.split(' ')[0] || 0}`- );- if (newLogs.noContainer) {- noContainer = true;- } else {- noContainer = false;- }- if (newLogs?.logs && newLogs.logs[newLogs.logs.length - 1] !== logs[logs.length - 1]) {- logs = logs.concat(newLogs.logs);- lastLog = newLogs.logs[newLogs.logs.length - 1];- }- } catch (error) {- return errorNotification(error);- }- }- function detect() {- if (position < logsEl.scrollTop) {- position = logsEl.scrollTop;- } else {- if (followingLogs) {- clearInterval(followingInterval);- followingLogs = false;- }- position = logsEl.scrollTop;- }- }-- function followBuild() {- followingLogs = !followingLogs;- if (followingLogs) {- followingInterval = setInterval(() => {- logsEl.scrollTop = logsEl.scrollHeight;- window.scrollTo(0, document.body.scrollHeight);- }, 1000);- } else {- clearInterval(followingInterval);- }- }- async function selectService(service: any, init: boolean = false) {- if (loadLogsInterval) clearInterval(loadLogsInterval);- if (followingInterval) clearInterval(followingInterval);-- logs = [];- lastLog = null;- followingLogs = false;-- selectedService = `${application.id}${service.name ? `-${service.name}` : ''}`;- loadLogs();- loadLogsInterval = setInterval(() => {- loadLogs();- }, 1000);- }-</script>--<div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">Application Logs</div>- </div>-</div>-<div class="grid grid-cols-3 gap-2 lg:gap-8 pb-4">- {#each services as service}- <button- on:click={() => selectService(service, true)}- class:bg-primary={selectedService ===- `${application.id}${service.name ? `-${service.name}` : ''}`}- class:bg-coolgray-200={selectedService !==- `${application.id}${service.name ? `-${service.name}` : ''}`}- class="w-full rounded p-5 hover:bg-primary font-bold"- >- {application.id}{service.name ? `-${service.name}` : ''}</button- >- {/each}-</div>--{#if selectedService}- <div class="flex flex-row justify-center space-x-2">- {#if logs.length === 0}- {#if noContainer}- <div class="text-xl font-bold tracking-tighter">Container not found / exited.</div>- {/if}- {:else}- <div class="relative w-full">- <div class="flex justify-start sticky space-x-2 pb-2">- <button on:click={followBuild} class="btn btn-sm " class:bg-coollabs={followingLogs}>- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6 mr-2"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="12" r="9" />- <line x1="8" y1="12" x2="12" y2="16" />- <line x1="12" y1="8" x2="12" y2="16" />- <line x1="16" y1="12" x2="12" y2="16" />- </svg>- {followingLogs ? 'Following Logs...' : 'Follow Logs'}- </button>- {#if loadLogsInterval}- <button id="streaming" class="btn btn-sm bg-transparent border-none loading"- >Streaming logs</button- >- {/if}- </div>- <div- bind:this={logsEl}- on:scroll={detect}- class="font-mono w-full bg-coolgray-100 border border-coolgray-200 p-5 overflow-x-auto overflox-y-auto max-h-[80vh] rounded mb-20 flex flex-col scrollbar-thumb-coollabs scrollbar-track-coolgray-200 scrollbar-w-1"- >- {#each logs as log}- <p>{log + '\n'}</p>- {/each}- </div>- </div>- {/if}- </div>-{/if}diff --git a/apps/ui/src/routes/applications/[id]/previews/index.svelte b/apps/ui/src/routes/applications/[id]/previews/index.sveltedeleted file mode 100644index f041fa9c4c..0000000000--- a/apps/ui/src/routes/applications/[id]/previews/index.svelte+++ /dev/null@@ -1,333 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, stuff, url }) => {- try {- return {- props: {- application: stuff.application- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let application: any;- import { get, post } from '$lib/api';- import { page } from '$app/stores';- import { goto } from '$app/navigation';- import { asyncSleep, errorNotification, getRndInteger } from '$lib/common';- import { onDestroy, onMount } from 'svelte';- import { addToast, appSession } from '$lib/store';- import Tooltip from '$lib/components/Tooltip.svelte';- import DeleteIcon from '$lib/components/DeleteIcon.svelte';-- const { id } = $page.params;- let loadBuildingStatusInterval: any = null;- let loading = {- init: true,- restart: false,- removing: false- };- let numberOfGetStatus = 0;- let status: any = {};-- async function removeApplication(preview: any) {- try {- loading.removing = true;- await post(`/applications/${id}/stop/preview`, {- pullmergeRequestId: preview.pullmergeRequestId- });- return window.location.reload();- } catch (error) {- return errorNotification(error);- }- }- async function redeploy(preview: any) {- try {- const { buildId } = await post(`/applications/${id}/deploy`, {- pullmergeRequestId: preview.pullmergeRequestId,- branch: preview.sourceBranch- });- addToast({- message: 'Deployment queued.',- type: 'success'- });- if ($page.url.pathname.startsWith(`/applications/${id}/logs/build`)) {- return window.location.assign(`/applications/${id}/logs/build?buildId=${buildId}`);- } else {- return await goto(`/applications/${id}/logs/build?buildId=${buildId}`, {- replaceState: true- });- }- } catch (error) {- return errorNotification(error);- }- }- async function loadPreviewsFromDocker() {- try {- const { previews } = await post(`/applications/${id}/previews/load`, {});- addToast({- message: 'Previews loaded.',- type: 'success'- });- application.previewApplication = previews;- } catch (error) {- return errorNotification(error);- }- }- async function getStatus(resources: any) {- const { applicationId, pullmergeRequestId, id } = resources;- if (status[id]) return status[id];- while (numberOfGetStatus > 1) {- await asyncSleep(getRndInteger(100, 200));- }- try {- numberOfGetStatus++;- let isRunning = false;- let isBuilding = false;- const response = await get(- `/applications/${applicationId}/previews/${pullmergeRequestId}/status`- );- isRunning = response.isRunning;- isBuilding = response.isBuilding;- if (isBuilding) {- status[id] = 'building';- return 'building';- } else if (isRunning) {- status[id] = 'running';- return 'running';- } else {- status[id] = 'stopped';- return 'stopped';- }- } catch (error) {- status[id] = 'error';- return 'error';- } finally {- numberOfGetStatus--;- status = status;- }- }- async function restartPreview(preview: any) {- try {- loading.restart = true;- const { pullmergeRequestId } = preview;- await post(`/applications/${id}/previews/${pullmergeRequestId}/restart`, {});- addToast({- type: 'success',- message: 'Restart successful.'- });- } catch (error) {- return errorNotification(error);- } finally {- await getStatus(preview);- loading.restart = false;- }- }- onDestroy(() => {- clearInterval(loadBuildingStatusInterval);- });- onMount(async () => {- loadBuildingStatusInterval = setInterval(() => {- application.previewApplication.forEach(async (preview: any) => {- const { applicationId, pullmergeRequestId } = preview;- if (status[preview.id] === 'building') {- const response = await get(- `/applications/${applicationId}/previews/${pullmergeRequestId}/status`- );- if (response.isBuilding) {- status[preview.id] = 'building';- } else if (response.isRunning) {- status[preview.id] = 'running';- return 'running';- } else {- status[preview.id] = 'stopped';- return 'stopped';- }- }- });- }, 2000);- try {- loading.init = true;- loading.restart = true;- } catch (error) {- return errorNotification(error);- } finally {- loading.init = false;- loading.restart = false;- }- });-</script>--<div class="w-full">- <div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">Preview Deployments</div>- <div class="text-center">- <button class="btn btn-sm bg-coollabs" on:click={loadPreviewsFromDocker}- >Load Previews</button- >- </div>- </div>- </div>-</div>--{#if loading.init}- <div class="px-6 pt-4">- <div class="flex justify-center py-4 text-center text-xl font-bold">Loading...</div>- </div>-{:else if application.previewApplication.length > 0}- <div class="grid grid-col gap-4 auto-cols-max grid-cols-1 md:grid-cols-2 lg:grid-cols-2 px-6">- {#each application.previewApplication as preview}- <div class="no-underline mb-5 w-full">- <div class="w-full rounded p-5 bg-coolgray-200 indicator">- {#await getStatus(preview)}- <span class="indicator-item badge bg-yellow-500 badge-sm" />- {:then}- {#if status[preview.id] === 'running'}- <span class="indicator-item badge bg-success badge-sm" />- {:else}- <span class="indicator-item badge bg-error badge-sm" />- {/if}- {/await}- <div class="w-full flex flex-row">- <div class="w-full flex flex-col">- <h1 class="font-bold text-lg lg:text-xl truncate">- PR #{preview.pullmergeRequestId}- {#if status[preview.id] === 'building'}- <span- class="badge badge-sm text-xs uppercase rounded bg-coolgray-300 text-green-500 border-none font-bold"- >- BUILDING- </span>- {/if}- </h1>- <div class="h-10 text-xs">- <h2>{preview.customDomain.replace('https://', '').replace('http://', '')}</h2>- </div>-- <div class="flex justify-end items-end space-x-2 h-10">- {#if preview.customDomain}- <a- id="openpreview"- href={preview.customDomain}- target="_blank noreferrer"- class="icons"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5" />- <line x1="10" y1="14" x2="20" y2="4" />- <polyline points="15 4 20 4 20 9" />- </svg>- </a>- {/if}- <Tooltip triggeredBy="#openpreview">Open Preview</Tooltip>- {#if loading.restart}- <button- class="icons flex animate-spin items-center space-x-2 bg-transparent text-sm duration-500 ease-in-out hover:bg-transparent"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M9 4.55a8 8 0 0 1 6 14.9m0 -4.45v5h5" />- <line x1="5.63" y1="7.16" x2="5.63" y2="7.17" />- <line x1="4.06" y1="11" x2="4.06" y2="11.01" />- <line x1="4.63" y1="15.1" x2="4.63" y2="15.11" />- <line x1="7.16" y1="18.37" x2="7.16" y2="18.38" />- <line x1="11" y1="19.94" x2="11" y2="19.95" />- </svg>- </button>- {:else}- <button- id="restart"- disabled={!$appSession.isAdmin}- on:click={() => restartPreview(preview)}- type="submit"- class="icons bg-transparent text-sm flex items-center space-x-2"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4" />- <path d="M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4" />- </svg>- </button>- {/if}-- <Tooltip triggeredBy="#restart">Restart (useful to change secrets)</Tooltip>- <button- id="forceredeploypreview"- class="icons"- disabled={!$appSession.isAdmin}- on:click={() => redeploy(preview)}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M16.3 5h.7a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h5l-2.82 -2.82m0 5.64l2.82 -2.82"- transform="rotate(-45 12 12)"- />- </svg></button- >- <Tooltip triggeredBy="#forceredeploypreview">Force redeploy (without cache)</Tooltip- >- <button- id="deletepreview"- class="icons"- class:hover:text-error={!loading.removing}- disabled={loading.removing || !$appSession.isAdmin}- on:click={() => removeApplication(preview)}- ><DeleteIcon />- </button>- <Tooltip triggeredBy="#deletepreview">Delete Preview</Tooltip>- </div>- </div>- </div>- </div>- </div>- {/each}- </div>-{:else}- No previews found.-{/if}diff --git a/apps/ui/src/routes/applications/[id]/revert.svelte b/apps/ui/src/routes/applications/[id]/revert.sveltedeleted file mode 100644index fcbc0a5239..0000000000--- a/apps/ui/src/routes/applications/[id]/revert.svelte+++ /dev/null@@ -1,167 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, stuff, url }) => {- try {- const response = await get(`/applications/${params.id}/images`);- return {- props: {- application: stuff.application,- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let application: any;- export let imagesAvailables: any;- export let runningImage: any;- import { page } from '$app/stores';- import { get, post } from '$lib/api';- import { status, addToast } from '$lib/store';- import { errorNotification } from '$lib/common';- import Explainer from '$lib/components/Explainer.svelte';-- const { id } = $page.params;- let remoteImage: any = null;-- async function revertToLocal(image: any) {- const sure = confirm(`Are you sure you want to revert to ${image.tag} ?`);- if (sure) {- try {- $status.application.initialLoading = true;- $status.application.loading = true;- const imageId = `${image.repository}:${image.tag}`;- await post(`/applications/${id}/restart`, { imageId });- addToast({- type: 'success',- message: 'Revert successful.'- });- } catch (error) {- return errorNotification(error);- } finally {- $status.application.initialLoading = false;- $status.application.loading = false;- }- }- }- async function revertToRemote() {- const sure = confirm(`Are you sure you want to revert to ${remoteImage} ?`);- if (sure) {- try {- $status.application.initialLoading = true;- $status.application.loading = true;- $status.application.restarting = true;- await post(`/applications/${id}/restart`, { imageId: remoteImage });- addToast({- type: 'success',- message: 'Revert successful.'- });- } catch (error) {- return errorNotification(error);- } finally {- $status.application.initialLoading = false;- $status.application.loading = false;- $status.application.restarting = false;- }- }- }-</script>--<div class="w-full">- <div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">- Revert <Explainer- position="dropdown-bottom"- explanation="You can revert application to a previously built image. Currently only locally stored images- supported."- />- </div>- </div>- <div class="pb-4 text-xs">- If you do not want the next commit to overwrite the reverted application, temporary disable <span- class="text-yellow-400 font-bold">Automatic Deployment</span- >- feature <a href={`/applications/${id}/features`}>here</a>.- </div>- {#if imagesAvailables.length > 0}- <div class="text-xl font-bold pb-3">Local Images</div>- <div- class="px-4 lg:pb-10 pb-6 flex flex-wrap items-center justify-center lg:justify-start gap-8"- >- {#each imagesAvailables as image}- <div class="gap-2 py-4 m-2">- <div class="flex flex-col justify-center items-center">- <div class="text-xl font-bold">- {image.tag}- </div>- <div>- <a- class="flex no-underline text-xs my-4"- href="{application.gitSource.htmlUrl}/{application.repository}/commit/{image.tag}"- target="_blank noreferrer"- >- <button class="btn btn-sm">- Check Commit- <svg- xmlns="http://www.w3.org/2000/svg"- fill="currentColor"- viewBox="0 0 24 24"- stroke-width="3"- stroke="currentColor"- class="w-3 h-3 text-white ml-2"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- d="M4.5 19.5l15-15m0 0H8.25m11.25 0v11.25"- />- </svg>- </button></a- >- {#if image.repository + ':' + image.tag !== runningImage}- <button- class="btn btn-sm btn-primary w-full"- on:click={() => revertToLocal(image)}>Revert Now</button- >- {:else}- <button- class="btn btn-sm btn-primary w-full btn-disabled bg-transparent underline"- >Currently Used</button- >- {/if}- </div>- </div>- </div>- {/each}- </div>- {:else}- <div class="flex flex-col pb-10">- <div class="text-xl font-bold">No Local images available</div>- </div>- {/if}- <div class="text-xl font-bold pb-3">- Remote Images (Docker Registry) <Explainer- position="dropdown-bottom"- explanation="If the image is not available or you are unauthorized to access it, you will not be able to revert to it."- />- </div>- <form on:submit|preventDefault={revertToRemote}>- <input- id="dockerImage"- name="dockerImage"- required- placeholder="ghcr.io/coollabsio/coolify:0.0.1"- bind:value={remoteImage}- />- <button class="btn btn-sm btn-primary" type="submit">Revert Now</button>- </form>- </div>-</div>diff --git a/apps/ui/src/routes/applications/[id]/secrets.svelte b/apps/ui/src/routes/applications/[id]/secrets.sveltedeleted file mode 100644index 239ccc5176..0000000000--- a/apps/ui/src/routes/applications/[id]/secrets.svelte+++ /dev/null@@ -1,155 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, stuff, url }) => {- try {- const response = await get(`/applications/${params.id}/secrets`);- return {- props: {- application: stuff.application,- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let secrets: any;- export let application: any;- export let previewSecrets: any;- import pLimit from 'p-limit';- import { page } from '$app/stores';- import { get, post, put } from '$lib/api';- import { addToast, appSession } from '$lib/store';- import Secret from './_Secret.svelte';- import PreviewSecret from './_PreviewSecret.svelte';- import { errorNotification } from '$lib/common';- import Explainer from '$lib/components/Explainer.svelte';-- const limit = pLimit(1);- const { id } = $page.params;-- let batchSecrets = '';- async function refreshSecrets() {- const data = await get(`/applications/${id}/secrets`);- previewSecrets = [...data.previewSecrets];- secrets = [...data.secrets];- }- async function getValues() {- if (!batchSecrets) return;- const eachValuePair = batchSecrets.split('\n');- const batchSecretsPairs = eachValuePair- .filter((secret) => !secret.startsWith('#') && secret)- .map((secret) => {- const [name, ...rest] = secret.split('=');- const value = rest.join('=');- return {- name: name.trim(),- value: value.trim(),- createSecret: !secrets.find((secret: any) => name === secret.name)- };- });-- await Promise.all(- batchSecretsPairs.map(({ name, value, createSecret }) =>- limit(async () => {- try {- if (!name || !value) return;- if (createSecret) {- await post(`/applications/${id}/secrets`, {- name,- value- });- addToast({- message: 'Secret created.',- type: 'success'- });- } else {- await put(`/applications/${id}/secrets`, {- name,- value- });- addToast({- message: 'Secret updated.',- type: 'success'- });- }- } catch (error) {- return errorNotification(error);- }- })- )- );- batchSecrets = '';- await refreshSecrets();- }-</script>--<div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">Secrets</div>- </div>- {#each secrets as secret, index}- {#key secret.id}- <Secret- {index}- length={secrets.length}- name={secret.name}- value={secret.value}- isBuildSecret={secret.isBuildSecret}- on:refresh={refreshSecrets}- />- {/key}- {/each}- {#if $appSession.isAdmin}- <div class="lg:pt-0 pt-10">- <Secret on:refresh={refreshSecrets} length={secrets.length} isNewSecret />- </div>- {/if}- {#if !application.settings.isBot && !application.simpleDockerfile}- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3 pt-8">- Preview Secrets <Explainer- explanation="These values overwrite application secrets in PR/MR deployments. <br>Useful for creating <span class='text-green-500 font-bold'>staging</span> environments."- />- </div>- </div>- {#if previewSecrets.length !== 0}- {#each previewSecrets as secret, index}- {#key index}- <PreviewSecret- {index}- length={secrets.length}- name={secret.name}- value={secret.value}- isBuildSecret={secret.isBuildSecret}- on:refresh={refreshSecrets}- />- {/key}- {/each}- {:else}- Add secrets first to see Preview Secrets.- {/if}- {/if}-</div>-{#if $appSession.isAdmin}- <form on:submit|preventDefault={getValues} class="mb-12 w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2 pt-10">- <div class="flex flex-row space-x-2">- <div class="title font-bold pb-3 ">Paste <code>.env</code> file</div>- <button type="submit" class="btn btn-sm bg-primary">Add Secrets in Batch</button>- </div>- </div>-- <textarea- placeholder={`PORT=1337\nPASSWORD=supersecret`}- bind:value={batchSecrets}- class="mb-2 min-h-[200px] w-full"- />- </form>-{/if}diff --git a/apps/ui/src/routes/applications/[id]/storages.svelte b/apps/ui/src/routes/applications/[id]/storages.sveltedeleted file mode 100644index 554ac2f747..0000000000--- a/apps/ui/src/routes/applications/[id]/storages.svelte+++ /dev/null@@ -1,130 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ params, stuff, url }) => {- try {- const { application } = stuff;- const response = await get(`/applications/${params.id}/storages`);- return {- props: {- application,- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let persistentStorages: any;- export let application: any;- import { page } from '$app/stores';- import Storage from './_Storage.svelte';- import { get } from '$lib/api';- import { t } from '$lib/translations';- import Explainer from '$lib/components/Explainer.svelte';- import { appSession } from '$lib/store';-- let composeJson = JSON.parse(application?.dockerComposeFile || '{}');- let predefinedVolumes: any[] = [];- if (composeJson?.services) {- for (const [_, service] of Object.entries(composeJson.services)) {- if (service?.volumes) {- for (const [_, volumeName] of Object.entries(service.volumes)) {- if (typeof volumeName === 'string') {- let [volume, target] = volumeName.split(':');- if (- volume.startsWith('.') ||- volume.startsWith('..') ||- volume.startsWith('/') ||- volume.startsWith('~') ||- volume.startsWith('$PWD')- ) {- volume = volume.replace(/^\./, `~`).replace(/^\.\./, '~').replace(/^\$PWD/, '~');- } else {- if (!target) {- target = volume;- volume = `${application.id}${volume.replace(/\//gi, '-').replace(/\./gi, '')}`;- } else {- volume = `${application.id}${volume.replace(/\//gi, '-').replace(/\./gi, '')}`;- }- }- predefinedVolumes.push({ id: volume, path: target, predefined: true });- }- if (typeof volumeName === 'object') {- let { source, target } = volumeName;- if (- source.startsWith('.') ||- source.startsWith('..') ||- source.startsWith('/') ||- source.startsWith('~') ||- source.startsWith('$PWD')- ) {- source = source.replace(/^\./, `~`).replace(/^\.\./, '~').replace(/^\$PWD/, '~');- } else {- if (!target) {- target = source;- source = `${application.id}${source.replace(/\//gi, '-').replace(/\./gi, '')}`;- } else {- source = `${application.id}${source.replace(/\//gi, '-').replace(/\./gi, '')}`;- }- }- predefinedVolumes.push({ id: source, path: target, predefined: true });- }- }- }- }- }- const { id } = $page.params;- async function refreshStorage() {- const data = await get(`/applications/${id}/storages`);- persistentStorages = [...data.persistentStorages];- }-</script>--<div class="w-full">- <div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">Persistent Volumes</div>- </div>- {#if predefinedVolumes.length > 0}- <div class="title">Predefined Volumes</div>- <div class="w-full lg:px-0 px-4">- <div class="grid grid-col-1 lg:grid-cols-2 py-2 gap-2">- <div class="font-bold uppercase">Volume Id</div>- <div class="font-bold uppercase">Mount Dir</div>- </div>- </div>-- <div class="gap-4">- {#each predefinedVolumes as storage}- {#key storage.id}- <Storage on:refresh={refreshStorage} {storage} />- {/key}- {/each}- </div>- {/if}- {#if persistentStorages.length > 0}- <div class="title" class:pt-10={predefinedVolumes.length > 0}>Custom Volumes</div>- {/if}- {#each persistentStorages as storage}- {#key storage.id}- <Storage on:refresh={refreshStorage} {storage} />- {/key}- {/each}- {#if $appSession.isAdmin}- <div class:pt-10={predefinedVolumes.length > 0}>- Add New Volume <Explainer- position="dropdown-bottom"- explanation={$t('application.storage.persistent_storage_explainer')}- />- </div>-- <Storage on:refresh={refreshStorage} isNew />- {/if}- </div>-</div>diff --git a/apps/ui/src/routes/applications/[id]/usage.svelte b/apps/ui/src/routes/applications/[id]/usage.sveltedeleted file mode 100644index a2e09ff147..0000000000--- a/apps/ui/src/routes/applications/[id]/usage.svelte+++ /dev/null@@ -1,118 +0,0 @@-<script lang="ts">- export let application: any;- import { page } from '$app/stores';- import { onDestroy, onMount } from 'svelte';- import { get } from '$lib/api';- import { status } from '$lib/store';- import Tooltip from '$lib/components/Tooltip.svelte';-- const { id } = $page.params;- let services: any = [];- let selectedService: any = null;- let usageLoading = false;- let usage = {- MemUsage: 0,- CPUPerc: 0,- NetIO: 0- };- let usageInterval: any;-- async function getUsage() {- if (usageLoading) return;- usageLoading = true;- const data = await get(`/applications/${id}/usage/${selectedService}`);- usage = data.usage;- usageLoading = false;- }- function normalizeDockerServices(services: any[]) {- const tempdockerComposeServices = [];- for (const [name, data] of Object.entries(services)) {- tempdockerComposeServices.push({- name,- data- });- }- return tempdockerComposeServices;- }- async function selectService(service: any, init: boolean = false) {- if (usageInterval) clearInterval(usageInterval);- usageLoading = false;- usage = {- MemUsage: 0,- CPUPerc: 0,- NetIO: 0- };- selectedService = `${application.id}${service.name ? `-${service.name}` : ''}`;-- await getUsage();- usageInterval = setInterval(async () => {- await getUsage();- }, 1000);- }- onDestroy(() => {- clearInterval(usageInterval);- });- onMount(async () => {- const response = await get(`/applications/${id}`);- application = response.application;- if (response.application.dockerComposeFile && application.buildPack === 'compose') {- services = normalizeDockerServices(- JSON.parse(response.application.dockerComposeFile).services- );- } else {- services = [- {- name: ''- }- ];- await selectService('');- }- });-</script>--<div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">Monitoring</div>- </div>-</div>-<div class="flex gap-2 lg:gap-8 pb-4">- {#each services as service}- <button- on:click={() => selectService(service, true)}- class:bg-primary={selectedService ===- `${application.id}${service.name ? `-${service.name}` : ''}`}- class:bg-coolgray-200={selectedService !==- `${application.id}${service.name ? `-${service.name}` : ''}`}- class="w-full rounded p-5 hover:bg-primary font-bold"- >- {application.id}{service.name ? `-${service.name}` : ''}</button- >- {/each}-</div>-{#if selectedService}- <div class="mx-auto max-w-4xl px-6 py-4 bg-coolgray-100 border border-coolgray-200 relative">- {#if usageLoading}- <button- id="streaming"- class="btn btn-sm bg-transparent border-none loading absolute top-0 left-0 text-xs"- />- <Tooltip triggeredBy="#streaming">Streaming logs</Tooltip>- {/if}- <div class="text-center">- <div class="stat w-64">- <div class="stat-title">Used Memory / Memory Limit</div>- <div class="stat-value text-xl">{usage?.MemUsage}</div>- </div>-- <div class="stat w-64">- <div class="stat-title">Used CPU</div>- <div class="stat-value text-xl">{usage?.CPUPerc}</div>- </div>-- <div class="stat w-64">- <div class="stat-title">Network IO</div>- <div class="stat-value text-xl">{usage?.NetIO}</div>- </div>- </div>- </div>-{/if}diff --git a/apps/ui/src/routes/applications/[id]/utils.ts b/apps/ui/src/routes/applications/[id]/utils.tsdeleted file mode 100644index 93f0888bde..0000000000--- a/apps/ui/src/routes/applications/[id]/utils.ts+++ /dev/null@@ -1,9 +0,0 @@-import { post } from "$lib/api";--export async function saveForm(id: string, application: any, baseDatabaseBranch?: any, dockerComposeConfiguration?: any) {- return await post(`/applications/${id}`, {- ...application,- baseDatabaseBranch,- dockerComposeConfiguration: JSON.stringify(dockerComposeConfiguration)- });-}diff --git a/apps/ui/src/routes/applications/_index.svelte b/apps/ui/src/routes/applications/_index.sveltedeleted file mode 100644index 4d30ed835b..0000000000--- a/apps/ui/src/routes/applications/_index.svelte+++ /dev/null@@ -1,143 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async () => {- try {- const response = await get(`/applications`);- return {- props: {- ...response- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let applications: Array<any> = [];- let ownApplications: Array<any> = [];- let otherApplications: Array<any> = [];- import { get, post } from '$lib/api';- import { goto } from '$app/navigation';- import { t } from '$lib/translations';- import { getDomain } from '$lib/common';- import { appSession } from '$lib/store';- import ApplicationsIcons from '$lib/components/svg/applications/ApplicationIcons.svelte';-- ownApplications = applications.filter((application) => {- if (application.teams[0].id === $appSession.teamId) {- return application;- }- });- otherApplications = applications.filter((application) => {- if (application.teams[0].id !== $appSession.teamId) {- return application;- }- });- async function newApplication() {- const { id } = await post('/applications/new', {});- return await goto(`/applications/${id}`, { replaceState: true });- }-</script>--<nav class="header">- <h1 class="mr-4 text-2xl font-bold">{$t('index.applications')}</h1>- {#if $appSession.isAdmin}- <button on:click={newApplication} class="btn btn-square btn-sm bg-applications">- <svg- class="h-6 w-6"- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"- /></svg- >- </button>- {/if}-</nav>-<br />-<div class="flex flex-col justify-center mt-10 pb-12 lg:pt-16 sm:pb-16">- {#if !applications || ownApplications.length === 0}- <div class="flex-col">- <div class="text-center text-xl font-bold">{$t('application.no_applications_found')}</div>- </div>- {/if}- {#if ownApplications.length > 0 || otherApplications.length > 0}- <div class="flex flex-col">- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each ownApplications as application}- <a href="/applications/{application.id}" class="p-2 no-underline">- <div class="box-selection group relative hover:bg-green-600">- {#if application.buildPack}- <ApplicationsIcons {application} />- {/if}-- <div class="truncate text-center text-xl font-bold">{application.name}</div>- {#if $appSession.teamId === '0' && otherApplications.length > 0}- <div class="truncate text-center">Team {application.teams[0].name}</div>- {/if}- {#if application.fqdn}- <div class="truncate text-center">{getDomain(application.fqdn) || ''}</div>- {/if}- {#if application.settings.isBot}- <div class="truncate text-center">BOT</div>- {/if}- {#if application.destinationDocker?.name}- <div class="truncate text-center">{application.destinationDocker.name}</div>- {/if}- {#if !application.gitSourceId || !application.repository || !application.branch}- <div class="truncate text-center font-bold text-red-500 group-hover:text-white">- Git Source Missing- </div>- {:else if !application.destinationDockerId}- <div class="truncate text-center font-bold text-red-500 group-hover:text-white">- Destination Missing- </div>- {:else if !application.fqdn && !application.settings.isBot}- <div class="truncate text-center font-bold text-red-500 group-hover:text-white">- URL Missing- </div>- {/if}- </div>- </a>- {/each}- </div>- {#if otherApplications.length > 0 && $appSession.teamId === '0'}- <div class="px-6 pb-5 pt-10 text-2xl font-bold text-center">Other Applications</div>- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each otherApplications as application}- <a href="/applications/{application.id}" class="p-2 no-underline">- <div class="box-selection group relative hover:bg-green-600">- {#if application.buildPack}- <ApplicationsIcons {application} />- {/if}-- <div class="truncate text-center text-xl font-bold">{application.name}</div>- {#if $appSession.teamId === '0'}- <div class="truncate text-center">Team {application.teams[0].name}</div>- {/if}- {#if application.fqdn}- <div class="truncate text-center">{getDomain(application.fqdn) || ''}</div>- {/if}- {#if !application.gitSourceId || !application.destinationDockerId || !application.fqdn}- <div class="truncate text-center font-bold text-red-500 group-hover:text-white">- Configuration missing- </div>- {/if}- </div>- </a>- {/each}- </div>- {/if}- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/applications/index.svelte b/apps/ui/src/routes/applications/index.sveltedeleted file mode 100644index 8136f76e8c..0000000000--- a/apps/ui/src/routes/applications/index.svelte+++ /dev/null@@ -1,4 +0,0 @@-<script lang="ts">- import { goto } from '$app/navigation';- goto('/');-</script>diff --git a/apps/ui/src/routes/databases/[id]/_DatabaseLinks.svelte b/apps/ui/src/routes/databases/[id]/_DatabaseLinks.sveltedeleted file mode 100644index f1792cb6b5..0000000000--- a/apps/ui/src/routes/databases/[id]/_DatabaseLinks.svelte+++ /dev/null@@ -1,32 +0,0 @@-<script lang="ts">- export let database: any;-- import Clickhouse from '$lib/components/svg/databases/Clickhouse.svelte';- import CouchDb from '$lib/components/svg/databases/CouchDB.svelte';- import EdgeDb from '$lib/components/svg/databases/EdgeDB.svelte';- import MariaDb from '$lib/components/svg/databases/MariaDB.svelte';- import MongoDb from '$lib/components/svg/databases/MongoDB.svelte';- import MySql from '$lib/components/svg/databases/MySQL.svelte';- import PostgreSql from '$lib/components/svg/databases/PostgreSQL.svelte';- import Redis from '$lib/components/svg/databases/Redis.svelte';-</script>--<span class="relative">- {#if database.type === 'clickhouse'}- <Clickhouse />- {:else if database.type === 'couchdb'}- <CouchDb />- {:else if database.type === 'mongodb'}- <MongoDb />- {:else if database.type === 'mysql'}- <MySql />- {:else if database.type === 'mariadb'}- <MariaDb />- {:else if database.type === 'postgresql'}- <PostgreSql />- {:else if database.type === 'redis'}- <Redis />- {:else if database.type === 'edgedb'}- <EdgeDb />- {/if}-</span>diff --git a/apps/ui/src/routes/databases/[id]/_Databases/_CouchDb.svelte b/apps/ui/src/routes/databases/[id]/_Databases/_CouchDb.sveltedeleted file mode 100644index 4d507bb71d..0000000000--- a/apps/ui/src/routes/databases/[id]/_Databases/_CouchDb.svelte+++ /dev/null@@ -1,81 +0,0 @@-<script lang="ts">- export let database: any;- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { t } from '$lib/translations';- import { status } from '$lib/store';- import Explainer from '$lib/components/Explainer.svelte';-</script>--<div class="flex space-x-1 py-5 font-bold">- <h1 class="title">CouchDB</h1>-</div>-<div class="space-y-2 lg:px-10 px-2">- <div class="grid grid-cols-2 items-center">- <label for="defaultDatabase">{$t('database.default_database')}- <Explainer explanation="Can only be modified when the database is not active."/>- </label>- <CopyPasswordField- required- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder="{$t('forms.eg')}: mydb"- id="defaultDatabase"- name="defaultDatabase"- bind:value={database.defaultDatabase}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="dbUser">{$t('forms.user')}- <Explainer explanation="Can only be modified when the database is not active."/>- </label>- <CopyPasswordField- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder={$t('forms.generated_automatically_after_start')}- id="dbUser"- name="dbUser"- bind:value={database.dbUser}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="dbUserPassword">{$t('forms.password')}- <Explainer explanation="Can be modified even when the database is active." />- </label>- <CopyPasswordField- readonly={false}- disabled={false}- placeholder={$t('forms.generated_automatically_after_start')}- isPasswordField- id="dbUserPassword"- name="dbUserPassword"- bind:value={database.dbUserPassword}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="rootUser">{$t('forms.root_user')}- <Explainer explanation="Can only be modified when the database is not active."/>- </label>- <CopyPasswordField- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder={$t('forms.generated_automatically_after_start')}- id="rootUser"- name="rootUser"- bind:value={database.rootUser}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="rootUserPassword">{$t('forms.roots_password')}- <Explainer explanation="Can be modified even when the database is active." />- </label>- <CopyPasswordField- readonly={false}- disabled={false}- placeholder={$t('forms.generated_automatically_after_start')}- isPasswordField- id="rootUserPassword"- name="rootUserPassword"- bind:value={database.rootUserPassword}- />- </div>-</div>diff --git a/apps/ui/src/routes/databases/[id]/_Databases/_Databases.svelte b/apps/ui/src/routes/databases/[id]/_Databases/_Databases.sveltedeleted file mode 100644index 7e5f93c00c..0000000000--- a/apps/ui/src/routes/databases/[id]/_Databases/_Databases.svelte+++ /dev/null@@ -1,299 +0,0 @@-<script lang="ts">- export let database: any;- export let privatePort: any;-- import { page } from '$app/stores';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import Setting from '$lib/components/Setting.svelte';-- import MySql from './_MySQL.svelte';- import MongoDb from './_MongoDB.svelte';- import MariaDb from './_MariaDB.svelte';- import PostgreSql from './_PostgreSQL.svelte';- import Redis from './_Redis.svelte';- import CouchDb from './_CouchDb.svelte';- import EdgeDB from './_EdgeDB.svelte';- import { post } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import { addToast, appSession, status } from '$lib/store';- import Explainer from '$lib/components/Explainer.svelte';-- const { id } = $page.params;-- let loading = {- main: false,- public: false- };- let publicUrl = '';- let appendOnly = database.settings.appendOnly;-- let databaseDefault: any;- let databaseDbUser: any;- let databaseDbUserPassword: any;-- generateDbDetails();-- function generateDbDetails() {- databaseDefault = database.defaultDatabase;- databaseDbUser = database.dbUser;- databaseDbUserPassword = database.dbUserPassword;- if (database.type === 'mongodb' || database.type === 'edgedb') {- if (database.type === 'mongodb') {- databaseDefault = '?readPreference=primary&ssl=false';- }- databaseDbUser = database.rootUser;- databaseDbUserPassword = database.rootUserPassword;- } else if (database.type === 'redis') {- databaseDefault = '';- databaseDbUser = '';- }- }- function ipAddress() {- if ($status.database.isPublic) {- if (database.destinationDocker.remoteEngine) {- return database.destinationDocker.remoteIpAddress;- }- if ($appSession.ipv6) {- return $appSession.ipv6;- }- if ($appSession.ipv4) {- return $appSession.ipv4;- }- return '<Cannot determine public IP address>';- } else {- return database.id;- }- }- function generateUrl() {- const user = () => {- if (databaseDbUser) {- return databaseDbUser + ':';- }- return '';- };- const port = () => {- if ($status.database.isPublic) {- return database.publicPort;- } else {- return privatePort;- }- };- publicUrl = `${- database.type- }://${user()}${databaseDbUserPassword}@${ipAddress()}:${port()}/${databaseDefault}`;- }-- async function changeSettings(name: any) {- if (name !== 'appendOnly') {- if (loading.public || !$status.database.isRunning) return;- }- loading.public = true;- let data = {- isPublic: $status.database.isPublic,- appendOnly- };- if (name === 'isPublic') {- data.isPublic = !$status.database.isPublic;- }- if (name === 'appendOnly') {- data.appendOnly = !appendOnly;- }- try {- const { publicPort } = await post(`/databases/${id}/settings`, {- isPublic: data.isPublic,- appendOnly: data.appendOnly- });- $status.database.isPublic = data.isPublic;- appendOnly = data.appendOnly;- if ($status.database.isPublic) {- database.publicPort = publicPort;- }- } catch (error) {- return errorNotification(error);- } finally {- loading.public = false;- }- }- async function handleSubmit() {- try {- loading.main = true;- await post(`/databases/${id}`, { ...database, isRunning: $status.database.isRunning });- generateDbDetails();- addToast({- message: 'Configuration saved.',- type: 'success'- });- } catch (error) {- return errorNotification(error);- } finally {- loading.main = false;- }- }-</script>--<div class="mx-auto max-w-6xl p-4">- <form on:submit|preventDefault={handleSubmit} class="py-4">- <div class="flex space-x-1 pb-5 items-center">- <h1 class="title">{$t('general')}</h1>- {#if $appSession.isAdmin}- <button- type="submit"- class="btn btn-sm"- class:loading={loading.main}- class:bg-databases={!loading.main}- disabled={loading.main}>{$t('forms.save')}</button- >- {/if}- </div>- <div class="grid gap-2 grid-cols-2 auto-rows-max lg:px-10 px-2">- <label for="name">{$t('forms.name')}</label>- <input- class="w-full"- readonly={!$appSession.isAdmin}- name="name"- id="name"- bind:value={database.name}- required- />- <label for="destination">{$t('application.destination')}</label>- {#if database.destinationDockerId}- <div class="no-underline">- <input- value={database.destinationDocker.name}- id="destination"- disabled- readonly- class="bg-transparent w-full"- />- </div>- {/if}- <label for="version">Version / Tag</label>- <a- href={$appSession.isAdmin && !$status.database.isRunning- ? `/databases/${id}/configuration/version?from=/databases/${id}`- : ''}- class="no-underline"- >- <input- class="w-full"- value={database.version}- readonly- disabled={$status.database.isRunning || $status.database.initialLoading}- class:cursor-pointer={!$status.database.isRunning}- /></a- >- {#if $status.database.isPublic}- <label for="internalHost">Internal Host</label>- <CopyPasswordField- isPasswordField={false}- readonly- disabled- id="internalHost"- name="internalHost"- value={database.id}- />- <label for="host">Public Host</label>- <CopyPasswordField- placeholder={$t('forms.generated_automatically_after_start')}- isPasswordField={false}- readonly- disabled- id="host"- name="host"- value={loading.public ? 'Loading...' : ipAddress()}- />- {:else}- <label for="internalHost">Host</label>- <CopyPasswordField- isPasswordField={false}- readonly- disabled- id="internalHost"- name="internalHost"- value={database.id}- />- {/if}-- <label for="publicPort">{$t('forms.port')}</label>- <CopyPasswordField- placeholder={$t('database.generated_automatically_after_set_to_public')}- id="publicPort"- readonly- disabled- name="publicPort"- value={loading.public- ? 'Loading...'- : $status.database.isPublic- ? database.publicPort- : privatePort}- />- </div>- {#if database.type === 'mysql'}- <MySql bind:database />- {:else if database.type === 'postgresql'}- <PostgreSql bind:database />- {:else if database.type === 'mongodb'}- <MongoDb bind:database />- {:else if database.type === 'mariadb'}- <MariaDb bind:database />- {:else if database.type === 'redis'}- <Redis bind:database />- {:else if database.type === 'couchdb'}- <CouchDb {database} />- {:else if database.type === 'edgedb'}- <EdgeDB {database} />- {/if}- <div class="flex flex-col space-y-2 mt-5">- <div class="grid gap-2 grid-cols-2 auto-rows-max lg:px-10 px-2">- <label for="url"- >{$t('database.connection_string')}- {#if !$status.database.isPublic && database.destinationDocker.remoteEngine}- <Explainer- explanation="You can only access the database with this URL if your application is deployed to the same Destination."- />- {/if}</label- >- <button class="btn btn-sm" on:click|preventDefault={generateUrl}- >Show Connection String</button- >- </div>- <div class="lg:px-10 px-2">- {#if publicUrl}- <CopyPasswordField- placeholder="Click on the button to generate URL"- id="url"- name="url"- readonly- disabled- value={loading.public ? 'Loading...' : publicUrl}- />- {/if}- </div>- </div>- </form>- <div class="flex space-x-1 pb-5 font-bold">- <h1 class="title">{$t('application.features')}</h1>- </div>- <div class="grid gap-2 grid-cols-2 auto-rows-max lg:px-10 px-2">- <Setting- id="isPublic"- loading={loading.public}- bind:setting={$status.database.isPublic}- on:click={() => changeSettings('isPublic')}- title={$t('database.set_public')}- description={$t('database.warning_database_public')}- disabled={!$status.database.isRunning}- />- {#if database.type === 'redis'}- <Setting- id="appendOnly"- loading={loading.public}- bind:setting={appendOnly}- on:click={() => changeSettings('appendOnly')}- title={$t('database.change_append_only_mode')}- description={$t('database.warning_append_only')}- />- {/if}- </div>-</div>diff --git a/apps/ui/src/routes/databases/[id]/_Databases/_EdgeDB.svelte b/apps/ui/src/routes/databases/[id]/_Databases/_EdgeDB.sveltedeleted file mode 100644index c9ab78a704..0000000000--- a/apps/ui/src/routes/databases/[id]/_Databases/_EdgeDB.svelte+++ /dev/null@@ -1,52 +0,0 @@-<script lang="ts">- export let database: any;- import { status } from '$lib/store';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { t } from '$lib/translations';- import Explainer from '$lib/components/Explainer.svelte';-</script>--<div class="flex space-x-1 py-5 font-bold">- <div class="title">EdgeDB</div>-</div>-<div class="space-y-2 lg:px-10 px-2">- <div class="grid grid-cols-2 items-center">- <label for="defaultDatabase">{$t('database.default_database')}- <Explainer explanation="Can only be modified when the database is not active."/></label>- <CopyPasswordField- required- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder="{$t('forms.eg')}: edgedb"- id="defaultDatabase"- name="defaultDatabase"- bind:value={database.defaultDatabase}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="rootUser">{$t('forms.root_user')}- <Explainer explanation="Can only be modified when the database is not active."/></label>- <CopyPasswordField- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder={$t('forms.generated_automatically_after_start')}- id="rootUser"- name="rootUser"- value={database.rootUser}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="rootUser"- >Root Password <Explainer explanation="Can be modified even when the database is active." /></label- >- <CopyPasswordField- readonly={false}- disabled={false}- placeholder="Generated automatically after start"- isPasswordField- id="rootUserPassword"- name="rootUserPassword"- bind:value={database.rootUserPassword}- />- </div>-</div>diff --git a/apps/ui/src/routes/databases/[id]/_Databases/_MariaDB.svelte b/apps/ui/src/routes/databases/[id]/_Databases/_MariaDB.sveltedeleted file mode 100644index eda6abf41c..0000000000--- a/apps/ui/src/routes/databases/[id]/_Databases/_MariaDB.svelte+++ /dev/null@@ -1,79 +0,0 @@-<script lang="ts">- export let database: any;- import { status } from '$lib/store';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { t } from '$lib/translations';- import Explainer from '$lib/components/Explainer.svelte';-</script>--<div class="flex space-x-1 py-5 font-bold">- <h1 class="title">MariaDB</h1>-</div>-<div class="space-y-2 lg:px-10 px-2">- <div class="grid grid-cols-2 items-center">- <label for="defaultDatabase"- >{$t('database.default_database')}<Explainer explanation="Can only be modified when the database is not active."/></label- >- <CopyPasswordField- required- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder="{$t('forms.eg')}: mydb"- id="defaultDatabase"- name="defaultDatabase"- bind:value={database.defaultDatabase}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="dbUser" >{$t('forms.user')}<Explainer explanation="Can only be modified when the database is not active."/></label>- <CopyPasswordField- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder={$t('forms.generated_automatically_after_start')}- id="dbUser"- name="dbUser"- bind:value={database.dbUser}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="dbUserPassword"- >{$t('forms.password')}- <Explainer explanation="Can be modified even when the database is active." /></label- >- <CopyPasswordField- readonly={false}- disabled={false}- placeholder={$t('forms.generated_automatically_after_start')}- isPasswordField- id="dbUserPassword"- name="dbUserPassword"- bind:value={database.dbUserPassword}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="rootUser" >{$t('forms.root_user')}<Explainer explanation="Can only be modified when the database is not active."/></label>- <CopyPasswordField- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder={$t('forms.generated_automatically_after_start')}- id="rootUser"- name="rootUser"- bind:value={database.rootUser}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="rootUserPassword"- >{$t('forms.roots_password')}- <Explainer explanation="Can be modified even when the database is active." /></label- >- <CopyPasswordField- readonly={false}- disabled={false}- placeholder={$t('forms.generated_automatically_after_start')}- isPasswordField- id="rootUserPassword"- name="rootUserPassword"- bind:value={database.rootUserPassword}- />- </div>-</div>diff --git a/apps/ui/src/routes/databases/[id]/_Databases/_MongoDB.svelte b/apps/ui/src/routes/databases/[id]/_Databases/_MongoDB.sveltedeleted file mode 100644index a2318e5f13..0000000000--- a/apps/ui/src/routes/databases/[id]/_Databases/_MongoDB.svelte+++ /dev/null@@ -1,41 +0,0 @@-<script lang="ts">- export let database: any;- import { status } from '$lib/store';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { t } from '$lib/translations';- import Explainer from '$lib/components/Explainer.svelte';-</script>--<div class="flex space-x-1 py-5 font-bold">- <h1 class="title">MongoDB</h1>-</div>-<div class="space-y-2 lg:px-10 px-2">- <div class="grid grid-cols-2 items-center">- <label for="rootUser">{$t('forms.root_user')}- <Explainer explanation="Can only be modified when the database is not active." /></label- >- <CopyPasswordField- placeholder={$t('forms.generated_automatically_after_start')}- id="rootUser"- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- name="rootUser"- bind:value={database.rootUser}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="rootUserPassword"- >{$t('forms.roots_password')}- <Explainer explanation="Can be modified even when the database is active." /></label- >- <CopyPasswordField- disabled={false}- readonly={false}- placeholder={$t('forms.generated_automatically_after_start')}- isPasswordField={true}- id="rootUserPassword"- name="rootUserPassword"- bind:value={database.rootUserPassword}- />- </div>-</div>diff --git a/apps/ui/src/routes/databases/[id]/_Databases/_MySQL.svelte b/apps/ui/src/routes/databases/[id]/_Databases/_MySQL.sveltedeleted file mode 100644index f2e98e4f00..0000000000--- a/apps/ui/src/routes/databases/[id]/_Databases/_MySQL.svelte+++ /dev/null@@ -1,79 +0,0 @@-<script lang="ts">- export let database: any;- import { status, appSession } from '$lib/store';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { t } from '$lib/translations';- import Explainer from '$lib/components/Explainer.svelte';-</script>--<div class="flex space-x-1 py-5 font-bold">- <h1 class="title">MySQL</h1>-</div>-<div class="space-y-2 lg:px-10 px-2">- <div class="grid grid-cols-2 items-center">- <label for="defaultDatabase">{$t('database.default_database')}<Explainer explanation="Can only be modified when the database is not active."/></label>- <CopyPasswordField- required- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder="{$t('forms.eg')}: mydb"- id="defaultDatabase"- name="defaultDatabase"- bind:value={database.defaultDatabase}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="dbUser">{$t('forms.user')}<Explainer explanation="Can only be modified when the database is not active."/></label>- <CopyPasswordField- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder={$t('forms.generated_automatically_after_start')}- id="dbUser"- name="dbUser"- bind:value={database.dbUser}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="dbUserPassword"- >{$t('forms.password')}- <Explainer explanation="Can be modified even when the database is active." /></label- >- <CopyPasswordField- disabled={false}- readonly={false}- placeholder={$t('forms.generated_automatically_after_start')}- isPasswordField- id="dbUserPassword"- name="dbUserPassword"- bind:value={database.dbUserPassword}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="rootUser">{$t('forms.root_user')}- <Explainer explanation="Can only be modified when the database is not active."/>- </label>- <CopyPasswordField- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder={$t('forms.generated_automatically_after_start')}- id="rootUser"- name="rootUser"- bind:value={database.rootUser}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="rootUserPassword"- >{$t('forms.roots_password')}- <Explainer explanation="Can be modified even when the database is active." /></label- >- <CopyPasswordField- disabled={false}- readonly={false}- placeholder={$t('forms.generated_automatically_after_start')}- isPasswordField- id="rootUserPassword"- name="rootUserPassword"- bind:value={database.rootUserPassword}- />- </div>-</div>diff --git a/apps/ui/src/routes/databases/[id]/_Databases/_PostgreSQL.svelte b/apps/ui/src/routes/databases/[id]/_Databases/_PostgreSQL.sveltedeleted file mode 100644index 0267192cfc..0000000000--- a/apps/ui/src/routes/databases/[id]/_Databases/_PostgreSQL.svelte+++ /dev/null@@ -1,67 +0,0 @@-<script lang="ts">- export let database: any;- import { status, appSession } from '$lib/store';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { t } from '$lib/translations';- import Explainer from '$lib/components/Explainer.svelte';-</script>--<div class="flex space-x-1 py-5 font-bold">- <h1 class="title">PostgreSQL</h1>-</div>-<div class="space-y-2 lg:px-10 px-2">- <div class="grid grid-cols-2 items-center">- <label for="defaultDatabase">{$t('database.default_database')}<Explainer explanation="Can only be modified when the database is not active."/></label>- <CopyPasswordField- required- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder="{$t('forms.eg')}: mydb"- id="defaultDatabase"- name="defaultDatabase"- bind:value={database.defaultDatabase}- />- </div>- {#if !$appSession.isARM}- <div class="grid grid-cols-2 items-center">- <label for="rootUser"- >Postgres User Password <Explainer explanation="Can be modified even when the database is active." /></label- >- <CopyPasswordField- readonly={false}- disabled={false}- placeholder="Generated automatically after start"- isPasswordField- id="rootUserPassword"- name="rootUserPassword"- bind:value={database.rootUserPassword}- />- </div>- {/if}- <div class="grid grid-cols-2 items-center">- <label for="dbUser">{$t('forms.user')}<Explainer explanation="Can only be modified when the database is not active."/></label>- <CopyPasswordField- readonly={$status.database.isRunning}- disabled={$status.database.isRunning}- placeholder={$t('forms.generated_automatically_after_start')}- id="dbUser"- name="dbUser"- bind:value={database.dbUser}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="dbUserPassword"- >{$t('forms.password')}- <Explainer explanation="Can be modified even when the database is active." /></label- >- <CopyPasswordField- readonly={false}- disabled={false}- placeholder={$t('forms.generated_automatically_after_start')}- isPasswordField- id="dbUserPassword"- name="dbUserPassword"- bind:value={database.dbUserPassword}- />- </div>-</div>diff --git a/apps/ui/src/routes/databases/[id]/_Databases/_Redis.svelte b/apps/ui/src/routes/databases/[id]/_Databases/_Redis.sveltedeleted file mode 100644index 157d9a290d..0000000000--- a/apps/ui/src/routes/databases/[id]/_Databases/_Redis.svelte+++ /dev/null@@ -1,28 +0,0 @@-<script lang="ts">- export let database: any;- import { status } from '$lib/store';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { t } from '$lib/translations';- import Explainer from '$lib/components/Explainer.svelte';-</script>--<div class="flex space-x-1 py-5 font-bold">- <h1 class="title">Redis</h1>-</div>-<div class="space-y-2 lg:px-10 px-2">- <div class="grid grid-cols-2 items-center">- <label for="dbUserPassword"- >{$t('forms.password')}- <Explainer explanation="Can be modified even when the database is active." /></label- >- <CopyPasswordField- readonly={false}- disabled={false}- placeholder={$t('forms.generated_automatically_after_start')}- isPasswordField- id="dbUserPassword"- name="dbUserPassword"- bind:value={database.dbUserPassword}- />- </div>-</div>diff --git a/apps/ui/src/routes/databases/[id]/_Secret.svelte b/apps/ui/src/routes/databases/[id]/_Secret.sveltedeleted file mode 100644index f67a377e40..0000000000--- a/apps/ui/src/routes/databases/[id]/_Secret.svelte+++ /dev/null@@ -1,186 +0,0 @@-<script lang="ts">- export let name = '';- export let value = '';- export let isBuildSecret = false;- export let isNewSecret = false;- export let isPRMRSecret = false;- export let PRMRSecret: any = {};-- if (isPRMRSecret) value = PRMRSecret.value;-- import { page } from '$app/stores';- import { del } from '$lib/api';- import { errorNotification } from '$lib/common';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { addToast } from '$lib/store';- import { t } from '$lib/translations';- import { createEventDispatcher } from 'svelte';- import { saveSecret } from './utils';-- const dispatch = createEventDispatcher();- const { id } = $page.params;- async function removeSecret() {- try {- await del(`/databases/${id}/secrets`, { name });- dispatch('refresh');- if (isNewSecret) {- name = '';- value = '';- isBuildSecret = false;- }- addToast({- message: 'Secret removed.',- type: 'success'- });- } catch (error) {- return errorNotification(error);- }- }-- async function createSecret(isNew: any) {- try {- if (!name || !value) return;- await saveSecret({- isNew,- name,- value,- isBuildSecret,- isPRMRSecret,- isNewSecret,- databaseId: id- });- if (isNewSecret) {- name = '';- value = '';- isBuildSecret = false;- addToast({- message: 'Secret added.',- type: 'success'- });- } else {- addToast({- message: 'Secret updated.',- type: 'success'- });- }- dispatch('refresh');- } catch (error) {- return errorNotification(error);- }- }-- async function setSecretValue() {- if (!isPRMRSecret) {- isBuildSecret = !isBuildSecret;- if (!isNewSecret) {- await saveSecret({- isNew: isNewSecret,- name,- value,- isBuildSecret,- isPRMRSecret,- isNewSecret,- databaseId: id- });- addToast({- message: 'Secret updated.',- type: 'success'- });- }- }- }-</script>--<td>- <input- id={isNewSecret ? 'secretName' : 'secretNameNew'}- bind:value={name}- required- placeholder="EXAMPLE_VARIABLE"- readonly={!isNewSecret}- class:bg-transparent={!isNewSecret}- class:cursor-not-allowed={!isNewSecret}- />-</td>-<td>- <CopyPasswordField- id={isNewSecret ? 'secretValue' : 'secretValueNew'}- name={isNewSecret ? 'secretValue' : 'secretValueNew'}- isPasswordField={true}- bind:value- required- placeholder="J$#@UIO%HO#$U%H"- />-</td>-<td class="text-center">- <button- on:click={setSecretValue}- aria-pressed="false"- class="relative inline-flex h-6 w-11 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out"- class:bg-green-600={isBuildSecret}- class:bg-stone-700={!isBuildSecret}- class:opacity-50={isPRMRSecret}- class:cursor-not-allowed={isPRMRSecret}- class:cursor-pointer={!isPRMRSecret}- >- <span class="sr-only">Need during buildtime?</span>- <span- class="pointer-events-none relative inline-block h-5 w-5 transform rounded-full bg-white shadow transition duration-200 ease-in-out"- class:translate-x-5={isBuildSecret}- class:translate-x-0={!isBuildSecret}- >- <span- class=" absolute inset-0 flex h-full w-full items-center justify-center transition-opacity duration-200 ease-in"- class:opacity-0={isBuildSecret}- class:opacity-100={!isBuildSecret}- aria-hidden="true"- >- <svg class="h-3 w-3 bg-white text-red-600" fill="none" viewBox="0 0 12 12">- <path- d="M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2"- stroke="currentColor"- stroke-width="2"- stroke-linecap="round"- stroke-linejoin="round"- />- </svg>- </span>- <span- class="absolute inset-0 flex h-full w-full items-center justify-center transition-opacity duration-100 ease-out"- aria-hidden="true"- class:opacity-100={isBuildSecret}- class:opacity-0={!isBuildSecret}- >- <svg class="h-3 w-3 bg-white text-green-600" fill="currentColor" viewBox="0 0 12 12">- <path- d="M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"- />- </svg>- </span>- </span>- </button>-</td>-<td>- {#if isNewSecret}- <div class="flex items-center justify-center">- <button class="btn bg-databases btn-sm" on:click={() => createSecret(true)}- >{$t('forms.add')}</button- >- </div>- {:else}- <div class="flex flex-row justify-center space-x-2">- <div class="flex items-center justify-center">- <button class="btn bg-databases btn-sm" on:click={() => createSecret(false)}- >{$t('forms.set')}</button- >- </div>- {#if !isPRMRSecret}- <div class="flex justify-center items-end">- <button class="btn btn-sm bg-red-600 hover:bg-red-500" on:click={removeSecret}- >{$t('forms.remove')}</button- >- </div>- {/if}- </div>- {/if}-</td>diff --git a/apps/ui/src/routes/databases/[id]/__layout.svelte b/apps/ui/src/routes/databases/[id]/__layout.sveltedeleted file mode 100644index 5d170a9fa7..0000000000--- a/apps/ui/src/routes/databases/[id]/__layout.svelte+++ /dev/null@@ -1,355 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- function checkConfiguration(database: any): any {- let configurationPhase = null;- if (!database.type) {- configurationPhase = 'type';- } else if (!database.version) {- configurationPhase = 'version';- } else if (!database.destinationDockerId) {- configurationPhase = 'destination';- }- return configurationPhase;- }- export const load: Load = async ({ fetch, url, params }) => {- try {- const { id } = params;- const response = await get(`/databases/${id}`);- const { database, versions, privatePort, settings } = response;- if (id !== 'new' && (!database || Object.entries(database).length === 0)) {- return {- status: 302,- redirect: '/'- };- }- const configurationPhase = checkConfiguration(database);- if (- configurationPhase &&- url.pathname !== `/databases/${params.id}/configuration/${configurationPhase}`- ) {- return {- status: 302,- redirect: `/databases/${params.id}/configuration/${configurationPhase}`- };- }- return {- props: {- database,- versions,- privatePort- },- stuff: {- database,- versions,- privatePort,- settings- }- };- } catch (error) {- return handlerNotFoundLoad(error, url);- }- };-</script>--<script lang="ts">- export let database: any;- import { del, get, post } from '$lib/api';- import { t } from '$lib/translations';- import { page } from '$app/stores';- import { errorNotification, handlerNotFoundLoad } from '$lib/common';- import { appSession, status, isDeploymentEnabled } from '$lib/store';- import DeleteIcon from '$lib/components/DeleteIcon.svelte';- import { onDestroy, onMount } from 'svelte';- import Tooltip from '$lib/components/Tooltip.svelte';- import DatabaseLinks from './_DatabaseLinks.svelte';- const { id } = $page.params;-- $status.database.isPublic = database.settings.isPublic || false;- let statusInterval: any = false;- let forceDelete = false;-- $isDeploymentEnabled = !$appSession.isAdmin;-- async function deleteDatabase(force: boolean) {- const sure = confirm(`Are you sure you would like to delete '${database.name}'?`);- if (sure) {- $status.database.initialLoading = true;- try {- await del(`/databases/${database.id}`, {});- return await window.location.assign('/');- } catch (error) {- return errorNotification(error);- } finally {- $status.database.initialLoading = false;- }- }- }- async function stopDatabase() {- const sure = confirm($t('database.confirm_stop', { name: database.name }));- if (sure) {- $status.database.initialLoading = true;- $status.database.loading = true;- try {- await post(`/databases/${database.id}/stop`, {});- $status.database.isPublic = false;- } catch (error) {- return errorNotification(error);- } finally {- $status.database.initialLoading = false;- $status.database.loading = false;- await getStatus();- }- }- }- async function startDatabase() {- $status.database.initialLoading = true;- $status.database.loading = true;- try {- await post(`/databases/${database.id}/start`, {});- } catch (error) {- return errorNotification(error);- } finally {- $status.database.initialLoading = false;- $status.database.loading = false;- await getStatus();- }- }- async function getStatus() {- if ($status.database.loading) return;- $status.database.loading = true;- const data = await get(`/databases/${id}/status`);- $status.database.isRunning = data.isRunning;- $status.database.initialLoading = false;- $status.database.loading = false;- }- onDestroy(() => {- $status.database.initialLoading = true;- $status.database.isRunning = false;- $status.database.isExited = false;- $status.database.loading = false;- clearInterval(statusInterval);- });- onMount(async () => {- $status.database.isRunning = false;- $status.database.loading = false;- if (- database.type &&- database.destinationDockerId &&- database.version &&- database.defaultDatabase- ) {- await getStatus();- statusInterval = setInterval(async () => {- await getStatus();- }, 2000);- } else {- $status.database.initialLoading = false;- }- });-</script>--{#if id !== 'new'}- <nav class="header lg:flex-row flex-col-reverse">- <div class="flex flex-row space-x-2 font-bold pt-10 lg:pt-0">- <div class="flex flex-col items-center justify-center">- <div class="title">- {#if $page.url.pathname === `/databases/${id}`}- Configurations- {:else if $page.url.pathname === `/databases/${id}/logs`}- Database Logs- {:else if $page.url.pathname === `/databases/${id}/configuration/type`}- Select a Database Type- {:else if $page.url.pathname === `/databases/${id}/configuration/version`}- Select a Database Version- {:else if $page.url.pathname === `/databases/${id}/configuration/destination`}- Select a Destination- {/if}- </div>- </div>- <DatabaseLinks {database} />- </div>- <div class="lg:block hidden flex-1" />- <div class="flex flex-row flex-wrap space-x-3 justify-center lg:justify-start lg:py-0">- {#if database.type && database.destinationDockerId && database.version}- {#if $status.database.isExited}- <a- id="exited"- href={!$status.database.isRunning ? `/databases/${id}/logs` : null}- class="icons bg-transparent text-red-500 tooltip-error"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentcolor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M8.7 3h6.6c.3 0 .5 .1 .7 .3l4.7 4.7c.2 .2 .3 .4 .3 .7v6.6c0 .3 -.1 .5 -.3 .7l-4.7 4.7c-.2 .2 -.4 .3 -.7 .3h-6.6c-.3 0 -.5 -.1 -.7 -.3l-4.7 -4.7c-.2 -.2 -.3 -.4 -.3 -.7v-6.6c0 -.3 .1 -.5 .3 -.7l4.7 -4.7c.2 -.2 .4 -.3 .7 -.3z"- />- <line x1="12" y1="8" x2="12" y2="12" />- <line x1="12" y1="16" x2="12.01" y2="16" />- </svg>- </a>- <Tooltip triggeredBy="#exited">{'Service exited with an error!'}</Tooltip>- {/if}- {#if $status.database.initialLoading}- <button class="icons flex animate-spin duration-500 ease-in-out">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M9 4.55a8 8 0 0 1 6 14.9m0 -4.45v5h5" />- <line x1="5.63" y1="7.16" x2="5.63" y2="7.17" />- <line x1="4.06" y1="11" x2="4.06" y2="11.01" />- <line x1="4.63" y1="15.1" x2="4.63" y2="15.11" />- <line x1="7.16" y1="18.37" x2="7.16" y2="18.38" />- <line x1="11" y1="19.94" x2="11" y2="19.95" />- </svg>- </button>- {:else if $status.database.isRunning}- <button- id="stop"- on:click={stopDatabase}- type="submit"- disabled={!$appSession.isAdmin}- class="icons bg-transparent text-red-500"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <rect x="6" y="5" width="4" height="14" rx="1" />- <rect x="14" y="5" width="4" height="14" rx="1" />- </svg>- </button>- <Tooltip triggeredBy="#stop">{'Stop'}</Tooltip>- {:else}- <button- id="start"- on:click={startDatabase}- type="submit"- disabled={!$appSession.isAdmin}- class="icons bg-transparent text-sm flex items-center space-x-2 text-green-500"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M7 4v16l13 -8z" />- </svg>- </button>- <Tooltip triggeredBy="#start">{'Start'}</Tooltip>- {/if}- {/if}- <div class="border border-stone-700 h-8" />- <a- id="configuration"- href="/databases/{id}"- class="hover:text-yellow-500 rounded"- class:text-yellow-500={$page.url.pathname === `/databases/${id}`}- class:bg-coolgray-500={$page.url.pathname === `/databases/${id}`}- >- <button class="icons bg-transparent m text-sm disabled:text-red-500">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <rect x="4" y="8" width="4" height="4" />- <line x1="6" y1="4" x2="6" y2="8" />- <line x1="6" y1="12" x2="6" y2="20" />- <rect x="10" y="14" width="4" height="4" />- <line x1="12" y1="4" x2="12" y2="14" />- <line x1="12" y1="18" x2="12" y2="20" />- <rect x="16" y="5" width="4" height="4" />- <line x1="18" y1="4" x2="18" y2="5" />- <line x1="18" y1="9" x2="18" y2="20" />- </svg></button- ></a- >- <Tooltip triggeredBy="#configuration">{'Configuration'}</Tooltip>- <div class="border border-stone-700 h-8" />- <a- id="databaselogs"- href={$status.database.isRunning ? `/databases/${id}/logs` : null}- class="hover:text-pink-500 rounded"- class:text-pink-500={$page.url.pathname === `/databases/${id}/logs`}- class:bg-coolgray-500={$page.url.pathname === `/databases/${id}/logs`}- >- <button disabled={!$status.database.isRunning} class="icons bg-transparent text-sm">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0" />- <path d="M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0" />- <line x1="3" y1="6" x2="3" y2="19" />- <line x1="12" y1="6" x2="12" y2="19" />- <line x1="21" y1="6" x2="21" y2="19" />- </svg></button- ></a- >- <Tooltip triggeredBy="#databaselogs">{'Logs'}</Tooltip>- {#if forceDelete}- <button- on:click={() => deleteDatabase(true)}- type="submit"- disabled={!$appSession.isAdmin}- class:hover:text-red-500={$appSession.isAdmin}- class="icons bg-transparent text-sm"- >- Force Delete</button- >{:else}- <button- id="delete"- on:click={() => deleteDatabase(false)}- type="submit"- disabled={!$appSession.isAdmin}- class:hover:text-red-500={$appSession.isAdmin}- class="icons bg-transparent text-sm"><DeleteIcon /></button- >- {/if}-- <Tooltip triggeredBy="#delete" placement="left">Delete</Tooltip>- </div>- </nav>-{/if}-<slot />diff --git a/apps/ui/src/routes/databases/[id]/configuration/destination.svelte b/apps/ui/src/routes/databases/[id]/configuration/destination.sveltedeleted file mode 100644index 8fb407f430..0000000000--- a/apps/ui/src/routes/databases/[id]/configuration/destination.svelte+++ /dev/null@@ -1,94 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, url, stuff }) => {- try {- const { database } = stuff;- if (database?.destinationDockerId && !url.searchParams.get('from')) {- return {- status: 302,- redirect: `/database/${params.id}`- };- }- const response = await get(`/destinations?onlyVerified=true`);- return {- props: {- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- import { page } from '$app/stores';- import { goto } from '$app/navigation';- import { get, post } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import { onMount } from 'svelte';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');-- export let destinations: any;- async function handleSubmit(destinationId: any) {- try {- await post(`/databases/${id}/configuration/destination`, {- destinationId- });- return await goto(from || `/databases/${id}`);- } catch (error) {- return errorNotification(error);- }- }- onMount(async () => {- if (destinations.length === 1) {- await handleSubmit(destinations[0].id);- }- });-</script>--<div class="flex justify-center">- {#if !destinations || destinations.length === 0}- <div class="flex-col">- <div class="pb-2 text-center font-bold">- {$t('application.configuration.no_configurable_destination')}- </div>- <div class="flex justify-center">- <a href="/destinations/new" class="add-icon bg-sky-600 hover:bg-sky-500">- <svg- class="w-6"- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"- /></svg- >- </a>- </div>- </div>- {:else}- <div class="flex flex-wrap justify-center">- {#each destinations as destination}- <div class="p-2">- <form on:submit|preventDefault={() => handleSubmit(destination.id)}>- <button type="submit" class="box-selection hover:bg-sky-700 font-bold">- <div class="font-bold text-xl text-center truncate">{destination.name}</div>- <div class="text-center truncate">{destination.network}</div>- </button>- </form>- </div>- {/each}- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/databases/[id]/configuration/type.svelte b/apps/ui/src/routes/databases/[id]/configuration/type.sveltedeleted file mode 100644index 2564931021..0000000000--- a/apps/ui/src/routes/databases/[id]/configuration/type.svelte+++ /dev/null@@ -1,61 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, url, stuff }) => {- try {- const { database } = stuff;- if (database?.type && !url.searchParams.get('from')) {- return {- status: 302,- redirect: `/database/${params.id}`- };- }- const response = await get(`/databases/${params.id}/configuration/type`);- return {- props: {- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let types: any;-- import { page } from '$app/stores';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');-- import { goto } from '$app/navigation';- import { get, post } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import DatabaseIcons from '$lib/components/svg/databases/DatabaseIcons.svelte';- async function handleSubmit(type: any) {- try {- await post(`/databases/${id}/configuration/type`, { type });- return await goto(from || `/databases/${id}/configuration/version`);- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="flex flex-wrap justify-center">- {#each types as type}- <div class="p-2">- <form on:submit|preventDefault={() => handleSubmit(type.name)}>- <button type="submit" class="box-selection relative text-xl font-bold hover:bg-purple-700">- <DatabaseIcons type={type.name} isAbsolute={true} />- {type.fancyName}- </button>- </form>- </div>- {/each}-</div>diff --git a/apps/ui/src/routes/databases/[id]/configuration/version.svelte b/apps/ui/src/routes/databases/[id]/configuration/version.sveltedeleted file mode 100644index 202f625bbe..0000000000--- a/apps/ui/src/routes/databases/[id]/configuration/version.svelte+++ /dev/null@@ -1,67 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, url, stuff }) => {- try {- const { database } = stuff;- if (database?.version && !url.searchParams.get('from')) {- return {- status: 302,- redirect: `/database/${params.id}`- };- }- const response = await get(`/databases/${params.id}/configuration/version`);- return {- props: {- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let versions: any;-- import { page } from '$app/stores';- import { goto } from '$app/navigation';- import { get, post } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');-- async function handleSubmit(version: any) {- try {- await post(`/databases/${id}/configuration/version`, { version });- return await goto(from || `/databases/${id}/configuration/destination`);- } catch (error) {- return errorNotification(error);- }- }-</script>--{#if from}- <div class="pb-10 text-center">- Warning: you are about to change the version of this database.<br />This could cause problem- after you restart the database,- <span class="font-bold text-pink-600">like losing your data, incompatibility issues, etc</span- >.<br />Only do if you know what you are doing!- </div>-{/if}-<div class="flex flex-wrap justify-center">- {#each versions as version}- <div class="p-2">- <form on:submit|preventDefault={() => handleSubmit(version)}>- <button type="submit" class="box-selection text-xl font-bold hover:bg-purple-700"- >{version}</button- >- </form>- </div>- {/each}-</div>diff --git a/apps/ui/src/routes/databases/[id]/index.svelte b/apps/ui/src/routes/databases/[id]/index.sveltedeleted file mode 100644index 65bf736cd4..0000000000--- a/apps/ui/src/routes/databases/[id]/index.svelte+++ /dev/null@@ -1,69 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ stuff }) => {- return {- props: { ...stuff }- };- };-</script>--<script lang="ts">- import { page } from '$app/stores';- import { get } from '$lib/api';- import { onDestroy, onMount } from 'svelte';- import DatabaseLinks from './_DatabaseLinks.svelte';- import Databases from './_Databases/_Databases.svelte';- import { status } from '$lib/store';- export let database: any;- export let privatePort: any;-- const { id } = $page.params;- let loading = {- usage: false- };- let usage = {- MemUsage: 0,- CPUPerc: 0,- NetIO: 0- };- let usageInterval: any;-- async function getUsage() {- if (loading.usage) return;- if (!$status.database.isRunning) return;- loading.usage = true;- const data = await get(`/databases/${id}/usage`);- usage = data.usage;- loading.usage = false;- }-- onDestroy(() => {- clearInterval(usageInterval);- });- onMount(async () => {- await getUsage();- usageInterval = setInterval(async () => {- await getUsage();- }, 1500);- });-</script>--<div class="mx-auto max-w-6xl p-5">- <div class="text-center">- <div class="stat w-64">- <div class="stat-title">Used Memory / Memory Limit</div>- <div class="stat-value text-xl">{usage?.MemUsage}</div>- </div>-- <div class="stat w-64">- <div class="stat-title">Used CPU</div>- <div class="stat-value text-xl">{usage?.CPUPerc}</div>- </div>-- <div class="stat w-64">- <div class="stat-title">Network IO</div>- <div class="stat-value text-xl">{usage?.NetIO}</div>- </div>- </div>-</div>-<Databases bind:database {privatePort} />diff --git a/apps/ui/src/routes/databases/[id]/logs/_Loading.svelte b/apps/ui/src/routes/databases/[id]/logs/_Loading.sveltedeleted file mode 100644index 73fbe709e9..0000000000--- a/apps/ui/src/routes/databases/[id]/logs/_Loading.svelte+++ /dev/null@@ -1,41 +0,0 @@-<div class="lds-ripple absolute left-0">- <div />- <div />-</div>--<style>- .lds-ripple {- display: inline-block;- position: relative;- left: -19px;- top: -8px;- width: 40px;- height: 40px;- }- .lds-ripple div {- position: absolute;- border: 4px solid #fff;- opacity: 1;- border-radius: 50%;- animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;- }- .lds-ripple div:nth-child(2) {- animation-delay: -0.5s;- }- @keyframes lds-ripple {- 0% {- top: 1px;- left: 1px;- width: 0;- height: 0;- opacity: 1;- }- 100% {- top: 0px;- left: 0px;- width: 36px;- height: 36px;- opacity: 0;- }- }-</style>diff --git a/apps/ui/src/routes/databases/[id]/logs/index.svelte b/apps/ui/src/routes/databases/[id]/logs/index.sveltedeleted file mode 100644index 662afae368..0000000000--- a/apps/ui/src/routes/databases/[id]/logs/index.svelte+++ /dev/null@@ -1,136 +0,0 @@-<script lang="ts">- import { onDestroy, onMount } from 'svelte';-- import { page } from '$app/stores';- import LoadingLogs from './_Loading.svelte';- import { get } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import Tooltip from '$lib/components/Tooltip.svelte';-- const { id } = $page.params;-- let loadLogsInterval: any = null;- let logs: any = [];- let lastLog: any = null;- let followingInterval: any;- let followingLogs: any;- let logsEl: any;- let position = 0;- let loadingLogs = false;- let database = {- name: null- };-- onMount(async () => {- const response = await get(`/databases/${id}`);- database = response.database;- const { logs: firstLogs } = await get(`/databases/${id}/logs`);- logs = firstLogs;- loadAllLogs();- loadLogsInterval = setInterval(() => {- loadLogs();- }, 1000);- });- onDestroy(() => {- clearInterval(loadLogsInterval);- clearInterval(followingInterval);- });- async function loadAllLogs() {- try {- loadingLogs = true;- const data: any = await get(`/databases/${id}/logs`);- if (data?.logs) {- lastLog = data.logs[data.logs.length - 1];- logs = data.logs;- }- } catch (error) {- return errorNotification(error);- } finally {- loadingLogs = false;- }- }- async function loadLogs() {- if (loadingLogs) return;- try {- loadingLogs = true;- const newLogs: any = await get(`/databases/${id}/logs?since=${lastLog?.split(' ')[0] || 0}`);-- if (newLogs?.logs && newLogs.logs[newLogs.logs.length - 1] !== logs[logs.length - 1]) {- logs = logs.concat(newLogs.logs);- lastLog = newLogs.logs[newLogs.logs.length - 1];- }- } catch (error) {- return errorNotification(error);- } finally {- loadingLogs = false;- }- }- function detect() {- if (position < logsEl.scrollTop) {- position = logsEl.scrollTop;- } else {- if (followingLogs) {- clearInterval(followingInterval);- followingLogs = false;- }- position = logsEl.scrollTop;- }- }-- function followBuild() {- followingLogs = !followingLogs;- if (followingLogs) {- followingInterval = setInterval(() => {- logsEl.scrollTop = logsEl.scrollHeight;- window.scrollTo(0, document.body.scrollHeight);- }, 1000);- } else {- clearInterval(followingInterval);- }- }-</script>--<div class="flex flex-row justify-center space-x-2 px-10 pt-6">- {#if logs.length === 0}- <div class="text-xl font-bold tracking-tighter">{$t('application.build.waiting_logs')}</div>- {:else}- <div class="relative w-full">- <div class="text-right " />- {#if loadLogsInterval}- <LoadingLogs />- {/if}- <div class="flex justify-end sticky top-0 p-1 mx-1">- <button- id="follow"- on:click={followBuild}- class="bg-transparent btn btn-sm btn-link"- class:text-green-500={followingLogs}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="12" r="9" />- <line x1="8" y1="12" x2="12" y2="16" />- <line x1="12" y1="8" x2="12" y2="16" />- <line x1="16" y1="12" x2="12" y2="16" />- </svg>- </button>- <Tooltip triggeredBy="#follow">Follow Logs</Tooltip>- </div>- <div class="font-mono w-full rounder bg-coolgray-200 p-5 overflow-x-auto overflox-y-auto max-h-[80vh] rounded-md mb-20 flex flex-col whitespace-nowrap -mt-12 scrollbar-thumb-coollabs scrollbar-track-coolgray-200 scrollbar-w-1 lg:text-base text-[10px]">- {#each logs as log}- <p>{log + '\n'}</p>- {/each}- </div>- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/databases/[id]/secrets.svelte b/apps/ui/src/routes/databases/[id]/secrets.sveltedeleted file mode 100644index 73871ed050..0000000000--- a/apps/ui/src/routes/databases/[id]/secrets.svelte+++ /dev/null@@ -1,109 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, stuff, url }) => {- try {- const response = await get(`/databases/${params.id}/secrets`);- return {- props: {- database: stuff.database,- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let secrets: any;- export let database: any;- import pLimit from 'p-limit';- import Secret from './_Secret.svelte';- import { page } from '$app/stores';- import { t } from '$lib/translations';- import { get } from '$lib/api';- import { saveSecret } from './utils';- import { addToast } from '$lib/store';-- const limit = pLimit(1);- const { id } = $page.params;-- let batchSecrets = '';- async function refreshSecrets() {- const data = await get(`/databases/${id}/secrets`);- secrets = [...data.secrets];- }- async function getValues(e: any) {- e.preventDefault();- const eachValuePair = batchSecrets.split('\n');- const batchSecretsPairs = eachValuePair- .filter((secret) => !secret.startsWith('#') && secret)- .map((secret) => {- const [name, ...rest] = secret.split('=');- const value = rest.join('=');- const cleanValue = value?.replaceAll('"', '') || '';- return {- name,- value: cleanValue,- isNew: !secrets.find((secret: any) => name === secret.name)- };- });-- await Promise.all(- batchSecretsPairs.map(({ name, value, isNew }) =>- limit(() => saveSecret({ name, value, databaseId: id, isNew }))- )- );- batchSecrets = '';- await refreshSecrets();- addToast({- message: 'Secrets saved.',- type: 'success'- });- }-</script>--<div class="flex items-center space-x-2 p-5 px-6 font-bold">- <div class="-mb-5 flex-col">- <div class="md:max-w-64 truncate text-base tracking-tight md:text-2xl lg:block">Secrets</div>- <span class="text-xs">{database.name}</span>- </div>-</div>-<div class="mx-auto max-w-6xl px-6 pt-4">- <table class="mx-auto border-separate text-left">- <thead>- <tr class="h-12">- <th scope="col">{$t('forms.name')}</th>- <th scope="col">{$t('forms.value')}</th>- <th scope="col" class="w-64 text-center">Need during buildtime?</th>- <th scope="col" class="w-96 text-center">{$t('forms.action')}</th>- </tr>- </thead>- <tbody>- {#each secrets as secret}- {#key secret.id}- <tr>- <Secret- name={secret.name}- value={secret.value}- isBuildSecret={secret.isBuildSecret}- on:refresh={refreshSecrets}- />- </tr>- {/key}- {/each}- <tr>- <Secret isNewSecret on:refresh={refreshSecrets} />- </tr>- </tbody>- </table>- <h2 class="title my-6 font-bold">Paste .env file</h2>- <form on:submit|preventDefault={getValues} class="mb-12 w-full">- <textarea bind:value={batchSecrets} class="mb-2 min-h-[200px] w-full" />- <button class="btn btn-sm bg-databases" type="submit">Batch add secrets</button>- </form>-</div>diff --git a/apps/ui/src/routes/databases/[id]/utils.ts b/apps/ui/src/routes/databases/[id]/utils.tsdeleted file mode 100644index 6ada97cbd1..0000000000--- a/apps/ui/src/routes/databases/[id]/utils.ts+++ /dev/null@@ -1,42 +0,0 @@-import { post } from '$lib/api';-import { t } from '$lib/translations';-import { errorNotification } from '$lib/common';--type Props = {- isNew: boolean;- name: string;- value: string;- isBuildSecret?: boolean;- isPRMRSecret?: boolean;- isNewSecret?: boolean;- databaseId: string;-};--export async function saveSecret({- isNew,- name,- value,- isBuildSecret,- isPRMRSecret,- isNewSecret,- databaseId-}: Props): Promise<void> {- if (!name) return errorNotification(`${t.get('forms.name')} ${t.get('forms.is_required')}`);- if (!value) return errorNotification(`${t.get('forms.value')} ${t.get('forms.is_required')}`);- try {- await post(`/databases/${databaseId}/secrets`, {- name,- value,- isBuildSecret,- isPRMRSecret,- isNew: isNew || false- });- if (isNewSecret) {- name = '';- value = '';- isBuildSecret = false;- }- } catch (error) {- throw error- }-}diff --git a/apps/ui/src/routes/databases/_index.svelte b/apps/ui/src/routes/databases/_index.sveltedeleted file mode 100644index 44d9d8b30e..0000000000--- a/apps/ui/src/routes/databases/_index.svelte+++ /dev/null@@ -1,124 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async () => {- try {- const response = await get(`/databases`);- return {- props: {- ...response- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let databases: any = [];- import { get, post } from '$lib/api';- import { t } from '$lib/translations';- import { appSession } from '$lib/store';- import { goto } from '$app/navigation';- import DatabaseIcons from '$lib/components/svg/databases/DatabaseIcons.svelte';-- async function newDatabase() {- const { id } = await post('/databases/new', {});- return await goto(`/databases/${id}`, { replaceState: true });- }-- const ownDatabases = databases.filter((database: any) => {- if (database.teams[0].id === $appSession.teamId) {- return database;- }- });- const otherDatabases = databases.filter((database: any) => {- if (database.teams[0].id !== $appSession.teamId) {- return database;- }- });-</script>--<nav class="header">- <h1 class="mr-4 text-2xl font-bold">{$t('index.databases')}</h1>- {#if $appSession.isAdmin}- <button on:click={newDatabase} class="btn btn-square btn-sm bg-databases">- <svg- class="h-6 w-6"- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"- /></svg- >- </button>- {/if}-</nav>-<br />-<div class="flex-col justify-center mt-10 pb-12 sm:pb-16 lg:pt-16">- {#if !databases || ownDatabases.length === 0}- <div class="flex-col">- <div class="text-center text-xl font-bold">{$t('database.no_databases_found')}</div>- </div>- {/if}- {#if ownDatabases.length > 0 || otherDatabases.length > 0}- <div class="flex flex-col">- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each ownDatabases as database}- <a href="/databases/{database.id}" class="p-2 no-underline">- <div class="box-selection group relative hover:bg-purple-600">- <DatabaseIcons type={database.type} isAbsolute={true} />- <div class="truncate text-center text-xl font-bold">- {database.name}- </div>- {#if $appSession.teamId === '0' && otherDatabases.length > 0}- <div class="truncate text-center">{database.teams[0].name}</div>- {/if}- {#if database.destinationDocker?.name}- <div class="truncate text-center">{database.destinationDocker.name}</div>- {/if}- {#if !database.type}- <div class="truncate text-center font-bold text-red-500 group-hover:text-white">- {$t('application.configuration.configuration_missing')}- </div>- {/if}- </div>- </a>- {/each}- </div>- {#if otherDatabases.length > 0 && $appSession.teamId === '0'}- <div class="px-6 pb-5 pt-10 text-2xl font-bold text-center">Other Databases</div>- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each otherDatabases as database}- <a href="/databases/{database.id}" class="p-2 no-underline">- <div class="box-selection group relative hover:bg-purple-600">- <DatabaseIcons type={database.type} isAbsolute={true} />- <div class="truncate text-center text-xl font-bold">- {database.name}- </div>- {#if $appSession.teamId === '0'}- <div class="truncate text-center">{database.teams[0].name}</div>- {/if}- {#if !database.type}- <div class="truncate text-center font-bold text-red-500 group-hover:text-white">- Configuration missing- </div>- {:else}- <div class="text-center truncate">{database.type}</div>- {/if}- </div>- </a>- {/each}- </div>- {/if}- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/databases/index.svelte b/apps/ui/src/routes/databases/index.sveltedeleted file mode 100644index 8136f76e8c..0000000000--- a/apps/ui/src/routes/databases/index.svelte+++ /dev/null@@ -1,4 +0,0 @@-<script lang="ts">- import { goto } from '$app/navigation';- goto('/');-</script>diff --git a/apps/ui/src/routes/destinations/[id]/_Destination.svelte b/apps/ui/src/routes/destinations/[id]/_Destination.sveltedeleted file mode 100644index b2e4e229fc..0000000000--- a/apps/ui/src/routes/destinations/[id]/_Destination.svelte+++ /dev/null@@ -1,14 +0,0 @@-<script lang="ts">- export let destination: any;- export let settings: any;- import LocalDocker from './_LocalDocker.svelte';- import RemoteDocker from './_RemoteDocker.svelte';-</script>--<div class="mx-auto max-w-6xl px-6">- {#if destination.remoteEngine}- <RemoteDocker bind:destination {settings} />- {:else}- <LocalDocker bind:destination {settings} />- {/if}-</div>diff --git a/apps/ui/src/routes/destinations/[id]/_LocalDocker.svelte b/apps/ui/src/routes/destinations/[id]/_LocalDocker.sveltedeleted file mode 100644index 208593bab1..0000000000--- a/apps/ui/src/routes/destinations/[id]/_LocalDocker.svelte+++ /dev/null@@ -1,206 +0,0 @@-<script lang="ts">- export let destination: any;- export let settings: any;-- import { page } from '$app/stores';- import { get, post } from '$lib/api';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { onMount } from 'svelte';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import { addToast, appSession } from '$lib/store';- import Setting from '$lib/components/Setting.svelte';-- const { id } = $page.params;- let cannotDisable = settings.fqdn && destination.engine === '/var/run/docker.sock';- let loading = {- restart: false,- proxy: false,- save: false- };-- async function handleSubmit() {- loading.save = true;- try {- await post(`/destinations/${id}`, { ...destination });- addToast({- message: 'Configuration saved.',- type: 'success'- });- } catch (error) {- return errorNotification(error);- } finally {- loading.save = false;- }- }- onMount(async () => {- loading.proxy = true;- const { isRunning } = await get(`/destinations/${id}/status`);- let proxyUsed = !destination.isCoolifyProxyUsed;- if (isRunning === false && destination.isCoolifyProxyUsed === true) {- try {- await post(`/destinations/${id}/settings`, {- isCoolifyProxyUsed: proxyUsed,- engine: destination.engine- });- await stopProxy();- } catch (error) {- return errorNotification(error);- }- } else if (isRunning === true && destination.isCoolifyProxyUsed === false) {- try {- await post(`/destinations/${id}/settings`, {- isCoolifyProxyUsed: proxyUsed,- engine: destination.engine- });- await startProxy();- destination.isCoolifyProxyUsed = proxyUsed;- } catch (error) {- return errorNotification(error);- } finally {- loading.proxy = false;- }- }- loading.proxy = false;- });- async function changeProxySetting() {- if (!cannotDisable) {- const isProxyActivated = destination.isCoolifyProxyUsed;- if (isProxyActivated) {- const sure = confirm(- `Are you sure you want to ${- destination.isCoolifyProxyUsed ? 'disable' : 'enable'- } Coolify proxy? It will remove the proxy for all configured networks and all deployments on '${- destination.engine- }'! Nothing will be reachable if you do it!`- );- if (!sure) return;- }- destination.isCoolifyProxyUsed = !destination.isCoolifyProxyUsed;- try {- loading.proxy = true;- await post(`/destinations/${id}/settings`, {- isCoolifyProxyUsed: destination.isCoolifyProxyUsed,- engine: destination.engine- });- if (isProxyActivated) {- await stopProxy();- } else {- await startProxy();- }- } catch (error) {- return errorNotification(error);- } finally {- loading.proxy = false;- }- }- }- async function stopProxy() {- try {- await post(`/destinations/${id}/stop`, { engine: destination.engine });- return addToast({- message: $t('destination.coolify_proxy_stopped'),- type: 'success'- });- } catch (error) {- return errorNotification(error);- }- }- async function startProxy() {- try {- await post(`/destinations/${id}/start`, { engine: destination.engine });- return addToast({- message: $t('destination.coolify_proxy_started'),- type: 'success'- });- } catch (error) {- return errorNotification(error);- }- }- async function forceRestartProxy() {- const sure = confirm($t('destination.confirm_restart_proxy'));- if (sure) {- try {- loading.restart = true;- addToast({- message: $t('destination.coolify_proxy_restarting'),- type: 'success'- });- await post(`/destinations/${id}/restart`, {- engine: destination.engine,- fqdn: settings.fqdn- });- } catch (error) {- setTimeout(() => {- window.location.reload();- }, 5000);- } finally {- loading.restart = false;- }- }- }-</script>--<form on:submit|preventDefault={handleSubmit} class="py-4">- <div class="flex space-x-2">- <button- type="submit"- class="btn btn-sm"- class:bg-destinations={!loading.save}- class:loading={loading.save}- disabled={loading.save}- >{$t('forms.save')}- </button>- <button- class="btn btn-sm"- class:loading={loading.restart}- class:bg-error={!loading.restart}- disabled={loading.restart}- on:click|preventDefault={forceRestartProxy}>{$t('destination.force_restart_proxy')}</button- >- </div>- <div class="grid gap-2 grid-cols-2 auto-rows-max mt-10 items-center">- <label for="name">{$t('forms.name')}</label>- <input- class="w-full"- name="name"- placeholder={$t('forms.name')}- disabled={!$appSession.isAdmin}- readonly={!$appSession.isAdmin}- bind:value={destination.name}- />- <label for="engine">{$t('forms.engine')}</label>- <CopyPasswordField- id="engine"- readonly- disabled- name="engine"- placeholder="{$t('forms.eg')}: /var/run/docker.sock"- value={destination.engine}- />- <label for="network">{$t('forms.network')}</label>- <CopyPasswordField- id="network"- readonly- disabled- name="network"- placeholder="{$t('forms.default')}: coolify"- value={destination.network}- />- {#if $appSession.teamId === '0'}- <Setting- id="changeProxySetting"- loading={loading.proxy}- disabled={cannotDisable}- bind:setting={destination.isCoolifyProxyUsed}- on:click={changeProxySetting}- title={$t('destination.use_coolify_proxy')}- description={`This will install a proxy on the destination to allow you to access your applications and services without any manual configuration.${- cannotDisable- ? '<span class="font-bold text-white">You cannot disable this proxy as FQDN is configured for Coolify.</span>'- : ''- }`}- />- {/if}- </div>-</form>diff --git a/apps/ui/src/routes/destinations/[id]/_New.svelte b/apps/ui/src/routes/destinations/[id]/_New.sveltedeleted file mode 100644index 66cfcfb1a2..0000000000--- a/apps/ui/src/routes/destinations/[id]/_New.svelte+++ /dev/null@@ -1,56 +0,0 @@-<script lang="ts">- import cuid from 'cuid';- import { t } from '$lib/translations';- import NewLocalDocker from './_NewLocalDocker.svelte';- import NewRemoteDocker from './_NewRemoteDocker.svelte';- let payload = {};- let selected = 'localDocker';- function setPredefined(type: any) {- selected = type;- switch (type) {- case 'localDocker':- payload = {- name: t.get('sources.local_docker'),- engine: '/var/run/docker.sock',- remoteEngine: false,- network: cuid(),- isCoolifyProxyUsed: true- };- break;- case 'remoteDocker':- payload = {- name: $t('sources.remote_docker'),- remoteEngine: true,- remoteIpAddress: null,- remoteUser: 'root',- remotePort: 22,- network: cuid(),- isCoolifyProxyUsed: true- };- break;- default:- break;- }- }-</script>--<div class="flex space-x-1 p-6 font-bold">- <div class="mr-4 text-2xl tracking-tight">{$t('destination.new.add_new_destination')}</div>-</div>-<div class="flex-col space-y-2 pb-10 text-center">- <div class="text-xl font-bold text-white">{$t('destination.new.predefined_destinations')}</div>- <div class="flex justify-center space-x-2">- <button class="btn btn-sm" on:click={() => setPredefined('localDocker')}- >{$t('sources.local_docker')}</button- >- <button class="btn btn-sm" on:click={() => setPredefined('remoteDocker')}>Remote Docker</button>- <!-- <button class="w-32" on:click={() => setPredefined('kubernetes')}>Kubernetes</button> -->- </div>-</div>-{#if selected === 'localDocker'}- <NewLocalDocker {payload} />-{:else if selected === 'remoteDocker'}- <NewRemoteDocker {payload} />-{:else}- <div class="text-center font-bold text-4xl py-10">{$t('index.not_implemented_yet')}</div>-{/if}diff --git a/apps/ui/src/routes/destinations/[id]/_NewLocalDocker.svelte b/apps/ui/src/routes/destinations/[id]/_NewLocalDocker.sveltedeleted file mode 100644index 8bc561898e..0000000000--- a/apps/ui/src/routes/destinations/[id]/_NewLocalDocker.svelte+++ /dev/null@@ -1,85 +0,0 @@-<script lang="ts">- export let payload: any;-- import { goto } from '$app/navigation';- import { page } from '$app/stores';- import { post } from '$lib/api';- import { errorNotification } from '$lib/common';- import Setting from '$lib/components/Setting.svelte';- import { appSession } from '$lib/store';- import { t } from '$lib/translations';-- const from = $page.url.searchParams.get('from');- let loading = false;-- async function handleSubmit() {- if (loading) return;- try {- loading = true;- await post(`/destinations/check`, { network: payload.network });- const { id } = await post(`/destinations/new`, {- ...payload- });- return await goto(from || `/destinations/${id}`);- } catch (error) {- return errorNotification(error);- } finally {- loading = false;- }- }-</script>--<div class="flex justify-center px-6 pb-8">- <form on:submit|preventDefault={handleSubmit} class="grid grid-flow-row gap-2 py-4">- <div- class="flex items-start lg:items-center space-x-0 lg:space-x-4 pb-5 flex-col lg:flex-row space-y-4 lg:space-y-0"- >- <div class="title font-bold">{$t('forms.configuration')}</div>- <button- type="submit"- class="btn btn-sm bg-destinations w-full lg:w-fit"- class:loading- disabled={loading}- >{loading- ? payload.isCoolifyProxyUsed- ? $t('destination.new.saving_and_configuring_proxy')- : $t('forms.saving')- : $t('forms.save')}</button- >- </div>- <div class="mt-2 grid grid-cols-2 items-center lg:pl-10">- <label for="name" class="text-base font-bold text-stone-100">{$t('forms.name')}</label>- <input required name="name" placeholder={$t('forms.name')} bind:value={payload.name} />- </div>-- <div class="grid grid-cols-2 items-center lg:pl-10">- <label for="engine" class="text-base font-bold text-stone-100">{$t('forms.engine')}</label>- <input- required- name="engine"- placeholder="{$t('forms.eg')}: /var/run/docker.sock"- bind:value={payload.engine}- />- </div>- <div class="grid grid-cols-2 items-center lg:pl-10">- <label for="network" class="text-base font-bold text-stone-100">{$t('forms.network')}</label>- <input- required- name="network"- placeholder="{$t('forms.default')}: coolify"- bind:value={payload.network}- />- </div>- {#if $appSession.teamId === '0'}- <div class="grid grid-cols-2 items-center lg:pl-10">- <Setting- id="changeProxySetting"- bind:setting={payload.isCoolifyProxyUsed}- on:click={() => (payload.isCoolifyProxyUsed = !payload.isCoolifyProxyUsed)}- title={$t('destination.use_coolify_proxy')}- description={'This will install a proxy on the destination to allow you to access your applications and services without any manual configuration.'}- />- </div>- {/if}- </form>-</div>diff --git a/apps/ui/src/routes/destinations/[id]/_NewRemoteDocker.svelte b/apps/ui/src/routes/destinations/[id]/_NewRemoteDocker.sveltedeleted file mode 100644index 5b569ab632..0000000000--- a/apps/ui/src/routes/destinations/[id]/_NewRemoteDocker.svelte+++ /dev/null@@ -1,107 +0,0 @@-<script lang="ts">- export let payload: any;-- import { goto } from '$app/navigation';- import { page } from '$app/stores';- import { post } from '$lib/api';- import { errorNotification } from '$lib/common';- import SimpleExplainer from '$lib/components/SimpleExplainer.svelte';- import Setting from '$lib/components/Setting.svelte';- import { t } from '$lib/translations';-- const from = $page.url.searchParams.get('from');- let loading = false;-- async function handleSubmit() {- if (loading) return;- try {- loading = true;- await post(`/destinations/check`, { network: payload.network });- const { id } = await post(`/destinations/new`, {- ...payload- });- return await goto(from || `/destinations/${id}`);- } catch (error) {- return errorNotification(error);- } finally {- loading = false;- }- }-</script>--<div class="text-center flex justify-center">- <SimpleExplainer- customClass="max-w-[32rem]"- text="Remote Docker Engines are using <span class='text-white font-bold'>SSH</span> to communicate with the remote docker engine.- You need to setup an <span class='text-white font-bold'>SSH key</span> in advance on the server and install Docker.- <br>See <a class='text-white' href='https://docs.coollabs.io/coolify/destinations#remote-docker-engine' target='blank'>docs</a> for more details."- />-</div>-<div class="flex justify-center px-6 pb-8">- <form on:submit|preventDefault={handleSubmit} class="grid grid-flow-row gap-2 py-4">- <div class="flex items-start lg:items-center space-x-0 lg:space-x-4 pb-5 flex-col lg:flex-row space-y-4 lg:space-y-0">- <div class="title font-bold">{$t('forms.configuration')}</div>- <button type="submit" class="btn btn-sm bg-destinations w-full lg:w-fit" class:loading disabled={loading}- >{loading- ? payload.isCoolifyProxyUsed- ? $t('destination.new.saving_and_configuring_proxy')- : $t('forms.saving')- : $t('forms.save')}</button- >- </div>- <div class="mt-2 grid grid-cols-2 items-center lg:pl-10">- <label for="name" class="text-base font-bold text-stone-100">{$t('forms.name')}</label>- <input required name="name" placeholder={$t('forms.name')} bind:value={payload.name} />- </div>-- <div class="grid grid-cols-2 items-center lg:pl-10">- <label for="remoteIpAddress" class="text-base font-bold text-stone-100"- >{$t('forms.ip_address')}</label- >- <input- required- name="remoteIpAddress"- placeholder="{$t('forms.eg')}: 192.168..."- bind:value={payload.remoteIpAddress}- />- </div>-- <div class="grid grid-cols-2 items-center lg:pl-10">- <label for="remoteUser" class="text-base font-bold text-stone-100">{$t('forms.user')}</label>- <input- required- name="remoteUser"- placeholder="{$t('forms.eg')}: root"- bind:value={payload.remoteUser}- />- </div>-- <div class="grid grid-cols-2 items-center lg:pl-10">- <label for="remotePort" class="text-base font-bold text-stone-100">{$t('forms.port')}</label>- <input- required- name="remotePort"- placeholder="{$t('forms.eg')}: 22"- bind:value={payload.remotePort}- />- </div>- <div class="grid grid-cols-2 items-center lg:pl-10">- <label for="network" class="text-base font-bold text-stone-100">{$t('forms.network')}</label>- <input- required- name="network"- placeholder="{$t('forms.default')}: coolify"- bind:value={payload.network}- />- </div>- <div class="grid grid-cols-2 items-center lg:pl-10">- <Setting- id="isCoolifyProxyUsed"- bind:setting={payload.isCoolifyProxyUsed}- on:click={() => (payload.isCoolifyProxyUsed = !payload.isCoolifyProxyUsed)}- title={$t('destination.use_coolify_proxy')}- description={'This will install a proxy on the destination to allow you to access your applications and services without any manual configuration.'}- />- </div>- </form>-</div>diff --git a/apps/ui/src/routes/destinations/[id]/_RemoteDocker.svelte b/apps/ui/src/routes/destinations/[id]/_RemoteDocker.sveltedeleted file mode 100644index f67fab14e7..0000000000--- a/apps/ui/src/routes/destinations/[id]/_RemoteDocker.svelte+++ /dev/null@@ -1,279 +0,0 @@-<script lang="ts">- export let destination: any;- export let settings: any;-- import { page } from '$app/stores';- import Setting from '$lib/components/Setting.svelte';- import { get, post } from '$lib/api';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { onMount } from 'svelte';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import { addToast, appSession } from '$lib/store';-- const { id } = $page.params;-- let cannotDisable = settings.fqdn && destination.engine === '/var/run/docker.sock';- let loading = {- restart: false,- proxy: true,- save: false,- verify: false- };-- $: isDisabled = !$appSession.isAdmin;-- async function handleSubmit() {- loading.save = true;- try {- await post(`/destinations/${id}`, { ...destination });- addToast({- message: 'Configuration saved.',- type: 'success'- });- } catch (error) {- return errorNotification(error);- } finally {- loading.save = false;- }- }- onMount(async () => {- if (destination.remoteEngine && destination.remoteVerified) {- loading.proxy = true;- const { isRunning } = await get(`/destinations/${id}/status`);- if (isRunning === false && destination.isCoolifyProxyUsed === true) {- destination.isCoolifyProxyUsed = !destination.isCoolifyProxyUsed;- try {- await post(`/destinations/${id}/settings`, {- isCoolifyProxyUsed: destination.isCoolifyProxyUsed,- engine: destination.engine- });- await stopProxy();- } catch (error) {- return errorNotification(error);- }- } else if (isRunning === true && destination.isCoolifyProxyUsed === false) {- destination.isCoolifyProxyUsed = !destination.isCoolifyProxyUsed;- try {- await post(`/destinations/${id}/settings`, {- isCoolifyProxyUsed: destination.isCoolifyProxyUsed,- engine: destination.engine- });- await startProxy();- } catch (error) {- return errorNotification(error);- }- }- }-- loading.proxy = false;- });- async function changeProxySetting() {- if (!destination.remoteVerified) return;- loading.proxy = true;- if (!cannotDisable) {- const isProxyActivated = destination.isCoolifyProxyUsed;- if (isProxyActivated) {- const sure = confirm(- `Are you sure you want to ${- destination.isCoolifyProxyUsed ? 'disable' : 'enable'- } Coolify proxy? It will remove the proxy for all configured networks and all deployments! Nothing will be reachable if you do it!`- );- if (!sure) {- loading.proxy = false;- return;- }- }- let proxyUsed = !destination.isCoolifyProxyUsed;- try {- await post(`/destinations/${id}/settings`, {- isCoolifyProxyUsed: proxyUsed,- engine: destination.engine- });- if (isProxyActivated) {- await stopProxy();- } else {- await startProxy();- }- destination.isCoolifyProxyUsed = proxyUsed;- } catch (error) {- return errorNotification(error);- } finally {- loading.proxy = false;- }- }- }- async function stopProxy() {- try {- await post(`/destinations/${id}/stop`, { engine: destination.engine });- return addToast({- message: $t('destination.coolify_proxy_stopped'),- type: 'success'- });- } catch (error) {- return errorNotification(error);- }- }- async function startProxy() {- try {- await post(`/destinations/${id}/start`, { engine: destination.engine });- return addToast({- message: $t('destination.coolify_proxy_started'),- type: 'success'- });- } catch (error) {- return errorNotification(error);- }- }- async function forceRestartProxy() {- const sure = confirm($t('destination.confirm_restart_proxy'));- if (sure) {- try {- loading.restart = true;- addToast({- message: $t('destination.coolify_proxy_restarting'),- type: 'success'- });- await post(`/destinations/${id}/restart`, {- engine: destination.engine,- fqdn: settings.fqdn- });- } catch (error) {- setTimeout(() => {- window.location.reload();- }, 5000);- } finally {- loading.restart = false;- }- }- }- async function verifyRemoteDocker() {- try {- loading.verify = true;- await post(`/destinations/${id}/verify`, {});- destination.remoteVerified = true;- return addToast({- message: 'Remote Docker Engine verified!',- type: 'success'- });- } catch (error) {- return errorNotification(error);- } finally {- loading.verify = false;- }- }-</script>--<form on:submit|preventDefault={handleSubmit} class="grid grid-flow-row gap-2 py-4">- <div class="flex space-x-1 pb-5">- {#if $appSession.isAdmin}- <button- type="submit"- class="btn btn-sm"- class:loading={loading.save}- class:bg-destinations={!loading.save}- disabled={loading.save}- >{$t('forms.save')}- </button>- <button- disabled={loading.verify}- class="btn btn-sm"- class:loading={loading.verify}- on:click|preventDefault|stopPropagation={verifyRemoteDocker}- >{!destination.remoteVerified- ? 'Verify Remote Docker Engine'- : 'Check Remote Docker Engine'}</button- >- {#if destination.remoteVerified}- <button- class="btn btn-sm"- class:loading={loading.restart}- class:bg-error={!loading.restart}- disabled={loading.restart}- on:click|preventDefault={forceRestartProxy}- >{$t('destination.force_restart_proxy')}</button- >- {/if}- {/if}- </div>- <div class="grid grid-cols-2 items-center px-10 ">- <label for="name">{$t('forms.name')}</label>- <input- name="name"- class="w-full"- placeholder={$t('forms.name')}- disabled={!$appSession.isAdmin}- readonly={!$appSession.isAdmin}- bind:value={destination.name}- />- </div>- <div class="grid grid-cols-2 items-center px-10">- <label for="network">{$t('forms.network')}</label>- <CopyPasswordField- id="network"- readonly- disabled- name="network"- placeholder="{$t('forms.default')}: coolify"- value={destination.network}- />- </div>- <div class="grid grid-cols-2 items-center px-10">- <label for="remoteIpAddress">IP Address</label>- <CopyPasswordField- id="remoteIpAddress"- readonly- disabled- name="remoteIpAddress"- value={destination.remoteIpAddress}- />- </div>- <div class="grid grid-cols-2 items-center px-10">- <label for="remoteUser">User</label>- <CopyPasswordField- id="remoteUser"- readonly- disabled- name="remoteUser"- value={destination.remoteUser}- />- </div>- <div class="grid grid-cols-2 items-center px-10">- <label for="remotePort">Port</label>- <CopyPasswordField- id="remotePort"- readonly- disabled- name="remotePort"- value={destination.remotePort}- />- </div>- <div class="grid grid-cols-2 items-center px-10">- <label for="sshKey">SSH Key</label>- <a- href={!isDisabled ? `/destinations/${id}/configuration/sshkey?from=/destinations/${id}` : ''}- class="no-underline"- ><input- value={destination.sshKey.name}- readonly- id="sshKey"- class="cursor-pointer w-full"- /></a- >- </div>- <div class="grid grid-cols-2 items-center px-10">- <Setting- id="changeProxySetting"- disabled={cannotDisable || !destination.remoteVerified}- loading={loading.proxy}- bind:setting={destination.isCoolifyProxyUsed}- on:click={changeProxySetting}- title={$t('destination.use_coolify_proxy')}- description={`Install & configure a proxy (based on Traefik) on the destination to allow you to access your applications and services without any manual configuration.${- cannotDisable- ? '<span class="font-bold text-white">You cannot disable this proxy as FQDN is configured for Coolify.</span>'- : ''- }`}- />- </div>-</form>diff --git a/apps/ui/src/routes/destinations/[id]/__layout.svelte b/apps/ui/src/routes/destinations/[id]/__layout.sveltedeleted file mode 100644index 475dbc342c..0000000000--- a/apps/ui/src/routes/destinations/[id]/__layout.svelte+++ /dev/null@@ -1,116 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- function checkConfiguration(destination: any): string | null {- let configurationPhase = null;- if (!destination?.remoteEngine) return configurationPhase;- if (!destination?.sshKey) {- configurationPhase = 'sshkey';- }- return configurationPhase;- }- export const load: Load = async ({ url, params }) => {- try {- const { id } = params;- const response = await get(`/destinations/${id}`);- const { destination, settings } = response;- if (id !== 'new' && (!destination || Object.entries(destination).length === 0)) {- return {- status: 302,- redirect: '/'- };- }- const configurationPhase = checkConfiguration(destination);- if (- configurationPhase &&- url.pathname !== `/destinations/${params.id}/configuration/${configurationPhase}`- ) {- return {- status: 302,- redirect: `/destinations/${params.id}/configuration/${configurationPhase}`- };- }-- return {- props: {- destination- },- stuff: {- destination,- settings- }- };- } catch (error) {- return handlerNotFoundLoad(error, url);- }- };-</script>--<script lang="ts">- export let destination: any;-- import { del, get } from '$lib/api';- import { t } from '$lib/translations';- import { goto } from '$app/navigation';- import { page } from '$app/stores';- import { errorNotification, handlerNotFoundLoad } from '$lib/common';- import { appSession } from '$lib/store';- import DeleteIcon from '$lib/components/DeleteIcon.svelte';- import Tooltip from '$lib/components/Tooltip.svelte';-- const isDestinationDeletable =- (destination?.application.length === 0 &&- destination?.database.length === 0 &&- destination?.service.length === 0) ||- true;-- async function deleteDestination(destination: any) {- if (!isDestinationDeletable) return;- const sure = confirm($t('application.confirm_to_delete', { name: destination.name }));- if (sure) {- try {- await del(`/destinations/${destination.id}`, { id: destination.id });- return await goto('/', { replaceState: true });- } catch (error) {- return errorNotification(error);- }- }- }- function deletable() {- if (!isDestinationDeletable) {- return 'Please delete all resources before deleting this.';- }- if ($appSession.isAdmin) {- return $t('destination.delete_destination');- } else {- return $t('destination.permission_denied_delete_destination');- }- }-</script>--{#if $page.params.id !== 'new'}- <nav class="header lg:flex-row flex-col-reverse">- <div class="flex flex-row space-x-2 font-bold pt-10 lg:pt-0">- <div class="flex flex-col items-center justify-center title">- {#if $page.url.pathname === `/destinations/${$page.params.id}`}- Configurations- {:else if $page.url.pathname.startsWith(`/destinations/${$page.params.id}/configuration/sshkey`)}- Select a SSH Key- {/if}- </div>- </div>- <div class="lg:block hidden flex-1" />- <div class="flex flex-row flex-wrap space-x-3 justify-center lg:justify-start lg:py-0">- <button- id="delete"- on:click={() => deleteDestination(destination)}- type="submit"- disabled={!$appSession.isAdmin && isDestinationDeletable}- class:hover:text-red-500={$appSession.isAdmin && isDestinationDeletable}- class="icons bg-transparent text-sm"- class:text-stone-600={!isDestinationDeletable}><DeleteIcon /></button- >- <Tooltip triggeredBy="#delete">{deletable()}</Tooltip>- </div>- </nav>-{/if}-<slot />diff --git a/apps/ui/src/routes/destinations/[id]/configuration/sshkey.svelte b/apps/ui/src/routes/destinations/[id]/configuration/sshkey.sveltedeleted file mode 100644index a21c7534de..0000000000--- a/apps/ui/src/routes/destinations/[id]/configuration/sshkey.svelte+++ /dev/null@@ -1,79 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, url, stuff }) => {- try {- const response = await get(`/settings`);- return {- props: {- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- import { page } from '$app/stores';- import { goto } from '$app/navigation';- import { get, post } from '$lib/api';- import { errorNotification } from '$lib/common';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');-- export let sshKeys: any;-- async function handleSubmit(sshKeyId: string) {- try {- await post(`/destinations/${id}/configuration/sshKey`, { id: sshKeyId });- return await goto(from || `/destinations/${id}`);- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="flex flex-col justify-center">- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row ">- {#if sshKeys.length > 0}- {#each sshKeys as sshKey}- <div class="p-2 relative">- <form on:submit|preventDefault={() => handleSubmit(sshKey.id)}>- <button- type="submit"- class="disabled:opacity-95 bg-coolgray-200 disabled:text-white box-selection hover:bg-orange-700 group"- >- <div class="font-bold text-xl text-center truncate">{sshKey.name}</div>- </button>- </form>- </div>- {/each}- {:else}- <div class="flex-col">- <div class="pb-2 text-center font-bold">No SSH key found</div>- <div class="flex justify-center">- <a href="/settings/ssh" class="add-icon bg-sky-600 hover:bg-sky-500">- <svg- class="w-6"- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"- /></svg- >- </a>- </div>- </div>- {/if}- </div>-</div>diff --git a/apps/ui/src/routes/destinations/[id]/index.svelte b/apps/ui/src/routes/destinations/[id]/index.sveltedeleted file mode 100644index 52bdccb6f0..0000000000--- a/apps/ui/src/routes/destinations/[id]/index.svelte+++ /dev/null@@ -1,24 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, stuff }) => {- return {- props: { ...stuff }- };- };-</script>--<script lang="ts">- export let destination: any;- export let settings: any;- export let state: any;- import { page } from '$app/stores';- import New from './_New.svelte';- import Destination from './_Destination.svelte';- const { id } = $page.params;-</script>--{#if id === 'new'}- <New />-{:else}- <Destination bind:destination bind:state bind:settings />-{/if}diff --git a/apps/ui/src/routes/destinations/_index.svelte b/apps/ui/src/routes/destinations/_index.sveltedeleted file mode 100644index 8885787c87..0000000000--- a/apps/ui/src/routes/destinations/_index.svelte+++ /dev/null@@ -1,188 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async () => {- try {- const response = await get(`/destinations`);- return {- props: {- ...response- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let destinations: any[];-- import { t } from '$lib/translations';- import { appSession } from '$lib/store';- import { get, post } from '$lib/api';-- const ownDestinations = destinations.filter((destination) => {- if (destination.teams[0].id === $appSession.teamId) {- return destination;- }- });- const otherDestinations = destinations.filter((destination) => {- if (destination.teams[0].id !== $appSession.teamId) {- return destination;- }- });-</script>--<nav class="header">- <h1 class="mr-4 text-2xl font-bold">{$t('index.destinations')}</h1>- {#if $appSession.isAdmin}- <a href="/destinations/new" class="btn btn-square btn-sm bg-destinations">- <svg- class="h-6 w-6"- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"- /></svg- >- </a>- {/if}-</nav>-<br />-<div class="flex-col justify-center mt-10 pb-12 sm:pb-16 lg:pt-16">- {#if !destinations || ownDestinations.length === 0}- <div class="flex-col">- <div class="text-center text-xl font-bold">{$t('destination.no_destination_found')}</div>- </div>- {/if}- {#if ownDestinations.length > 0 || otherDestinations.length > 0}- <div class="flex flex-col">- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each ownDestinations as destination}- <a href="/destinations/{destination.id}" class="p-2 no-underline relative">- <div class="box-selection hover:bg-sky-600 ">- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-0 -m-4 h-12 w-12 text-sky-500"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"- />- <path d="M5 10h3v3h-3z" />- <path d="M8 10h3v3h-3z" />- <path d="M11 10h3v3h-3z" />- <path d="M8 7h3v3h-3z" />- <path d="M11 7h3v3h-3z" />- <path d="M11 4h3v3h-3z" />- <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />- <line x1="10" y1="16" x2="10" y2="16.01" />- </svg>- {#if destination.remoteEngine}- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-9 -m-4 h-6 w-6 text-sky-500 rotate-45"- viewBox="0 0 24 24"- stroke-width="3"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="12" y1="18" x2="12.01" y2="18" />- <path d="M9.172 15.172a4 4 0 0 1 5.656 0" />- <path d="M6.343 12.343a8 8 0 0 1 11.314 0" />- <path d="M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0" />- </svg>- {/if}- <div class="truncate text-center text-xl font-bold">{destination.name}</div>- {#if $appSession.teamId === '0' && otherDestinations.length > 0}- <div class="truncate text-center">{destination.teams[0].name}</div>- {/if}- <div class="truncate text-center">{destination.network}</div>- {#if $appSession.teamId === '0' && destination.remoteVerified === false && destination.remoteEngine}- <div class="truncate text-center text-sm text-red-500">Not verified yet</div>- {/if}- {#if destination.remoteEngine && !destination.sshKeyId}- <div class="truncate text-center text-sm text-red-500">SSH Key missing!</div>- {/if}- </div>- </a>- {/each}- </div>-- {#if otherDestinations.length > 0 && $appSession.teamId === '0'}- <div class="px-6 pb-5 pt-10 text-2xl font-bold text-center">Other Destinations</div>- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each otherDestinations as destination}- <a href="/destinations/{destination.id}" class="p-2 no-underline relative">- <div class="box-selection hover:bg-sky-600">- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-0 -m-4 h-12 w-12 text-sky-500"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"- />- <path d="M5 10h3v3h-3z" />- <path d="M8 10h3v3h-3z" />- <path d="M11 10h3v3h-3z" />- <path d="M8 7h3v3h-3z" />- <path d="M11 7h3v3h-3z" />- <path d="M11 4h3v3h-3z" />- <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />- <line x1="10" y1="16" x2="10" y2="16.01" />- </svg>- {#if destination.remoteEngine}- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-9 -m-4 h-6 w-6 text-sky-500 rotate-45"- viewBox="0 0 24 24"- stroke-width="3"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="12" y1="18" x2="12.01" y2="18" />- <path d="M9.172 15.172a4 4 0 0 1 5.656 0" />- <path d="M6.343 12.343a8 8 0 0 1 11.314 0" />- <path d="M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0" />- </svg>- {/if}- <div class="truncate text-center text-xl font-bold">{destination.name}</div>- {#if $appSession.teamId === '0'}- <div class="truncate text-center">{destination.teams[0].name}</div>- {/if}- <div class="truncate text-center">{destination.network}</div>- </div>- </a>- {/each}- </div>- {/if}- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/destinations/index.svelte b/apps/ui/src/routes/destinations/index.sveltedeleted file mode 100644index 8136f76e8c..0000000000--- a/apps/ui/src/routes/destinations/index.svelte+++ /dev/null@@ -1,4 +0,0 @@-<script lang="ts">- import { goto } from '$app/navigation';- goto('/');-</script>diff --git a/apps/ui/src/routes/iam/_Account.svelte b/apps/ui/src/routes/iam/_Account.sveltedeleted file mode 100644index 952b5358b2..0000000000--- a/apps/ui/src/routes/iam/_Account.svelte+++ /dev/null@@ -1,64 +0,0 @@-<script lang="ts">- export let account: any;- export let accounts: any = [];- import { del, get, post } from '$lib/api';- import { errorNotification } from '$lib/common';- import { addToast, appSession } from '$lib/store';- async function resetPassword(id: any) {- const sure = window.confirm('Are you sure you want to reset the password?');- if (!sure) {- return;- }- try {- await post(`/iam/user/password`, { id });- return addToast({- message: 'Password reset successfully. Please relogin to reset it.',- type: 'success'- });- } catch (error) {- return errorNotification(error);- }- }- async function deleteAccount(id: any) {- if (id === $appSession.userId || account.id === '0') return;- const sure = window.confirm('Are you sure you want to delete this user?');- if (!sure) {- return;- }- try {- await del(`/iam/user/remove`, { id });- addToast({- message: 'Account deleted.',- type: 'success'- });- const data = await get('/iam');- accounts = data.accounts;- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="flex flex-col lg:flex-row lg:space-y-0 space-y-2 lg:space-x-4">- <input- disabled- class="input w-full text-white"- readonly- placeholder="email"- value={account.email}- />- <div class="flex flex-row items-center justify-center space-x-2 w-full lg:w-96">- <div class="flex items-center justify-center">- <button class="btn btn-sm btn-primary" on:click={() => resetPassword(account.id)}- >Reset Password</button- >- </div>- <div class="flex justify-center">- <button- class="btn btn-sm btn-error"- disabled={account.id === $appSession.userId || account.id === '0'}- on:click={() => deleteAccount(account.id)}>Delete Account</button- >- </div>- </div>-</div>diff --git a/apps/ui/src/routes/iam/_Menu.svelte b/apps/ui/src/routes/iam/_Menu.sveltedeleted file mode 100644index ad60ef3435..0000000000--- a/apps/ui/src/routes/iam/_Menu.svelte+++ /dev/null@@ -1,73 +0,0 @@-<script lang="ts">- import { appSession } from '$lib/store';- import { page } from '$app/stores';-</script>--<ul class="menu border bg-coolgray-100 border-coolgray-200 rounded p-2 space-y-2 sticky top-4">- {#if $appSession.pendingInvitations.length > 0}- <li class="menu-title">- <span>IAM</span>- </li>- <li class="rounded" class:bg-coollabs={$page.url.pathname === `/iam/pending`}>- <a href={`/iam/pending`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M10 21v-6.5a3.5 3.5 0 0 0 -7 0v6.5h18v-6a4 4 0 0 0 -4 -4h-10.5" />- <path d="M12 11v-8h4l2 2l-2 2h-4" />- <path d="M6 15h1" />- </svg>Pending Invitations</a- >- </li>- {/if}- <li class="menu-title">- <span>IAM</span>- </li>-- <li class="rounded" class:bg-coollabs={$page.url.pathname === `/iam`}>- <a href={`/iam`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="7" r="4" />- <path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />- </svg>{$appSession.userId === '0' && $appSession.teamId === '0' ? 'Accounts' : 'Account'}</a- >- </li>- <li class="rounded" class:bg-coollabs={$page.url.pathname.startsWith(`/iam/teams`)}>- <a href={`/iam/teams`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="9" cy="7" r="4" />- <path d="M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />- <path d="M16 3.13a4 4 0 0 1 0 7.75" />- <path d="M21 21v-2a4 4 0 0 0 -3 -3.85" />- </svg>Teams</a- >- </li>-</ul>diff --git a/apps/ui/src/routes/iam/__layout.svelte b/apps/ui/src/routes/iam/__layout.sveltedeleted file mode 100644index 0e9e36cbba..0000000000--- a/apps/ui/src/routes/iam/__layout.svelte+++ /dev/null@@ -1,20 +0,0 @@-<script lang="ts">- import { page } from '$app/stores';- import { goto } from '$app/navigation';- import { appSession } from '$lib/store';- import Menu from './_Menu.svelte';-</script>--<div class="mx-auto max-w-screen-2xl px-6 grid grid-cols-1 lg:grid-cols-2">- <nav class="header flex flex-row order-2 lg:order-1 px-0 lg:px-4 items-start">- <div class="title lg:pb-10">Identity & Access Management</div>- </nav>-</div>-<div class="mx-auto max-w-screen-2xl px-0 lg:px-2 grid grid-cols-1 lg:grid-cols-4">- <nav class="header flex flex-col lg:pt-0 lg:col-span-1">- <Menu />- </nav>- <div class="pt-0 lg:col-span-3 pb-24 px-6">- <slot />- </div>-</div>diff --git a/apps/ui/src/routes/iam/index.svelte b/apps/ui/src/routes/iam/index.sveltedeleted file mode 100644index 581ba70443..0000000000--- a/apps/ui/src/routes/iam/index.svelte+++ /dev/null@@ -1,73 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async () => {- try {- const response = await get(`/iam`);- return {- props: {- ...response- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let account: any;- export let accounts: any;-- import { appSession } from '$lib/store';- import { get, post } from '$lib/api';- import { goto } from '$app/navigation';- import { page } from '$app/stores';- import Account from './_Account.svelte';- let search = '';- let searchResults: any = [];-- function searchAccount() {- searchResults = accounts.filter((account: { email: string | string[] }) => {- return account.email.includes(search);- });- }-</script>--<div class="w-full">- <div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2 items-center">- <div class="title font-bold pb-3">- {$appSession.userId === '0' && $appSession.teamId === '0' ? 'Accounts' : 'Your account'}- </div>- </div>- </div>-</div>--{#if $appSession.userId === '0' && $appSession.teamId === '0'}- <div class="w-full grid gap-2">- <input- class="input w-full mb-4"- bind:value={search}- on:input={searchAccount}- placeholder="Search for account..."- />- <div class="flex flex-col pb-2 space-y-4 lg:space-y-2">- {#if searchResults.length > 0}- {#each searchResults as account}- <Account {account} {accounts} />- {/each}- {:else if searchResults.length === 0 && search !== ''}- <div>Nothing found.</div>- {:else}- {#each accounts as account}- <Account {account} {accounts} />- {/each}- {/if}- </div>- </div>-{:else}- <Account {account} />-{/if}diff --git a/apps/ui/src/routes/iam/pending.svelte b/apps/ui/src/routes/iam/pending.sveltedeleted file mode 100644index 52c8dbf17a..0000000000--- a/apps/ui/src/routes/iam/pending.svelte+++ /dev/null@@ -1,55 +0,0 @@-<script lang="ts">- import { goto } from '$app/navigation';- import { post } from '$lib/api';- import { errorNotification } from '$lib/common';- import { appSession } from '$lib/store';- if ($appSession.pendingInvitations.length === 0) {- goto('/iam/teams');- }- async function acceptInvitation(id: any, teamId: any) {- try {- await post(`/iam/team/${teamId}/invitation/accept`, { id });- return window.location.reload();- } catch (error) {- return errorNotification(error);- }- }- async function revokeInvitation(id: any, teamId: any) {- try {- await post(`/iam/team/${teamId}/invitation/revoke`, { id });- return window.location.reload();- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="w-full">- <div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2 items-center">- <div class="title font-bold pb-3">Pending Invitations</div>- </div>- </div>-</div>--<div class="w-full grid gap-2">- <div class="flex flex-col pb-2 space-y-4 lg:space-y-2">- {#each $appSession.pendingInvitations as invitation}- <div class="flex flex-col justify-center items-center">- <div class="text-xl pb-4 text-center">- Invited to <span class="font-bold text-pink-500">{invitation.teamName}</span> with- <span class="font-bold text-red-500">{invitation.permission}</span> permission.- </div>- <div class=" flex space-x-2">- <button- class="btn btn-primary"- on:click={() => acceptInvitation(invitation.id, invitation.teamId)}>Accept</button- >- <button class="btn" on:click={() => revokeInvitation(invitation.id, invitation.teamId)}- >Ignore</button- >- </div>- </div>- {/each}- </div>-</div>diff --git a/apps/ui/src/routes/iam/teams.svelte b/apps/ui/src/routes/iam/teams.sveltedeleted file mode 100644index 1a8d96f00e..0000000000--- a/apps/ui/src/routes/iam/teams.svelte+++ /dev/null@@ -1,108 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async () => {- try {- const response = await get(`/iam/teams`);- return {- props: {- ...response- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let allTeams: any;- export let ownTeams: any;- import { get, post } from '$lib/api';- import Cookies from 'js-cookie';- import { appSession } from '$lib/store';- import { errorNotification } from '$lib/common';- import { goto } from '$app/navigation';-- async function switchTeam(selectedTeamId: any) {- try {- const payload = await get(`/user?teamId=${selectedTeamId}`);- if (payload.token) {- Cookies.set('token', payload.token, {- path: '/'- });- $appSession.teamId = payload.teamId;- $appSession.userId = payload.userId;- $appSession.permission = payload.permission;- $appSession.isAdmin = payload.isAdmin;- return window.location.reload();- }- } catch (error) {- console.error(error);- return errorNotification(error);- }- }- async function newTeam() {- const { id } = await post('/iam/new', {});- return await goto(`/iam/teams/${id}`, { replaceState: true });- }-</script>--<div class="w-full">- <div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2 items-center pb-3">- <div class="title font-bold">Teams</div>- <button on:click={newTeam} class="btn btn-sm btn-primary"> Add New Team </button>- </div>- </div>-</div>-<div class="grid grid-col gap-4 auto-cols-max grid-cols-1 md:grid-cols-2 lg:grid-cols-2 px-6">- {#each ownTeams as team}- <a href="/iam/teams/{team.id}" class="p-2 no-underline">- <div- class="flex flex-col w-full rounded p-5 bg-coolgray-200 hover:bg-coolgray-300 indicator duration-150 h-36"- >- <div>- <div class="truncate text-center text-xl font-bold">- {team.name}- {#if $appSession.teamId === team.id}- <button class="badge bg-applications text-white font-bold rounded">Active Team</button- >- {/if}- </div>- <div class="mt-1 text-center text-xs">- {team.permissions?.length} member(s)- </div>- </div>- <div class="flex items-center justify-center pt-3">- {#if $appSession.teamId !== team.id}- <button- on:click|preventDefault={() => switchTeam(team.id)}- class="btn btn-sm btn-primary">Switch to this team</button- >- {/if}- </div>- </div>- </a>- {/each}-</div>-<div class="divider w-32 mx-auto" />-<div class="grid grid-col gap-4 auto-cols-max grid-cols-1 md:grid-cols-2 lg:grid-cols-3 px-6">- {#if $appSession.teamId === '0' && allTeams.length > 0}- {#each allTeams as team}- <a href="/iam/teams/{team.id}" class="p-2 no-underline">- <div- class="flex flex-col w-full rounded p-5 bg-coolgray-200 hover:bg-coolgray-300 indicator duration-150 relative"- >- <div class="truncate text-center text-xl font-bold">- {team.name}- </div>-- <div class="mt-1 text-center text-xs">{team.permissions?.length} member(s)</div>- </div>- </a>- {/each}- {/if}-</div>diff --git a/apps/ui/src/routes/iam/teams/[id]/__layout.svelte b/apps/ui/src/routes/iam/teams/[id]/__layout.sveltedeleted file mode 100644index bd2264005e..0000000000--- a/apps/ui/src/routes/iam/teams/[id]/__layout.svelte+++ /dev/null@@ -1,31 +0,0 @@-<script context="module" lang="ts">- import { del, get } from '$lib/api';- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ params, url }) => {- try {- const response = await get(`/iam/team/${params.id}`);- if (!response.permissions || Object.entries(response.permissions).length === 0) {- return {- status: 302,- redirect: '/iam/teams'- };- }- return {- props: {- ...response- },- stuff: {- ...response- }- };- } catch (error) {- return handlerNotFoundLoad(error, url);- }- };-</script>--<script lang="ts">- import { handlerNotFoundLoad } from '$lib/common';-</script>--<slot />diff --git a/apps/ui/src/routes/iam/teams/[id]/index.svelte b/apps/ui/src/routes/iam/teams/[id]/index.sveltedeleted file mode 100644index 43f4c236bf..0000000000--- a/apps/ui/src/routes/iam/teams/[id]/index.svelte+++ /dev/null@@ -1,304 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, stuff }) => {- return {- props: { ...stuff }- };- };-</script>--<script lang="ts">- export let currentTeam: string;- export let teams: any[];- export let permissions: any;- export let team: any;- export let invitations: any[];-- import { page } from '$app/stores';- import SimpleExplainer from '$lib/components/SimpleExplainer.svelte';- import { del, get, post } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import { addToast, appSession } from '$lib/store';- import Explainer from '$lib/components/Explainer.svelte';- import Cookies from 'js-cookie';- import { goto } from '$app/navigation';- const { id } = $page.params;-- let invitation: any = {- teamName: team.name,- email: null,- permission: 'read'- };- function isAdmin(permission: string) {- if (permission === 'admin' || permission === 'owner') {- return true;- }-- return false;- }-- async function sendInvitation() {- try {- await post(`/iam/team/${id}/invitation/invite`, {- teamId: team.id,- teamName: invitation.teamName,- email: invitation.email.toLowerCase(),- permission: invitation.permission- });- return window.location.reload();- } catch (error) {- return errorNotification(error);- }- }- async function revokeInvitation(id: string) {- try {- await post(`/iam/team/${id}/invitation/revoke`, { id });- return window.location.reload();- } catch (error) {- return errorNotification(error);- }- }- async function removeFromTeam(uid: string) {- try {- await post(`/iam/team/${id}/user/remove`, { uid });- return window.location.reload();- } catch (error) {- return errorNotification(error);- }- }- async function changePermission(userId: string, permissionId: string, currentPermission: string) {- let newPermission = 'read';- if (currentPermission === 'read') {- newPermission = 'admin';- }- try {- await post(`/iam/team/${id}/permission`, { userId, newPermission, permissionId });- return window.location.reload();- } catch (error) {- return errorNotification(error);- }- }- async function handleSubmit() {- try {- await post(`/iam/team/${id}`, { ...team });- return addToast({- message: 'Settings updated.',- type: 'success'- });- } catch (error) {- return errorNotification(error);- }- }- async function deleteTeam() {- const sure = confirm('Are you sure you want to delete this team?');- if (sure) {- try {- const switchTeam = teams.find((team: any) => team.id !== id);- if (!switchTeam) {- return addToast({- message: 'You cannot delete your last team.',- type: 'error'- });- }- await del(`/iam/team/${id}`, { id });- if (currentTeam === id) {- const payload = await get(`/user?teamId=${switchTeam.id}`);- if (payload.token) {- Cookies.set('token', payload.token, {- path: '/'- });- $appSession.teamId = payload.teamId;- $appSession.userId = payload.userId;- $appSession.permission = payload.permission;- $appSession.isAdmin = payload.isAdmin;- return window.location.assign('/iam');- }- }- return await goto('/iam/teams', { replaceState: true });- } catch (error) {- return errorNotification(error);- }- }- }- async function leaveTeam(uid: string) {- const sure = confirm('Are you sure you want to leave this team?');- if (sure) {- try {- const switchTeam = teams.find((team: any) => team.id !== id);- const foundAdmin = team.permissions.filter(- (permission: any) => permission.userId !== uid && permission.permission === 'admin'- );- if (!switchTeam) {- return addToast({- message: 'You cannot leave your last team.',- type: 'error'- });- }- if (!foundAdmin.length) {- return addToast({- message: 'You cannot leave this team without an admin.',- type: 'error'- });- }- await post(`/iam/team/${id}/user/remove`, { uid });- if (currentTeam === id) {- const payload = await get(`/user?teamId=${switchTeam.id}`);- if (payload.token) {- Cookies.set('token', payload.token, {- path: '/'- });- $appSession.teamId = payload.teamId;- $appSession.userId = payload.userId;- $appSession.permission = payload.permission;- $appSession.isAdmin = payload.isAdmin;- return window.location.assign('/iam');- }- }- return await goto('/iam/teams', { replaceState: true });- } catch (error) {- return errorNotification(error);- }- }- }-</script>--<div class="w-full">- <div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2 items-center pb-3">- <div class="title font-bold">{team.name}</div>-- <button class="btn btn-sm bg-primary" on:click={handleSubmit}>{$t('forms.save')}</button>- <button- id="delete"- on:click={deleteTeam}- type="submit"- disabled={!$appSession.isAdmin}- class="btn btn-sm bg-error">Remove Team</button- >- </div>- </div>-</div>--<div class="mx-auto">- <div class="flex space-x-1 pb-5">- <div class="title font-bold">{$t('index.settings')}</div>- </div>- <div class="grid grid-flow-row gap-2 px-4">- <div class="mt-2 grid grid-cols-2">- <div class="flex-col">- <label for="name">{$t('forms.name')}</label>- {#if team.id === '0'}- <Explainer explanation={$t('team.root_team_explainer')} />- {/if}- </div>- <input id="name" name="name" placeholder="name" bind:value={team.name} class="input w-full" />- </div>- </div>-- <div class="flex space-x-1 py-5 pt-10 font-bold">- <div class="title">{$t('team.members')}</div>- </div>- <div class="px-4">- <table class="w-full border-separate text-left">- <thead>- <tr class="h-8 border-b border-coolgray-400">- <th scope="col">{$t('forms.email')}</th>- <th scope="col">{$t('team.permission')}</th>- <th scope="col" class="text-center">{$t('forms.action')}</th>- </tr>- </thead>- {#each permissions as permission}- <tr class="text-xs">- <td class="py-4"- >{permission.user.email}- {#if permission.user.id === $appSession.userId}- <span class="font-bold badge badge-primary text-xs">{$t('team.you')}</span>- {/if}- </td>- <td class="py-4">{permission.permission}</td>- {#if $appSession.isAdmin && permission.user.id !== $appSession.userId && permission.permission !== 'owner'}- <td- class="flex flex-col lg:flex-row justify-center lg:space-y-0 space-y-2 space-x-0 lg:space-x-2 text-center"- >- <button- class="btn btn-sm"- on:click={() =>- changePermission(permission.user.id, permission.id, permission.permission)}- >{$t('team.promote_to', {- grade: permission.permission === 'admin' ? 'Read' : 'Admin'- })}</button- >- <button- class="btn btn-sm btn-error"- on:click={() => removeFromTeam(permission.user.id)}>{$t('forms.remove')}</button- >- </td>- {:else if permission.user.id === $appSession.userId}- <td class="py-4 flex flex-row justify-center">- <button class="btn btn-sm btn-primary" on:click={() => leaveTeam(permission.user.id)}- >Leave Team</button- >- </td>- {:else}- <td class="text-center py-4 flex-col space-y-2">- {$t('forms.no_actions_available')}- </td>- {/if}- </tr>- {/each}-- {#each invitations as invitation}- <tr class="text-xs">- <td class="py-4 font-bold text-yellow-500">{invitation.email} </td>- <td class="py-4 font-bold text-yellow-500">{invitation.permission}</td>- {#if isAdmin(team.permissions[0].permission)}- <td class="flex-col space-y-2 py-4 text-center">- <button class="btn btn-sm btn-error" on:click={() => revokeInvitation(invitation.id)}- >{$t('team.revoke_invitation')}</button- >- </td>- {:else}- <td class="text-center py-4 flex-col space-y-2">{$t('team.pending_invitation')}</td>- {/if}- </tr>- {/each}- </table>- </div>- {#if $appSession.isAdmin}- <form on:submit|preventDefault={sendInvitation} class="py-5 pt-10">- <div class="flex space-x-1">- <div class="flex space-x-1">- <div class="title font-bold">{$t('team.invite_new_member')}</div>- <button class="btn btn-sm bg-primary" type="submit">{$t('team.send_invitation')}</button>- </div>- </div>- <SimpleExplainer text={$t('team.invite_only_register_explainer')} />- <div class="flex-col pt-5">- <div class="flex space-x-0">- <input- bind:value={invitation.email}- placeholder={$t('forms.email')}- class="input mr-2 w-full"- required- />- <div class="flex-1" />- <button- on:click={() => (invitation.permission = 'read')}- class="px-2 rounded-none rounded-l border border-dashed border-transparent"- type="button"- class:border-coolgray-300={invitation.permission !== 'read'}- class:bg-fuchsia-500={invitation.permission === 'read'}>{$t('team.read')}</button- >- <button- on:click={() => (invitation.permission = 'admin')}- class="px-2 rounded-none rounded-r border border-dashed border-transparent"- type="button"- class:border-coolgray-300={invitation.permission !== 'admin'}- class:bg-red-500={invitation.permission === 'admin'}>{$t('team.admin')}</button- >- </div>- </div>- </form>- {/if}-</div>diff --git a/apps/ui/src/routes/index.svelte b/apps/ui/src/routes/index.sveltedeleted file mode 100644index 3c47041e21..0000000000--- a/apps/ui/src/routes/index.svelte+++ /dev/null@@ -1,1682 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';-- export const load: Load = async ({}) => {- try {- const data = await get('/resources');- return {- props: {- ...data- },- stuff: {- ...data- }- };- } catch (error) {- console.log(error);- return {};- }- };-</script>--<script lang="ts">- export let applications: any;- export let foundUnconfiguredApplication: boolean;- export let foundUnconfiguredService: boolean;- export let foundUnconfiguredDatabase: boolean;- export let databases: any;- export let services: any;- export let settings: any;- export let gitSources: any;- export let destinations: any;-- let filtered: any = setInitials();- import { del, get, post } from '$lib/api';- import { t } from '$lib/translations';- import { asyncSleep, errorNotification, getRndInteger } from '$lib/common';- import { appSession, search } from '$lib/store';-- import ApplicationsIcons from '$lib/components/svg/applications/ApplicationIcons.svelte';- import DatabaseIcons from '$lib/components/svg/databases/DatabaseIcons.svelte';- import ServiceIcons from '$lib/components/svg/services/ServiceIcons.svelte';- import { dev } from '$app/env';- import NewResource from './_NewResource.svelte';- import { onMount } from 'svelte';- import DeleteIcon from '$lib/components/DeleteIcon.svelte';-- let numberOfGetStatus = 0;- let status: any = {};- let noInitialStatus: any = {- applications: false,- services: false,- databases: false- };- let loading = {- applications: false,- services: false,- databases: false- };- let searchInput: HTMLInputElement;- doSearch();- onMount(() => {- setTimeout(() => {- searchInput.focus();- }, 100);- });- async function refreshStatusApplications() {- noInitialStatus.applications = false;- numberOfGetStatus = 0;- for (const application of applications) {- status[application.id] = 'loading';- getStatus(application, true);- }- }- async function refreshStatusServices() {- noInitialStatus.services = false;- numberOfGetStatus = 0;- for (const service of services) {- status[service.id] = 'loading';- getStatus(service, true);- }- }- async function refreshStatusDatabases() {- noInitialStatus.databases = false;- numberOfGetStatus = 0;- for (const database of databases) {- status[database.id] = 'loading';- getStatus(database, true);- }- }- function setInitials(onlyOthers: boolean = false) {- return {- applications:- !onlyOthers &&- applications.filter(- (application: any) =>- application?.teams.length > 0 && application.teams[0].id === $appSession.teamId- ),- otherApplications: applications.filter(- (application: any) =>- application?.teams.length > 0 && application.teams[0].id !== $appSession.teamId- ),- databases:- !onlyOthers &&- databases.filter(- (database: any) =>- database?.teams.length > 0 && database.teams[0].id === $appSession.teamId- ),- otherDatabases: databases.filter(- (database: any) => database?.teams.length > 0 && database.teams[0].id !== $appSession.teamId- ),- services:- !onlyOthers &&- services.filter(- (service: any) => service?.teams.length > 0 && service.teams[0].id === $appSession.teamId- ),- otherServices: services.filter(- (service: any) => service?.teams.length > 0 && service.teams[0].id !== $appSession.teamId- ),- gitSources:- !onlyOthers &&- gitSources.filter(- (gitSource: any) =>- gitSource?.teams.length > 0 && gitSource.teams[0].id === $appSession.teamId- ),- otherGitSources: gitSources.filter(- (gitSource: any) =>- gitSource?.teams.length > 0 && gitSource.teams[0].id !== $appSession.teamId- ),- destinations:- !onlyOthers &&- destinations.filter(- (destination: any) =>- destination?.teams.length > 0 && destination.teams[0].id === $appSession.teamId- ),- otherDestinations: destinations.filter(- (destination: any) =>- destination?.teams.length > 0 && destination.teams[0].id !== $appSession.teamId- )- };- }- function clearFiltered() {- filtered.applications = [];- filtered.otherApplications = [];- filtered.databases = [];- filtered.otherDatabases = [];- filtered.services = [];- filtered.otherServices = [];- filtered.gitSources = [];- filtered.otherGitSources = [];- filtered.destinations = [];- filtered.otherDestinations = [];- }-- async function getStatus(resources: any, force: boolean = false) {- const { id, buildPack, dualCerts, type, simpleDockerfile } = resources;- if (buildPack && applications.length + filtered.otherApplications.length > 10 && !force) {- noInitialStatus.applications = true;- return;- }- if (type && services.length + filtered.otherServices.length > 10 && !force) {- noInitialStatus.services = true;- return;- }- if (databases.length + filtered.otherDatabases.length > 10 && !force) {- noInitialStatus.databases = true;- return;- }- if (status[id] && !force) return status[id];- while (numberOfGetStatus > 1) {- await asyncSleep(getRndInteger(100, 500));- }- try {- numberOfGetStatus++;- let isRunning = false;- let isDegraded = false;- if (buildPack || simpleDockerfile) {- const response = await get(`/applications/${id}/status`);- if (response.length === 0) {- isRunning = false;- } else if (response.length === 1) {- isRunning = response[0].status.isRunning;- } else {- let overallStatus = false;- for (const oneStatus of response) {- if (oneStatus.status.isRunning) {- overallStatus = true;- } else {- isDegraded = true;- break;- }- }- if (overallStatus) {- isRunning = true;- } else {- isRunning = false;- }- }- } else if (typeof dualCerts !== 'undefined') {- const response = await get(`/services/${id}/status`);- if (Object.keys(response).length === 0) {- isRunning = false;- } else {- let overallStatus = false;- for (const oneStatus of Object.keys(response)) {- if (response[oneStatus].status.isRunning) {- overallStatus = true;- } else {- isDegraded = true;- break;- }- }- if (overallStatus) {- isRunning = true;- } else {- isRunning = false;- }- }- } else {- const response = await get(`/databases/${id}/status`);- isRunning = response.isRunning;- }-- if (isRunning) {- status[id] = 'running';- return 'running';- } else if (isDegraded) {- status[id] = 'degraded';- return 'degraded';- } else {- status[id] = 'stopped';- return 'stopped';- }- } catch (error) {- status[id] = 'error';- return 'error';- } finally {- status = { ...status };- numberOfGetStatus--;- }- }- function filterState(state: string) {- clearFiltered();- filtered.applications = applications.filter((application: any) => {- if (status[application.id] === state && application.teams[0].id === $appSession.teamId)- return application;- });- filtered.otherApplications = applications.filter((application: any) => {- if (status[application.id] === state && application.teams[0].id !== $appSession.teamId)- return application;- });- filtered.databases = databases.filter((database: any) => {- if (status[database.id] === state && database.teams[0].id === $appSession.teamId)- return database;- });- filtered.otherDatabases = databases.filter((database: any) => {- if (status[database.id] === state && database.teams[0].id !== $appSession.teamId)- return database;- });- filtered.services = services.filter((service: any) => {- if (status[service.id] === state && service.teams[0].id === $appSession.teamId)- return service;- });- filtered.otherServices = services.filter((service: any) => {- if (status[service.id] === state && service.teams[0].id !== $appSession.teamId)- return service;- });- }- function filterSpecific(type: any) {- clearFiltered();- const otherType = 'other' + type[0].toUpperCase() + type.substring(1);- filtered[type] = eval(type).filter(- (resource: any) => resource.teams[0].id === $appSession.teamId- );- filtered[otherType] = eval(type).filter(- (resource: any) => resource.teams[0].id !== $appSession.teamId- );- }- function applicationFilters(application: any) {- return (- (application.id && application.id.toLowerCase().includes($search.toLowerCase())) ||- (application.name && application.name.toLowerCase().includes($search.toLowerCase())) ||- (application.fqdn && application.fqdn.toLowerCase().includes($search.toLowerCase())) ||- (application.dockerComposeConfiguration &&- application.dockerComposeConfiguration.toLowerCase().includes($search.toLowerCase())) ||- (application.repository &&- application.repository.toLowerCase().includes($search.toLowerCase())) ||- (application.buildpack &&- application.buildpack.toLowerCase().includes($search.toLowerCase())) ||- (application.branch && application.branch.toLowerCase().includes($search.toLowerCase())) ||- (application.destinationDockerId &&- application.destinationDocker.name.toLowerCase().includes($search.toLowerCase())) ||- ('bot'.includes($search) && application.settings.isBot)- );- }- function databaseFilters(database: any) {- return (- (database.id && database.id.toLowerCase().includes($search.toLowerCase())) ||- (database.name && database.name.toLowerCase().includes($search.toLowerCase())) ||- (database.type && database.type.toLowerCase().includes($search.toLowerCase())) ||- (database.version && database.version.toLowerCase().includes($search.toLowerCase())) ||- (database.destinationDockerId &&- database.destinationDocker.name.toLowerCase().includes($search.toLowerCase()))- );- }- function serviceFilters(service: any) {- return (- (service.id && service.id.toLowerCase().includes($search.toLowerCase())) ||- (service.name && service.name.toLowerCase().includes($search.toLowerCase())) ||- (service.type && service.type.toLowerCase().includes($search.toLowerCase())) ||- (service.fqdn && service.fqdn.toLowerCase().includes($search.toLowerCase())) ||- (service.version && service.version.toLowerCase().includes($search.toLowerCase())) ||- (service.destinationDockerId &&- service.destinationDocker.name.toLowerCase().includes($search.toLowerCase()))- );- }- function gitSourceFilters(source: any) {- return (- (source.id && source.id.toLowerCase().includes($search.toLowerCase())) ||- (source.name && source.name.toLowerCase().includes($search.toLowerCase())) ||- (source.type && source.type.toLowerCase().includes($search.toLowerCase())) ||- (source.htmlUrl && source.htmlUrl.toLowerCase().includes($search.toLowerCase())) ||- (source.apiUrl && source.apiUrl.toLowerCase().includes($search.toLowerCase()))- );- }- function destinationFilters(destination: any) {- return (- (destination.id && destination.id.toLowerCase().includes($search.toLowerCase())) ||- (destination.name && destination.name.toLowerCase().includes($search.toLowerCase())) ||- (destination.type && destination.type.toLowerCase().includes($search.toLowerCase()))- );- }- function doSearch(bang?: string) {- if (bang || bang === '') $search = bang;- if ($search) {- filtered = setInitials();- if ($search.startsWith('!')) {- if ($search === '!running') {- filterState('running');- } else if ($search === '!stopped') {- filterState('stopped');- } else if ($search === '!error') {- filterState('error');- } else if ($search === '!app') {- filterSpecific('applications');- } else if ($search === '!db') {- filterSpecific('databases');- } else if ($search === '!service') {- filterSpecific('services');- } else if ($search === '!git') {- filterSpecific('gitSources');- } else if ($search === '!destination') {- filterSpecific('destinations');- } else if ($search === '!bot') {- clearFiltered();- filtered.applications = applications.filter((application: any) => {- return application.settings.isBot;- });- filtered.otherApplications = applications.filter((application: any) => {- return application.settings.isBot && application.teams[0].id !== $appSession.teamId;- });- } else if ($search === '!notmine') {- clearFiltered();- filtered = setInitials(true);- }- } else {- filtered.applications = filtered.applications.filter((application: any) =>- applicationFilters(application)- );- filtered.otherApplications = filtered.otherApplications.filter((application: any) =>- applicationFilters(application)- );- filtered.databases = filtered.databases.filter((database: any) =>- databaseFilters(database)- );- filtered.otherDatabases = filtered.otherDatabases.filter((database: any) =>- databaseFilters(database)- );- filtered.services = filtered.services.filter((service: any) => serviceFilters(service));- filtered.otherServices = filtered.otherServices.filter((service: any) =>- serviceFilters(service)- );- filtered.gitSources = filtered.gitSources.filter((source: any) => gitSourceFilters(source));- filtered.otherGitSources = filtered.otherGitSources.filter((source: any) =>- gitSourceFilters(source)- );- filtered.destinations = filtered.destinations.filter((destination: any) =>- destinationFilters(destination)- );- filtered.otherDestinations = filtered.otherDestinations.filter((destination: any) =>- destinationFilters(destination)- );- }- } else {- filtered = setInitials();- }- }- async function cleanupApplications() {- try {- const sure = confirm(- 'Are you sure? This will delete all UNCONFIGURED applications and their data.'- );- if (sure) {- await post(`/applications/cleanup/unconfigured`, {});- return window.location.reload();- }- } catch (error) {- return errorNotification(error);- }- }- async function cleanupServices() {- try {- const sure = confirm(- 'Are you sure? This will delete all UNCONFIGURED services and their data.'- );- if (sure) {- await post(`/services/cleanup/unconfigured`, {});- return window.location.reload();- }- } catch (error) {- return errorNotification(error);- }- }- async function cleanupDatabases() {- try {- const sure = confirm(- 'Are you sure? This will delete all UNCONFIGURED databases and their data.'- );- if (sure) {- await post(`/databases/cleanup/unconfigured`, {});- return window.location.reload();- }- } catch (error) {- return errorNotification(error);- }- }- async function deleteApplication(id: string) {- try {- const sure = confirm('Are you sure? This will delete this application!');- if (sure) {- await del(`/applications/${id}`, {});- return window.location.reload();- }- } catch (error) {- return errorNotification(error);- }- }- async function deleteService(id: string) {- try {- const sure = confirm('Are you sure? This will delete this service!');- if (sure) {- await del(`/services/${id}`, {});- return window.location.reload();- }- } catch (error) {- return errorNotification(error);- }- }- async function deleteDatabase(id: string) {- try {- const sure = confirm('Are you sure? This will delete this database!');- if (sure) {- await del(`/databases/${id}`, { });- return window.location.reload();- }- } catch (error) {- return errorNotification(error);- }- }-</script>--<nav class="header">- <h1 class="mr-4 text-2xl font-bold">{$t('index.dashboard')}</h1>- {#if $appSession.isAdmin && (applications.length !== 0 || destinations.length !== 0 || databases.length !== 0 || services.length !== 0 || gitSources.length !== 0 || destinations.length !== 0)}- <NewResource />- {/if}-</nav>-<div class="container lg:mx-auto lg:p-0 px-8 pt-5">- {#if applications.length !== 0 || destinations.length !== 0 || databases.length !== 0 || services.length !== 0 || gitSources.length !== 0 || destinations.length !== 0}- <div class="space-x-2 lg:flex lg:justify-center text-center mb-4 ">- <button- class="btn btn-sm btn-ghost"- class:bg-applications={$search === '!app'}- class:hover:bg-coollabs={$search !== '!app'}- on:click={() => doSearch('!app')}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6 mr-2 hidden lg:block "- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentcolor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <rect x="4" y="4" width="6" height="6" rx="1" />- <rect x="4" y="14" width="6" height="6" rx="1" />- <rect x="14" y="14" width="6" height="6" rx="1" />- <line x1="14" y1="7" x2="20" y2="7" />- <line x1="17" y1="4" x2="17" y2="10" />- </svg> Applications</button- >- <button- class="btn btn-sm btn-ghost"- class:bg-services={$search === '!service'}- class:hover:bg-coollabs={$search !== '!service'}- on:click={() => doSearch('!service')}- ><svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6 mr-2 hidden lg:block"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M7 18a4.6 4.4 0 0 1 0 -9a5 4.5 0 0 1 11 2h1a3.5 3.5 0 0 1 0 7h-12" />- </svg> Services</button- >- <button- class="btn btn-sm btn-ghost "- class:bg-databases={$search === '!db'}- class:hover:bg-coollabs={$search !== '!db'}- on:click={() => doSearch('!db')}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6 mr-2 hidden lg:block"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <ellipse cx="12" cy="6" rx="8" ry="3" />- <path d="M4 6v6a8 3 0 0 0 16 0v-6" />- <path d="M4 12v6a8 3 0 0 0 16 0v-6" />- </svg> Databases</button- >- <button- class="btn btn-sm btn-ghost"- class:bg-sources={$search === '!git'}- class:hover:bg-coollabs={$search !== '!git'}- on:click={() => doSearch('!git')}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6 mr-2 hidden lg:block"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="6" cy="6" r="2" />- <circle cx="18" cy="18" r="2" />- <path d="M11 6h5a2 2 0 0 1 2 2v8" />- <polyline points="14 9 11 6 14 3" />- <path d="M13 18h-5a2 2 0 0 1 -2 -2v-8" />- <polyline points="10 15 13 18 10 21" />- </svg> Git Sources</button- >- <button- class="btn btn-sm btn-ghost"- class:bg-destinations={$search === '!destination'}- class:hover:bg-coollabs={$search !== '!destination'}- on:click={() => doSearch('!destination')}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6 mr-2 hidden lg:block"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"- />- <path d="M5 10h3v3h-3z" />- <path d="M8 10h3v3h-3z" />- <path d="M11 10h3v3h-3z" />- <path d="M8 7h3v3h-3z" />- <path d="M11 7h3v3h-3z" />- <path d="M11 4h3v3h-3z" />- <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />- <line x1="10" y1="16" x2="10" y2="16.01" />- </svg>Destinations</button- >- </div>- <div class="form-control">- <div class="input-group flex w-full">- <!-- svelte-ignore a11y-click-events-have-key-events -->- <div- class="btn btn-square cursor-default no-animation hover:bg-error"- on:click={() => doSearch('')}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentcolor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="18" y1="6" x2="6" y2="18" />- <line x1="6" y1="6" x2="18" y2="18" />- </svg>- </div>-- <input- bind:this={searchInput}- id="search"- type="text"- placeholder="Search: You can search for names, domains, types, database types, version, servers etc..."- class="w-full input input-bordered input-primary"- bind:value={$search}- on:input={() => doSearch()}- />- </div>- <label for="search" class="label w-full mt-3">- <span class="label-text text-xs flex flex-wrap gap-2 items-center">- <button- class:bg-coollabs={$search === '!bot'}- class="badge badge-lg text-white text-xs rounded"- on:click={() => doSearch('!bot')}>Bots</button- >-- <button- class:bg-coollabs={$search === '!notmine'}- class="badge badge-lg text-white text-xs rounded"- on:click={() => doSearch('!notmine')}>Other Teams</button- >- <button- class:bg-coollabs={$search === '!running'}- class="badge badge-lg text-white text-xs rounded"- on:click={() => doSearch('!running')}>Running</button- >- <button- class:bg-coollabs={$search === '!stopped'}- class="badge badge-lg text-white text-xs rounded"- on:click={() => doSearch('!stopped')}>Stopped</button- >- <button- class:bg-coollabs={$search === '!error'}- class="badge badge-lg text-white text-xs rounded"- on:click={() => doSearch('!error')}>Error</button- >- </span>- </label>- </div>- {/if}- {#if (filtered.applications.length > 0 && applications.length > 0) || filtered.otherApplications.length > 0}- <div class="flex items-center mt-10 space-x-2">- <h1 class="title lg:text-3xl">Applications</h1>- <button class="btn btn-sm btn-primary" on:click={refreshStatusApplications}- >{noInitialStatus.applications ? 'Load Status' : 'Refresh Status'}</button- >- {#if foundUnconfiguredApplication && $appSession.isAdmin}- <button- class="btn btn-sm"- class:loading={loading.applications}- disabled={loading.applications}- on:click={cleanupApplications}>Cleanup Unconfigured Resources</button- >- {/if}- </div>- {/if}- {#if filtered.applications.length > 0 && applications.length > 0}- <div class="divider" />- <div- class="grid grid-col gap-2 lg:gap-8 auto-cols-max grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 p-4"- >- {#if filtered.applications.length > 0}- {#each filtered.applications as application}- <a class="no-underline mb-5" href={`/applications/${application.id}`}>- <div- class="w-full rounded p-5 bg-coolgray-200 hover:bg-green-600 indicator duration-150"- >- {#await getStatus(application)}- <span class="indicator-item badge bg-yellow-300 badge-sm" />- {:then}- {#if !noInitialStatus.applications}- {#if status[application.id] === 'loading'}- <span class="indicator-item badge bg-yellow-300 badge-sm" />- {:else if status[application.id] === 'running'}- <span class="indicator-item badge bg-success badge-sm" />- {:else if status[application.id] === 'degraded'}- <span- class="indicator-item indicator-middle indicator-center badge bg-warning text-black font-bold badge-xl"- >Degraded</span- >- {:else}- <span class="indicator-item badge bg-error badge-sm" />- {/if}- {/if}- {/await}- <div class="w-full flex flex-row">- <ApplicationsIcons {application} isAbsolute={true} />- <div class="w-full flex flex-col">- <h1 class="font-bold text-base truncate">- {application.name}- {#if application.settings?.isBot}- <span class="text-xs badge bg-coolblack border-none text-applications"- >BOT</span- >- {/if}- </h1>- <div class="h-10 text-xs">- {#if application?.fqdn}- <h2>{application?.fqdn.replace('https://', '').replace('http://', '')}</h2>- {:else if !application.settings?.isBot && !application?.fqdn && application.buildPack !== 'compose'}- <h2 class="text-red-500">Not configured</h2>- {/if}- {#if application.destinationDocker?.name}- <div class="truncate">{application.destinationDocker?.name}</div>- {/if}- {#if application.teams.length > 0 && application.teams[0]?.name}- <div class="truncate">{application.teams[0]?.name}</div>- {/if}- </div>-- <div class="flex justify-end items-end space-x-2 h-10">- {#if application?.fqdn}- <a- href={application?.fqdn}- target="_blank noreferrer"- class="icons hover:bg-green-500"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5" />- <line x1="10" y1="14" x2="20" y2="4" />- <polyline points="15 4 20 4 20 9" />- </svg>- </a>- {/if}-- {#if application.settings?.isBot && application.exposePort}- <a- href={`http://${dev ? 'localhost' : settings.ipv4}:${- application.exposePort- }`}- target="_blank noreferrer"- class="icons hover:bg-green-500"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5" />- <line x1="10" y1="14" x2="20" y2="4" />- <polyline points="15 4 20 4 20 9" />- </svg>- </a>- {/if}- {#if $appSession.isAdmin}- <button- class="icons hover:bg-green-500"- on:click|stopPropagation|preventDefault={() =>- deleteApplication(application.id)}><DeleteIcon /></button- >- {/if}- </div>- </div>- </div>- </div>- </a>- {/each}- {:else}- <h1 class="">Nothing here.</h1>- {/if}- </div>- {/if}- {#if filtered.otherApplications.length > 0}- {#if filtered.applications.length > 0}- <div class="divider w-32 mx-auto" />- {/if}- {/if}- {#if filtered.otherApplications.length > 0}- <div- class="grid grid-col gap-8 auto-cols-max grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 p-4"- >- {#each filtered.otherApplications as application}- <a class="no-underline mb-5" href={`/applications/${application.id}`}>- <div class="w-full rounded p-5 bg-coolgray-200 hover:bg-green-600 indicator duration-150">- {#await getStatus(application)}- <span class="indicator-item badge bg-yellow-300 badge-sm" />- {:then}- {#if !noInitialStatus.applications}- {#if status[application.id] === 'loading'}- <span class="indicator-item badge bg-yellow-300 badge-sm" />- {:else if status[application.id] === 'running'}- <span class="indicator-item badge bg-success badge-sm" />- {:else}- <span class="indicator-item badge bg-error badge-sm" />- {/if}- {/if}- {/await}- <div class="w-full flex flex-row">- <ApplicationsIcons {application} isAbsolute={true} />- <div class="w-full flex flex-col">- <h1 class="font-bold text-base truncate">- {application.name}- {#if application.settings?.isBot}- <span class="text-xs badge bg-coolblack border-none text-applications">BOT</span- >- {/if}- </h1>- <div class="h-10 text-xs">- {#if application?.fqdn}- <h2>{application?.fqdn.replace('https://', '').replace('http://', '')}</h2>- {:else if !application.settings?.isBot && !application?.fqdn}- <h2 class="text-red-500">Not configured</h2>- {/if}- {#if application.destinationDocker?.name}- <div class="truncate">{application.destinationDocker?.name}</div>- {/if}- {#if application.teams.length > 0 && application.teams[0]?.name}- <div class="truncate">{application.teams[0]?.name}</div>- {/if}- </div>-- <div class="flex justify-end items-end space-x-2 h-10">- {#if application?.fqdn}- <a- href={application?.fqdn}- target="_blank noreferrer"- class="icons hover:bg-green-500"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5" />- <line x1="10" y1="14" x2="20" y2="4" />- <polyline points="15 4 20 4 20 9" />- </svg>- </a>- {/if}-- {#if application.settings?.isBot && application.exposePort}- <a- href={`http://${dev ? 'localhost' : settings.ipv4}:${application.exposePort}`}- target="_blank noreferrer"- class="icons hover:bg-green-500"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5" />- <line x1="10" y1="14" x2="20" y2="4" />- <polyline points="15 4 20 4 20 9" />- </svg>- </a>- {/if}- {#if $appSession.isAdmin}- <button- class="icons hover:bg-green-500"- on:click|stopPropagation|preventDefault={() =>- deleteApplication(application.id)}><DeleteIcon /></button- >- {/if}- </div>- </div>- </div>- </div>- </a>- {/each}- </div>- {/if}- {#if (filtered.services.length > 0 && services.length > 0) || filtered.otherServices.length > 0}- <div class="flex items-center mt-10 space-x-2">- <h1 class="title lg:text-3xl">Services</h1>- <button class="btn btn-sm btn-primary" on:click={refreshStatusServices}- >{noInitialStatus.services ? 'Load Status' : 'Refresh Status'}</button- >- {#if foundUnconfiguredService}- <button- class="btn btn-sm"- class:loading={loading.services}- disabled={loading.services}- on:click={cleanupServices}>Cleanup Unconfigured Resources</button- >- {/if}- </div>- {/if}- {#if filtered.services.length > 0 && services.length > 0}- <div class="divider" />- <div- class="grid grid-col gap-8 auto-cols-max grid-cols-1 md:grid-cols-2 lg:md:grid-cols-3 xl:grid-cols-4 p-4"- >- {#if filtered.services.length > 0}- {#each filtered.services as service}- {#key service.id}- <a class="no-underline mb-5" href={`/services/${service.id}`}>- <div- class="w-full rounded p-5 bg-coolgray-200 hover:bg-pink-600 indicator duration-150"- >- {#await getStatus(service)}- <span class="indicator-item badge bg-yellow-300 badge-sm" />- {:then}- {#if !noInitialStatus.services}- {#if status[service.id] === 'loading'}- <span class="indicator-item badge bg-yellow-300 badge-sm" />- {:else if status[service.id] === 'running'}- <span class="indicator-item badge bg-success badge-sm" />- {:else}- <span class="indicator-item badge bg-error badge-sm" />- {/if}- {/if}- {/await}- <div class="w-full flex flex-row">- <ServiceIcons type={service.type} isAbsolute={true} />- <div class="w-full flex flex-col">- <h1 class="font-bold text-base truncate">{service.name}</h1>- <div class="h-10 text-xs">- {#if service?.fqdn}- <h2>{service?.fqdn.replace('https://', '').replace('http://', '')}</h2>- {:else}- <h2 class="text-red-500">URL not configured</h2>- {/if}- {#if service.destinationDocker?.name}- <div class="truncate">{service.destinationDocker?.name}</div>- {/if}- {#if service.teams.length > 0 && service.teams[0]?.name}- <div class="truncate">{service.teams[0]?.name}</div>- {/if}- </div>- <div class="flex justify-end items-end space-x-2 h-10">- {#if service?.fqdn}- <a- href={service?.fqdn}- target="_blank noreferrer"- class="icons hover:bg-pink-500"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5" />- <line x1="10" y1="14" x2="20" y2="4" />- <polyline points="15 4 20 4 20 9" />- </svg>- </a>- {/if}- {#if $appSession.isAdmin}- <button- class="icons hover:bg-pink-500"- on:click|stopPropagation|preventDefault={() => deleteService(service.id)}- ><DeleteIcon /></button- >- {/if}- </div>- </div>- </div>- </div>- </a>- {/key}- {/each}- {:else}- <h1 class="">Nothing here.</h1>- {/if}- </div>- {/if}- {#if filtered.otherServices.length > 0}- {#if filtered.services.length > 0}- <div class="divider w-32 mx-auto" />- {/if}- {/if}- {#if filtered.otherServices.length > 0}- <div- class="grid grid-col gap-8 auto-cols-max grid-cols-1 md:grid-cols-2 lg:md:grid-cols-3 xl:grid-cols-4 p-4"- >- {#each filtered.otherServices as service}- {#key service.id}- <a class="no-underline mb-5" href={`/services/${service.id}`}>- <div- class="w-full rounded p-5 bg-coolgray-200 hover:bg-pink-600 indicator duration-150"- >- {#await getStatus(service)}- <span class="indicator-item badge bg-yellow-300 badge-sm" />- {:then}- {#if !noInitialStatus.services}- {#if status[service.id] === 'loading'}- <span class="indicator-item badge bg-yellow-300 badge-sm" />- {:else if status[service.id] === 'running'}- <span class="indicator-item badge bg-success badge-sm" />- {:else}- <span class="indicator-item badge bg-error badge-sm" />- {/if}- {/if}- {/await}- <div class="w-full flex flex-row">- <ServiceIcons type={service.type} isAbsolute={true} />- <div class="w-full flex flex-col">- <h1 class="font-bold text-base truncate">{service.name}</h1>- <div class="h-10 text-xs">- {#if service?.fqdn}- <h2>{service?.fqdn.replace('https://', '').replace('http://', '')}</h2>- {:else}- <h2 class="text-red-500">URL not configured</h2>- {/if}- {#if service.destinationDocker?.name}- <div class="truncate">{service.destinationDocker?.name}</div>- {/if}- {#if service.teams.length > 0 && service.teams[0]?.name}- <div class="truncate">{service.teams[0]?.name}</div>- {/if}- </div>- <div class="flex justify-end items-end space-x-2 h-10">- {#if service?.fqdn}- <a- href={service?.fqdn}- target="_blank noreferrer"- class="icons hover:bg-pink-500"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5" />- <line x1="10" y1="14" x2="20" y2="4" />- <polyline points="15 4 20 4 20 9" />- </svg>- </a>- {/if}- {#if $appSession.isAdmin}- <button- class="icons hover:bg-pink-500"- on:click|stopPropagation|preventDefault={() => deleteService(service.id)}- ><DeleteIcon /></button- >- {/if}- </div>- </div>- </div>- </div>- </a>- {/key}- {/each}- </div>- {/if}- {#if (filtered.databases.length > 0 && databases.length > 0) || filtered.otherDatabases.length > 0}- <div class="flex items-center mt-10 space-x-2">- <h1 class="title lg:text-3xl">Databases</h1>- <button class="btn btn-sm btn-primary" on:click={refreshStatusDatabases}- >{noInitialStatus.databases ? 'Load Status' : 'Refresh Status'}</button- >- {#if foundUnconfiguredDatabase}- <button- class="btn btn-sm"- class:loading={loading.databases}- disabled={loading.databases}- on:click={cleanupDatabases}>Cleanup Unconfigured Resources</button- >- {/if}- </div>- {/if}- {#if filtered.databases.length > 0 && databases.length > 0}- <div class="divider" />- <div- class="grid grid-col gap-8 auto-cols-max grid-cols-1 md:grid-cols-2 lg:md:grid-cols-3 xl:grid-cols-4 p-4"- >- {#if filtered.databases.length > 0}- {#each filtered.databases as database}- {#key database.id}- <a class="no-underline mb-5" href={`/databases/${database.id}`}>- <div- class="w-full rounded p-5 bg-coolgray-200 hover:bg-databases indicator duration-150"- >- {#await getStatus(database)}- <span class="indicator-item badge bg-yellow-300 badge-sm" />- {:then}- {#if !noInitialStatus.databases}- {#if status[database.id] === 'loading'}- <span class="indicator-item badge bg-yellow-300 badge-sm" />- {:else if status[database.id] === 'running'}- <span class="indicator-item badge bg-success badge-sm" />- {:else}- <span class="indicator-item badge bg-error badge-sm" />- {/if}- {/if}- {/await}- <div class="w-full flex flex-row">- <DatabaseIcons type={database.type} isAbsolute={true} />- <div class="w-full flex flex-col">- <div class="h-10">- <h1 class="font-bold text-base truncate">{database.name}</h1>- <div class="h-10 text-xs">- {#if database?.version}- <h2 class="">{database?.version}</h2>- {:else}- <h2 class="text-red-500">Not version not configured</h2>- {/if}- {#if database.destinationDocker?.name}- <div class="truncate">{database.destinationDocker?.name}</div>- {/if}- {#if database.teams.length > 0 && database.teams[0]?.name}- <div class="truncate">{database.teams[0]?.name}</div>- {/if}- </div>- </div>- <div class="flex justify-end items-center space-x-2 h-10">- {#if database.settings?.isPublic}- <div title="Public" class="icons hover:bg-transparent">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6 "- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="12" r="9" />- <line x1="3.6" y1="9" x2="20.4" y2="9" />- <line x1="3.6" y1="15" x2="20.4" y2="15" />- <path d="M11.5 3a17 17 0 0 0 0 18" />- <path d="M12.5 3a17 17 0 0 1 0 18" />- </svg>- </div>- {/if}- {#if $appSession.isAdmin}- <button- class="icons hover:bg-databases-100"- on:click|stopPropagation|preventDefault={() =>- deleteDatabase(database.id)}><DeleteIcon /></button- >- {/if}- </div>- </div>- </div>- </div>- </a>- {/key}- {/each}- {:else}- <h1 class="">Nothing here.</h1>- {/if}- </div>- {/if}- {#if filtered.otherDatabases.length > 0}- {#if filtered.databases.length > 0}- <div class="divider w-32 mx-auto" />- {/if}- {/if}- {#if filtered.otherDatabases.length > 0}- <div- class="grid grid-col gap-8 auto-cols-max grid-cols-1 md:grid-cols-2 lg:md:grid-cols-3 xl:grid-cols-4 p-4"- >- {#each filtered.otherDatabases as database}- {#key database.id}- <a class="no-underline mb-5" href={`/databases/${database.id}`}>- <div- class="w-full rounded p-5 bg-coolgray-200 hover:bg-databases indicator duration-150"- >- {#await getStatus(database)}- <span class="indicator-item badge bg-yellow-300 badge-sm" />- {:then}- {#if !noInitialStatus.databases}- {#if status[database.id] === 'loading'}- <span class="indicator-item badge bg-yellow-300 badge-sm" />- {:else if status[database.id] === 'running'}- <span class="indicator-item badge bg-success badge-sm" />- {:else}- <span class="indicator-item badge bg-error badge-sm" />- {/if}- {/if}- {/await}- <div class="w-full flex flex-row">- <DatabaseIcons type={database.type} isAbsolute={true} />- <div class="w-full flex flex-col">- <div class="h-10">- <h1 class="font-bold text-base truncate">{database.name}</h1>- <div class="h-10 text-xs">- {#if database?.version}- <h2 class="">{database?.version}</h2>- {:else}- <h2 class="text-red-500">Not version not configured</h2>- {/if}- {#if database.destinationDocker?.name}- <div class="truncate">{database.destinationDocker?.name}</div>- {/if}- {#if database.teams.length > 0 && database.teams[0]?.name}- <div class="truncate">{database.teams[0]?.name}</div>- {/if}- </div>- </div>- <div class="flex justify-end items-end space-x-2 h-10">- {#if database.settings?.isPublic}- <div title="Public">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6 "- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="12" r="9" />- <line x1="3.6" y1="9" x2="20.4" y2="9" />- <line x1="3.6" y1="15" x2="20.4" y2="15" />- <path d="M11.5 3a17 17 0 0 0 0 18" />- <path d="M12.5 3a17 17 0 0 1 0 18" />- </svg>- </div>- {/if}- {#if $appSession.isAdmin}- <button- class="icons hover:bg-databases"- on:click|stopPropagation|preventDefault={() => deleteDatabase(database.id)}- ><DeleteIcon /></button- >- {/if}- </div>- </div>- </div>- </div>- </a>- {/key}- {/each}- </div>- {/if}- {#if (filtered.gitSources.length > 0 && gitSources.length > 0) || filtered.otherGitSources.length > 0}- <div class="flex items-center mt-10">- <h1 class="title lg:text-3xl">Git Sources</h1>- </div>- {/if}- {#if filtered.gitSources.length > 0 && gitSources.length > 0}- <div class="divider" />- <div- class="grid grid-col gap-8 auto-cols-max grid-cols-1 md:grid-cols-2 lg:md:grid-cols-3 xl:grid-cols-4 p-4"- >- {#if filtered.gitSources.length > 0}- {#each filtered.gitSources as source}- {#key source.id}- <a class="no-underline mb-5" href={`/sources/${source.id}`}>- <div- class="w-full rounded p-5 bg-coolgray-200 hover:bg-sources indicator duration-150"- >- <div class="w-full flex flex-row">- <div class="absolute top-0 left-0 -m-5 flex">- {#if source?.type === 'gitlab'}- <svg viewBox="0 0 128 128" class="h-10 w-10">- <path- fill="#FC6D26"- d="M126.615 72.31l-7.034-21.647L105.64 7.76c-.716-2.206-3.84-2.206-4.556 0l-13.94 42.903H40.856L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664 1.385 72.31a4.792 4.792 0 001.74 5.358L64 121.894l60.874-44.227a4.793 4.793 0 001.74-5.357"- /><path- fill="#E24329"- d="M64 121.894l23.144-71.23H40.856L64 121.893z"- /><path- fill="#FC6D26"- d="M64 121.894l-23.144-71.23H8.42L64 121.893z"- /><path- fill="#FCA326"- d="M8.42 50.663L1.384 72.31a4.79 4.79 0 001.74 5.357L64 121.894 8.42 50.664z"- /><path- fill="#E24329"- d="M8.42 50.663h32.436L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664z"- /><path- fill="#FC6D26"- d="M64 121.894l23.144-71.23h32.437L64 121.893z"- /><path- fill="#FCA326"- d="M119.58 50.663l7.035 21.647a4.79 4.79 0 01-1.74 5.357L64 121.894l55.58-71.23z"- /><path- fill="#E24329"- d="M119.58 50.663H87.145l13.94-42.902c.717-2.206 3.84-2.206 4.557 0l13.94 42.903z"- />- </svg>- {:else if source?.type === 'github'}- <svg viewBox="0 0 128 128" class="h-10 w-10">- <g fill="#ffffff"- ><path- fill-rule="evenodd"- clip-rule="evenodd"- d="M64 5.103c-33.347 0-60.388 27.035-60.388 60.388 0 26.682 17.303 49.317 41.297 57.303 3.017.56 4.125-1.31 4.125-2.905 0-1.44-.056-6.197-.082-11.243-16.8 3.653-20.345-7.125-20.345-7.125-2.747-6.98-6.705-8.836-6.705-8.836-5.48-3.748.413-3.67.413-3.67 6.063.425 9.257 6.223 9.257 6.223 5.386 9.23 14.127 6.562 17.573 5.02.542-3.903 2.107-6.568 3.834-8.076-13.413-1.525-27.514-6.704-27.514-29.843 0-6.593 2.36-11.98 6.223-16.21-.628-1.52-2.695-7.662.584-15.98 0 0 5.07-1.623 16.61 6.19C53.7 35 58.867 34.327 64 34.304c5.13.023 10.3.694 15.127 2.033 11.526-7.813 16.59-6.19 16.59-6.19 3.287 8.317 1.22 14.46.593 15.98 3.872 4.23 6.215 9.617 6.215 16.21 0 23.194-14.127 28.3-27.574 29.796 2.167 1.874 4.097 5.55 4.097 11.183 0 8.08-.07 14.583-.07 16.572 0 1.607 1.088 3.49 4.148 2.897 23.98-7.994 41.263-30.622 41.263-57.294C124.388 32.14 97.35 5.104 64 5.104z"- /><path- d="M26.484 91.806c-.133.3-.605.39-1.035.185-.44-.196-.685-.605-.543-.906.13-.31.603-.395 1.04-.188.44.197.69.61.537.91zm2.446 2.729c-.287.267-.85.143-1.232-.28-.396-.42-.47-.983-.177-1.254.298-.266.844-.14 1.24.28.394.426.472.984.17 1.255zM31.312 98.012c-.37.258-.976.017-1.35-.52-.37-.538-.37-1.183.01-1.44.373-.258.97-.025 1.35.507.368.545.368 1.19-.01 1.452zm3.261 3.361c-.33.365-1.036.267-1.552-.23-.527-.487-.674-1.18-.343-1.544.336-.366 1.045-.264 1.564.23.527.486.686 1.18.333 1.543zm4.5 1.951c-.147.473-.825.688-1.51.486-.683-.207-1.13-.76-.99-1.238.14-.477.823-.7 1.512-.485.683.206 1.13.756.988 1.237zm4.943.361c.017.498-.563.91-1.28.92-.723.017-1.308-.387-1.315-.877 0-.503.568-.91 1.29-.924.717-.013 1.306.387 1.306.88zm4.598-.782c.086.485-.413.984-1.126 1.117-.7.13-1.35-.172-1.44-.653-.086-.498.422-.997 1.122-1.126.714-.123 1.354.17 1.444.663zm0 0"- /></g- >- </svg>- {/if}-- {#if source.isSystemWide}- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-10 w-10"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="12" r="9" />- <line x1="3.6" y1="9" x2="20.4" y2="9" />- <line x1="3.6" y1="15" x2="20.4" y2="15" />- <path d="M11.5 3a17 17 0 0 0 0 18" />- <path d="M12.5 3a17 17 0 0 1 0 18" />- </svg>- {/if}- </div>- <div class="w-full flex flex-col">- <div class="h-10">- <h1 class="font-bold text-base truncate">{source.name}</h1>- {#if source.teams.length > 0 && source.teams[0]?.name}- <div class="truncate text-xs">{source.teams[0]?.name}</div>- {/if}- </div>-- <div class="flex justify-end items-end space-x-2 h-10" />- </div>- </div>- </div>- </a>- {/key}- {/each}- {:else}- <h1 class="">Nothing here.</h1>- {/if}- </div>- {/if}- {#if filtered.otherGitSources.length > 0}- {#if filtered.gitSources.length > 0}- <div class="divider w-32 mx-auto" />- {/if}- {/if}- {#if filtered.otherGitSources.length > 0}- <div- class="grid grid-col gap-8 auto-cols-max grid-cols-1 md:grid-cols-2 lg:md:grid-cols-3 xl:grid-cols-4 p-4"- >- {#each filtered.otherGitSources as source}- {#key source.id}- <a class="no-underline mb-5" href={`/sources/${source.id}`}>- <div class="w-full rounded p-5 bg-coolgray-200 hover:bg-sources indicator duration-150">- <div class="w-full flex flex-row">- <div class="absolute top-0 left-0 -m-5 flex">- {#if source?.type === 'gitlab'}- <svg viewBox="0 0 128 128" class="h-10 w-10">- <path- fill="#FC6D26"- d="M126.615 72.31l-7.034-21.647L105.64 7.76c-.716-2.206-3.84-2.206-4.556 0l-13.94 42.903H40.856L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664 1.385 72.31a4.792 4.792 0 001.74 5.358L64 121.894l60.874-44.227a4.793 4.793 0 001.74-5.357"- /><path fill="#E24329" d="M64 121.894l23.144-71.23H40.856L64 121.893z" /><path- fill="#FC6D26"- d="M64 121.894l-23.144-71.23H8.42L64 121.893z"- /><path- fill="#FCA326"- d="M8.42 50.663L1.384 72.31a4.79 4.79 0 001.74 5.357L64 121.894 8.42 50.664z"- /><path- fill="#E24329"- d="M8.42 50.663h32.436L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664z"- /><path fill="#FC6D26" d="M64 121.894l23.144-71.23h32.437L64 121.893z" /><path- fill="#FCA326"- d="M119.58 50.663l7.035 21.647a4.79 4.79 0 01-1.74 5.357L64 121.894l55.58-71.23z"- /><path- fill="#E24329"- d="M119.58 50.663H87.145l13.94-42.902c.717-2.206 3.84-2.206 4.557 0l13.94 42.903z"- />- </svg>- {:else if source?.type === 'github'}- <svg viewBox="0 0 128 128" class="h-10 w-10">- <g fill="#ffffff"- ><path- fill-rule="evenodd"- clip-rule="evenodd"- d="M64 5.103c-33.347 0-60.388 27.035-60.388 60.388 0 26.682 17.303 49.317 41.297 57.303 3.017.56 4.125-1.31 4.125-2.905 0-1.44-.056-6.197-.082-11.243-16.8 3.653-20.345-7.125-20.345-7.125-2.747-6.98-6.705-8.836-6.705-8.836-5.48-3.748.413-3.67.413-3.67 6.063.425 9.257 6.223 9.257 6.223 5.386 9.23 14.127 6.562 17.573 5.02.542-3.903 2.107-6.568 3.834-8.076-13.413-1.525-27.514-6.704-27.514-29.843 0-6.593 2.36-11.98 6.223-16.21-.628-1.52-2.695-7.662.584-15.98 0 0 5.07-1.623 16.61 6.19C53.7 35 58.867 34.327 64 34.304c5.13.023 10.3.694 15.127 2.033 11.526-7.813 16.59-6.19 16.59-6.19 3.287 8.317 1.22 14.46.593 15.98 3.872 4.23 6.215 9.617 6.215 16.21 0 23.194-14.127 28.3-27.574 29.796 2.167 1.874 4.097 5.55 4.097 11.183 0 8.08-.07 14.583-.07 16.572 0 1.607 1.088 3.49 4.148 2.897 23.98-7.994 41.263-30.622 41.263-57.294C124.388 32.14 97.35 5.104 64 5.104z"- /><path- d="M26.484 91.806c-.133.3-.605.39-1.035.185-.44-.196-.685-.605-.543-.906.13-.31.603-.395 1.04-.188.44.197.69.61.537.91zm2.446 2.729c-.287.267-.85.143-1.232-.28-.396-.42-.47-.983-.177-1.254.298-.266.844-.14 1.24.28.394.426.472.984.17 1.255zM31.312 98.012c-.37.258-.976.017-1.35-.52-.37-.538-.37-1.183.01-1.44.373-.258.97-.025 1.35.507.368.545.368 1.19-.01 1.452zm3.261 3.361c-.33.365-1.036.267-1.552-.23-.527-.487-.674-1.18-.343-1.544.336-.366 1.045-.264 1.564.23.527.486.686 1.18.333 1.543zm4.5 1.951c-.147.473-.825.688-1.51.486-.683-.207-1.13-.76-.99-1.238.14-.477.823-.7 1.512-.485.683.206 1.13.756.988 1.237zm4.943.361c.017.498-.563.91-1.28.92-.723.017-1.308-.387-1.315-.877 0-.503.568-.91 1.29-.924.717-.013 1.306.387 1.306.88zm4.598-.782c.086.485-.413.984-1.126 1.117-.7.13-1.35-.172-1.44-.653-.086-.498.422-.997 1.122-1.126.714-.123 1.354.17 1.444.663zm0 0"- /></g- >- </svg>- {/if}-- {#if source.isSystemWide}- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-10 w-10"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="12" r="9" />- <line x1="3.6" y1="9" x2="20.4" y2="9" />- <line x1="3.6" y1="15" x2="20.4" y2="15" />- <path d="M11.5 3a17 17 0 0 0 0 18" />- <path d="M12.5 3a17 17 0 0 1 0 18" />- </svg>- {/if}- </div>- <div class="w-full flex flex-col">- <div class="h-10">- <h1 class="font-bold text-base truncate">{source.name}</h1>- {#if source.teams.length > 0 && source.teams[0]?.name}- <div class="truncate text-xs">{source.teams[0]?.name}</div>- {/if}- </div>- <div class="flex justify-end items-end space-x-2 h-10" />- </div>- </div>- </div>- </a>- {/key}- {/each}- </div>- {/if}- {#if (filtered.destinations.length > 0 && destinations.length > 0) || filtered.otherDestinations.length > 0}- <div class="flex items-center mt-10">- <h1 class="title lg:text-3xl">Destinations</h1>- </div>- {/if}- {#if filtered.destinations.length > 0 && destinations.length > 0}- <div class="divider" />- <div- class="grid grid-col gap-8 auto-cols-max grid-cols-1 md:grid-cols-2 lg:md:grid-cols-3 xl:grid-cols-4 p-4 "- >- {#if filtered.destinations.length > 0}- {#each filtered.destinations as destination}- {#key destination.id}- <a class="no-underline mb-5" href={`/destinations/${destination.id}`}>- <div- class="w-full rounded p-5 bg-coolgray-200 hover:bg-destinations indicator duration-150"- >- <div class="w-full flex flex-row">- <div class="absolute top-0 left-0 -m-5 h-10 w-10">- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-0 -m-2 h-12 w-12 text-sky-500"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"- />- <path d="M5 10h3v3h-3z" />- <path d="M8 10h3v3h-3z" />- <path d="M11 10h3v3h-3z" />- <path d="M8 7h3v3h-3z" />- <path d="M11 7h3v3h-3z" />- <path d="M11 4h3v3h-3z" />- <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />- <line x1="10" y1="16" x2="10" y2="16.01" />- </svg>- {#if destination.remoteEngine}- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-9 -m-2 h-6 w-6 text-sky-500 rotate-45"- viewBox="0 0 24 24"- stroke-width="3"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="12" y1="18" x2="12.01" y2="18" />- <path d="M9.172 15.172a4 4 0 0 1 5.656 0" />- <path d="M6.343 12.343a8 8 0 0 1 11.314 0" />- <path d="M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0" />- </svg>- {/if}- </div>- <div class="w-full flex flex-col">- <h1 class="font-bold text-base truncate">{destination.name}</h1>- <div class="h-10 text-xs">- {#if $appSession.teamId === '0' && destination.remoteVerified === false && destination.remoteEngine}- <h2 class="text-red-500">Not verified yet</h2>- {/if}- {#if destination.remoteEngine && !destination.sshKeyId}- <h2 class="text-red-500">SSH key missing</h2>- {/if}- {#if destination.teams.length > 0 && destination.teams[0]?.name}- <div class="truncate">{destination.teams[0]?.name}</div>- {/if}- </div>- </div>- </div>- </div>- </a>- {/key}- {/each}- {:else}- <h1 class="">Nothing here.</h1>- {/if}- </div>- {/if}- {#if filtered.otherDestinations.length > 0}- {#if filtered.destinations.length > 0}- <div class="divider w-32 mx-auto" />- {/if}- {/if}- {#if filtered.otherDestinations.length > 0}- <div- class="grid grid-col gap-8 auto-cols-max grid-cols-1 md:grid-cols-2 lg:md:grid-cols-3 xl:grid-cols-4 p-4"- >- {#each filtered.otherDestinations as destination}- {#key destination.id}- <a class="no-underline mb-5" href={`/destinations/${destination.id}`}>- <div- class="w-full rounded p-5 bg-coolgray-200 hover:bg-destinations indicator duration-150"- >- <div class="w-full flex flex-row">- <div class="absolute top-0 left-0 -m-5 h-10 w-10">- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-0 -m-2 h-12 w-12 text-sky-500"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"- />- <path d="M5 10h3v3h-3z" />- <path d="M8 10h3v3h-3z" />- <path d="M11 10h3v3h-3z" />- <path d="M8 7h3v3h-3z" />- <path d="M11 7h3v3h-3z" />- <path d="M11 4h3v3h-3z" />- <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />- <line x1="10" y1="16" x2="10" y2="16.01" />- </svg>- {#if destination.remoteEngine}- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-9 -m-2 h-6 w-6 text-sky-500 rotate-45"- viewBox="0 0 24 24"- stroke-width="3"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="12" y1="18" x2="12.01" y2="18" />- <path d="M9.172 15.172a4 4 0 0 1 5.656 0" />- <path d="M6.343 12.343a8 8 0 0 1 11.314 0" />- <path d="M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0" />- </svg>- {/if}- </div>- <div class="w-full flex flex-col">- <h1 class="font-bold text-base truncate">{destination.name}</h1>- <div class="h-10 text-xs">- {#if $appSession.teamId === '0' && destination.remoteVerified === false && destination.remoteEngine}- <h2 class="text-red-500">Not verified yet</h2>- {/if}- {#if destination.remoteEngine && !destination.sshKeyId}- <h2 class="text-red-500">SSH key missing</h2>- {/if}- {#if destination.teams.length > 0 && destination.teams[0]?.name}- <div class="truncate">{destination.teams[0]?.name}</div>- {/if}- </div>- </div>- </div>- </div>- </a>- {/key}- {/each}- </div>- {/if}-- {#if filtered.applications.length === 0 && filtered.destinations.length === 0 && filtered.databases.length === 0 && filtered.services.length === 0 && filtered.gitSources.length === 0 && filtered.destinations.length === 0 && $search}- <div class="flex flex-col items-center justify-center h-full pt-20">- <h1 class="text-2xl font-bold pb-4">- Nothing found with <span class="text-error font-bold">{$search}</span>.- </h1>- </div>- {/if}- {#if applications.length === 0 && destinations.length === 0 && databases.length === 0 && services.length === 0 && gitSources.length === 0 && destinations.length === 0}- <div class="hero">- <div class="hero-content text-center">- <div class="">- <h1 class="text-5xl font-bold">- Hey <svg- xmlns="http://www.w3.org/2000/svg"- class="w-20 h-20 inline-flex"- viewBox="0 0 36 36"- ><path- fill="#EF9645"- d="M4.861 9.147c.94-.657 2.357-.531 3.201.166l-.968-1.407c-.779-1.111-.5-2.313.612-3.093 1.112-.777 4.263 1.312 4.263 1.312-.786-1.122-.639-2.544.483-3.331 1.122-.784 2.67-.513 3.456.611l10.42 14.72L25 31l-11.083-4.042L4.25 12.625c-.793-1.129-.519-2.686.611-3.478z"- /><path- fill="#FFDC5D"- d="M2.695 17.336s-1.132-1.65.519-2.781c1.649-1.131 2.78.518 2.78.518l5.251 7.658c.181-.302.379-.6.6-.894L4.557 11.21s-1.131-1.649.519-2.78c1.649-1.131 2.78.518 2.78.518l6.855 9.997c.255-.208.516-.417.785-.622L7.549 6.732s-1.131-1.649.519-2.78c1.649-1.131 2.78.518 2.78.518l7.947 11.589c.292-.179.581-.334.871-.498L12.238 4.729s-1.131-1.649.518-2.78c1.649-1.131 2.78.518 2.78.518l7.854 11.454 1.194 1.742c-4.948 3.394-5.419 9.779-2.592 13.902.565.825 1.39.26 1.39.26-3.393-4.949-2.357-10.51 2.592-13.903L24.515 8.62s-.545-1.924 1.378-2.47c1.924-.545 2.47 1.379 2.47 1.379l1.685 5.004c.668 1.984 1.379 3.961 2.32 5.831 2.657 5.28 1.07 11.842-3.94 15.279-5.465 3.747-12.936 2.354-16.684-3.11L2.695 17.336z"- /><g fill="#5DADEC"- ><path- d="M12 32.042C8 32.042 3.958 28 3.958 24c0-.553-.405-1-.958-1s-1.042.447-1.042 1C1.958 30 6 34.042 12 34.042c.553 0 1-.489 1-1.042s-.447-.958-1-.958z"- /><path- d="M7 34c-3 0-5-2-5-5 0-.553-.447-1-1-1s-1 .447-1 1c0 4 3 7 7 7 .553 0 1-.447 1-1s-.447-1-1-1zM24 2c-.552 0-1 .448-1 1s.448 1 1 1c4 0 8 3.589 8 8 0 .552.448 1 1 1s1-.448 1-1c0-5.514-4-10-10-10z"- /><path- d="M29 .042c-.552 0-1 .406-1 .958s.448 1.042 1 1.042c3 0 4.958 2.225 4.958 4.958 0 .552.489 1 1.042 1s.958-.448.958-1C35.958 3.163 33 .042 29 .042z"- /></g- ></svg- >- </h1>- <p class="py-6 text-xl">It looks like you did not configure anything yet.</p>- <NewResource><button class="btn btn-primary">Let's Get Started</button></NewResource>- </div>- </div>- </div>- {/if}-</div>-<div class="mb-20" />diff --git a/apps/ui/src/routes/login.svelte b/apps/ui/src/routes/login.sveltedeleted file mode 100644index ab1799c19b..0000000000--- a/apps/ui/src/routes/login.svelte+++ /dev/null@@ -1,132 +0,0 @@-<script lang="ts">- import { browser } from '$app/env';- import Cookies from 'js-cookie';- import { goto } from '$app/navigation';- import { post } from '$lib/api';- import { errorNotification } from '$lib/common';- import { appSession, loginEmail } from '$lib/store';- import { t } from '$lib/translations';- import { onMount } from 'svelte';- let loading = false;- let emailEl: HTMLInputElement;- let email: string, password: string;-- onMount(async () => {- if ($appSession.userId) {- return await goto('/');- }- emailEl.focus();- });- async function handleSubmit() {- loading = true;- try {- const { token, payload } = await post(`/login`, {- email: email.toLowerCase(),- password,- isLogin: true- });- Cookies.set('token', token, {- path: '/'- });- return window.location.assign('/');- } catch (error) {- return errorNotification(error);- } finally {- loading = false;- }- }- async function gotoRegister() {- $loginEmail = email?.toLowerCase();- return await goto('/register');- }-</script>--<svelt:head>- <title>{$t('login.login')}</title>-</svelt:head>--<div class="flex lg:flex-row flex-col h-screen">- <div class="bg-neutral-focus h-screen lg:flex hidden flex-col justify-end p-20 flex-1">- <h1 class="title lg:text-6xl mb-5 border-gradient">Coolify</h1>- <h3 class="title">Made self-hosting simple.</h3>- </div>- <div class="flex flex-1 flex-col lg:max-w-2xl">- <div class="flex flex-row p-8 items-center space-x-3">- {#if $appSession.whiteLabeledDetails.icon}- <div class="avatar" style="width: 40px; height: 40px">- <img- src={$appSession.whiteLabeledDetails.icon}- alt="Icon for white labeled version of Coolify"- />- </div>- {:else}- <div>- <div class="avatar" style="width: 40px; height: 40px">- <img src="favicon.png" alt="Coolify icon" />- </div>- </div>- <div class="prose">- <h4>Coolify</h4>- </div>- {/if}- </div>- <div- class="w-full md:px-20 lg:px-10 xl:px-20 p-6 flex flex-col h-full justify-center items-center"- >- <div class="mb-5 w-full prose prose-neutral">- <h1 class="m-0 white">Welcome back</h1>- <h5>Please login to continue.</h5>- </div>- <form on:submit|preventDefault={handleSubmit} class="flex flex-col py-4 space-y-3 w-full">- <input- type="email"- name="email"- placeholder={$t('forms.email')}- autocomplete="off"- required- bind:this={emailEl}- bind:value={email}- class="w-full"- />- <input- type="password"- name="password"- placeholder={$t('forms.password')}- bind:value={password}- required- class="w-full"- />-- <div class="flex space-y-3 flex-col pt-3">- <button- type="submit"- disabled={loading}- class="btn"- class:loading- class:bg-coollabs={!loading}- >{loading ? $t('login.authenticating') : $t('login.login')}</button- >- {#if $appSession.isRegistrationEnabled}- <button on:click|preventDefault={gotoRegister} class="btn btn-ghost"- >{$t('register.register')}</button- >- {:else}- <div class="text-stone-600 text-xs">- Registration is disabled. Please ask an admin to activate it.- </div>- {/if}- </div>- </form>- {#if browser && window.location.host === 'demo.coolify.io'}- <div class="pt-5 font-bold">- Registration is <span class="text-pink-500">open</span>, just fill in an email (does not- need to be live email address for the demo instance) and a password.- </div>- <div class="pt-5 font-bold">- All users gets an <span class="text-pink-500">own namespace</span>, so you won't be able- to access other users data.- </div>- {/if}- </div>- </div>-</div>diff --git a/apps/ui/src/routes/register.svelte b/apps/ui/src/routes/register.sveltedeleted file mode 100644index a6ad5c8bf0..0000000000--- a/apps/ui/src/routes/register.svelte+++ /dev/null@@ -1,163 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ stuff }) => {- return {- props: { ...stuff }- };- };-</script>--<script lang="ts">- export let userCount: number;- import { goto } from '$app/navigation';- import { post } from '$lib/api';- import { errorNotification } from '$lib/common';- import { appSession, loginEmail } from '$lib/store';- import { t } from '$lib/translations';- import { onMount } from 'svelte';- import Cookies from 'js-cookie';- if (!$appSession.isRegistrationEnabled) {- window.location.assign('/');- }- let loading = false;- let emailEl: HTMLInputElement;- let passwordEl: HTMLInputElement;- let email: string | undefined, password: string, passwordCheck: string;-- onMount(() => {- email = $loginEmail;- if (email) {- passwordEl.focus();- } else {- emailEl.focus();- }- });- async function handleSubmit() {- // Prevent double submission- if (loading) return;-- if (password !== passwordCheck) {- return errorNotification($t('forms.passwords_not_match'));- }- loading = true;- try {- const { token, payload } = await post(`/login`, {- email: email?.toLowerCase(),- password,- isLogin: false- });- Cookies.set('token', token, {- path: '/'- });- $appSession.teamId = payload.teamId;- $appSession.userId = payload.userId;- $appSession.permission = payload.permission;- $appSession.isAdmin = payload.isAdmin;- return await goto('/');- } catch (error) {- return errorNotification(error);- } finally {- loading = false;- }- }-</script>--<div class="flex lg:flex-row flex-col h-screen">- <div class="bg-neutral-focus h-screen lg:flex hidden flex-col justify-end p-20 flex-1">- <h1 class="title lg:text-6xl mb-5 border-gradient">Coolify</h1>- <h3 class="title">Made self-hosting simple.</h3>- </div>- <div class="flex flex-1 flex-col lg:max-w-2xl">- <div class="flex flex-row p-8 items-center space-x-3 justify-between">- <div class="icons cursor-pointer" on:click={() => goto('/')}>- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="5" y1="12" x2="19" y2="12" />- <line x1="5" y1="12" x2="11" y2="18" />- <line x1="5" y1="12" x2="11" y2="6" />- </svg>- </div>- <div class="flex flex-row items-center space-x-3">- {#if $appSession.whiteLabeledDetails.icon}- <div class="avatar" style="width: 40px; height: 40px">- <img- src={$appSession.whiteLabeledDetails.icon}- alt="Icon for white labeled version of Coolify"- />- </div>- {:else}- <div>- <div class="avatar" style="width: 40px; height: 40px">- <img src="favicon.png" alt="Coolify icon" />- </div>- </div>- <div class="prose">- <h4>Coolify</h4>- </div>- {/if}- </div>- </div>- <div- class="w-full md:px-20 lg:px-10 xl:px-20 p-6 flex flex-col h-full justify-center items-center"- >- <div class="mb-5 w-full prose prose-neutral">- <h1 class="m-0 white">Get started</h1>- <h5>Enter the required fields to complete the registration.</h5>- </div>- <form on:submit|preventDefault={handleSubmit} class="flex flex-col py-4 space-y-3 w-full">- <input- type="email"- name="email"- placeholder={$t('forms.email')}- autocomplete="off"- required- bind:this={emailEl}- bind:value={email}- class="w-full"- />- <input- type="password"- name="password"- placeholder={$t('forms.password')}- bind:this={passwordEl}- bind:value={password}- required- class="w-full"- />- <input- type="password"- name="passwordCheck"- placeholder={$t('forms.password_again')}- bind:value={passwordCheck}- required- class="w-full"- />-- <div class="flex space-y-3 flex-col pt-3">- <button- type="submit"- class="btn"- disabled={loading}- class:bg-transparent={loading}- class:bg-coollabs={!loading}- class:loading>{loading ? $t('register.registering') : $t('register.register')}</button- >- </div>- </form>- {#if userCount === 0}- <div class="pt-5">- {$t('register.first_user')}- </div>- {/if}- </div>- </div>-</div>diff --git a/apps/ui/src/routes/servers/index.svelte b/apps/ui/src/routes/servers/index.sveltedeleted file mode 100644index 236c4524b4..0000000000--- a/apps/ui/src/routes/servers/index.svelte+++ /dev/null@@ -1,100 +0,0 @@-<script context="module" lang="ts">- import { get } from '$lib/api';- import Usage from '$lib/components/Usage.svelte';-- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({}) => {- try {- const {servers} = await get('/servers');- const {destinations} = await get('/resources');- return {- props: { servers, destinations }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let servers: any;- export let destinations:any;- import { appSession } from '$lib/store';- import { goto } from '$app/navigation';- import ContextMenu from '$lib/components/ContextMenu.svelte';- import LocalDockerIcon from '$lib/components/svg/servers/LocalDockerIcon.svelte';- import RemoteDockerIcon from '$lib/components/svg/servers/RemoteDockerIcon.svelte';- import PublicBadge from '$lib/components/badges/PublicBadge.svelte';- import TeamsBadge from '$lib/components/badges/TeamsBadge.svelte';-- import Grid3 from '$lib/components/grids/Grid3.svelte';- if ($appSession.teamId !== '0') {- goto('/');- }-</script>--<ContextMenu>- <h1 class="title">Servers</h1>-</ContextMenu>--<div class="container lg:mx-auto lg:p-0 px-8 p-5">- {#if servers.length > 0}- <div class="grid grid-col gap-8 auto-cols-max grid-cols-1 p-4">- {#each servers as server}- <div class="no-underline mb-5">- <div class="w-full rounded bg-coolgray-200 indicator">- {#if $appSession.teamId === '0'}- <Usage {server} />- {/if}- </div>- </div>- {/each}- </div>- {:else}- <h1 class="text-center text-xs">Nothing here.</h1>- {/if}-</div>--<ContextMenu>- <h1 class="title lg:text-3xl">Destinations</h1>-</ContextMenu>--{#if destinations.length > 0}- <Grid3>- {#if destinations.length > 0}- {#each destinations as destination}- <a class="no-underline mb-5" href={`/destinations/${destination.id}`}>- <div- class="w-full rounded p-5 bg-coolgray-200 indicator duration-150"- >- <div class="w-full flex flex-row">- <div class="absolute top-0 left-0 -m-5 h-10 w-10">- <LocalDockerIcon/>- {#if destination.remoteEngine}- <RemoteDockerIcon/>- {/if}- </div>- <div class="w-full flex flex-col">- <h1 class="font-bold text-base truncate">{destination.name}</h1>- <div class="h-10 text-xs">- {#if $appSession.teamId === '0' && destination.remoteVerified === false && destination.remoteEngine}- <h2 class="text-red-500">Not verified yet</h2>- {/if}- {#if destination.remoteEngine && !destination.sshKeyId}- <h2 class="text-red-500">SSH key missing</h2>- {/if}- <TeamsBadge teams={destination.teams} thing={destination}/>- </div>- </div>- </div>- </div>- </a>- {/each}- {:else}- <h1 class="">Nothing here.</h1>- {/if}- </Grid3>-{/if}diff --git a/apps/ui/src/routes/services/[id]/_Menu.svelte b/apps/ui/src/routes/services/[id]/_Menu.sveltedeleted file mode 100644index 1a219a37c4..0000000000--- a/apps/ui/src/routes/services/[id]/_Menu.svelte+++ /dev/null@@ -1,138 +0,0 @@-<script lang="ts">- export let service: any;- export let template: any;- import { page } from '$app/stores';- import { appSession } from '$lib/store';- import ServiceLinks from './_ServiceLinks.svelte';-</script>--<ul class="menu border bg-coolgray-100 border-coolgray-200 rounded p-2 space-y-2 sticky top-4">- <li class="menu-title">- <span>General</span>- </li>- <li class="rounded">- <ServiceLinks {template} {service} linkToDocs={true} />- </li>- <li class="rounded" class:bg-coollabs={$page.url.pathname === `/services/${$page.params.id}`}>- <a href={`/services/${$page.params.id}`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5"- />- </svg>Configurations</a- >- </li>- <li- class="rounded"- class:bg-coollabs={$page.url.pathname === `/services/${$page.params.id}/secrets`}- >- <a href={`/services/${$page.params.id}/secrets`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3"- />- <circle cx="12" cy="11" r="1" />- <line x1="12" y1="12" x2="12" y2="14.5" />- </svg>Secrets</a- >- </li>- <li- class="rounded"- class:bg-coollabs={$page.url.pathname === `/services/${$page.params.id}/storages`}- >- <a href={`/services/${$page.params.id}/storages`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <ellipse cx="12" cy="6" rx="8" ry="3" />- <path d="M4 6v6a8 3 0 0 0 16 0v-6" />- <path d="M4 12v6a8 3 0 0 0 16 0v-6" />- </svg>Persistent Volumes</a- >- </li>- <li class="menu-title">- <span>Logs</span>- </li>- <li- class="rounded"- class:bg-coollabs={$page.url.pathname === `/services/${$page.params.id}/logs`}- >- <a- href={`/services/${$page.params.id}/logs`}- class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0" />- <path d="M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0" />- <line x1="3" y1="6" x2="3" y2="19" />- <line x1="12" y1="6" x2="12" y2="19" />- <line x1="21" y1="6" x2="21" y2="19" />- </svg>Service</a- >- </li>- {#if $appSession.isAdmin}- <li class="menu-title">- <span>Advanced</span>- </li>- <li- class="rounded"- class:bg-coollabs={$page.url.pathname === `/services/${$page.params.id}/danger`}- >- <a href={`/services/${$page.params.id}/danger`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M12 9v2m0 4v.01" />- <path- d="M5 19h14a2 2 0 0 0 1.84 -2.75l-7.1 -12.25a2 2 0 0 0 -3.5 0l-7.1 12.25a2 2 0 0 0 1.75 2.75"- />- </svg>Danger Zone</a- >- </li>- {/if}-</ul>diff --git a/apps/ui/src/routes/services/[id]/_Secret.svelte b/apps/ui/src/routes/services/[id]/_Secret.sveltedeleted file mode 100644index 87784c7769..0000000000--- a/apps/ui/src/routes/services/[id]/_Secret.svelte+++ /dev/null@@ -1,97 +0,0 @@-<script lang="ts">- export let name = '';- export let value = '';- export let readonly = false;- export let isNewSecret = false;-- import { page } from '$app/stores';- import { del, post } from '$lib/api';- import { errorNotification } from '$lib/common';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { addToast, appSession } from '$lib/store';- import { createEventDispatcher } from 'svelte';-- const dispatch = createEventDispatcher();- const { id } = $page.params;- async function removeSecret() {- try {- await del(`/services/${id}/secrets`, { name });- dispatch('refresh');- if (isNewSecret) {- name = '';- value = '';- }- } catch (error) {- return errorNotification(error);- }- }- async function saveSecret(isNew = false) {- if (!name) return errorNotification({ message: 'Name is required.' });- if (!value) return errorNotification({ message: 'Value is required.' });- try {- await post(`/services/${id}/secrets`, {- name,- value,- isNew- });- dispatch('refresh');- if (isNewSecret) {- name = '';- value = '';- }- addToast({- message: 'Secret saved.',- type: 'success'- });- } catch (error) {- return errorNotification(error);- }- }-</script>--<td>- <input- style="min-width: 350px !important;"- id={isNewSecret ? 'secretName' : 'secretNameNew'}- bind:value={name}- required- placeholder="EXAMPLE_VARIABLE"- readonly={!isNewSecret || readonly}- class="w-full"- class:bg-coolblack={!isNewSecret}- class:border={!isNewSecret}- class:border-dashed={!isNewSecret}- class:border-coolgray-300={!isNewSecret}- />-</td>-<td>- <CopyPasswordField- id={isNewSecret ? 'secretValue' : 'secretValueNew'}- name={isNewSecret ? 'secretValue' : 'secretValueNew'}- disabled={readonly}- {readonly}- isPasswordField={true}- bind:value- placeholder="J$#@UIO%HO#$U%H"- inputStyle="min-width: 350px; !important"- />-</td>--{#if $appSession.isAdmin}-<td>- {#if isNewSecret}- <div class="flex items-center justify-center">- <button class="btn btn-sm btn-primary" on:click={() => saveSecret(true)}>Add</button>- </div>- {:else if !readonly}- <div class="flex flex-row justify-center space-x-2">- <div class="flex items-center justify-center">- <button class="btn btn-sm btn-primary" on:click={() => saveSecret(false)}>Set</button>- </div>- <div class="flex justify-center items-end">- <button class="btn btn-sm bg-error" on:click={removeSecret}>Remove</button>- </div>- </div>- {/if}-</td>-{/if}diff --git a/apps/ui/src/routes/services/[id]/_ServiceLinks.svelte b/apps/ui/src/routes/services/[id]/_ServiceLinks.sveltedeleted file mode 100644index f9f456f4dd..0000000000--- a/apps/ui/src/routes/services/[id]/_ServiceLinks.svelte+++ /dev/null@@ -1,14 +0,0 @@-<script lang="ts">- import DocLink from '$lib/components/DocLink.svelte';- import ServiceIcons from '$lib/components/svg/services/ServiceIcons.svelte';- export let service: any;- export let template: any;- export let linkToDocs: boolean = false;- const name: any = service.type && service.type[0].toUpperCase() + service.type.substring(1);-</script>--{#if linkToDocs}- <DocLink url={template[service.id]?.documentation || 'https://docs.coollabs.io'} text={`Documentation`} isExternal={true} />-{:else}- <ServiceIcons type={service.type} />-{/if}diff --git a/apps/ui/src/routes/services/[id]/_Services/wordpress.svelte b/apps/ui/src/routes/services/[id]/_Services/wordpress.sveltedeleted file mode 100644index 338ce47a37..0000000000--- a/apps/ui/src/routes/services/[id]/_Services/wordpress.svelte+++ /dev/null@@ -1,86 +0,0 @@-<script lang="ts">- import { post } from '$lib/api';- import { page } from '$app/stores';- import { status } from '$lib/store';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import Setting from '$lib/components/Setting.svelte';- import { browser } from '$app/env';- import { errorNotification, getDomain } from '$lib/common';-- export let service: any;- const { id } = $page.params;- const settings = service.settings;- const { ipv4, ipv6 } = settings;-- let ftpUrl = generateUrl(service.wordpress?.ftpPublicPort) || '';- let ftpUser = service.wordpress?.ftpUser;- let ftpPassword = service.wordpress?.ftpPassword;- let ftpLoading = false;- let ftpEnabled = service.wordpress?.ftpEnabled || false;-- function generateUrl(publicPort: any) {- return browser- ? `sftp://${settings?.fqdn ? getDomain(settings.fqdn) : ipv4 || ipv6}:${publicPort}`- : 'Loading...';- }- async function changeSettings(name: any) {- if (ftpLoading) return;- if ($status.service.overallStatus === 'healthy') {- ftpLoading = true;- if (name === 'ftpEnabled') {- ftpEnabled = !ftpEnabled;- }-- try {- const {- publicPort,- ftpUser: user,- ftpPassword: password- } = await post(`/services/${id}/wordpress/ftp`, {- ftpEnabled- });- ftpUrl = generateUrl(publicPort);- ftpUser = user;- ftpPassword = password;- service.wordpress.ftpEnabled = ftpEnabled;- } catch (error) {- return errorNotification(error);- } finally {- ftpLoading = false;- }- }- }-</script>--<div class="grid grid-cols-2 items-center">- <Setting- id="ftpEnabled"- bind:setting={ftpEnabled}- loading={ftpLoading}- disabled={$status.service.overallStatus !== 'healthy'}- on:click={() => changeSettings('ftpEnabled')}- title="Enable sFTP connection to WordPress data"- description="Enables an on-demand sFTP connection to the WordPress data directory. This is useful if you want to use sFTP to upload files."- />-</div>-{#if service.wordpress?.ftpEnabled}- <div class="grid grid-cols-2 items-center">- <label for="ftpUrl">sFTP Connection URI</label>- <CopyPasswordField id="ftpUrl" readonly disabled name="ftpUrl" value={ftpUrl} />- </div>- <div class="grid grid-cols-2 items-center">- <label for="ftpUser">User</label>- <CopyPasswordField id="ftpUser" readonly disabled name="ftpUser" value={ftpUser} />- </div>- <div class="grid grid-cols-2 items-center">- <label for="ftpPassword">Password</label>- <CopyPasswordField- id="ftpPassword"- isPasswordField- readonly- disabled- name="ftpPassword"- value={ftpPassword}- />- </div>-{/if}diff --git a/apps/ui/src/routes/services/[id]/_Storage.svelte b/apps/ui/src/routes/services/[id]/_Storage.sveltedeleted file mode 100644index ae540becd2..0000000000--- a/apps/ui/src/routes/services/[id]/_Storage.svelte+++ /dev/null@@ -1,169 +0,0 @@-<script lang="ts">- export let isNew = false;- export let storage: any = {};- export let services: any = [];- import { del, post } from '$lib/api';- import { page } from '$app/stores';- import { createEventDispatcher } from 'svelte';-- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import { addToast } from '$lib/store';- const { id } = $page.params;-- const dispatch = createEventDispatcher();- async function saveStorage(e: any) {- try {- const formData = new FormData(e.target);- let isNewStorage = true;- let newStorage: any = {- id: null,- containerId: null,- path: null- };- for (let field of formData) {- const [key, value] = field;- newStorage[key] = value;- }- newStorage.path = newStorage.path.startsWith('/') ? newStorage.path : `/${newStorage.path}`;- newStorage.path = newStorage.path.endsWith('/')- ? newStorage.path.slice(0, -1)- : newStorage.path;- newStorage.path.replace(/\/\//g, '/');- await post(`/services/${id}/storages`, {- path: newStorage.path,- storageId: newStorage.id,- containerId: newStorage.containerId,- isNewStorage- });- dispatch('refresh');- if (isNew) {- storage.path = null;- storage.id = null;- }- if (isNewStorage) {- addToast({- message: $t('application.storage.storage_saved'),- type: 'success'- });- } else {- addToast({- message: $t('application.storage.storage_updated'),- type: 'success'- });- }- } catch (error) {- return errorNotification(error);- }- }- async function removeStorage(removableStorage: any) {- try {- const { id: storageId, volumeName, path } = removableStorage;- const sure = confirm(- `Are you sure you want to delete this storage ${volumeName + ':' + path}?`- );- if (sure) {- await del(`/services/${id}/storages`, { storageId });- dispatch('refresh');- addToast({- message: $t('application.storage.storage_deleted'),- type: 'success'- });- }- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="w-full lg:px-0 px-4">- {#if storage.predefined}- <div class="grid grid-col-1 lg:grid-cols-2 pt-2 gap-2">- <div>- <input- id={storage.containerId}- disabled- readonly- class="w-full"- value={`${- services.find((s) => s.id === storage.containerId)?.name || storage.containerId- }`}- />- </div>- <div>- <input- id={storage.volumeName}- disabled- readonly- class="w-full"- value={`${storage.volumeName}:${storage.path}`}- />- </div>- </div>- {:else if isNew}- <form id="saveVolumesForm" on:submit|preventDefault={saveStorage}>- <div class="grid grid-col-1 lg:grid-cols-2 lg:space-x-4 pt-8">- <div class="flex flex-row">- <div class="flex flex-col w-full">- <label for="name" class="pb-2 uppercase font-bold">Container</label>- <select- form="saveVolumesForm"- name="containerId"- class="w-full lg:w-64"- disabled={storage.predefined}- bind:value={storage.containerId}- >- {#if services.length === 1}- {#if services[0].name}- <option selected value={services[0].id}>{services[0]?.name}</option>- {:else}- <option selected value={services[0]}>{services[0]}</option>- {/if}- {:else}- {#each services as service}- {#if service.name}- <option value={service.id}>{service?.name}</option>- {:else}- <option value={service}>{service}</option>- {/if}- {/each}- {/if}- </select>- </div>- <div class="flex flex-col w-full">- <label for="name" class="pb-2 uppercase font-bold">Path</label>- <input- name="path"- disabled={storage.predefined}- readonly={storage.predefined}- class="w-full lg:w-64"- bind:value={storage.path}- required- placeholder="eg: /sqlite.db"- />- </div>- </div>- <div class="pt-8">- <button type="submit" class="btn btn-sm btn-primary w-full lg:w-64"- >{$t('forms.add')}</button- >- </div>- </div>- </form>- {:else}- <div class="flex lg:flex-row flex-col items-center gap-2 py-1">- <input- disabled- readonly- class="w-full"- value={`${services.find((s) => s.id === storage.containerId)?.name || storage.containerId}`}- />- <input disabled readonly class="w-full" value={`${storage.volumeName}:${storage.path}`} />- <button- class="btn btn-sm btn-error"- on:click|stopPropagation|preventDefault={() => removeStorage(storage)}- >{$t('forms.remove')}</button- >- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/services/[id]/__layout.svelte b/apps/ui/src/routes/services/[id]/__layout.sveltedeleted file mode 100644index 03e850c6af..0000000000--- a/apps/ui/src/routes/services/[id]/__layout.svelte+++ /dev/null@@ -1,421 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- function checkConfiguration(service: any) {- let configurationPhase = null;- if (!service.type) {- configurationPhase = 'type';- } else if (!service.destinationDockerId) {- configurationPhase = 'destination';- }- return configurationPhase;- }- export const load: Load = async ({ params, url }) => {- try {- let readOnly = false;- const response = await get(`/services/${params.id}`);- const { service, settings, template, tags } = await response;- if (!service || Object.entries(service).length === 0) {- return {- status: 302,- redirect: '/'- };- }- const configurationPhase = checkConfiguration(service);- if (- configurationPhase &&- url.pathname !== `/services/${params.id}/configuration/${configurationPhase}`- ) {- return {- status: 302,- redirect: `/services/${params.id}/configuration/${configurationPhase}`- };- }- if (service.plausibleAnalytics?.email && service.plausibleAnalytics.username) readOnly = true;- if (service.wordpress?.mysqlDatabase) readOnly = true;- if (service.ghost?.mariadbDatabase && service.ghost.mariadbDatabase) readOnly = true;-- return {- props: {- service,- template- },- stuff: {- service,- template,- readOnly,- settings,- tags- }- };- } catch (error) {- return handlerNotFoundLoad(error, url);- }- };-</script>--<script lang="ts">- export let service: any;- export let template: any;- import { page } from '$app/stores';- import { del, get, post } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification, handlerNotFoundLoad } from '$lib/common';- import {- appSession,- isDeploymentEnabled,- status,- location,- setLocation,- checkIfDeploymentEnabledServices,- addToast- } from '$lib/store';- import { onDestroy, onMount } from 'svelte';- import { goto } from '$app/navigation';- import Menu from './_Menu.svelte';- import { saveForm } from './utils';- import { dev } from '$app/env';- const { id } = $page.params;-- $isDeploymentEnabled = checkIfDeploymentEnabledServices(service);-- let statusInterval: any;-- async function deleteService() {- const sure = confirm($t('application.confirm_to_delete', { name: service.name }));- if (sure) {- $status.service.initialLoading = true;- try {- await del(`/services/${service.id}`, {});- return await goto('/');- } catch (error) {- return errorNotification(error);- } finally {- $status.service.initialLoading = false;- }- }- }- async function restartService() {- const sure = confirm('Are you sure you want to restart this service?');- if (sure) {- await stopService(true);- await startService();- }- }- async function stopService(skip = false) {- if (skip) {- $status.service.initialLoading = true;- $status.service.loading = true;- try {- await post(`/services/${service.id}/stop`, {});- if (service.type.startsWith('wordpress')) {- await post(`/services/${id}/wordpress/ftp`, {- ftpEnabled: false- });- service.wordpress?.ftpEnabled && window.location.reload();- }- } catch (error) {- return errorNotification(error);- } finally {- $status.service.initialLoading = false;- $status.service.loading = false;- await getStatus();- }- return;- }- const sure = confirm($t('database.confirm_stop', { name: service.name }));- if (sure) {- $status.service.initialLoading = true;- $status.service.loading = true;- try {- await post(`/services/${service.id}/stop`, {});- if (service.type.startsWith('wordpress')) {- await post(`/services/${id}/wordpress/ftp`, {- ftpEnabled: false- });- service.wordpress?.ftpEnabled && window.location.reload();- }- } catch (error) {- return errorNotification(error);- } finally {- $status.service.initialLoading = false;- $status.service.loading = false;- await getStatus();- }- }- }- async function startService() {- $status.service.initialLoading = true;- $status.service.loading = true;- try {- const form: any = document.getElementById('saveForm');- if (form) {- const formData = new FormData(form);- service = await saveForm(formData, service);- }- await post(`/services/${service.id}/start`, {});- } catch (error) {- return errorNotification(error);- } finally {- $status.service.initialLoading = false;- $status.service.loading = false;- await getStatus();- }- }- async function getStatus() {- if ($status.service.loading) return;- $status.service.loading = true;- const data = await get(`/services/${id}/status`);-- $status.service.statuses = data;- let numberOfServices = Object.keys(data).length;-- if (Object.keys($status.service.statuses).length === 0) {- $status.service.overallStatus = 'stopped';- } else {- if (Object.keys($status.service.statuses).length !== numberOfServices) {- $status.service.overallStatus = 'degraded';- } else {- for (const oneService in $status.service.statuses) {- const { isExited, isRestarting, isRunning } = $status.service.statuses[oneService].status;- if (isExited || isRestarting) {- $status.service.overallStatus = 'degraded';- break;- }- if (isRunning) {- $status.service.overallStatus = 'healthy';- }- if (!isExited && !isRestarting && !isRunning) {- $status.service.overallStatus = 'stopped';- }- }- }- }- $status.service.loading = false;- $status.service.initialLoading = false;- }- onDestroy(() => {- $status.service.initialLoading = true;- $status.service.loading = false;- $status.service.statuses = [];- $status.service.overallStatus = 'stopped';- $location = null;- $isDeploymentEnabled = false;- clearInterval(statusInterval);- });- onMount(async () => {- setLocation(service);- $status.service.loading = false;- if ($isDeploymentEnabled) {- await getStatus();- statusInterval = setInterval(async () => {- await getStatus();- }, 2000);- } else {- $status.service.initialLoading = false;- }- });-</script>--<div class="mx-auto max-w-screen-2xl px-6 grid grid-cols-1 lg:grid-cols-2">- <nav class="header flex flex-col lg:flex-row order-2 lg:order-1 px-0 lg:px-4 items-start">- <div class="title lg:pb-10">- <div class="flex justify-center items-center space-x-2">- <div>- {#if $page.url.pathname === `/services/${id}/configuration/type`}- Select a Service Type- {:else if $page.url.pathname === `/services/${id}/configuration/version`}- Select a Service Version- {:else if $page.url.pathname === `/services/${id}/configuration/destination`}- Select a Destination- {:else}- <div class="flex justify-center items-center space-x-2">- <div>Configurations</div>- <div- class="badge badge-lg rounded uppercase"- class:text-green-500={$status.service.overallStatus === 'healthy'}- class:text-yellow-400={$status.service.overallStatus === 'degraded'}- class:text-red-500={$status.service.overallStatus === 'stopped'}- >- {$status.service.overallStatus === 'healthy'- ? 'Healthy'- : $status.service.overallStatus === 'degraded'- ? 'Degraded'- : 'Stopped'}- </div>- </div>- {/if}- </div>- </div>- </div>- <div class="flex flex-row space-x-2 lg:px-2">- {#if $page.url.pathname.startsWith(`/services/${id}/configuration/`)}- <button- on:click={() => deleteService()}- disabled={!$appSession.isAdmin}- class:bg-red-600={$appSession.isAdmin}- class:hover:bg-red-500={$appSession.isAdmin}- class="btn btn-sm btn-error text-sm"- >- Delete Service- </button>- {/if}- </div>- </nav>- <div- class="pt-4 flex flex-row items-start justify-center lg:justify-end space-x-2 order-1 lg:order-2"- >- {#if $status.service.initialLoading}- <button class="btn btn-ghost btn-sm gap-2">- <svg- xmlns="http://www.w3.org/2000/svg"- class="h-6 w-6 animate-spin duration-500 ease-in-out"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M9 4.55a8 8 0 0 1 6 14.9m0 -4.45v5h5" />- <line x1="5.63" y1="7.16" x2="5.63" y2="7.17" />- <line x1="4.06" y1="11" x2="4.06" y2="11.01" />- <line x1="4.63" y1="15.1" x2="4.63" y2="15.11" />- <line x1="7.16" y1="18.37" x2="7.16" y2="18.38" />- <line x1="11" y1="19.94" x2="11" y2="19.95" />- </svg>- {$status.service.startup[id] || 'Loading...'}- </button>- {:else if $status.service.overallStatus === 'healthy'}- <button- disabled={!$isDeploymentEnabled || !$appSession.isAdmin}- class="btn btn-sm gap-2"- on:click={() => restartService()}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M16.3 5h.7a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h5l-2.82 -2.82m0 5.64l2.82 -2.82"- transform="rotate(-45 12 12)"- />- </svg>-- Force Redeploy- </button>- <button- on:click={() => stopService(false)}- type="submit"- disabled={!$isDeploymentEnabled || !$appSession.isAdmin}- class="btn btn-sm gap-2"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6 text-error "- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <rect x="6" y="5" width="4" height="14" rx="1" />- <rect x="14" y="5" width="4" height="14" rx="1" />- </svg>- Stop- </button>- {:else if $status.service.overallStatus === 'degraded'}- <button- on:click={() => stopService()}- type="submit"- disabled={!$isDeploymentEnabled || !$appSession.isAdmin}- class="btn btn-sm gap-2"- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6 text-error"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <rect x="6" y="5" width="4" height="14" rx="1" />- <rect x="14" y="5" width="4" height="14" rx="1" />- </svg> Stop- </button>- {:else if $status.service.overallStatus === 'stopped'}- {#if $status.service.overallStatus === 'degraded'}- <button- class="btn btn-sm gap-2"- disabled={!$isDeploymentEnabled || !$appSession.isAdmin}- on:click={() => restartService()}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M16.3 5h.7a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h5l-2.82 -2.82m0 5.64l2.82 -2.82"- transform="rotate(-45 12 12)"- />- </svg>- {$status.application.statuses.length === 1 ? 'Force Redeploy' : 'Redeploy Stack'}- </button>- {:else if $status.service.overallStatus === 'stopped'}- <button- class="btn btn-sm gap-2"- disabled={!$isDeploymentEnabled || !$appSession.isAdmin}- on:click={() => startService()}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6 text-pink-500"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M7 4v16l13 -8z" />- </svg>- Deploy- </button>- {/if}- {/if}- </div>-</div>--<div- class="mx-auto max-w-screen-2xl px-0 lg:px-10 grid grid-cols-1"- class:lg:grid-cols-4={!$page.url.pathname.startsWith(`/services/${id}/configuration/`)}->- {#if !$page.url.pathname.startsWith(`/services/${id}/configuration/`)}- <nav class="header flex flex-col lg:pt-0 ">- <Menu {service} {template} />- </nav>- {/if}- <div class="pt-0 col-span-0 lg:col-span-3 pb-24 px-4 lg:px-0">- <slot />- </div>-</div>diff --git a/apps/ui/src/routes/services/[id]/configuration/destination.svelte b/apps/ui/src/routes/services/[id]/configuration/destination.sveltedeleted file mode 100644index 611af0fa9e..0000000000--- a/apps/ui/src/routes/services/[id]/configuration/destination.svelte+++ /dev/null@@ -1,134 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, url, stuff }) => {- try {- const { service } = stuff;- if (service?.destinationDockerId && !url.searchParams.get('from')) {- return {- status: 302,- redirect: `/services/${params.id}`- };- }- const response = await get(`/destinations?onlyVerified=true`);- return {- props: {- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let destinations: any;-- import { page } from '$app/stores';- import { goto } from '$app/navigation';- import { get, post } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import { onMount } from 'svelte';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');-- onMount(async () => {- if (destinations.length === 1) {- await handleSubmit(destinations[0].id);- }- });- async function handleSubmit(destinationId: any) {- try {- await post(`/services/${id}/configuration/destination`, { destinationId });- return await goto(from || `/services/${id}`);- } catch (error) {- return errorNotification(error);- }- }-</script>--<div class="flex justify-center">- {#if !destinations || destinations.length === 0}- <div class="flex-col">- <div class="pb-2 text-center font-bold">- {$t('application.configuration.no_configurable_destination')}- </div>- <div class="flex justify-center">- <a href="/new/destination" class="add-icon bg-sky-600 hover:bg-sky-500">- <svg- class="w-6"- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"- /></svg- >- </a>- </div>- </div>- {:else}- <div class="flex flex-wrap justify-center gap-4">- {#each destinations as destination}- <button- type="submit"- class="box-selection hover:bg-primary font-bold relative"- on:click={() => handleSubmit(destination.id)}- >- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-0 -m-4 h-12 w-12 text-sky-500"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"- />- <path d="M5 10h3v3h-3z" />- <path d="M8 10h3v3h-3z" />- <path d="M11 10h3v3h-3z" />- <path d="M8 7h3v3h-3z" />- <path d="M11 7h3v3h-3z" />- <path d="M11 4h3v3h-3z" />- <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />- <line x1="10" y1="16" x2="10" y2="16.01" />- </svg>- {#if destination.remoteEngine}- <svg- xmlns="http://www.w3.org/2000/svg"- class="absolute top-0 left-9 -m-2 h-6 w-6 text-sky-500 rotate-45"- viewBox="0 0 24 24"- stroke-width="3"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="12" y1="18" x2="12.01" y2="18" />- <path d="M9.172 15.172a4 4 0 0 1 5.656 0" />- <path d="M6.343 12.343a8 8 0 0 1 11.314 0" />- <path d="M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0" />- </svg>- {/if}- <div class="font-bold text-xl text-center truncate">{destination.name}</div>- <div class="text-center truncate">{destination.network}</div>- </button>- {/each}- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/services/[id]/configuration/type.svelte b/apps/ui/src/routes/services/[id]/configuration/type.sveltedeleted file mode 100644index cef4837147..0000000000--- a/apps/ui/src/routes/services/[id]/configuration/type.svelte+++ /dev/null@@ -1,146 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, url, stuff }) => {- try {- const { service } = stuff;- if (service?.type && !url.searchParams.get('from')) {- return {- status: 302,- redirect: `/services/${params.id}`- };- }- const response = await get(`/services/${params.id}/configuration/type`);- return {- props: {- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let services: any;-- let search = '';- let filteredServices = services;-- import { goto } from '$app/navigation';- import { page } from '$app/stores';- import { get, post } from '$lib/api';- import { errorNotification } from '$lib/common';- import Beta from '$lib/components/Beta.svelte';- import ServiceIcons from '$lib/components/svg/services/ServiceIcons.svelte';- import { onMount } from 'svelte';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');- let searchInput: HTMLInputElement;-- onMount(() => {- setTimeout(() => {- searchInput.focus();- }, 100);- });- async function handleSubmit(service: any) {- try {- await post(`/services/${id}/configuration/type`, { type: service.type });- return await goto(from || `/services/${id}`);- } catch (error) {- return errorNotification(error);- }- }- function doSearch() {- filteredServices = services.filter(- (service: any) =>- service.name.toLowerCase().includes(search.toLowerCase()) ||- service.labels?.some((label: string) =>- label.toLowerCase().includes(search.toLowerCase())- ) ||- service.description.toLowerCase().includes(search.toLowerCase())- );- }- function cleanupSearch() {- search = '';- filteredServices = services;- }- function sortMe(data: any) {- return data.sort((a, b) => {- let fa = a.name.toLowerCase(),- fb = b.name.toLowerCase();-- if (fa < fb) {- return -1;- }- if (fa > fb) {- return 1;- }- return 0;- });- }-</script>--<div class="container lg:mx-auto lg:p-0 px-8 pt-5">- <div class="input-group flex w-full">- <!-- svelte-ignore a11y-click-events-have-key-events -->- <div class="btn btn-square cursor-default no-animation hover:bg-error" on:click={cleanupSearch}>- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentcolor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <line x1="18" y1="6" x2="6" y2="18" />- <line x1="6" y1="6" x2="18" y2="18" />- </svg>- </div>- <input- bind:this={searchInput}- id="search"- class="input w-full input-primary"- type="text"- placeholder="Search for services"- bind:value={search}- on:input={() => doSearch()}- />- </div>-</div>-<div class=" lg:pt-20 lg:p-0 px-8 pt-20">- <div class="grid grid-flow-rows grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8">- {#each sortMe(filteredServices).filter((s) => !s.ignore) as service}- {#key service.name}- <button- on:click={() => handleSubmit(service)}- class="box-selection relative text-xl font-bold hover:bg-primary"- >- {#if service.isBeta}- <div class="text-center"><Beta /></div>- {/if}- <div class="flex flex-col">- <div class="flex justify-center items-center gap-2 pb-4">- <ServiceIcons type={service.type} />- <div>{service.name}</div>- {#if service.subname}- <div class="text-sm">{service.subname}</div>- {/if}- </div>-- {#if service.description}- <div class="text-sm font-mono">{service.description}</div>- {/if}- </div>- </button>- {/key}- {/each}- </div>-</div>diff --git a/apps/ui/src/routes/services/[id]/configuration/version.svelte b/apps/ui/src/routes/services/[id]/configuration/version.sveltedeleted file mode 100644index c01667cb48..0000000000--- a/apps/ui/src/routes/services/[id]/configuration/version.svelte+++ /dev/null@@ -1,81 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, url, stuff }) => {- try {- const { service } = stuff;- if (service?.version && !url.searchParams.get('from')) {- return {- status: 302,- redirect: `/services/${params.id}`- };- }- const response = await get(`/services/${params.id}/configuration/version`);- return {- props: {- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let versions: any;- export let type: any;- import { page } from '$app/stores';- import { goto } from '$app/navigation';- import { get, post } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import { onMount } from 'svelte';- import { appSession } from '$lib/store';-- const { id } = $page.params;- const from = $page.url.searchParams.get('from');-- onMount(async () => {- if (versions.length === 1) {- await handleSubmit(versions[0]);- }- });-- async function handleSubmit(version: any) {- try {- await post(`/services/${id}/configuration/version`, { version });- return await goto(from || `/services/${id}`);- } catch (error) {- return errorNotification(error);- }- }-</script>--{#if from}- <div class="pb-10 text-center">- Warning: you are about to change the version of this service.<br />This could cause problem- after you restart the service,- <span class="font-bold text-pink-600">like losing your data, incompatibility issues, etc</span- >.<br />Only do if you know what you are doing.- </div>-{/if}-<div class="flex flex-wrap justify-center">- {#each versions as version}- <div class="p-2">- <form on:submit|preventDefault={() => handleSubmit(version)}>- <button- type="submit"- class:bg-pink-500={recommendedVersion === version}- class="box-selection relative flex text-xl font-bold hover:bg-pink-600"- >{version}- {#if recommendedVersion === version}- <span class="absolute bottom-0 pb-2 text-xs">recommended</span>- {/if}</button- >- </form>- </div>- {/each}-</div>diff --git a/apps/ui/src/routes/services/[id]/danger.svelte b/apps/ui/src/routes/services/[id]/danger.sveltedeleted file mode 100644index 9f95c65a5c..0000000000--- a/apps/ui/src/routes/services/[id]/danger.svelte+++ /dev/null@@ -1,62 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, stuff, url }) => {- try {- const response = await get(`/services/${params.id}`);- return {- props: {- application: stuff.application,- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let service: any;- import { page } from '$app/stores';- import { del, get, post } from '$lib/api';- import { t } from '$lib/translations';- import { appSession, status } from '$lib/store';- import { errorNotification } from '$lib/common';- import { goto } from '$app/navigation';- const { id } = $page.params;-- async function deleteService() {- const sure = confirm($t('application.confirm_to_delete', { name: service.name }));- if (sure) {- $status.service.initialLoading = true;- try {- await del(`/services/${service.id}`, {});- return await goto('/');- } catch (error) {- return errorNotification(error);- } finally {- $status.service.initialLoading = false;- }- }- }-</script>--<div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">Danger Zone</div>- </div>- <button- id="forcedelete"- on:click={() => deleteService()}- type="submit"- disabled={!$appSession.isAdmin}- class:bg-red-600={$appSession.isAdmin}- class:hover:bg-red-500={$appSession.isAdmin}- class="btn btn-lg btn-error text-sm"- >- Delete Service- </button>-</div>diff --git a/apps/ui/src/routes/services/[id]/index.svelte b/apps/ui/src/routes/services/[id]/index.sveltedeleted file mode 100644index 97dbbac2aa..0000000000--- a/apps/ui/src/routes/services/[id]/index.svelte+++ /dev/null@@ -1,574 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ stuff }) => {- return {- props: { ...stuff }- };- };-</script>--<script lang="ts">- export let service: any;- export let template: any;- export let tags: any;- import cuid from 'cuid';- import { onMount } from 'svelte';- import { browser } from '$app/env';- import { page } from '$app/stores';-- import { get, post } from '$lib/api';- import { errorNotification, getDomain } from '$lib/common';- import { t } from '$lib/translations';- import {- appSession,- status,- setLocation,- addToast,- checkIfDeploymentEnabledServices,- isDeploymentEnabled- } from '$lib/store';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import Setting from '$lib/components/Setting.svelte';-- import DocLink from '$lib/components/DocLink.svelte';- import Explainer from '$lib/components/Explainer.svelte';- import ServiceStatus from '$lib/components/ServiceStatus.svelte';- import { saveForm } from './utils';- import Select from 'svelte-select';- import Wordpress from './_Services/wordpress.svelte';-- const { id } = $page.params;- let hostPorts = Object.keys(template).filter((key) => {- if (template[key]?.hostPorts?.length > 0) {- return true;- }- });- $: isDisabled =- !$appSession.isAdmin ||- $status.service.overallStatus === 'degraded' ||- $status.service.overallStatus === 'healthy' ||- $status.service.initialLoading;-- let forceSave = false;- let loading = {- save: false,- verification: false,- cleanup: false- };- let dualCerts = service.dualCerts;-- let nonWWWDomain = service.fqdn && getDomain(service.fqdn).replace(/^www\./, '');- let isNonWWWDomainOK = false;- let isWWWDomainOK = false;-- function containerClass() {- return 'text-white bg-transparent font-thin px-0 w-full border border-dashed border-coolgray-200';- }- async function isDNSValid(domain: any, isWWW: any) {- try {- await get(`/services/${id}/check?domain=${domain}`);- addToast({- message: 'DNS configuration is valid.',- type: 'success'- });- isWWW ? (isWWWDomainOK = true) : (isNonWWWDomainOK = true);- return true;- } catch (error) {- errorNotification(error);- isWWW ? (isWWWDomainOK = false) : (isNonWWWDomainOK = false);- return false;- }- }-- async function handleSubmit(e: any) {- if (loading.save) return;- loading.save = true;- try {- const formData = new FormData(e.target);- await post(`/services/${id}/check`, {- fqdn: service.fqdn,- forceSave,- dualCerts,- exposePort: service.exposePort- });- for (const setting of service.serviceSetting) {- if (setting.variableName?.startsWith('$$config_coolify_fqdn') && setting.value) {- for (let field of formData) {- const [key, value] = field;- if (setting.name === key) {- if (setting.value !== value) {- await post(`/services/${id}/check`, {- fqdn: value,- otherFqdn: true- });- }- }- }- }- }-- if (formData) service = await saveForm(formData, service);- setLocation(service);- forceSave = false;- $isDeploymentEnabled = checkIfDeploymentEnabledServices(service);- return addToast({- message: 'Configuration saved.',- type: 'success'- });- } catch (error) {- //@ts-ignore- if (error?.message.startsWith($t('application.dns_not_set_partial_error'))) {- forceSave = true;- if (dualCerts) {- isNonWWWDomainOK = await isDNSValid(getDomain(nonWWWDomain), false);- isWWWDomainOK = await isDNSValid(getDomain(`www.${nonWWWDomain}`), true);- } else {- const isWWW = getDomain(service.fqdn).includes('www.');- if (isWWW) {- isWWWDomainOK = await isDNSValid(getDomain(`www.${nonWWWDomain}`), true);- } else {- isNonWWWDomainOK = await isDNSValid(getDomain(nonWWWDomain), false);- }- }- }- return errorNotification(error);- } finally {- loading.save = false;- }- }- async function setEmailsToVerified() {- loading.verification = true;- try {- await post(`/services/${id}/${service.type}/activate`, { id: service.id });- return addToast({- message: t.get('services.all_email_verified'),- type: 'success'- });- } catch (error) {- return errorNotification(error);- } finally {- loading.verification = false;- }- }- async function migrateAppwriteDB() {- loading.verification = true;- try {- await post(`/services/${id}/${service.type}/migrate`, { id: service.id });- return addToast({- message: "Appwrite's database has been migrated.",- type: 'success'- });- } catch (error) {- return errorNotification(error);- } finally {- loading.verification = false;- }- }- async function changeSettings(name: any) {- if (!$appSession.isAdmin) return;- try {- if (name === 'dualCerts') {- dualCerts = !dualCerts;- }- await post(`/services/${id}/settings`, { dualCerts });- return addToast({- message: t.get('application.settings_saved'),- type: 'success'- });- } catch (error) {- return errorNotification(error);- }- }- async function cleanupLogs() {- loading.cleanup = true;- try {- await post(`/services/${id}/${service.type}/cleanup`, { id: service.id });- return addToast({- message: 'Cleared unnecessary database logs.',- type: 'success'- });- } catch (error) {- return errorNotification(error);- } finally {- loading.cleanup = false;- }- }- async function selectTag(event: any) {- service.version = event.detail.value;- }- onMount(async () => {- if (browser && window.location.hostname === 'demo.coolify.io' && !service.fqdn) {- service.fqdn = `http://${cuid()}.demo.coolify.io`;- // if (service.type === 'wordpress') {- // service.wordpress.mysqlDatabase = 'db';- // }- // if (service.type === 'plausibleanalytics') {- // service.plausibleAnalytics.email = '[email protected]';- // service.plausibleAnalytics.username = 'admin';- // }- // if (service.type === 'minio') {- // service.minio.apiFqdn = `http://${cuid()}.demo.coolify.io`;- // }- // if (service.type === 'ghost') {- // service.ghost.mariadbDatabase = 'db';- // }- // if (service.type === 'fider') {- // service.fider.emailNoreply = '[email protected]';- // }- // await handleSubmit();- }- });-</script>--<div class="w-full">- <form id="saveForm" on:submit|preventDefault={handleSubmit}>- <div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3 ">General</div>- {#if $appSession.isAdmin}- <button- type="submit"- class="btn btn-sm"- class:bg-orange-600={forceSave}- class:hover:bg-orange-400={forceSave}- class:loading={loading.save}- class:btn-primary={!loading.save}- disabled={loading.save}- >{loading.save- ? $t('forms.save')- : forceSave- ? $t('forms.confirm_continue')- : $t('forms.save')}</button- >- {/if}- {#if service.type === 'plausibleanalytics' && $status.service.overallStatus === 'healthy'}- <button- class="btn btn-sm"- on:click|preventDefault={setEmailsToVerified}- disabled={loading.verification}- class:loading={loading.verification}- >{loading.verification- ? $t('forms.verifying')- : $t('forms.verify_emails_without_smtp')}</button- >- <button- class="btn btn-sm"- on:click|preventDefault={cleanupLogs}- disabled={loading.cleanup}- class:loading={loading.cleanup}>Cleanup Unnecessary Database Logs</button- >- {/if}- {#if service.type === 'appwrite' && $status.service.overallStatus === 'healthy'}- <button- class="btn btn-sm"- on:click|preventDefault={migrateAppwriteDB}- disabled={loading.verification}- class:loading={loading.verification}- >{loading.verification- ? 'Migrating... it may take a while...'- : "Migrate Appwrite's Database"}</button- >- <div>- <DocLink url="https://appwrite.io/docs/upgrade#run-the-migration" />- </div>- {/if}- </div>- </div>-- <div class="grid grid-flow-row gap-2 px-4">- <div class="mt-2 grid grid-cols-2 items-center">- <label for="name">{$t('forms.name')}</label>- <input- name="name"- id="name"- class="w-full"- disabled={!$appSession.isAdmin}- bind:value={service.name}- required- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="version">Version / Tag</label>- {#if tags.tags?.length > 0}- <div class="custom-select-wrapper w-full">- <Select- form="saveForm"- containerClasses={isDisabled && containerClass()}- {isDisabled}- id="version"- showIndicator={!isDisabled}- items={[...tags.tags]}- on:select={selectTag}- value={service.version}- isClearable={false}- />- </div>- {:else}- <input class="w-full border-red-500" disabled placeholder="Error getting tags..." />- {/if}- </div>-- <div class="grid grid-cols-2 items-center">- <label for="destination">{$t('application.destination')}</label>- <div>- {#if service.destinationDockerId}- <div class="no-underline">- <input- value={service.destinationDocker.name}- id="destination"- disabled- class="bg-transparent w-full"- />- </div>- {/if}- </div>- </div>-- <div class="grid grid-cols-2 items-center">- <label for="fqdn"- >{$t('application.url_fqdn')}- <Explainer explanation={$t('application.https_explainer')} />- </label>- <CopyPasswordField- placeholder="eg: https://coollabs.io"- readonly={isDisabled}- disabled={isDisabled}- name="fqdn"- id="fqdn"- pattern="^https?://([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{'{'}2,{'}'}$"- bind:value={service.fqdn}- required- />- </div>- {#each Object.keys(template) as oneService}- {#each template[oneService].fqdns as fqdn}- <div class="grid grid-cols-2 items-center py-1">- <label for={fqdn.name}>{fqdn.label || fqdn.name}</label>- <CopyPasswordField- placeholder="eg: https://coolify.io"- readonly={isDisabled}- disabled={isDisabled}- required={fqdn.required}- name={fqdn.name}- id={fqdn.name}- bind:value={fqdn.value}- />- </div>- {/each}- {/each}- </div>- {#if forceSave}- <div class="flex-col space-y-2 pt-4 text-center">- {#if isNonWWWDomainOK}- <button- class="btn btn-sm bg-green-600 hover:bg-green-500"- on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}- >DNS settings for {nonWWWDomain} is OK, click to recheck.</button- >- {:else}- <button- class="btn btn-sm bg-red-600 hover:bg-red-500"- on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}- >DNS settings for {nonWWWDomain} is invalid, click to recheck.</button- >- {/if}- {#if dualCerts}- {#if isWWWDomainOK}- <button- class="btn btn-sm bg-green-600 hover:bg-green-500"- on:click|preventDefault={() => isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}- >DNS settings for www.{nonWWWDomain} is OK, click to recheck.</button- >- {:else}- <button- class="btn btn-sm bg-red-600 hover:bg-red-500"- on:click|preventDefault={() => isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}- >DNS settings for www.{nonWWWDomain} is invalid, click to recheck.</button- >- {/if}- {/if}- </div>- {/if}-- <div class="grid grid-flow-row gap-2 px-4">- <div class="grid grid-cols-2 items-center">- <Setting- id="dualCerts"- disabled={$status.service.isRunning || !$appSession.isAdmin}- dataTooltip={$t('forms.must_be_stopped_to_modify')}- bind:setting={dualCerts}- title={$t('application.ssl_www_and_non_www')}- description={$t('services.generate_www_non_www_ssl')}- on:click={() => !$status.service.isRunning && changeSettings('dualCerts')}- />- </div>- {#if hostPorts.length === 0}- <div class="grid grid-cols-2 items-center">- <label for="exposePort"- >Exposed Port <Explainer- explanation={'You can expose your application to a port on the host system.<br><br>Useful if you would like to use your own reverse proxy or tunnel and also in development mode. Otherwise leave empty.'}- /></label- >- <input- class="w-full"- readonly={isDisabled}- disabled={isDisabled}- name="exposePort"- id="exposePort"- bind:value={service.exposePort}- placeholder="12345"- />- </div>- {/if}- </div>- <div class="pt-6">- {#each Object.keys(template) as oneService}- <div- class="flex flex-row my-2 space-x-2 mb-6"- class:my-6={template[oneService].environment.length > 0 &&- template[oneService].environment.find((env) => env.main === oneService)}- class:border-b={template[oneService].environment.length > 0 &&- template[oneService].environment.find((env) => env.main === oneService)}- class:border-coolgray-500={template[oneService].environment.length > 0 &&- template[oneService].environment.find((env) => env.main === oneService)}- >- <div class="title font-bold pb-3 capitalize">- {template[oneService].name ||- oneService.replace(`${id}-`, '').replace(id, service.type)}- </div>- <ServiceStatus id={oneService} />- </div>- <div class="grid grid-flow-row gap-2 px-4">- {#if template[oneService].environment.length > 0}- {#each template[oneService].environment as variable}- {#if variable.main === oneService}- <div class="grid grid-cols-2 items-center gap-2">- <label class="h-10" for={variable.name}- >{variable.label || variable.name}- {#if variable.description}- <Explainer explanation={variable.description} />- {/if}</label- >- {#if variable.defaultValue === '$$generate_fqdn'}- <CopyPasswordField- disabled- readonly- name={variable.name}- id={variable.name}- value={service.fqdn}- placeholder={variable.placeholder}- required={variable?.required}- />- {:else if variable.defaultValue === '$$generate_fqdn_slash'}- <CopyPasswordField- disabled- readonly- name={variable.name}- id={variable.name}- value={service.fqdn + '/' || ''}- placeholder={variable.placeholder}- required={variable?.required}- />- {:else if variable.defaultValue === '$$generate_domain'}- <CopyPasswordField- disabled- readonly- name={variable.name}- id={variable.name}- value={getDomain(service.fqdn) || ''}- placeholder={variable.placeholder}- required={variable?.required}- />- {:else if variable.defaultValue === '$$generate_network'}- <CopyPasswordField- disabled- readonly- name={variable.name}- id={variable.name}- value={service.destinationDocker.network}- placeholder={variable.placeholder}- required={variable?.required}- />- {:else if variable.defaultValue === 'true' || variable.defaultValue === 'false'}- {#if variable.value === 'true' || variable.value === 'false' || variable.value === 'invite_only'}- <select- class="w-full font-normal"- readonly={isDisabled}- disabled={isDisabled}- id={variable.name}- name={variable.name}- bind:value={variable.value}- form="saveForm"- placeholder={variable.placeholder}- required={variable?.required}- >- <option value="true">enabled</option>- <option value="false">disabled</option>- {#if service.type.startsWith('plausibleanalytics') && variable.id == 'config_disable_registration'}- <option value="invite_only">invite_only</option>- {/if}- </select>- {:else}- <select- class="w-full font-normal"- readonly={isDisabled}- disabled={isDisabled}- id={variable.name}- name={variable.name}- bind:value={variable.defaultValue}- form="saveForm"- placeholder={variable.placeholder}- required={variable?.required}- >- <option value="true">true</option>- <option value="false">false</option>- </select>- {/if}- {:else if variable.defaultValue === '$$generate_password'}- <CopyPasswordField- isPasswordField- readonly- disabled- name={variable.name}- id={variable.name}- value={variable.value}- placeholder={variable.placeholder}- required={variable?.required}- />- {:else if variable.type === 'textarea'}- <textarea- class="w-full"- value={variable.value}- readonly={isDisabled}- disabled={isDisabled}- class:resize-none={$status.service.overallStatus === 'healthy'}- rows="5"- name={variable.name}- id={variable.name}- placeholder={variable.placeholder}- required={variable?.required}- />- {:else}- <CopyPasswordField- isPasswordField={variable.id.startsWith('secret')}- required={variable?.required}- readonly={variable.readOnly || isDisabled}- disabled={variable.readOnly || isDisabled}- name={variable.name}- id={variable.name}- value={variable.value}- placeholder={variable.placeholder}- />- {/if}- </div>- {/if}- {/each}- {#if template[oneService].name.toLowerCase() === 'wordpress' && service.type.startsWith('wordpress')}- <Wordpress {service} />- {/if}- {/if}- </div>- {/each}- </div>- </form>-</div>diff --git a/apps/ui/src/routes/services/[id]/logs/_Loading.svelte b/apps/ui/src/routes/services/[id]/logs/_Loading.sveltedeleted file mode 100644index 73fbe709e9..0000000000--- a/apps/ui/src/routes/services/[id]/logs/_Loading.svelte+++ /dev/null@@ -1,41 +0,0 @@-<div class="lds-ripple absolute left-0">- <div />- <div />-</div>--<style>- .lds-ripple {- display: inline-block;- position: relative;- left: -19px;- top: -8px;- width: 40px;- height: 40px;- }- .lds-ripple div {- position: absolute;- border: 4px solid #fff;- opacity: 1;- border-radius: 50%;- animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;- }- .lds-ripple div:nth-child(2) {- animation-delay: -0.5s;- }- @keyframes lds-ripple {- 0% {- top: 1px;- left: 1px;- width: 0;- height: 0;- opacity: 1;- }- 100% {- top: 0px;- left: 0px;- width: 36px;- height: 36px;- opacity: 0;- }- }-</style>diff --git a/apps/ui/src/routes/services/[id]/logs/index.svelte b/apps/ui/src/routes/services/[id]/logs/index.sveltedeleted file mode 100644index 52f497f917..0000000000--- a/apps/ui/src/routes/services/[id]/logs/index.svelte+++ /dev/null@@ -1,170 +0,0 @@-<script lang="ts">- import { page } from '$app/stores';- import { get } from '$lib/api';- import { errorNotification } from '$lib/common';- import { onDestroy, onMount } from 'svelte';-- let service: any = {};- let template: any = null;- let logsLoading = false;- let loadLogsInterval: any = null;- let logs: any = [];- let lastLog: any = null;- let followingInterval: any;- let followingLogs: any;- let logsEl: any;- let position = 0;- let selectedService: any = null;- let noContainer = false;-- const { id } = $page.params;-- onMount(async () => {- const response = await get(`/services/${id}`);- template = response.template;- service = response.service;- });-- onDestroy(() => {- clearInterval(loadLogsInterval);- clearInterval(followingInterval);- });-- async function loadLogs() {- if (logsLoading) return;- try {- const newLogs: any = await get(- `/services/${id}/logs/${selectedService}?since=${lastLog?.split(' ')[0] || 0}`- );- if (newLogs.noContainer) {- noContainer = true;- logs = [];- if (logs.length > 0) {- clearInterval(loadLogsInterval);- selectedService = null;- }- return;- } else {- noContainer = false;- }- if (newLogs?.logs && newLogs.logs[newLogs.logs.length - 1] !== logs[logs.length - 1]) {- logs = logs.concat(newLogs.logs);- lastLog = newLogs.logs[newLogs.logs.length - 1];- }- } catch (error) {- return errorNotification(error);- }- }- function detect() {- if (position < logsEl.scrollTop) {- position = logsEl.scrollTop;- } else {- if (followingLogs) {- clearInterval(followingInterval);- followingLogs = false;- }- position = logsEl.scrollTop;- }- }-- function followBuild() {- followingLogs = !followingLogs;- if (followingLogs) {- followingInterval = setInterval(() => {- logsEl.scrollTop = logsEl.scrollHeight;- window.scrollTo(0, document.body.scrollHeight);- }, 1000);- } else {- clearInterval(followingInterval);- }- }- async function selectService(service: any, init: boolean = false) {- if (loadLogsInterval) clearInterval(loadLogsInterval);- if (followingInterval) clearInterval(followingInterval);-- logs = [];- lastLog = null;- followingLogs = false;-- selectedService = service;- loadLogs();- loadLogsInterval = setInterval(() => {- loadLogs();- }, 1000);- }-</script>--<div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">Service Logs</div>- </div>-</div>--{#if template}- <div class="grid grid-cols-3 gap-2 lg:gap-8 pb-4">- {#each Object.keys(template) as service}- <button- on:click={() => selectService(service, true)}- class:bg-primary={selectedService === service}- class:bg-coolgray-200={selectedService !== service}- class="w-full rounded p-5 hover:bg-primary font-bold"- >- {#if template[service].name}- {template[service].name || ''} <br /><span class="text-xs">({service})</span>- {:else}- <span>{service}</span>- {/if}- </button>- {/each}- </div>-{:else}- <div class="w-full flex justify-center font-bold text-xl">Loading components...</div>-{/if}--{#if selectedService}- <div class="flex flex-row justify-center space-x-2">- {#if logs.length === 0}- {#if noContainer}- <div class="text-xl font-bold tracking-tighter">Container not found / exited.</div>- {/if}- {:else}- <div class="relative w-full">- <div class="flex justify-start sticky space-x-2 pb-2">- <button on:click={followBuild} class="btn btn-sm " class:bg-coollabs={followingLogs}>- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6 mr-2"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="12" cy="12" r="9" />- <line x1="8" y1="12" x2="12" y2="16" />- <line x1="12" y1="8" x2="12" y2="16" />- <line x1="16" y1="12" x2="12" y2="16" />- </svg>- {followingLogs ? 'Following Logs...' : 'Follow Logs'}- </button>- {#if loadLogsInterval}- <button id="streaming" class="btn btn-sm bg-transparent border-none loading"- >Streaming logs</button- >- {/if}- </div>- <div- bind:this={logsEl}- on:scroll={detect}- class="font-mono w-full bg-coolgray-100 border border-coolgray-200 p-5 overflow-x-auto overflox-y-auto max-h-[80vh] rounded mb-20 flex flex-col scrollbar-thumb-coollabs scrollbar-track-coolgray-200 scrollbar-w-1"- >- {#each logs as log}- <p>{log + '\n'}</p>- {/each}- </div>- </div>- {/if}- </div>-{/if}diff --git a/apps/ui/src/routes/services/[id]/secrets.svelte b/apps/ui/src/routes/services/[id]/secrets.sveltedeleted file mode 100644index e92933736f..0000000000--- a/apps/ui/src/routes/services/[id]/secrets.svelte+++ /dev/null@@ -1,117 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, stuff, url }) => {- try {- const response = await get(`/services/${params.id}/secrets`);- return {- props: {- service: stuff.service,- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let secrets: any;- import Secret from './_Secret.svelte';- import { page } from '$app/stores';- import { get } from '$lib/api';- import { t } from '$lib/translations';- import pLimit from 'p-limit';- import { addToast, appSession } from '$lib/store';- import { saveSecret } from './utils';- const limit = pLimit(1);-- const { id } = $page.params;- let batchSecrets = '';-- async function refreshSecrets() {- const data = await get(`/services/${id}/secrets`);- secrets = [...data.secrets];- }- async function getValues() {- if (!batchSecrets) return;- const eachValuePair = batchSecrets.split('\n');- const batchSecretsPairs = eachValuePair- .filter((secret) => !secret.startsWith('#') && secret)- .map((secret) => {- const [name, ...rest] = secret.split('=');- const value = rest.join('=');- const cleanValue = value?.replaceAll('"', '') || '';- return {- name: name.trim(),- value: cleanValue.trim(),- isNew: !secrets.find((secret: any) => name === secret.name)- };- });-- await Promise.all(- batchSecretsPairs.map(({ name, value, isNew }) =>- limit(() => saveSecret({ name, value, serviceId: id, isNew }))- )- );- batchSecrets = '';- await refreshSecrets();- addToast({- message: 'Secrets saved.',- type: 'success'- });- }-</script>--<div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">Secrets</div>- </div>- <div class="overflow-x-auto">- <table class="w-full border-separate text-left">- <thead>- <tr class="uppercase">- <th scope="col">{$t('forms.name')}</th>- <th scope="col uppercase">{$t('forms.value')}</th>- <th scope="col uppercase" class="w-96 text-center">{$t('forms.action')}</th>- </tr>- </thead>- <tbody class="space-y-2">- {#each secrets as secret}- {#key secret.id}- <tr>- <Secret- name={secret.name}- value={secret.value}- readonly={secret.readOnly}- on:refresh={refreshSecrets}- />- </tr>- {/key}- {/each}- <tr>- <Secret isNewSecret on:refresh={refreshSecrets} />- </tr>- </tbody>- </table>- </div>- {#if $appSession.isAdmin}- <form on:submit|preventDefault={getValues} class="mb-12 w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2 pt-10">- <div class="flex flex-row space-x-2">- <div class="title font-bold pb-3 ">Paste <code>.env</code> file</div>- <button type="submit" class="btn btn-sm bg-primary">Add Secrets in Batch</button>- </div>- </div>-- <textarea- placeholder={`PORT=1337\nPASSWORD=supersecret`}- bind:value={batchSecrets}- class="mb-2 min-h-[200px] w-full"- />- </form>- {/if}-</div>diff --git a/apps/ui/src/routes/services/[id]/storages.svelte b/apps/ui/src/routes/services/[id]/storages.sveltedeleted file mode 100644index d2b6884cf9..0000000000--- a/apps/ui/src/routes/services/[id]/storages.svelte+++ /dev/null@@ -1,92 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ params, stuff, url }) => {- try {- const response = await get(`/services/${params.id}/storages`);- return {- props: {- template: stuff.template,- ...response- }- };- } catch (error) {- return {- status: 500,- error: new Error(`Could not load ${url}`)- };- }- };-</script>--<script lang="ts">- export let persistentStorages: any;- export let template: any;- import { page } from '$app/stores';- import Storage from './_Storage.svelte';- import { get } from '$lib/api';- import { t } from '$lib/translations';- import Explainer from '$lib/components/Explainer.svelte';- import { appSession } from '$lib/store';-- const { id } = $page.params;- async function refreshStorage() {- const data = await get(`/services/${id}/storages`);- persistentStorages = [...data.persistentStorages];- }- let services = Object.keys(template).map((service) => {- if (template[service]?.name) {- return {- name: template[service].name,- id: service- };- } else {- return service;- }- });-</script>--<div class="w-full">- <div class="mx-auto w-full">- <div class="flex flex-row border-b border-coolgray-500 mb-6 space-x-2">- <div class="title font-bold pb-3">- Persistent Volumes <Explainer- position="dropdown-bottom"- explanation={$t('application.storage.persistent_storage_explainer')}- />- </div>- </div>- {#if persistentStorages.filter((s) => s.predefined).length > 0}- <div class="title">Predefined Volumes</div>- <div class="w-full lg:px-0 px-4">- <div class="grid grid-col-1 lg:grid-cols-2 pt-2 gap-2">- <div class="font-bold uppercase">Container</div>- <div class="font-bold uppercase">Volume ID : Mount Dir</div>- </div>- </div>-- {#each persistentStorages.filter((s) => s.predefined) as storage}- {#key storage.id}- <Storage on:refresh={refreshStorage} {storage} {services} />- {/key}- {/each}- {/if}-- {#if persistentStorages.filter((s) => !s.predefined).length > 0}- <div class="title" class:pt-10={persistentStorages.filter((s) => s.predefined).length > 0}>- Custom Volumes- </div>-- {#each persistentStorages.filter((s) => !s.predefined) as storage}- {#key storage.id}- <Storage on:refresh={refreshStorage} {storage} {services} />- {/key}- {/each}- {/if}- {#if $appSession.isAdmin}- <div class="title" class:pt-10={persistentStorages.filter((s) => s.predefined).length > 0}>- Add New Volume- </div>- <Storage on:refresh={refreshStorage} isNew {services} />- {/if}- </div>-</div>diff --git a/apps/ui/src/routes/services/[id]/utils.ts b/apps/ui/src/routes/services/[id]/utils.tsdeleted file mode 100644index d4523aaf01..0000000000--- a/apps/ui/src/routes/services/[id]/utils.ts+++ /dev/null@@ -1,81 +0,0 @@-import { get, post } from '$lib/api';-import { t } from '$lib/translations';-import { errorNotification } from '$lib/common';--type Props = {- isNew: boolean;- name: string;- value: string;- isBuildSecret?: boolean;- isPRMRSecret?: boolean;- isNewSecret?: boolean;- serviceId: string;-};--export async function saveSecret({- isNew,- name,- value,- isBuildSecret,- isPRMRSecret,- isNewSecret,- serviceId-}: Props): Promise<void> {- if (!name) return errorNotification(`${t.get('forms.name')} ${t.get('forms.is_required')}`);- if (!value) return errorNotification(`${t.get('forms.value')} ${t.get('forms.is_required')}`);- try {- await post(`/services/${serviceId}/secrets`, {- name,- value,- isBuildSecret,- isPRMRSecret,- isNew: isNew || false- });- if (isNewSecret) {- name = '';- value = '';- isBuildSecret = false;- }- } catch (error) {- throw error- }-}--export async function saveForm(formData: any, service: any) {- const settings = service.serviceSetting.map((setting: { name: string }) => setting.name);- const secrets = service.serviceSecret.map((secret: { name: string }) => secret.name);- const baseCoolifySetting = ['name', 'fqdn', 'exposePort', 'version'];- for (let field of formData) {- const [key, value] = field;- if (secrets.includes(key) && value) {- await post(`/services/${service.id}/secrets`, {- name: key,- value,- });- } else {- service.serviceSetting = service.serviceSetting.map((setting: any) => {- if (setting.name === key) {- setting.changed = true;- setting.value = value;- }- return setting;- });- if (!settings.includes(key) && !baseCoolifySetting.includes(key)) {- service.serviceSetting.push({- id: service.id,- name: key,- value: value,- isNew: true- });- }- if (baseCoolifySetting.includes(key)) {- service[key] = value;- }- }-- }- await post(`/services/${service.id}`, { ...service });- const { service: reloadedService } = await get(`/services/${service.id}`);- return reloadedService;--}diff --git a/apps/ui/src/routes/services/_index.svelte b/apps/ui/src/routes/services/_index.sveltedeleted file mode 100644index a788fde9aa..0000000000--- a/apps/ui/src/routes/services/_index.svelte+++ /dev/null@@ -1,129 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async () => {- try {- const response = await get(`/services`);- return {- props: {- ...response- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let services: any = [];- import { post, get } from '$lib/api';- import { goto } from '$app/navigation';- import { t } from '$lib/translations';- import { appSession } from '$lib/store';-- import { getDomain } from '$lib/common';- import ServiceIcons from '$lib/components/svg/services/ServiceIcons.svelte';-- async function newService() {- const { id } = await post('/services/new', {});- return await goto(`/services/${id}`, { replaceState: true });- }- const ownServices = services.filter((service: any) => {- if (service.teams[0].id === $appSession.teamId) {- return service;- }- });- const otherServices = services.filter((service: any) => {- if (service.teams[0].id !== $appSession.teamId) {- return service;- }- });-</script>--<nav class="header">- <h1 class="mr-4 text-2xl font-bold">{$t('index.services')}</h1>- <button on:click={newService} class="btn btn-square btn-sm bg-services">- <svg- class="h-6 w-6"- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"- /></svg- >- </button>-</nav>-<br />-<div class="flex-col justify-center mt-10 pb-12 sm:pb-16 lg:pt-16">- {#if !services || ownServices.length === 0}- <div class="flex-col">- <div class="text-center text-xl font-bold">{$t('service.no_service')}</div>- </div>- {/if}- {#if ownServices.length > 0 || otherServices.length > 0}- <div class="flex flex-col">- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each ownServices as service}- <a href="/services/{service.id}" class=" p-2 no-underline">- <div class="box-selection group relative hover:bg-pink-600">- <ServiceIcons type={service.type} />- <div class="truncate text-center text-xl font-bold">- {service.name}- </div>- {#if $appSession.teamId === '0' && otherServices.length > 0}- <div class="truncate text-center">{service.teams[0].name}</div>- {/if}- {#if service.fqdn}- <div class="truncate text-center">{getDomain(service.fqdn) || ''}</div>- {/if}- {#if service.destinationDocker?.name}- <div class="truncate text-center">{service.destinationDocker.name}</div>- {/if}- {#if !service.type || !service.fqdn}- <div class="truncate text-center font-bold text-red-500 group-hover:text-white">- {$t('application.configuration.configuration_missing')}- </div>- {/if}- </div>- </a>- {/each}- </div>- {#if otherServices.length > 0 && $appSession.teamId === '0'}- <div class="px-6 pb-5 pt-10 text-2xl font-bold text-center">Other Services</div>- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each otherServices as service}- <a href="/services/{service.id}" class="p-2 no-underline">- <div class="box-selection group relative hover:bg-pink-600">- <ServiceIcons type={service.type} />- <div class="truncate text-center text-xl font-bold">- {service.name}- </div>- {#if $appSession.teamId === '0'}- <div class="truncate text-center">{service.teams[0].name}</div>- {/if}- {#if service.fqdn}- <div class="truncate text-center">{getDomain(service.fqdn) || ''}</div>- {/if}- {#if !service.type || !service.fqdn}- <div class="truncate text-center font-bold text-red-500 group-hover:text-white">- Configuration missing- </div>- {:else}- <div class="text-center truncate">{service.type}</div>- {/if}- </div>- </a>- {/each}- </div>- {/if}- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/services/index.svelte b/apps/ui/src/routes/services/index.sveltedeleted file mode 100644index 8136f76e8c..0000000000--- a/apps/ui/src/routes/services/index.svelte+++ /dev/null@@ -1,4 +0,0 @@-<script lang="ts">- import { goto } from '$app/navigation';- goto('/');-</script>diff --git a/apps/ui/src/routes/settings/_Menu.svelte b/apps/ui/src/routes/settings/_Menu.sveltedeleted file mode 100644index 7adb01a6ac..0000000000--- a/apps/ui/src/routes/settings/_Menu.svelte+++ /dev/null@@ -1,103 +0,0 @@-<script lang="ts">- import { page } from '$app/stores';- import { appSession } from '$lib/store';-</script>--<ul class="menu border bg-coolgray-100 border-coolgray-200 rounded p-2 space-y-2">- <li class="menu-title">- <span>General</span>- </li>- {#if $appSession.teamId === '0'}- <li class="rounded" class:bg-coollabs={$page.url.pathname === `/settings/coolify`}>- <a href={`/settings/coolify`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5"- />- </svg>Coolify Settings</a- >- </li>- {/if}- <li class="rounded" class:bg-coollabs={$page.url.pathname === `/settings/docker`}>- <a href={`/settings/docker`} class="no-underline w-full">- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"- />- <path d="M5 10h3v3h-3z" />- <path d="M8 10h3v3h-3z" />- <path d="M11 10h3v3h-3z" />- <path d="M8 7h3v3h-3z" />- <path d="M11 7h3v3h-3z" />- <path d="M11 4h3v3h-3z" />- <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />- <line x1="10" y1="16" x2="10" y2="16.01" />- </svg>Docker Registries</a- >- </li>-- <li class="menu-title">- <span>Keys & Certificates</span>- </li>- <li class="rounded" class:bg-coollabs={$page.url.pathname === `/settings/ssh`}>- <a href={`/settings/ssh`} class="no-underline w-full"- ><svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <circle cx="8" cy="15" r="4" />- <line x1="10.85" y1="12.15" x2="19" y2="4" />- <line x1="18" y1="5" x2="20" y2="7" />- <line x1="15" y1="8" x2="17" y2="10" />- </svg>SSH Keys</a- >- </li>- <li class="rounded" class:bg-coollabs={$page.url.pathname === `/settings/certificates`}>- <a href={`/settings/certificates`} class="no-underline w-full">- <svg- xmlns="http://www.w3.org/2000/svg"- class="w-6 h-6"- viewBox="0 0 24 24"- stroke-width="1.5"- stroke="currentColor"- fill="none"- stroke-linecap="round"- stroke-linejoin="round"- >- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path- d="M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3"- />- <circle cx="12" cy="11" r="1" />- <line x1="12" y1="12" x2="12" y2="14.5" />- </svg>SSL Certificates</a- >- </li>-</ul>diff --git a/apps/ui/src/routes/settings/__layout.svelte b/apps/ui/src/routes/settings/__layout.sveltedeleted file mode 100644index 4215c6cea9..0000000000--- a/apps/ui/src/routes/settings/__layout.svelte+++ /dev/null@@ -1,33 +0,0 @@-<script context="module" lang="ts">- import { get } from '$lib/api';- import { page } from '$app/stores';- import type { Load } from '@sveltejs/kit';- import Menu from './_Menu.svelte';- export const load: Load = async () => {- try {- const response = await get(`/settings`);- return {- stuff: {- ...response- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<div class="mx-auto max-w-screen-2xl px-6 grid grid-cols-1 lg:grid-cols-4">- <nav class="header flex flex-col px-0">- <div class="title pb-[3.7rem]">Settings</div>- <div class="px-4">- <Menu />- </div>- </nav>- <div class="pt-0 lg:pt-[7rem] px-4 lg:px-7 col-span-0 lg:col-span-3">- <slot />- </div>-</div>diff --git a/apps/ui/src/routes/settings/certificates.svelte b/apps/ui/src/routes/settings/certificates.sveltedeleted file mode 100644index c58994f388..0000000000--- a/apps/ui/src/routes/settings/certificates.svelte+++ /dev/null@@ -1,139 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ stuff }) => {- try {- return {- props: {- ...stuff- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let certificates: any;- import { del, post } from '$lib/api';- import { errorNotification } from '$lib/common';- import Beta from '$lib/components/Beta.svelte';-- let loading = {- save: false- };- let isModalActive = false;- let cert: any = null;- let key: any = null;-- async function handleSubmit() {- try {- const formData = new FormData();- formData.append('cert', cert[0]);- formData.append('key', key[0]);- await post('/settings/upload', formData);- return window.location.reload();- } catch (error) {- errorNotification(error);- return false;- }- }- async function deleteCertificate(id: string) {- const sure = confirm('Are you sure you would like to delete this SSL Certificate?');- if (sure) {- try {- if (!id) return;- await del(`/settings/certificate`, { id });- return window.location.reload();- } catch (error) {- errorNotification(error);- return false;- }- }- }-</script>--<div class="mx-auto w-full">- <div class="flex border-b border-coolgray-500 mb-6">- <div class="title font-bold pb-3 pr-4">SSL Certificates <Beta /></div>- <label for="my-modal" class="btn btn-sm btn-primary" on:click={() => (isModalActive = true)}- >Add SSL Certificate</label- >- </div>- {#if certificates.length > 0}- <table class="table w-full">- <thead>- <tr>- <th>Common Name</th>- <th>CreatedAt</th>- <th>Actions</th>- </tr>- </thead>- <tbody>- {#each certificates as cert}- <tr>- <td>{cert.commonName}</td>- <td>{cert.createdAt}</td>- <td- ><button on:click={() => deleteCertificate(cert.id)} class="btn btn-sm btn-error"- >Delete</button- ></td- >- </tr>- {/each}- </tbody>- </table>- {:else}- <div class="text-sm">No SSL Certificate found</div>- {/if}-</div>--{#if isModalActive}- <input type="checkbox" id="my-modal" class="modal-toggle" />- <div class="modal modal-bottom sm:modal-middle ">- <div class="modal-box rounded bg-coolgray-300 max-w-2xl">- <h3 class="font-bold text-lg">Add a new SSL Certificate</h3>- <p class="py-4">- SSL Certificates are used to secure your domain and allow you to use HTTPS. <br /><br />Once- you uploaded your certificate, Coolify will automatically configure it for you in the- background.- </p>- <div class="modal-action">- <form on:submit|preventDefault={handleSubmit} class="w-full">- <div class="flex flex-col justify-center">- <label for="cert">Certificate</label>- <div class="flex-1" />- <input- class="w-full bg-coolgray-100"- id="cert"- type="file"- required- name="cert"- bind:files={cert}- />- <label for="key" class="pt-10">Private Key</label>- <input- class="w-full bg-coolgray-100"- id="key"- type="file"- required- name="key"- bind:files={key}- />- </div>- <label for="my-modal">- <button type="submit" class="btn btn-sm btn-primary mt-4">Upload</button></label- >- <button- on:click={() => (isModalActive = false)}- type="button"- class="btn btn-sm btn-error">Cancel</button- >- </form>- </div>- </div>- </div>-{/if}diff --git a/apps/ui/src/routes/settings/coolify.svelte b/apps/ui/src/routes/settings/coolify.sveltedeleted file mode 100644index 46f4ac17a6..0000000000--- a/apps/ui/src/routes/settings/coolify.svelte+++ /dev/null@@ -1,527 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ stuff }) => {- try {- return {- props: {- ...stuff- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let settings: any;- import Setting from '$lib/components/Setting.svelte';- import { del, get, post } from '$lib/api';- import { t } from '$lib/translations';- import { addToast, appSession, features } from '$lib/store';- import { asyncSleep, errorNotification, getDomain } from '$lib/common';- import Explainer from '$lib/components/Explainer.svelte';- import { dev } from '$app/env';-- let isAPIDebuggingEnabled = settings.isAPIDebuggingEnabled;- let isRegistrationEnabled = settings.isRegistrationEnabled;- let dualCerts = settings.dualCerts;- let isAutoUpdateEnabled = settings.isAutoUpdateEnabled;- let isDNSCheckEnabled = settings.isDNSCheckEnabled;- let DNSServers = settings.DNSServers;- let minPort = settings.minPort;- let maxPort = settings.maxPort;- let proxyDefaultRedirect = settings.proxyDefaultRedirect;- let doNotTrack = settings.doNotTrack;- let numberOfDockerImagesKeptLocally = settings.numberOfDockerImagesKeptLocally;- let previewSeparator = settings.previewSeparator;-- let forceSave = false;- let fqdn = settings.fqdn;- let nonWWWDomain = fqdn && getDomain(fqdn).replace(/^www\./, '');- let isNonWWWDomainOK = false;- let isWWWDomainOK = false;- let isFqdnSet = !!settings.fqdn;- let loading = {- save: false,- remove: false,- proxyMigration: false,- restart: false,- rollback: false- };- let rollbackVersion = localStorage.getItem('lastVersion');-- async function rollback() {- if (rollbackVersion) {- const sure = confirm(`Are you sure you want rollback Coolify to ${rollbackVersion}?`);- if (sure) {- try {- loading.rollback = true;- console.log('loading.rollback', loading.rollback);- if (dev) {- console.log('rolling back to', rollbackVersion);- await asyncSleep(4000);- return window.location.reload();- } else {- addToast({- message: 'Rollback started...',- type: 'success'- });- await post(`/update`, { type: 'update', latestVersion: rollbackVersion });- addToast({- message: 'Rollback completed.<br><br>Waiting for the new version to start...',- type: 'success'- });-- let reachable = false;- let tries = 0;- do {- await asyncSleep(4000);- try {- await get(`/undead`);- reachable = true;- } catch (error) {- reachable = false;- }- if (reachable) break;- tries++;- } while (!reachable || tries < 120);- addToast({- message: 'New version reachable. Reloading...',- type: 'success'- });- await asyncSleep(3000);- return window.location.reload();- }- } catch (error) {- return errorNotification(error);- } finally {- loading.rollback = false;- }- }- }- }- async function removeFqdn() {- if (fqdn) {- loading.remove = true;- try {- const { redirect } = await del(`/settings`, { fqdn });- return redirect ? window.location.replace(redirect) : window.location.reload();- } catch (error) {- return errorNotification(error);- } finally {- loading.remove = false;- }- }- }- async function changeSettings(name: any) {- try {- resetView();- if (name === 'doNotTrack') {- doNotTrack = !doNotTrack;- }- if (name === 'isRegistrationEnabled') {- isRegistrationEnabled = !isRegistrationEnabled;- }- if (name === 'dualCerts') {- dualCerts = !dualCerts;- }- if (name === 'isAutoUpdateEnabled') {- isAutoUpdateEnabled = !isAutoUpdateEnabled;- }- if (name === 'isDNSCheckEnabled') {- isDNSCheckEnabled = !isDNSCheckEnabled;- }- if (name === 'isAPIDebuggingEnabled') {- isAPIDebuggingEnabled = !isAPIDebuggingEnabled;- }- await post(`/settings`, {- doNotTrack,- isAPIDebuggingEnabled,- isRegistrationEnabled,- dualCerts,- isAutoUpdateEnabled,- isDNSCheckEnabled- });- return addToast({- message: t.get('application.settings_saved'),- type: 'success'- });- } catch (error) {- return errorNotification(error);- }- }- async function handleSubmit() {- try {- loading.save = true;- nonWWWDomain = fqdn && getDomain(fqdn).replace(/^www\./, '');-- if (fqdn !== settings.fqdn) {- await post(`/settings/check`, { fqdn, forceSave, dualCerts, isDNSCheckEnabled });- await post(`/settings`, { fqdn });- return window.location.reload();- }- if (proxyDefaultRedirect !== settings.proxyDefaultRedirect) {- await post(`/settings`, { proxyDefaultRedirect });- settings.proxyDefaultRedirect = proxyDefaultRedirect;- }- if (numberOfDockerImagesKeptLocally !== settings.numberOfDockerImagesKeptLocally) {- await post(`/settings`, { numberOfDockerImagesKeptLocally });- settings.numberOfDockerImagesKeptLocally = numberOfDockerImagesKeptLocally;- }- if (previewSeparator !== settings.previewSeparator) {- await post(`/settings`, { previewSeparator });- settings.previewSeparator = previewSeparator;- }- if (minPort !== settings.minPort || maxPort !== settings.maxPort) {- await post(`/settings`, { minPort, maxPort });- settings.minPort = minPort;- settings.maxPort = maxPort;- }- if (DNSServers !== settings.DNSServers) {- await post(`/settings`, { DNSServers });- settings.DNSServers = DNSServers;- }- forceSave = false;- return addToast({- message: 'Configuration saved.',- type: 'success'- });- } catch (error: any) {- if (error.message?.startsWith($t('application.dns_not_set_partial_error'))) {- forceSave = true;- if (dualCerts) {- isNonWWWDomainOK = await isDNSValid(getDomain(nonWWWDomain), false);- isWWWDomainOK = await isDNSValid(getDomain(`www.${nonWWWDomain}`), true);- } else {- const isWWW = getDomain(settings.fqdn).includes('www.');- if (isWWW) {- isWWWDomainOK = await isDNSValid(getDomain(`www.${nonWWWDomain}`), true);- } else {- isNonWWWDomainOK = await isDNSValid(getDomain(nonWWWDomain), false);- }- }- }- return errorNotification(error);- } finally {- loading.save = false;- }- }- async function isDNSValid(domain: any, isWWW: any) {- try {- await get(`/settings/check?domain=${domain}`);- addToast({- message: 'DNS configuration is valid.',- type: 'success'- });- isWWW ? (isWWWDomainOK = true) : (isNonWWWDomainOK = true);- return true;- } catch (error) {- errorNotification(error);- isWWW ? (isWWWDomainOK = false) : (isNonWWWDomainOK = false);- return false;- }- }- function resetView() {- forceSave = false;- }- async function restartCoolify() {- const sure = confirm(- 'Are you sure you would like to restart Coolify? Currently running deployments will be stopped and restarted.'- );- if (sure) {- loading.restart = true;- try {- await post(`/internal/restart`, {});- await asyncSleep(10000);- let reachable = false;- let tries = 0;- do {- await asyncSleep(4000);- try {- await get(`/undead`);- reachable = true;- } catch (error) {- reachable = false;- }- if (reachable) break;- tries++;- } while (!reachable || tries < 120);- addToast({- message: 'New version reachable. Reloading...',- type: 'success'- });- await asyncSleep(3000);- return window.location.reload();- } catch (error) {- return errorNotification(error);- } finally {- loading.restart = false;- }- }- }-</script>--<div class="mx-auto w-full">- <form on:submit|preventDefault={handleSubmit}>- <div class="flex flex-row border-b border-coolgray-500 mb-6">- <div class="title font-bold pb-3 pr-4">Coolify Settings</div>- <div class="flex flex-row space-x-2">- <button- class="btn btn-sm btn-primary"- type="submit"- class:bg-orange-600={forceSave}- class:hover:bg-orange-400={forceSave}- class:loading={loading.save}- disabled={loading.save}- >{loading.save- ? $t('forms.saving')- : forceSave- ? $t('forms.confirm_continue')- : $t('forms.save')}</button- >-- {#if isFqdnSet}- <button on:click|preventDefault={removeFqdn} disabled={loading.remove} class="btn btn-sm"- >{loading.remove ? $t('forms.removing') : $t('forms.remove_domain')}</button- >- {/if}- <button- on:click={restartCoolify}- class:loading={loading.restart}- class="btn btn-sm btn-error">Restart Coolify</button- >- </div>- </div>- <div class="flex lg:flex-row flex-col">- <div class="grid grid-flow-row gap-2 px-4 pr-5">- <div class="grid grid-cols-2 items-center">- <div>- {$t('application.url_fqdn')}- <Explainer position="dropdown-bottom" explanation={$t('setting.ssl_explainer')} />- </div>- <input- class="w-full"- bind:value={fqdn}- readonly={!$appSession.isAdmin || isFqdnSet}- disabled={!$appSession.isAdmin || isFqdnSet}- on:input={resetView}- name="fqdn"- id="fqdn"- pattern="^https?://([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{'{'}2,{'}'}$"- placeholder="{$t('forms.eg')}: https://coolify.io"- />-- {#if forceSave}- <div class="flex-col space-y-2 pt-4 text-center">- {#if isNonWWWDomainOK}- <button- class="btn bg-success"- on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}- >DNS settings for {nonWWWDomain} is OK, click to recheck.</button- >- {:else}- <button- class="btn btn-error"- on:click|preventDefault={() => isDNSValid(getDomain(nonWWWDomain), false)}- >DNS settings for {nonWWWDomain} is invalid, click to recheck.</button- >- {/if}- {#if dualCerts}- {#if isWWWDomainOK}- <button- class="btn bg-success"- on:click|preventDefault={() =>- isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}- >DNS settings for www.{nonWWWDomain} is OK, click to recheck.</button- >- {:else}- <button- class="btn btn-error"- on:click|preventDefault={() =>- isDNSValid(getDomain(`www.${nonWWWDomain}`), true)}- >DNS settings for www.{nonWWWDomain} is invalid, click to recheck.</button- >- {/if}- {/if}- </div>- {/if}- </div>- <div class="grid grid-cols-2 items-center">- <Setting- id="dualCerts"- dataTooltip={$t('setting.must_remove_domain_before_changing')}- disabled={isFqdnSet}- bind:setting={dualCerts}- title={$t('application.ssl_www_and_non_www')}- description={$t('setting.generate_www_non_www_ssl')}- on:click={() => !isFqdnSet && changeSettings('dualCerts')}- />- </div>- <div class="grid grid-cols-2 items-center">- <div>- Default Redirect URL- <Explainer- position="dropdown-bottom"- explanation="You can specify where to redirect all requests that does not have a running resource."- />- </div>- <input- class="w-full"- bind:value={proxyDefaultRedirect}- readonly={!$appSession.isAdmin}- disabled={!$appSession.isAdmin}- name="proxyDefaultRedirect"- id="proxyDefaultRedirect"- pattern="^https?://([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{'{'}2,{'}'}$"- placeholder="{$t('forms.eg')}: https://coolify.io"- />- </div>-- <div class="grid grid-cols-4 items-center">- <div class="col-span-2">- Rollback Coolify to a specific version- <Explainer- position="dropdown-bottom"- explanation="You can rollback to a specific version of Coolify. This will not affect your current running resources.<br><br><a href='https://github.com/coollabsio/coolify/releases' target='_blank'>See available versions</a>"- />- </div>- <input- class="w-full"- bind:value={rollbackVersion}- readonly={!$appSession.isAdmin}- disabled={!$appSession.isAdmin}- name="rollbackVersion"- id="rollbackVersion"- />- <button- class:loading={loading.rollback}- class="btn btn-primary ml-2"- disabled={!rollbackVersion || loading.rollback}- on:click|preventDefault|stopPropagation={rollback}>Rollback</button- >- </div>- <div class="grid grid-cols-2 items-center">- <div>- Number of Docker Images kept locally- <Explainer- position="dropdown-bottom"- explanation="The number of Docker images kept locally on the server for EACH application. The oldest images will be deleted when the limit is reached.<br><br>Useful to rollback to a specific version of your applications quickly, but it will use more storage locally."- />- </div>- <input- type="number"- class="w-full"- bind:value={numberOfDockerImagesKeptLocally}- readonly={!$appSession.isAdmin}- disabled={!$appSession.isAdmin}- name="numberOfDockerImagesKeptLocally"- id="numberOfDockerImagesKeptLocally"- placeholder="default: 3"- />- </div>- <div class="grid grid-cols-2 items-center">- <div>- Preview Domain Separator- <Explainer- position="dropdown-bottom"- explanation="The separator used in the PR/MR previews.<br><br>For example if you set it to: <span class='text-yellow-400 font-bold'>-</span><br> the preview domain will be like this: <br><br><span class='text-yellow-400 font-bold'>PRMRNumber-yourdomain.com</span><br><br>The default is: <span class='text-yellow-400 font-bold'>.</span><br>so the preview domain will be like this: <br><br><span class='text-yellow-400 font-bold'>PRMRNumber.yourdomain.com</span>"- />- </div>- <input- class="w-full"- required- bind:value={previewSeparator}- readonly={!$appSession.isAdmin}- disabled={!$appSession.isAdmin}- name="previewSeparator"- id="previewSeparator"- placeholder="default: ."- />- </div>- <div class="grid grid-cols-2 items-center">- <div>- {$t('forms.public_port_range')}- <Explainer explanation={$t('forms.public_port_range_explainer')} />- </div>-- <div class="flex flex-row items-center space-x-2">- <input- class="w-full px-2 "- type="number"- bind:value={minPort}- min="1024"- max={maxPort}- />- <p>-</p>- <input- class="w-full px-2 "- type="number"- bind:value={maxPort}- min={minPort}- max="65543"- />- </div>- </div>- <div class="grid grid-cols-2 items-center">- <Setting- id="isDNSCheckEnabled"- bind:setting={isDNSCheckEnabled}- title={$t('setting.is_dns_check_enabled')}- description={$t('setting.is_dns_check_enabled_explainer')}- on:click={() => changeSettings('isDNSCheckEnabled')}- />- </div>- <div class="grid grid-cols-2 items-center">- <div>- Custom DNS servers <Explainer- explanation="You can specify a custom DNS server to verify your domains all over Coolify.<br><br>By default, the OS defined DNS servers are used."- />- </div>-- <input class="w-full " placeholder="1.1.1.1,8.8.8.8" bind:value={DNSServers} />- </div>-- <div class="grid grid-cols-2 items-center">- <Setting- id="isRegistrationEnabled"- bind:setting={isRegistrationEnabled}- title={$t('setting.registration_allowed')}- description={$t('setting.registration_allowed_explainer')}- on:click={() => changeSettings('isRegistrationEnabled')}- />- </div>- <div class="grid grid-cols-2 items-center">- <Setting- id="isAPIDebuggingEnabled"- bind:setting={isAPIDebuggingEnabled}- title="API Debugging"- description="Enable API debugging. This will log all API requests and responses.<br><br>You need to restart the Coolify for this to take effect."- on:click={() => changeSettings('isAPIDebuggingEnabled')}- />- </div>- <div class="grid grid-cols-2 items-center">- <Setting- id="isAutoUpdateEnabled"- bind:setting={isAutoUpdateEnabled}- title={$t('setting.auto_update_enabled')}- description={$t('setting.auto_update_enabled_explainer')}- on:click={() => changeSettings('isAutoUpdateEnabled')}- />- </div>- <div class="grid grid-cols-2 items-center">- <Setting- id="doNotTrack"- bind:setting={doNotTrack}- title="Do Not Track"- description="Do not send error reports to Coolify developers or any telemetry."- on:click={() => changeSettings('doNotTrack')}- />- </div>- </div>- </div>- </form>-</div>diff --git a/apps/ui/src/routes/settings/docker.svelte b/apps/ui/src/routes/settings/docker.sveltedeleted file mode 100644index a68f4e283d..0000000000--- a/apps/ui/src/routes/settings/docker.svelte+++ /dev/null@@ -1,245 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ stuff }) => {- try {- return {- props: {- ...stuff- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let registries: any;- import { del, post } from '$lib/api';- import { errorNotification } from '$lib/common';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';- import { addToast } from '$lib/store';- let isModalActive = false;-- let newRegistry = {- name: '',- username: '',- password: '',- url: ''- };-- async function handleSubmit() {- try {- await post(`/settings/registry/new`, newRegistry);- return window.location.reload();- } catch (error) {- errorNotification(error);- return false;- }- }- async function setRegistry(registry: any) {- try {- await post(`/settings/registry`, registry);- return addToast({- message: 'Registry updated successfully.',- type: 'success'- });- } catch (error) {- errorNotification(error);- return false;- }- }- async function deleteDockerRegistry(id: string) {- const sure = confirm(- 'Are you sure you would like to delete this Docker Registry? All dependent resources will be affected and fails to redeploy.'- );- if (sure) {- try {- if (!id) return;- await del(`/settings/registry`, { id });- return window.location.reload();- } catch (error) {- errorNotification(error);- return false;- }- }- }- async function addRegistry(type: string) {- switch (type) {- case 'dockerhub':- newRegistry = {- name: 'Docker Hub',- username: '',- password: '',- url: 'https://index.docker.io/v1/'- };- await handleSubmit();- break;- case 'gcrio':- newRegistry = {- name: 'Google Container Registry',- username: '',- password: '',- url: 'https://gcr.io'- };- await handleSubmit();- break;- case 'github':- newRegistry = {- name: 'GitHub Container Registry',- username: '',- password: '',- url: 'https://ghcr.io'- };- await handleSubmit();- break;- }- }-</script>--<div class="w-full">- <div class="flex border-b border-coolgray-500 mb-6">- <div class="title font-bold pb-3 pr-4">Docker Registries</div>- <!-- svelte-ignore a11y-click-events-have-key-events -->- <label for="my-modal" class="btn btn-sm btn-primary" on:click={() => (isModalActive = true)}- >Add Docker Registry</label- >- </div>- <div class="flex items-center pb-4 gap-2">- <div class="text-xs">Quick Action</div>- <button class="btn btn-sm text-xs" on:click={() => addRegistry('dockerhub')}>DockerHub</button>- <button class="btn btn-sm text-xs" on:click={() => addRegistry('gcrio')}- >Google Container Registry (gcr.io)</button- >- <button class="btn btn-sm text-xs" on:click={() => addRegistry('github')}- >GitHub Container Registry (ghcr.io)</button- >- </div>- {#if registries.length > 0}- <div class="mx-auto w-full">- <table class="table w-full">- <thead>- <tr>- <th>Name</th>- <th>Username</th>- <th>Password</th>- <th>Actions</th>- </tr>- </thead>- <tbody>- {#each registries as registry}- <tr>- <td- >{registry.name}- <div class="text-xs">{registry.url}</div></td- >- <td>- <CopyPasswordField- name="username"- id="Username"- bind:value={registry.username}- placeholder="Username"- /></td- >- <td- ><CopyPasswordField- isPasswordField={true}- name="Password"- id="Password"- bind:value={registry.password}- placeholder="Password"- /></td- >-- <td>- <button on:click={() => setRegistry(registry)} class="btn btn-sm btn-primary"- >Set</button- >- {#if registry.id !== '0'}- <button- on:click={() => deleteDockerRegistry(registry.id)}- class="btn btn-sm btn-error">Delete</button- >- {/if}- </td>- </tr>- {/each}- </tbody>- </table>- </div>- {/if}-</div>--{#if isModalActive}- <input type="checkbox" id="my-modal" class="modal-toggle" />- <div class="modal modal-bottom sm:modal-middle">- <div class="modal-box rounded bg-coolgray-300">- <h3 class="font-bold text-lg">Add a Docker Registry to Coolify</h3>- <div>- <form on:submit|preventDefault={handleSubmit}>- <label for="name" class="label">- <span class="label-text">Name</span>- </label>- <CopyPasswordField- id="name"- name="name"- bind:value={newRegistry.name}- placeholder="Docker Registry Name"- required- />- <label for="url" class="label">- <span class="label-text">URL</span>- </label>- <CopyPasswordField- id="url"- name="url"- bind:value={newRegistry.url}- placeholder="Docker Registry URL"- required- />- <label for="Username" class="label">- <span class="label-text">Username</span>- </label>- <CopyPasswordField- id="Username"- name="username"- bind:value={newRegistry.username}- placeholder="Username"- />- <label for="Password" class="label">- <span class="label-text">Password</span>- </label>- <CopyPasswordField- isPasswordField={true}- id="Password"- name="password"- bind:value={newRegistry.password}- placeholder="Password"- />- <div class="flex items-center">- <label for="systemwide" class="label">- <span class="label-text">System Wide</span>- </label>- <input- id="systemwide"- type="checkbox"- bind:checked={newRegistry.isSystemWide}- class="checkbox checkbox-primary"- />- </div>- <label for="my-modal">- <button type="submit" class="btn btn-sm btn-primary mt-4">Save</button></label- >- <button- on:click={() => (isModalActive = false)}- type="button"- class="btn btn-sm btn-error">Cancel</button- >- </form>- </div>- </div>- </div>-{/if}diff --git a/apps/ui/src/routes/settings/index.svelte b/apps/ui/src/routes/settings/index.sveltedeleted file mode 100644index 7ba1b9950f..0000000000--- a/apps/ui/src/routes/settings/index.svelte+++ /dev/null@@ -1,8 +0,0 @@-<script lang="ts">- import { goto } from '$app/navigation';- import { appSession } from '$lib/store';- if ($appSession.teamId !== '0') {- goto('/settings/ssh');- }- goto('/settings/coolify');-</script>diff --git a/apps/ui/src/routes/settings/ssh.svelte b/apps/ui/src/routes/settings/ssh.sveltedeleted file mode 100644index 262ce96e55..0000000000--- a/apps/ui/src/routes/settings/ssh.svelte+++ /dev/null@@ -1,134 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ stuff }) => {- try {- return {- props: {- ...stuff- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let sshKeys: any;- import { del, post } from '$lib/api';- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import Menu from './_Menu.svelte';-- let loading = {- save: false- };- let isModalActive = false;-- let newSSHKey = {- name: null,- privateKey: null- };-- async function handleSubmit() {- try {- await post(`/settings/sshKey`, { ...newSSHKey });- return window.location.reload();- } catch (error) {- errorNotification(error);- return false;- }- }- async function deleteSSHKey(id: string) {- const sure = confirm('Are you sure you would like to delete this SSH key?');- if (sure) {- try {- if (!id) return;- await del(`/settings/sshKey`, { id });- return window.location.reload();- } catch (error) {- errorNotification(error);- return false;- }- }- }-</script>--<div class="w-full">- <div class="flex border-b border-coolgray-500 mb-6">- <div class="title font-bold pb-3 pr-4">SSH Keys</div>- <label for="my-modal" class="btn btn-sm btn-primary" on:click={() => (isModalActive = true)}- >Add SSH Key</label- >- </div>- {#if sshKeys.length === 0}- <div class="text-sm">No SSH keys found</div>- {:else}- <div class="mx-auto w-full">- <table class="table w-full">- <thead>- <tr>- <th>Name</th>- <th>CreatedAt</th>- <th>Actions</th>- </tr>- </thead>- <tbody>- {#each sshKeys as key}- <tr>- <td>{key.name}</td>- <td>{key.createdAt}</td>- <td- ><button on:click={() => deleteSSHKey(key.id)} class="btn btn-sm btn-error"- >Delete</button- ></td- >- </tr>- {/each}- </tbody>- </table>- </div>- {/if}-</div>--{#if isModalActive}- <input type="checkbox" id="my-modal" class="modal-toggle" />- <div class="modal modal-bottom sm:modal-middle">- <div class="modal-box rounded bg-coolgray-300">- <h3 class="font-bold text-lg">Add a new SSH Key to Coolify</h3>- <p class="py-4">- SSH Keys can be used to authenticate & execute commands on remote servers.- <br /><br />You can generate a new public/private key using the following command:- <br />- <br />- <code class="bg-coolgray-100 p-2 rounded">ssh-keygen -t rsa -b 4096</code>- </p>- <div class="modal-action">- <form on:submit|preventDefault={handleSubmit}>- <label for="name" class="">Name</label>- <input id="name" required bind:value={newSSHKey.name} class="w-full bg-coolgray-100" />- <label for="privateKey" class="pt-4">Private Key</label>- <textarea- id="privateKey"- placeholder="-----BEGIN OPENSSH PRIVATE KEY-----"- required- bind:value={newSSHKey.privateKey}- class="w-full bg-coolgray-100"- rows={15}- />- <label for="my-modal">- <button type="submit" class="btn btn-sm btn-primary mt-4">Save</button></label- >- <button- on:click={() => (isModalActive = false)}- type="button"- class="btn btn-sm btn-error">Cancel</button- >- </form>- </div>- </div>- </div>-{/if}diff --git a/apps/ui/src/routes/sources/[id]/_Github.svelte b/apps/ui/src/routes/sources/[id]/_Github.sveltedeleted file mode 100644index 6fbdac4bd6..0000000000--- a/apps/ui/src/routes/sources/[id]/_Github.svelte+++ /dev/null@@ -1,264 +0,0 @@-<script lang="ts">- export let source: any;- export let settings: any;- import { page } from '$app/stores';- import { getAPIUrl, getWebhookUrl, post } from '$lib/api';- import { t } from '$lib/translations';- import { dashify, errorNotification, getDomain } from '$lib/common';- import { addToast, appSession } from '$lib/store';- import { dev } from '$app/env';- import Explainer from '$lib/components/Explainer.svelte';- import Setting from '$lib/components/Setting.svelte';-- const { id } = $page.params;-- $: selfHosted = source.htmlUrl !== 'https://github.com';-- let loading = false;-- async function handleSubmit() {- loading = true;- try {- await post(`/sources/${id}`, {- name: source.name,- htmlUrl: source.htmlUrl.replace(/\/$/, ''),- apiUrl: source.apiUrl.replace(/\/$/, ''),- isSystemWide: source.isSystemWide- });- return addToast({- message: 'Configuration saved.',- type: 'success'- });- } catch (error) {- return errorNotification(error);- } finally {- loading = false;- }- }-- async function newGithubApp() {- loading = true;- try {- const { id } = await post(`/sources/new/github`, {- type: 'github',- name: source.name,- htmlUrl: source.htmlUrl.replace(/\/$/, ''),- apiUrl: source.apiUrl.replace(/\/$/, ''),- organization: source.organization,- customPort: source.customPort,- isSystemWide: source.isSystemWide- });- const { organization, htmlUrl } = source;- const { fqdn, ipv4, ipv6 } = settings;- const host = dev ? getAPIUrl() : fqdn ? fqdn : `http://${ipv4 || ipv6}` || '';- const domain = getDomain(fqdn);-- let url = 'settings/apps/new';- if (organization) url = `organizations/${organization}/settings/apps/new`;- const name = dashify(domain) || 'app';- const data = JSON.stringify({- name: `coolify-${name}`,- url: host,- hook_attributes: {- url: dev ? getWebhookUrl('github') : `${host}/webhooks/github/events`- },- redirect_url: `${host}/webhooks/github`,- callback_urls: [`${host}/login/github/app`],- public: false,- request_oauth_on_install: false,- setup_url: `${host}/webhooks/github/install?gitSourceId=${id}`,- setup_on_update: true,- default_permissions: {- contents: 'read',- metadata: 'read',- pull_requests: 'read',- emails: 'read'- },- default_events: ['pull_request', 'push']- });- const form = document.createElement('form');- form.setAttribute('method', 'post');- form.setAttribute('action', `${htmlUrl}/${url}?state=${id}`);- const input = document.createElement('input');- input.setAttribute('id', 'manifest');- input.setAttribute('name', 'manifest');- input.setAttribute('type', 'hidden');- input.setAttribute('value', data);- form.appendChild(input);- document.getElementsByTagName('body')[0].appendChild(form);- form.submit();- } catch (error) {- return errorNotification(error);- }- }- async function changeSettings(name: any, save: boolean) {- if ($appSession.teamId === '0') {- if (name === 'isSystemWide') {- source.isSystemWide = !source.isSystemWide;- }- if (save) {- await handleSubmit();- }- }- }-</script>--<div class="mx-auto max-w-6xl lg:px-6 px-3">- {#if !source.githubAppId}- <form on:submit|preventDefault={newGithubApp} class="py-4">- <div class="grid gap-1 lg:grid-flow-col pb-7">- <h1 class="title">General</h1>- {#if !source.githubAppId}- <div class="w-full flex flex-rpw justify-end">- <button class="btn btn-sm bg-sources mt-5 w-full lg:w-fit" type="submit"- >Save & Redirect to GitHub</button- >- </div>- {/if}- </div>- <div class="grid gap-2 grid-cols-2 auto-rows-max">- <label for="name">Name</label>- <input class="w-full" name="name" id="name" required bind:value={source.name} />- <label for="htmlUrl">HTML URL</label>- <input class="w-full" name="htmlUrl" id="htmlUrl" required bind:value={source.htmlUrl} />- <label for="apiUrl">API URL</label>- <input class="w-full" name="apiUrl" id="apiUrl" required bind:value={source.apiUrl} />- <label for="customPort"- >Custom SSH Port <Explainer- explanation={'If you use a self-hosted version of Git, you can provide custom port for all the Git related actions.'}- /></label- >- <input- class="w-full"- name="customPort"- id="customPort"- disabled={!selfHosted || source.githubAppId}- readonly={!selfHosted || source.githubAppId}- required- value={source.customPort}- />- <label for="organization" class="pt-2"- >Organization- <Explainer- explanation={"Fill it if you would like to use an organization's as your Git Source. Otherwise your user will be used."}- /></label- >- <input- class="w-full"- name="organization"- id="organization"- placeholder="eg: coollabsio"- bind:value={source.organization}- />- <Setting- customClass="pt-4"- id="autodeploy"- isCenter={false}- bind:setting={source.isSystemWide}- on:click={() => changeSettings('isSystemWide', false)}- title="System Wide Git"- description="System Wide Git are available to all the users in your Coolify instance. <br><br> <span class='font-bold text-warning'>Use with caution, as it can be a security risk.</span>"- />- </div>- </form>- {:else if source.githubApp?.installationId}- <form on:submit|preventDefault={handleSubmit} class="py-4">- <div class="flex lg:flex-row lg:justify-between flex-col space-y-3 w-full lg:items-center">- <h1 class="title">{$t('general')}</h1>- {#if $appSession.isAdmin && $appSession.teamId === '0'}- <div- class="flex flex-col lg:flex-row lg:space-x-4 lg:w-fit space-y-2 lg:space-y-0 w-full"- >- <button class="btn btn-sm bg-sources" type="submit" disabled={loading}- >{loading ? 'Saving...' : 'Save'}</button- >- <a- class="btn btn-sm"- href={`${source.htmlUrl}/${- source.htmlUrl === 'https://github.com' ? 'apps' : 'github-apps'- }/${source.githubApp.name}/installations/new`}- >{$t('source.change_app_settings', { name: 'GitHub' })}</a- >- </div>- {/if}- </div>- <div class="grid gap-2 grid-cols-2 auto-rows-max mt-4">- <label for="name">{$t('forms.name')}</label>- <input- class="w-full"- name="name"- id="name"- required- bind:value={source.name}- disabled={!$appSession.isAdmin}- />- <label for="htmlUrl">HTML URL</label>- <input- class="w-full"- name="htmlUrl"- id="htmlUrl"- disabled={source.githubAppId}- readonly={source.githubAppId}- required- bind:value={source.htmlUrl}- />- <label for="apiUrl">API URL</label>- <input- class="w-full"- name="apiUrl"- id="apiUrl"- required- disabled={source.githubAppId}- readonly={source.githubAppId}- bind:value={source.apiUrl}- />- <label for="customPort"- >Custom SSH Port <Explainer- explanation="If you use a self-hosted version of Git, you can provide custom port for all the Git related actions."- /></label- >- <input- class="w-full"- name="customPort"- id="customPort"- disabled={!selfHosted}- readonly={!selfHosted}- required- value={source.customPort}- />- <label for="organization" class="pt-2">Organization</label>- <input- class="w-full"- readonly- disabled- name="organization"- id="organization"- placeholder="eg: coollabsio"- bind:value={source.organization}- />- {#if $appSession.isAdmin}- <Setting- customClass="pt-4"- id="autodeploy"- isCenter={false}- disabled={$appSession.teamId !== '0'}- bind:setting={source.isSystemWide}- on:click={() => changeSettings('isSystemWide', true)}- title="System Wide Git Source"- description="System Wide Git Sources are available to all the users in your Coolify instance. <br><br> <span class='font-bold text-warning'>Use with caution, as it can be a security risk.</span>"- />- {/if}- </div>- </form>- {:else}- <div class="text-center">- <a- href={`${source.htmlUrl}/${- source.htmlUrl === 'https://github.com' ? 'apps' : 'github-apps'- }/${source.githubApp.name}/installations/new`}- >- <button class="box-selection bg-sources text-xl font-bold">Install Repositories</button></a- >- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/sources/[id]/_Gitlab.svelte b/apps/ui/src/routes/sources/[id]/_Gitlab.sveltedeleted file mode 100644index 0e9d616e3a..0000000000--- a/apps/ui/src/routes/sources/[id]/_Gitlab.svelte+++ /dev/null@@ -1,335 +0,0 @@-<script lang="ts">- export let source: any;- export let settings: any;- import { page } from '$app/stores';- import { onMount } from 'svelte';- import { getAPIUrl, post } from '$lib/api';- import { dev } from '$app/env';- import CopyPasswordField from '$lib/components/CopyPasswordField.svelte';-- import { t } from '$lib/translations';- import { errorNotification } from '$lib/common';- import { addToast, appSession } from '$lib/store';- import Explainer from '$lib/components/Explainer.svelte';- const { id } = $page.params;-- let url = settings.fqdn ? settings.fqdn : window.location.origin;-- if (dev) {- url = getAPIUrl();- }- let loading = false;-- let oauthIdEl: HTMLInputElement;- let applicationType: string;- if (!source.gitlabAppId) {- source.gitlabApp = {- oauthId: null,- groupName: null,- appId: null,- appSecret: null- };- }- $: selfHosted = source.htmlUrl !== 'https://gitlab.com';-- onMount(() => {- oauthIdEl && oauthIdEl.focus();- });-- async function handleSubmit() {- if (loading) return;- loading = true;- if (!source.gitlabAppId) {- // New GitLab App- try {- const { id } = await post(`/sources/new/gitlab`, {- type: 'gitlab',- name: source.name,- htmlUrl: source.htmlUrl.replace(/\/$/, ''),- apiUrl: source.apiUrl.replace(/\/$/, ''),- oauthId: source.gitlabApp.oauthId,- appId: source.gitlabApp.appId,- appSecret: source.gitlabApp.appSecret,- groupName: source.gitlabApp.groupName,- customPort: source.customPort,- customUser: source.customUser,- });- const from = $page.url.searchParams.get('from');- if (from) {- return window.location.assign(from);- }- return window.location.assign(`/sources/${id}`);- } catch (error) {- return errorNotification(error);- } finally {- loading = false;- }- } else {- // Update GitLab App- try {- await post(`/sources/${id}`, {- name: source.name,- htmlUrl: source.htmlUrl.replace(/\/$/, ''),- apiUrl: source.apiUrl.replace(/\/$/, ''),- customPort: source.customPort,- customUser: source.customUser- });- return addToast({- message: 'Configuration saved.',- type: 'success'- });- } catch (error) {- return errorNotification(error);- } finally {- loading = false;- }- }- }-- async function changeSettings() {- const {- htmlUrl,- gitlabApp: { oauthId }- } = source;- const left = screen.width / 2 - 1020 / 2;- const top = screen.height / 2 - 1000 / 2;- const newWindow = open(- `${htmlUrl}/oauth/applications/${oauthId}`,- 'GitLab',- 'resizable=1, scrollbars=1, fullscreen=0, height=1000, width=1020,top=' +- top +- ', left=' +- left +- ', toolbar=0, menubar=0, status=0'- );- const timer = setInterval(() => {- if (newWindow?.closed) {- clearInterval(timer);- }- }, 100);- }- async function checkOauthId() {- if (source.gitlabApp?.oauthId) {- try {- await post(`/sources/${id}/check`, {- oauthId: source.gitlabApp?.oauthId- });- } catch (error) {- source.gitlabApp.oauthId = null;- oauthIdEl.focus();- return errorNotification(error);- }- }- }- function newApp() {- switch (applicationType) {- case 'user':- window.open(`${source.htmlUrl}/-/profile/applications`);- break;- case 'group':- if (!source.gitlabApp.groupName) {- return addToast({- message: 'Please enter a group name first.',- type: 'error'- });- }- window.open(- `${source.htmlUrl}/groups/${source.gitlabApp.groupName}/-/settings/applications`- );- break;- case 'instance':- break;- default:- break;- }- }-</script>--<div class="mx-auto max-w-6xl px-6">- <form on:submit|preventDefault={handleSubmit} class="py-4">- <div class="flex lg:flex-row lg:justify-between flex-col space-y-3 w-full lg:items-center">- <h1 class="title">General</h1>- <div class="flex flex-col lg:flex-row lg:space-x-4 lg:w-fit space-y-2 lg:space-y-0 w-full">- {#if $appSession.isAdmin}- <button type="submit" class="btn btn-sm bg-sources" disabled={loading}- >{loading ? $t('forms.saving') : $t('forms.save')}</button- >- {#if source.gitlabAppId}- <button class="btn btn-sm" on:click|preventDefault={changeSettings}- >{$t('source.change_app_settings', { name: 'GitLab' })}</button- >- {:else}- <button class="btn btn-sm" on:click|preventDefault|stopPropagation={newApp}- >Create new GitLab App manually</button- >- {/if}- {/if}- </div>- </div>- <div class="grid grid-flow-row gap-2 lg:px-10">- {#if !source.gitlabAppId}- <a- href="https://docs.coollabs.io/coolify/sources#how-to-integrate-with-gitlab"- class="font-bold "- target="_blank noreferrer"- rel="noopener noreferrer">Documentation and detailed instructions.</a- >- <div class="grid grid-cols-2 items-center">- <label for="type" class="text-base font-bold text-stone-100">Application Type</label>- <select name="type" id="type" class="lg:w-96 w-full" bind:value={applicationType}>- <option value="user">{$t('source.gitlab.user_owned')}</option>- <option value="group">{$t('source.gitlab.group_owned')}</option>- {#if source.htmlUrl !== 'https://gitlab.com'}- <option value="instance">{$t('source.gitlab.self_hosted')}</option>- {/if}- </select>- </div>-- {#if applicationType === 'group'}- <div class="grid grid-cols-2 items-center">- <label for="groupName" class="text-base font-bold text-stone-100">Group Name</label>- <input- class="w-full"- name="groupName"- id="groupName"- required- bind:value={source.gitlabApp.groupName}- />- </div>- {/if}- {/if}-- <div class="grid grid-flow-row gap-2">- <div class="mt-2 grid grid-cols-2 items-center">- <label for="name" class="text-base font-bold text-stone-100">{$t('forms.name')}</label>- <input class="w-full" name="name" id="name" required bind:value={source.name} />- </div>- </div>- {#if source.gitlabApp.groupName}- <div class="grid grid-cols-2 items-center">- <label for="groupName" class="text-base font-bold text-stone-100"- >{$t('source.group_name')}</label- >- <input- class="w-full"- name="groupName"- id="groupName"- disabled={source.gitlabAppId}- readonly={source.gitlabAppId}- required- bind:value={source.gitlabApp.groupName}- />- </div>- {/if}- <div class="grid grid-cols-2 items-center">- <label for="htmlUrl" class="text-base font-bold text-stone-100">HTML URL</label>- <input- class="w-full"- name="htmlUrl"- id="htmlUrl"- required- disabled={source.gitlabAppId}- readonly={source.gitlabAppId}- bind:value={source.htmlUrl}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="apiUrl" class="text-base font-bold text-stone-100">API URL</label>- <input- class="w-full"- name="apiUrl"- id="apiUrl"- disabled={source.gitlabAppId}- readonly={source.gitlabAppId}- required- bind:value={source.apiUrl}- />- </div>- {#if selfHosted}- <div class="grid grid-cols-2 items-center">- <label for="customPort" class="text-base font-bold text-stone-100"- >Custom SSH User <Explainer- explanation={'If you use a self-hosted version of Git, you can provide a custom SSH user for all the Git related actions.'}- /></label- >- <input- class="w-full"- name="customUser"- id="customUser"- disabled={!selfHosted}- readonly={!selfHosted}- required- bind:value={source.customUser}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="customPort" class="text-base font-bold text-stone-100"- >Custom SSH Port <Explainer- explanation={'If you use a self-hosted version of Git, you can provide custom port for all the Git related actions.'}- /></label- >- <input- class="w-full"- name="customPort"- id="customPort"- disabled={!selfHosted}- readonly={!selfHosted}- required- bind:value={source.customPort}- />- </div>- {/if}- <div class="grid grid-cols-2 items-start">- <div class="flex-col">- <label for="oauthId" class="pt-2 text-base font-bold text-stone-100"- >{$t('source.oauth_id')}- {#if !source.gitlabAppId}- <Explainer explanation={$t('source.oauth_id_explainer')} />- {/if}</label- >- </div>- <input- class="w-full"- disabled={source.gitlabAppId}- readonly={source.gitlabAppId}- on:change={checkOauthId}- bind:this={oauthIdEl}- name="oauthId"- id="oauthId"- type="number"- required- bind:value={source.gitlabApp.oauthId}- />- </div>-- <div class="grid grid-cols-2 items-center">- <label for="appId" class="text-base font-bold text-stone-100"- >{$t('source.application_id')}</label- >- <input- class="w-full"- name="appId"- id="appId"- disabled={source.gitlabAppId}- readonly={source.gitlabAppId}- required- bind:value={source.gitlabApp.appId}- />- </div>- <div class="grid grid-cols-2 items-center">- <label for="appSecret" class="text-base font-bold text-stone-100"- >{$t('index.secret')}</label- >- <CopyPasswordField- disabled={source.gitlabAppId}- readonly={source.gitlabAppId}- isPasswordField={true}- name="appSecret"- id="appSecret"- required- bind:value={source.gitlabApp.appSecret}- />- </div>- </div>- </form>-</div>diff --git a/apps/ui/src/routes/sources/[id]/_New.svelte b/apps/ui/src/routes/sources/[id]/_New.sveltedeleted file mode 100644index 369a8bdf81..0000000000--- a/apps/ui/src/routes/sources/[id]/_New.svelte+++ /dev/null@@ -1,62 +0,0 @@-<script lang="ts">- export let source: any;- export let settings: any;- import Github from './_Github.svelte';- import Gitlab from './_Gitlab.svelte';- function setPredefined(type: string) {- switch (type) {- case 'github':- source.name = 'Github.com';- source.type = 'github';- source.htmlUrl = 'https://github.com';- source.apiUrl = 'https://api.github.com';- source.organization = undefined;-- break;- case 'gitlab':- source.name = 'Gitlab.com';- source.type = 'gitlab';- source.htmlUrl = 'https://gitlab.com';- source.apiUrl = 'https://gitlab.com/api';- source.organization = undefined;-- break;- case 'bitbucket':- source.name = 'Bitbucket.com';- source.type = 'bitbucket';- source.htmlUrl = 'https://bitbucket.com';- source.apiUrl = 'https://api.bitbucket.org';- source.organization = undefined;-- break;- default:- break;- }- }-</script>--<div class="flex h-20 items-center space-x-2 p-5 px-6 font-bold">- <div class="-mb-1 flex-col">- <div class="md:max-w-64 truncate text-base tracking-tight md:text-2xl lg:block">- New Git Source- </div>- </div>-</div>-<div class="flex flex-col justify-center">- <div class="flex-col space-y-2 pb-10 text-center">- <div class="text-xl font-bold text-white">Select a git type</div>- <div class="flex justify-center space-x-2">- <button class="btn btn-sm" on:click={() => setPredefined('github')}>GitHub</button>- <button class="btn btn-sm" on:click={() => setPredefined('gitlab')}>GitLab</button>- </div>- </div>- {#if source?.type}- <div>- {#if source.type === 'github'}- <Github bind:source {settings} />- {:else if source.type === 'gitlab'}- <Gitlab bind:source {settings} />- {/if}- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/sources/[id]/_Source.svelte b/apps/ui/src/routes/sources/[id]/_Source.sveltedeleted file mode 100644index e0a0461c21..0000000000--- a/apps/ui/src/routes/sources/[id]/_Source.svelte+++ /dev/null@@ -1,58 +0,0 @@-<script lang="ts">- import Github from './_Github.svelte';- import Gitlab from './_Gitlab.svelte';-- export let source: any;- export let settings: any;-</script>--<div class="flex h-20 items-center space-x-2 p-5 px-6 font-bold">- <div class="-mb-5 flex-col">- <div class="md:max-w-64 truncate text-base tracking-tight md:text-2xl lg:block">- Configuration- </div>- <span class="text-xs">{source.name}</span>- </div>- {#if source?.type === 'gitlab'}- <svg viewBox="0 0 128 128" class="w-8">- <path- fill="#FC6D26"- d="M126.615 72.31l-7.034-21.647L105.64 7.76c-.716-2.206-3.84-2.206-4.556 0l-13.94 42.903H40.856L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664 1.385 72.31a4.792 4.792 0 001.74 5.358L64 121.894l60.874-44.227a4.793 4.793 0 001.74-5.357"- /><path fill="#E24329" d="M64 121.894l23.144-71.23H40.856L64 121.893z" /><path- fill="#FC6D26"- d="M64 121.894l-23.144-71.23H8.42L64 121.893z"- /><path- fill="#FCA326"- d="M8.42 50.663L1.384 72.31a4.79 4.79 0 001.74 5.357L64 121.894 8.42 50.664z"- /><path- fill="#E24329"- d="M8.42 50.663h32.436L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664z"- /><path fill="#FC6D26" d="M64 121.894l23.144-71.23h32.437L64 121.893z" /><path- fill="#FCA326"- d="M119.58 50.663l7.035 21.647a4.79 4.79 0 01-1.74 5.357L64 121.894l55.58-71.23z"- /><path- fill="#E24329"- d="M119.58 50.663H87.145l13.94-42.902c.717-2.206 3.84-2.206 4.557 0l13.94 42.903z"- />- </svg>- {:else if source?.type === 'github'}- <svg viewBox="0 0 128 128" class="w-8">- <g fill="#ffffff"- ><path- fill-rule="evenodd"- clip-rule="evenodd"- d="M64 5.103c-33.347 0-60.388 27.035-60.388 60.388 0 26.682 17.303 49.317 41.297 57.303 3.017.56 4.125-1.31 4.125-2.905 0-1.44-.056-6.197-.082-11.243-16.8 3.653-20.345-7.125-20.345-7.125-2.747-6.98-6.705-8.836-6.705-8.836-5.48-3.748.413-3.67.413-3.67 6.063.425 9.257 6.223 9.257 6.223 5.386 9.23 14.127 6.562 17.573 5.02.542-3.903 2.107-6.568 3.834-8.076-13.413-1.525-27.514-6.704-27.514-29.843 0-6.593 2.36-11.98 6.223-16.21-.628-1.52-2.695-7.662.584-15.98 0 0 5.07-1.623 16.61 6.19C53.7 35 58.867 34.327 64 34.304c5.13.023 10.3.694 15.127 2.033 11.526-7.813 16.59-6.19 16.59-6.19 3.287 8.317 1.22 14.46.593 15.98 3.872 4.23 6.215 9.617 6.215 16.21 0 23.194-14.127 28.3-27.574 29.796 2.167 1.874 4.097 5.55 4.097 11.183 0 8.08-.07 14.583-.07 16.572 0 1.607 1.088 3.49 4.148 2.897 23.98-7.994 41.263-30.622 41.263-57.294C124.388 32.14 97.35 5.104 64 5.104z"- /><path- d="M26.484 91.806c-.133.3-.605.39-1.035.185-.44-.196-.685-.605-.543-.906.13-.31.603-.395 1.04-.188.44.197.69.61.537.91zm2.446 2.729c-.287.267-.85.143-1.232-.28-.396-.42-.47-.983-.177-1.254.298-.266.844-.14 1.24.28.394.426.472.984.17 1.255zM31.312 98.012c-.37.258-.976.017-1.35-.52-.37-.538-.37-1.183.01-1.44.373-.258.97-.025 1.35.507.368.545.368 1.19-.01 1.452zm3.261 3.361c-.33.365-1.036.267-1.552-.23-.527-.487-.674-1.18-.343-1.544.336-.366 1.045-.264 1.564.23.527.486.686 1.18.333 1.543zm4.5 1.951c-.147.473-.825.688-1.51.486-.683-.207-1.13-.76-.99-1.238.14-.477.823-.7 1.512-.485.683.206 1.13.756.988 1.237zm4.943.361c.017.498-.563.91-1.28.92-.723.017-1.308-.387-1.315-.877 0-.503.568-.91 1.29-.924.717-.013 1.306.387 1.306.88zm4.598-.782c.086.485-.413.984-1.126 1.117-.7.13-1.35-.172-1.44-.653-.086-.498.422-.997 1.122-1.126.714-.123 1.354.17 1.444.663zm0 0"- /></g- >- </svg>- {/if}-</div>-<div>- {#if source.type === 'github'}- <Github bind:source {settings} />- {:else if source.type === 'gitlab'}- <Gitlab bind:source {settings} />- {/if}-</div>diff --git a/apps/ui/src/routes/sources/[id]/__layout.svelte b/apps/ui/src/routes/sources/[id]/__layout.sveltedeleted file mode 100644index c4f00a331f..0000000000--- a/apps/ui/src/routes/sources/[id]/__layout.svelte+++ /dev/null@@ -1,69 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';-- export const load: Load = async ({ fetch, url, params }) => {- try {- const { id } = params;- const response = await get(`/sources/${id}`);- const { source, settings } = response;- if (id !== 'new' && (!source || Object.entries(source).length === 0)) {- return {- status: 302,- redirect: '/'- };- }- return {- props: {- source- },- stuff: {- source,- settings- }- };- } catch (error) {- return handlerNotFoundLoad(error, url);- }- };-</script>--<script lang="ts">- export let source: any;- import { del, get } from '$lib/api';-- import { page } from '$app/stores';- import { errorNotification, handlerNotFoundLoad } from '$lib/common';- import { t } from '$lib/translations';- import { appSession } from '$lib/store';- import DeleteIcon from '$lib/components/DeleteIcon.svelte';- import { goto } from '$app/navigation';- import Tooltip from '$lib/components/Tooltip.svelte';- const { id } = $page.params;-- async function deleteSource(name: string) {- const sure = confirm($t('application.confirm_to_delete', { name }));- if (sure) {- try {- await del(`/sources/${id}`, {});- await goto('/', { replaceState: true });- } catch (error) {- errorNotification(error);- }- }- }-</script>--{#if id !== 'new' && $appSession.teamId === '0'}- <nav class="nav-side">- <button- id="delete"- on:click={() => deleteSource(source.name)}- type="submit"- disabled={!$appSession.isAdmin}- class:hover:text-red-500={$appSession.isAdmin}- class="icons bg-transparent text-sm"><DeleteIcon /></button- >- </nav>- <Tooltip triggeredBy="#delete">Delete</Tooltip>-{/if}-<slot />diff --git a/apps/ui/src/routes/sources/[id]/index.svelte b/apps/ui/src/routes/sources/[id]/index.sveltedeleted file mode 100644index 5838a22ce1..0000000000--- a/apps/ui/src/routes/sources/[id]/index.svelte+++ /dev/null@@ -1,24 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async ({ fetch, params, stuff }) => {- return {- props: { ...stuff }- };- };-</script>--<script lang="ts">- export let source: any;- export let settings: any;- import { page } from '$app/stores';- import Source from './_Source.svelte';- import New from './_New.svelte';- const { id } = $page.params;-</script>---{#if id === 'new'}- <New bind:source bind:settings />-{:else}- <Source bind:source bind:settings />-{/if}diff --git a/apps/ui/src/routes/sources/_index.svelte b/apps/ui/src/routes/sources/_index.sveltedeleted file mode 100644index 7f6c5f93c4..0000000000--- a/apps/ui/src/routes/sources/_index.svelte+++ /dev/null@@ -1,159 +0,0 @@-<script context="module" lang="ts">- import type { Load } from '@sveltejs/kit';- export const load: Load = async () => {- try {- const response = await get(`/sources`);- return {- props: {- ...response- }- };- } catch (error: any) {- return {- status: 500,- error: new Error(error)- };- }- };-</script>--<script lang="ts">- export let sources: any = [];- import { get } from '$lib/api';- import { getDomain } from '$lib/common';- import { t } from '$lib/translations';- import { appSession } from '$lib/store';- const ownSources = sources.filter((source: { teams: { id: any }[] }) => {- if (source.teams[0].id === $appSession.teamId) {- return source;- }- });- const otherSources = sources.filter((source: any) => {- if (source.teams[0].id !== $appSession.teamId) {- return source;- }- });-</script>--<nav class="header">- <h1 class="mr-4 text-2xl font-bold">{$t('index.git_sources')}</h1>- {#if $appSession.isAdmin}- <a href="/sources/new" class="btn btn-square btn-sm bg-sources">- <svg- class="h-6 w-6"- xmlns="http://www.w3.org/2000/svg"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- ><path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"- /></svg- >- </a>- {/if}-</nav>-<br />-<div class="flex-col justify-center mt-10 pb-12 sm:pb-16 lg:pt-16">- {#if !sources || ownSources.length === 0}- <div class="flex-col">- <div class="text-center text-xl font-bold">{$t('source.no_git_sources_found')}</div>- </div>- {/if}- {#if ownSources.length > 0 || otherSources.length > 0}- <div class="flex flex-col">- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each ownSources as source}- <a href="/sources/{source.id}" class="p-2 no-underline">- <div- class="box-selection group relative hover:bg-orange-600"- class:border-red-500={source.gitlabApp && !source.gitlabAppId}- class:border-0={source.gitlabApp && !source.gitlabAppId}- class:border-l-4={source.gitlabApp && !source.gitlabAppId}- >- <div class="absolute top-0 left-0 -m-5 h-10 w-10">- {#if source?.type === 'gitlab'}- <svg viewBox="0 0 128 128">- <path- fill="#FC6D26"- d="M126.615 72.31l-7.034-21.647L105.64 7.76c-.716-2.206-3.84-2.206-4.556 0l-13.94 42.903H40.856L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664 1.385 72.31a4.792 4.792 0 001.74 5.358L64 121.894l60.874-44.227a4.793 4.793 0 001.74-5.357"- /><path fill="#E24329" d="M64 121.894l23.144-71.23H40.856L64 121.893z" /><path- fill="#FC6D26"- d="M64 121.894l-23.144-71.23H8.42L64 121.893z"- /><path- fill="#FCA326"- d="M8.42 50.663L1.384 72.31a4.79 4.79 0 001.74 5.357L64 121.894 8.42 50.664z"- /><path- fill="#E24329"- d="M8.42 50.663h32.436L26.916 7.76c-.717-2.206-3.84-2.206-4.557 0L8.42 50.664z"- /><path fill="#FC6D26" d="M64 121.894l23.144-71.23h32.437L64 121.893z" /><path- fill="#FCA326"- d="M119.58 50.663l7.035 21.647a4.79 4.79 0 01-1.74 5.357L64 121.894l55.58-71.23z"- /><path- fill="#E24329"- d="M119.58 50.663H87.145l13.94-42.902c.717-2.206 3.84-2.206 4.557 0l13.94 42.903z"- />- </svg>- {:else if source?.type === 'github'}- <svg viewBox="0 0 128 128">- <g fill="#ffffff"- ><path- fill-rule="evenodd"- clip-rule="evenodd"- d="M64 5.103c-33.347 0-60.388 27.035-60.388 60.388 0 26.682 17.303 49.317 41.297 57.303 3.017.56 4.125-1.31 4.125-2.905 0-1.44-.056-6.197-.082-11.243-16.8 3.653-20.345-7.125-20.345-7.125-2.747-6.98-6.705-8.836-6.705-8.836-5.48-3.748.413-3.67.413-3.67 6.063.425 9.257 6.223 9.257 6.223 5.386 9.23 14.127 6.562 17.573 5.02.542-3.903 2.107-6.568 3.834-8.076-13.413-1.525-27.514-6.704-27.514-29.843 0-6.593 2.36-11.98 6.223-16.21-.628-1.52-2.695-7.662.584-15.98 0 0 5.07-1.623 16.61 6.19C53.7 35 58.867 34.327 64 34.304c5.13.023 10.3.694 15.127 2.033 11.526-7.813 16.59-6.19 16.59-6.19 3.287 8.317 1.22 14.46.593 15.98 3.872 4.23 6.215 9.617 6.215 16.21 0 23.194-14.127 28.3-27.574 29.796 2.167 1.874 4.097 5.55 4.097 11.183 0 8.08-.07 14.583-.07 16.572 0 1.607 1.088 3.49 4.148 2.897 23.98-7.994 41.263-30.622 41.263-57.294C124.388 32.14 97.35 5.104 64 5.104z"- /><path- d="M26.484 91.806c-.133.3-.605.39-1.035.185-.44-.196-.685-.605-.543-.906.13-.31.603-.395 1.04-.188.44.197.69.61.537.91zm2.446 2.729c-.287.267-.85.143-1.232-.28-.396-.42-.47-.983-.177-1.254.298-.266.844-.14 1.24.28.394.426.472.984.17 1.255zM31.312 98.012c-.37.258-.976.017-1.35-.52-.37-.538-.37-1.183.01-1.44.373-.258.97-.025 1.35.507.368.545.368 1.19-.01 1.452zm3.261 3.361c-.33.365-1.036.267-1.552-.23-.527-.487-.674-1.18-.343-1.544.336-.366 1.045-.264 1.564.23.527.486.686 1.18.333 1.543zm4.5 1.951c-.147.473-.825.688-1.51.486-.683-.207-1.13-.76-.99-1.238.14-.477.823-.7 1.512-.485.683.206 1.13.756.988 1.237zm4.943.361c.017.498-.563.91-1.28.92-.723.017-1.308-.387-1.315-.877 0-.503.568-.91 1.29-.924.717-.013 1.306.387 1.306.88zm4.598-.782c.086.485-.413.984-1.126 1.117-.7.13-1.35-.172-1.44-.653-.086-.498.422-.997 1.122-1.126.714-.123 1.354.17 1.444.663zm0 0"- /></g- >- </svg>- {/if}- </div>- <div class="truncate text-center text-xl font-bold">{source.name}</div>- {#if $appSession.teamId === '0' && otherSources.length > 0}- <div class="truncate text-center">{source.teams[0].name}</div>- {/if}-- {#if (source.type === 'gitlab' && !source.gitlabAppId) || (source.type === 'github' && source.githubApp?.installationId === null)}- <div class="truncate text-center font-bold text-red-500 group-hover:text-white">- {$t('application.configuration.configuration_missing')}- </div>- {:else}- <div class="truncate text-center">{getDomain(source.htmlUrl) || ''}</div>- {/if}- </div>- </a>- {/each}- </div>-- {#if otherSources.length > 0 && $appSession.teamId === '0'}- <div class="px-6 pb-5 pt-10 text-2xl font-bold text-center">Other Sources</div>- <div class="flex flex-col flex-wrap justify-center px-2 md:flex-row">- {#each otherSources as source}- <a href="/sources/{source.id}" class="p-2 no-underline">- <div- class="box-selection group hover:bg-orange-600"- class:border-red-500={source.gitlabApp && !source.gitlabAppId}- class:border-0={source.gitlabApp && !source.gitlabAppId}- class:border-l-4={source.gitlabApp && !source.gitlabAppId}- >- <div class="truncate text-center text-xl font-bold">{source.name}</div>- {#if $appSession.teamId === '0'}- <div class="truncate text-center">{source.teams[0].name}</div>- {/if}- {#if (source.type === 'gitlab' && !source.gitlabAppId) || (source.type === 'github' && source.githubApp?.installationId === null)}- <div class="truncate text-center font-bold text-red-500 group-hover:text-white">- {$t('application.configuration.configuration_missing')}- </div>- {:else}- <div class="truncate text-center">{source.htmlUrl}</div>- {/if}- </div>- </a>- {/each}- </div>- {/if}- </div>- {/if}-</div>diff --git a/apps/ui/src/routes/sources/index.svelte b/apps/ui/src/routes/sources/index.sveltedeleted file mode 100644index 8136f76e8c..0000000000--- a/apps/ui/src/routes/sources/index.svelte+++ /dev/null@@ -1,4 +0,0 @@-<script lang="ts">- import { goto } from '$app/navigation';- goto('/');-</script>diff --git a/apps/ui/src/routes/webhooks/success.svelte b/apps/ui/src/routes/webhooks/success.sveltedeleted file mode 100644index 469e4f8da2..0000000000--- a/apps/ui/src/routes/webhooks/success.svelte+++ /dev/null@@ -1,6 +0,0 @@-<script lang="ts">- import { page } from '$app/stores';- const token = $page.url.searchParams.get('token');- localStorage.setItem('gitLabToken', token || '');- window.close();-</script>diff --git a/apps/ui/src/tailwind.css b/apps/ui/src/tailwind.cssdeleted file mode 100644index 3181770749..0000000000--- a/apps/ui/src/tailwind.css+++ /dev/null@@ -1,247 +0,0 @@-@tailwind base;-@tailwind components;-@tailwind utilities;--@font-face {- font-family: 'Poppins';- font-style: normal;- font-weight: 400;- src: local(''), url('/poppins-v19-latin-ext_latin_devanagari-regular.woff2') format('woff2'),- url('/poppins-v19-latin-ext_latin_devanagari-regular.woff') format('woff');-}-@font-face {- font-family: 'Poppins';- font-style: normal;- font-weight: 500;- src: local(''), url('/poppins-v19-latin-ext_latin_devanagari-500.woff2') format('woff2'),- url('/poppins-v19-latin-ext_latin_devanagari-500.woff') format('woff');-}--button {- @apply text-sm !important;-}-html {- @apply h-full min-h-full overflow-y-scroll;-}-body {- @apply min-h-screen overflow-x-hidden bg-coolblack text-sm text-white scrollbar-w-1 scrollbar-thumb-coollabs scrollbar-track-coolgray-200;-}--input, .input {- @apply h-12 w-96 rounded border border-transparent bg-coolgray-200 p-2 text-xs tracking-tight text-white placeholder-stone-600 outline-none transition duration-150 hover:bg-coolgray-500 focus:bg-coolgray-500 disabled:border disabled:border-dashed disabled:border-coolgray-200 disabled:bg-transparent disabled:bg-coolblack md:text-sm;-}-textarea {- @apply min-w-[14rem] rounded border border-transparent bg-coolgray-200 p-2 text-xs tracking-tight text-white placeholder-stone-600 outline-none transition duration-150 hover:bg-coolgray-500 focus:bg-coolgray-500 disabled:border disabled:border-dashed disabled:border-coolgray-200 disabled:bg-transparent md:text-sm;-}--#svelte .custom-select-wrapper .selectContainer.disabled input {- @apply placeholder:text-stone-600;-}--#svelte .custom-select-wrapper .selectContainer input {- @apply text-white;-}--#svelte .custom-select-wrapper .selectContainer {- @apply h-12 rounded bg-coolgray-200 p-2 px-0 text-xs tracking-tight outline-none transition duration-150 hover:bg-coolgray-500 focus:bg-coolgray-500 md:text-sm ;-}--#svelte .listContainer {- @apply bg-coolgray-400 text-white scrollbar-w-2 scrollbar-thumb-green-500 scrollbar-track-coolgray-200;-}-#svelte .selectedItem {- @apply pl-2;-}--#svelte .item.hover {- @apply bg-coollabs text-white !important;-}-#svelte .item.active {- @apply bg-coolgray-100 text-white;-}--select {- @apply h-12 w-96 rounded bg-coolgray-200 p-2 text-xs font-bold tracking-tight text-white placeholder-stone-600 outline-none transition duration-150 hover:bg-coolgray-500 focus:bg-coolgray-500 disabled:text-stone-600 md:text-sm;-}-.custom-select-wrapper{- --background: rgb(32 32 32);- --inputColor: white;- --multiItemPadding: 0;- --multiSelectPadding: 0 0.5rem 0 0.5rem;- --border: none;- --placeholderColor: rgb(87 83 78);- --listBackground: rgb(32 32 32);- --itemColor: white;- --itemHoverBG: rgb(107 22 237);- --multiItemBG: rgb(32 32 32);- --multiClearHoverBG: transparent;- --multiClearHoverFill: rgb(239 68 68);- --multiItemActiveBG: transparent;- --multiClearBG: transparent;- --clearSelectFocusColor: white;- --clearSelectHoverColor: rgb(239 68 68);- --multiItemBorderRadius: 0.25rem;- --listShadow: none;-}--label {- @apply inline-block;-}-.btn {- @apply text-white text-base min-w-fit no-animation;-}--a {- @apply underline hover:text-white;-}--.content {- @apply p-2 px-4;-}--.title {- @apply text-lg lg:text-2xl font-bold;-}-.subtitle{- @apply text-lg lg:text-xl font-bold text-indigo-300;-}-.label{- @apply text-sm leading-6 font-semibold text-sky-500 dark:text-sky-400;-}-.card{- @apply border bg-coolgray-100 border-coolgray-200 rounded p-2 space-y-2 sticky top-4 mb-2 items-center-}-.icon-holder{- overflow: hidden;- height: 30px;- border-radius: 5px;- margin-right: 8px;- background: linear-gradient(0deg, #999, #ddd);-}-.instance-status-running{ box-shadow: 1px 4px 5px #3df721; }-.instance-status-stopped{ box-shadow: 1px 4px 5px rgb(110, 191, 225); }-.instance-status-error{ box-shadow: 1px 4px 5px #fb00ff; }-.instance-status-degraded{ box-shadow: 1px 4px 5px #f7b121; }-.badge-status-healthy,-.badge-status-running { @apply text-green-500 }-.badge-status-degraded { @apply text-green-500 }-.badge-status-stopped { @apply text-sky-500 }-.delete-button{ @apply bg-red-600 }-.delete-button:hover{ @apply bg-red-500}-/* Interchange menu position */-.menu-left { display: flex; flex-direction: row; }-.menu-left .menu-bar{ display: flex; flex-direction: column;}-.menu-left .menu-bar > * {display: flex; flex-direction: column;}-.menu-top { display: flex; flex-direction: column; }-.menu-top .menu-bar{ display: flex; flex-direction: row;}-.menu-top .menu-bar > * {display: flex; flex-direction: row;}--.nav-main {- @apply fixed top-0 left-0 min-h-screen w-16 min-w-[4rem] overflow-hidden border-r border-stone-800 bg-coolgray-200 scrollbar-w-1 scrollbar-thumb-coollabs scrollbar-track-coolgray-200 xl:overflow-visible;-}--.nav-side {- @apply absolute right-0 top-0 z-50 m-5 flex flex-wrap items-center justify-end space-x-2 bg-coolblack/40 text-white;-}--.add-icon {- @apply rounded p-1 transition duration-200;-}--.icons {- @apply rounded p-2 transition duration-200 hover:bg-coolgray-500 disabled:bg-coolblack disabled:text-coolgray-500 !important;-}--.arrow-right-applications {- @apply -ml-6 px-2 font-bold text-green-500;-}--.border-gradient {- border-bottom: 2px solid transparent;- -o-border-image: linear-gradient(- 0.25turn,- rgba(255, 249, 34),- rgba(255, 0, 128),- rgba(56, 2, 155, 0)- );- border-image: linear-gradient(- 0.25turn,- rgba(255, 249, 34),- rgba(255, 0, 128),- rgba(56, 2, 155, 0)- );- border-image-slice: 1;-}-.border-gradient-full {- border: 4px solid transparent;- -o-border-image: linear-gradient(- 0.25turn,- rgba(255, 249, 34),- rgba(255, 0, 128),- rgba(56, 2, 155, 0)- );- border-image: linear-gradient(- 0.25turn,- rgba(255, 249, 34),- rgba(255, 0, 128),- rgba(56, 2, 155, 0)- );- border-image-slice: 1;-}--.box-selection {- @apply min-w-[16rem] justify-center rounded border-transparent bg-coolgray-200 p-6 hover:border-transparent hover:bg-coolgray-400;-}--.lds-heart {- animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);-}-@keyframes lds-heart {- 0% {- transform: scale(1);- }- 5% {- transform: scale(1.2);- }- 39% {- transform: scale(0.85);- }- 45% {- transform: scale(1);- }- 60% {- transform: scale(0.95);- }- 100% {- transform: scale(0.9);- }-}--.sub-menu {- @apply w-48 text-base font-bold hover:bg-coolgray-500 rounded p-2 hover:text-white text-stone-200 cursor-pointer;-}--.sub-menu-active {- @apply bg-coolgray-500 text-white;-}--.table tbody td,-.table tbody th,-.table thead th{- background-color: transparent;-}-.table *{- border: none;-}---.header {- @apply flex flex-row z-10 w-full py-5 px-5;-}-.burger {- @apply block m-[2px] h-[3px] w-5 rounded-}--.bg-coollabs-gradient {- @apply bg-gradient-to-r from-purple-500 via-pink-500 to-red-500;-}diff --git a/apps/ui/static/favicon.png b/apps/ui/static/favicon.pngdeleted file mode 100644index 2c4482801f..0000000000Binary files a/apps/ui/static/favicon.png and /dev/null differdiff --git a/apps/ui/static/icons/compose.png b/apps/ui/static/icons/compose.pngdeleted file mode 100644index b9cfb40e1f..0000000000Binary files a/apps/ui/static/icons/compose.png and /dev/null differdiff --git a/apps/ui/static/icons/default.png b/apps/ui/static/icons/default.pngdeleted file mode 100644index 2c4482801f..0000000000Binary files a/apps/ui/static/icons/default.png and /dev/null differdiff --git a/apps/ui/static/poppins-v19-latin-ext_latin_devanagari-500.woff b/apps/ui/static/poppins-v19-latin-ext_latin_devanagari-500.woffdeleted file mode 100644index d5e713b461..0000000000Binary files a/apps/ui/static/poppins-v19-latin-ext_latin_devanagari-500.woff and /dev/null differdiff --git a/apps/ui/static/poppins-v19-latin-ext_latin_devanagari-500.woff2 b/apps/ui/static/poppins-v19-latin-ext_latin_devanagari-500.woff2deleted file mode 100644index 6e1053fbc7..0000000000Binary files a/apps/ui/static/poppins-v19-latin-ext_latin_devanagari-500.woff2 and /dev/null differdiff --git a/apps/ui/static/poppins-v19-latin-ext_latin_devanagari-regular.woff b/apps/ui/static/poppins-v19-latin-ext_latin_devanagari-regular.woffdeleted file mode 100644index ccce523feb..0000000000Binary files a/apps/ui/static/poppins-v19-latin-ext_latin_devanagari-regular.woff and /dev/null differdiff --git a/apps/ui/static/poppins-v19-latin-ext_latin_devanagari-regular.woff2 b/apps/ui/static/poppins-v19-latin-ext_latin_devanagari-regular.woff2deleted file mode 100644index 7457692a28..0000000000Binary files a/apps/ui/static/poppins-v19-latin-ext_latin_devanagari-regular.woff2 and /dev/null differdiff --git a/apps/ui/svelte.config.js b/apps/ui/svelte.config.jsdeleted file mode 100644index 11bd3fb749..0000000000--- a/apps/ui/svelte.config.js+++ /dev/null@@ -1,20 +0,0 @@-import adapter from '@sveltejs/adapter-static';-import preprocess from 'svelte-preprocess';--/** @type {import('@sveltejs/kit').Config} */-const config = {- preprocess: preprocess(),- kit: {- adapter: adapter({- pages: 'build',- assets: 'build',- fallback: 'index.html',- precompress: true- }),- prerender: {- default: false- },- }-};--export default config;diff --git a/apps/ui/tailwind.config.cjs b/apps/ui/tailwind.config.cjsdeleted file mode 100644index f1fa9734d1..0000000000--- a/apps/ui/tailwind.config.cjs+++ /dev/null@@ -1,68 +0,0 @@-const defaultTheme = require('tailwindcss/defaultTheme');--module.exports = {- content: ['./**/*.html', './src/**/*.{js,jsx,ts,tsx,svelte}', "./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}",],- important: true,- daisyui: {- themes: [- {- coollabs: {- "base-100": "#323232",- "base-200": "#242424",- "base-300": "#181818",- "primary": "#6B16ED",- "primary-content": "#fff",- "secondary": "#343232",- "accent": "#343232",- "neutral": "#272626",- "info": "#0284c7",- "success": "#16A34A",- "warning": "#FFFF00",- "error": "#DC2626",- "--rounded-btn": "0.3rem",- "--btn-text-case": "normal"- },- }- ],- },- theme: {- extend: {- keyframes: {- wiggle: {- '0%, 100%': { transform: 'rotate(-3deg)' },- '50%': { transform: 'rotate(3deg)' }- }- },- animation: {- wiggle: 'wiggle 0.5s ease-in-out infinite'- },- fontFamily: {- sans: ['Poppins', ...defaultTheme.fontFamily.sans]- },- colors: {- "applications": "#16A34A",- "databases": "#9333EA",- "databases-100": "#9b46ea",- "destinations": "#0284C7",- "sources": "#EA580C",- "services": "#DB2777",- "settings": "#FEE440",- "iam": "#C026D3",- coollabs: '#6B16ED',- 'coollabs-100': '#7317FF',- coolblack: '#141414',- 'coolgray-100': '#181818',- 'coolgray-200': '#202020',- 'coolgray-300': '#242424',- 'coolgray-400': '#282828',- 'coolgray-500': '#323232'- }- }- },- variants: {- scrollbar: ['dark'],- extend: {}- },- darkMode: 'class',- plugins: [require('tailwindcss-scrollbar'), require('daisyui'), require("@tailwindcss/typography")]-};diff --git a/apps/ui/tests/test.ts b/apps/ui/tests/test.tsdeleted file mode 100644index 4e579377ee..0000000000--- a/apps/ui/tests/test.ts+++ /dev/null@@ -1,6 +0,0 @@-import { expect, test } from '@playwright/test';--test('index page has expected h1', async ({ page }) => {- await page.goto('/');- expect(await page.textContent('h1')).toBe('Welcome to SvelteKit');-});diff --git a/apps/ui/tsconfig.json b/apps/ui/tsconfig.jsondeleted file mode 100644index 5a3094043e..0000000000--- a/apps/ui/tsconfig.json+++ /dev/null@@ -1,18 +0,0 @@-{- "extends": "./.svelte-kit/tsconfig.json",- "compilerOptions": {- "allowJs": true,- "checkJs": true,- "esModuleInterop": true,- "forceConsistentCasingInFileNames": true,- "resolveJsonModule": true,- "skipLibCheck": true,- "sourceMap": true,- "strict": true,- "paths": {- "$lib": ["src/lib"],- "$lib/*": ["src/lib/*"],- "$commonjson/*": ["common/*"]- }- }-}diff --git a/apps/ui/vite.config.js b/apps/ui/vite.config.jsdeleted file mode 100644index f9409667c1..0000000000--- a/apps/ui/vite.config.js+++ /dev/null@@ -1,27 +0,0 @@-import { sveltekit } from '@sveltejs/kit/vite';--/** @type {import('vite').UserConfig} */-export default {- plugins: [sveltekit()],- define: {- 'GITPOD_WORKSPACE_URL': JSON.stringify(process.env.GITPOD_WORKSPACE_URL),- 'CODESANDBOX_HOST': JSON.stringify(process.env.CODESANDBOX_HOST),- },- server: {- host: '0.0.0.0',- port: 3000,- hmr: process.env.GITPOD_WORKSPACE_URL- ? {- // Due to port fowarding, we have to replace- // 'https' with the forwarded port, as this- // is the URI created by Gitpod.- host: process.env.GITPOD_WORKSPACE_URL.replace("https://", "3000-"),- protocol: "wss",- clientPort: 443- }- : true,- fs: {- allow: ['./src/lib/locales/']- }- },-}\ No newline at end of filediff --git a/artisan b/artisannew file mode 100755index 0000000000..67a3329b18--- /dev/null+++ b/artisan@@ -0,0 +1,53 @@+#!/usr/bin/env php+<?php++define('LARAVEL_START', microtime(true));++/*+|--------------------------------------------------------------------------+| Register The Auto Loader+|--------------------------------------------------------------------------+|+| Composer provides a convenient, automatically generated class loader+| for our application. We just need to utilize it! We'll require it+| into the script here so that we do not have to worry about the+| loading of any of our classes manually. It's great to relax.+|+*/++require __DIR__.'/vendor/autoload.php';++$app = require_once __DIR__.'/bootstrap/app.php';++/*+|--------------------------------------------------------------------------+| Run The Artisan Application+|--------------------------------------------------------------------------+|+| When we run the console application, the current CLI command will be+| executed in this console and the response sent back to a terminal+| or another output device for the developers. Here goes nothing!+|+*/++$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);++$status = $kernel->handle(+ $input = new Symfony\Component\Console\Input\ArgvInput,+ new Symfony\Component\Console\Output\ConsoleOutput+);++/*+|--------------------------------------------------------------------------+| Shutdown The Application+|--------------------------------------------------------------------------+|+| Once Artisan has finished running, we will fire off the shutdown events+| so that any final work may be done by the application before we shut+| down the process. This is the last thing to happen to the request.+|+*/++$kernel->terminate($input, $status);++exit($status);diff --git a/backups/.gitkeep b/backups/.gitkeepdeleted file mode 100644index e69de29bb2..0000000000diff --git a/bootstrap/app.php b/bootstrap/app.phpnew file mode 100644index 0000000000..037e17df03--- /dev/null+++ b/bootstrap/app.php@@ -0,0 +1,55 @@+<?php++/*+|--------------------------------------------------------------------------+| Create The Application+|--------------------------------------------------------------------------+|+| The first thing we will do is create a new Laravel application instance+| which serves as the "glue" for all the components of Laravel, and is+| the IoC container for the system binding all of the various parts.+|+*/++$app = new Illuminate\Foundation\Application(+ $_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)+);++/*+|--------------------------------------------------------------------------+| Bind Important Interfaces+|--------------------------------------------------------------------------+|+| Next, we need to bind some important interfaces into the container so+| we will be able to resolve them when needed. The kernels serve the+| incoming requests to this application from both the web and CLI.+|+*/++$app->singleton(+ Illuminate\Contracts\Http\Kernel::class,+ App\Http\Kernel::class+);++$app->singleton(+ Illuminate\Contracts\Console\Kernel::class,+ App\Console\Kernel::class+);++$app->singleton(+ Illuminate\Contracts\Debug\ExceptionHandler::class,+ App\Exceptions\Handler::class+);++/*+|--------------------------------------------------------------------------+| Return The Application+|--------------------------------------------------------------------------+|+| This script returns the application instance. The instance is given to+| the calling script so we can separate the building of the instances+| from the actual running of the application and sending responses.+|+*/++return $app;diff --git a/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignorenew file mode 100644index 0000000000..d6b7ef32c8--- /dev/null+++ b/bootstrap/cache/.gitignore@@ -0,0 +1,2 @@+*+!.gitignorediff --git a/composer.json b/composer.jsonnew file mode 100644index 0000000000..4958668f0e--- /dev/null+++ b/composer.json@@ -0,0 +1,66 @@+{+ "name": "laravel/laravel",+ "type": "project",+ "description": "The Laravel Framework.",+ "keywords": ["framework", "laravel"],+ "license": "MIT",+ "require": {+ "php": "^8.1",+ "guzzlehttp/guzzle": "^7.2",+ "laravel/framework": "^10.0",+ "laravel/sanctum": "^3.2",+ "laravel/tinker": "^2.8"+ },+ "require-dev": {+ "fakerphp/faker": "^1.9.1",+ "laravel/pint": "^1.0",+ "laravel/sail": "^1.18",+ "mockery/mockery": "^1.4.4",+ "nunomaduro/collision": "^7.0",+ "phpunit/phpunit": "^10.0",+ "spatie/laravel-ignition": "^2.0"+ },+ "autoload": {+ "psr-4": {+ "App\\": "app/",+ "Database\\Factories\\": "database/factories/",+ "Database\\Seeders\\": "database/seeders/"+ }+ },+ "autoload-dev": {+ "psr-4": {+ "Tests\\": "tests/"+ }+ },+ "scripts": {+ "post-autoload-dump": [+ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",+ "@php artisan package:discover --ansi"+ ],+ "post-update-cmd": [+ "@php artisan vendor:publish --tag=laravel-assets --ansi --force"+ ],+ "post-root-package-install": [+ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""+ ],+ "post-create-project-cmd": [+ "@php artisan key:generate --ansi"+ ]+ },+ "extra": {+ "laravel": {+ "dont-discover": []+ }+ },+ "config": {+ "optimize-autoloader": true,+ "preferred-install": "dist",+ "sort-packages": true,+ "allow-plugins": {+ "pestphp/pest-plugin": true,+ "php-http/discovery": true+ }+ },+ "minimum-stability": "stable",+ "prefer-stable": true+}diff --git a/composer.lock b/composer.locknew file mode 100644index 0000000000..9976cf5aeb--- /dev/null+++ b/composer.lock@@ -0,0 +1,7826 @@+{+ "_readme": [+ "This file locks the dependencies of your project to a known state",+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",+ "This file is @generated automatically"+ ],+ "content-hash": "121ea3a2fffe49b3ef9aa4d064b28c19",+ "packages": [+ {+ "name": "brick/math",+ "version": "0.10.2",+ "source": {+ "type": "git",+ "url": "https://github.com/brick/math.git",+ "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/brick/math/zipball/459f2781e1a08d52ee56b0b1444086e038561e3f",+ "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f",+ "shasum": ""+ },+ "require": {+ "ext-json": "*",+ "php": "^7.4 || ^8.0"+ },+ "require-dev": {+ "php-coveralls/php-coveralls": "^2.2",+ "phpunit/phpunit": "^9.0",+ "vimeo/psalm": "4.25.0"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Brick\\Math\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "description": "Arbitrary-precision arithmetic library",+ "keywords": [+ "Arbitrary-precision",+ "BigInteger",+ "BigRational",+ "arithmetic",+ "bigdecimal",+ "bignum",+ "brick",+ "math"+ ],+ "support": {+ "issues": "https://github.com/brick/math/issues",+ "source": "https://github.com/brick/math/tree/0.10.2"+ },+ "funding": [+ {+ "url": "https://github.com/BenMorel",+ "type": "github"+ }+ ],+ "time": "2022-08-10T22:54:19+00:00"+ },+ {+ "name": "dflydev/dot-access-data",+ "version": "v3.0.2",+ "source": {+ "type": "git",+ "url": "https://github.com/dflydev/dflydev-dot-access-data.git",+ "reference": "f41715465d65213d644d3141a6a93081be5d3549"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/f41715465d65213d644d3141a6a93081be5d3549",+ "reference": "f41715465d65213d644d3141a6a93081be5d3549",+ "shasum": ""+ },+ "require": {+ "php": "^7.1 || ^8.0"+ },+ "require-dev": {+ "phpstan/phpstan": "^0.12.42",+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3",+ "scrutinizer/ocular": "1.6.0",+ "squizlabs/php_codesniffer": "^3.5",+ "vimeo/psalm": "^4.0.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "3.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Dflydev\\DotAccessData\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Dragonfly Development Inc.",+ "email": "[email protected]",+ "homepage": "http://dflydev.com"+ },+ {+ "name": "Beau Simensen",+ "email": "[email protected]",+ "homepage": "http://beausimensen.com"+ },+ {+ "name": "Carlos Frutos",+ "email": "[email protected]",+ "homepage": "https://github.com/cfrutos"+ },+ {+ "name": "Colin O'Dell",+ "email": "[email protected]",+ "homepage": "https://www.colinodell.com"+ }+ ],+ "description": "Given a deep data structure, access data by dot notation.",+ "homepage": "https://github.com/dflydev/dflydev-dot-access-data",+ "keywords": [+ "access",+ "data",+ "dot",+ "notation"+ ],+ "support": {+ "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues",+ "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.2"+ },+ "time": "2022-10-27T11:44:00+00:00"+ },+ {+ "name": "doctrine/inflector",+ "version": "2.0.6",+ "source": {+ "type": "git",+ "url": "https://github.com/doctrine/inflector.git",+ "reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/doctrine/inflector/zipball/d9d313a36c872fd6ee06d9a6cbcf713eaa40f024",+ "reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024",+ "shasum": ""+ },+ "require": {+ "php": "^7.2 || ^8.0"+ },+ "require-dev": {+ "doctrine/coding-standard": "^10",+ "phpstan/phpstan": "^1.8",+ "phpstan/phpstan-phpunit": "^1.1",+ "phpstan/phpstan-strict-rules": "^1.3",+ "phpunit/phpunit": "^8.5 || ^9.5",+ "vimeo/psalm": "^4.25"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Doctrine\\Inflector\\": "lib/Doctrine/Inflector"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Guilherme Blanco",+ "email": "[email protected]"+ },+ {+ "name": "Roman Borschel",+ "email": "[email protected]"+ },+ {+ "name": "Benjamin Eberlei",+ "email": "[email protected]"+ },+ {+ "name": "Jonathan Wage",+ "email": "[email protected]"+ },+ {+ "name": "Johannes Schmitt",+ "email": "[email protected]"+ }+ ],+ "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.",+ "homepage": "https://www.doctrine-project.org/projects/inflector.html",+ "keywords": [+ "inflection",+ "inflector",+ "lowercase",+ "manipulation",+ "php",+ "plural",+ "singular",+ "strings",+ "uppercase",+ "words"+ ],+ "support": {+ "issues": "https://github.com/doctrine/inflector/issues",+ "source": "https://github.com/doctrine/inflector/tree/2.0.6"+ },+ "funding": [+ {+ "url": "https://www.doctrine-project.org/sponsorship.html",+ "type": "custom"+ },+ {+ "url": "https://www.patreon.com/phpdoctrine",+ "type": "patreon"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector",+ "type": "tidelift"+ }+ ],+ "time": "2022-10-20T09:10:12+00:00"+ },+ {+ "name": "doctrine/lexer",+ "version": "3.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/doctrine/lexer.git",+ "reference": "84a527db05647743d50373e0ec53a152f2cde568"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/doctrine/lexer/zipball/84a527db05647743d50373e0ec53a152f2cde568",+ "reference": "84a527db05647743d50373e0ec53a152f2cde568",+ "shasum": ""+ },+ "require": {+ "php": "^8.1"+ },+ "require-dev": {+ "doctrine/coding-standard": "^10",+ "phpstan/phpstan": "^1.9",+ "phpunit/phpunit": "^9.5",+ "psalm/plugin-phpunit": "^0.18.3",+ "vimeo/psalm": "^5.0"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Doctrine\\Common\\Lexer\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Guilherme Blanco",+ "email": "[email protected]"+ },+ {+ "name": "Roman Borschel",+ "email": "[email protected]"+ },+ {+ "name": "Johannes Schmitt",+ "email": "[email protected]"+ }+ ],+ "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.",+ "homepage": "https://www.doctrine-project.org/projects/lexer.html",+ "keywords": [+ "annotations",+ "docblock",+ "lexer",+ "parser",+ "php"+ ],+ "support": {+ "issues": "https://github.com/doctrine/lexer/issues",+ "source": "https://github.com/doctrine/lexer/tree/3.0.0"+ },+ "funding": [+ {+ "url": "https://www.doctrine-project.org/sponsorship.html",+ "type": "custom"+ },+ {+ "url": "https://www.patreon.com/phpdoctrine",+ "type": "patreon"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer",+ "type": "tidelift"+ }+ ],+ "time": "2022-12-15T16:57:16+00:00"+ },+ {+ "name": "dragonmantank/cron-expression",+ "version": "v3.3.2",+ "source": {+ "type": "git",+ "url": "https://github.com/dragonmantank/cron-expression.git",+ "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/782ca5968ab8b954773518e9e49a6f892a34b2a8",+ "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8",+ "shasum": ""+ },+ "require": {+ "php": "^7.2|^8.0",+ "webmozart/assert": "^1.0"+ },+ "replace": {+ "mtdowling/cron-expression": "^1.0"+ },+ "require-dev": {+ "phpstan/extension-installer": "^1.0",+ "phpstan/phpstan": "^1.0",+ "phpstan/phpstan-webmozart-assert": "^1.0",+ "phpunit/phpunit": "^7.0|^8.0|^9.0"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Cron\\": "src/Cron/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Chris Tankersley",+ "email": "[email protected]",+ "homepage": "https://github.com/dragonmantank"+ }+ ],+ "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due",+ "keywords": [+ "cron",+ "schedule"+ ],+ "support": {+ "issues": "https://github.com/dragonmantank/cron-expression/issues",+ "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.2"+ },+ "funding": [+ {+ "url": "https://github.com/dragonmantank",+ "type": "github"+ }+ ],+ "time": "2022-09-10T18:51:20+00:00"+ },+ {+ "name": "egulias/email-validator",+ "version": "4.0.1",+ "source": {+ "type": "git",+ "url": "https://github.com/egulias/EmailValidator.git",+ "reference": "3a85486b709bc384dae8eb78fb2eec649bdb64ff"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/3a85486b709bc384dae8eb78fb2eec649bdb64ff",+ "reference": "3a85486b709bc384dae8eb78fb2eec649bdb64ff",+ "shasum": ""+ },+ "require": {+ "doctrine/lexer": "^2.0 || ^3.0",+ "php": ">=8.1",+ "symfony/polyfill-intl-idn": "^1.26"+ },+ "require-dev": {+ "phpunit/phpunit": "^9.5.27",+ "vimeo/psalm": "^4.30"+ },+ "suggest": {+ "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "4.0.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Egulias\\EmailValidator\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Eduardo Gulias Davis"+ }+ ],+ "description": "A library for validating emails against several RFCs",+ "homepage": "https://github.com/egulias/EmailValidator",+ "keywords": [+ "email",+ "emailvalidation",+ "emailvalidator",+ "validation",+ "validator"+ ],+ "support": {+ "issues": "https://github.com/egulias/EmailValidator/issues",+ "source": "https://github.com/egulias/EmailValidator/tree/4.0.1"+ },+ "funding": [+ {+ "url": "https://github.com/egulias",+ "type": "github"+ }+ ],+ "time": "2023-01-14T14:17:03+00:00"+ },+ {+ "name": "fruitcake/php-cors",+ "version": "v1.2.0",+ "source": {+ "type": "git",+ "url": "https://github.com/fruitcake/php-cors.git",+ "reference": "58571acbaa5f9f462c9c77e911700ac66f446d4e"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/58571acbaa5f9f462c9c77e911700ac66f446d4e",+ "reference": "58571acbaa5f9f462c9c77e911700ac66f446d4e",+ "shasum": ""+ },+ "require": {+ "php": "^7.4|^8.0",+ "symfony/http-foundation": "^4.4|^5.4|^6"+ },+ "require-dev": {+ "phpstan/phpstan": "^1.4",+ "phpunit/phpunit": "^9",+ "squizlabs/php_codesniffer": "^3.5"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "1.1-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Fruitcake\\Cors\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fruitcake",+ "homepage": "https://fruitcake.nl"+ },+ {+ "name": "Barryvdh",+ "email": "[email protected]"+ }+ ],+ "description": "Cross-origin resource sharing library for the Symfony HttpFoundation",+ "homepage": "https://github.com/fruitcake/php-cors",+ "keywords": [+ "cors",+ "laravel",+ "symfony"+ ],+ "support": {+ "issues": "https://github.com/fruitcake/php-cors/issues",+ "source": "https://github.com/fruitcake/php-cors/tree/v1.2.0"+ },+ "funding": [+ {+ "url": "https://fruitcake.nl",+ "type": "custom"+ },+ {+ "url": "https://github.com/barryvdh",+ "type": "github"+ }+ ],+ "time": "2022-02-20T15:07:15+00:00"+ },+ {+ "name": "graham-campbell/result-type",+ "version": "v1.1.1",+ "source": {+ "type": "git",+ "url": "https://github.com/GrahamCampbell/Result-Type.git",+ "reference": "672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831",+ "reference": "672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831",+ "shasum": ""+ },+ "require": {+ "php": "^7.2.5 || ^8.0",+ "phpoption/phpoption": "^1.9.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "GrahamCampbell\\ResultType\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Graham Campbell",+ "email": "[email protected]",+ "homepage": "https://github.com/GrahamCampbell"+ }+ ],+ "description": "An Implementation Of The Result Type",+ "keywords": [+ "Graham Campbell",+ "GrahamCampbell",+ "Result Type",+ "Result-Type",+ "result"+ ],+ "support": {+ "issues": "https://github.com/GrahamCampbell/Result-Type/issues",+ "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.1"+ },+ "funding": [+ {+ "url": "https://github.com/GrahamCampbell",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-25T20:23:15+00:00"+ },+ {+ "name": "guzzlehttp/guzzle",+ "version": "7.5.0",+ "source": {+ "type": "git",+ "url": "https://github.com/guzzle/guzzle.git",+ "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba",+ "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba",+ "shasum": ""+ },+ "require": {+ "ext-json": "*",+ "guzzlehttp/promises": "^1.5",+ "guzzlehttp/psr7": "^1.9 || ^2.4",+ "php": "^7.2.5 || ^8.0",+ "psr/http-client": "^1.0",+ "symfony/deprecation-contracts": "^2.2 || ^3.0"+ },+ "provide": {+ "psr/http-client-implementation": "1.0"+ },+ "require-dev": {+ "bamarni/composer-bin-plugin": "^1.8.1",+ "ext-curl": "*",+ "php-http/client-integration-tests": "^3.0",+ "phpunit/phpunit": "^8.5.29 || ^9.5.23",+ "psr/log": "^1.1 || ^2.0 || ^3.0"+ },+ "suggest": {+ "ext-curl": "Required for CURL handler support",+ "ext-intl": "Required for Internationalized Domain Name (IDN) support",+ "psr/log": "Required for using the Log middleware"+ },+ "type": "library",+ "extra": {+ "bamarni-bin": {+ "bin-links": true,+ "forward-command": false+ },+ "branch-alias": {+ "dev-master": "7.5-dev"+ }+ },+ "autoload": {+ "files": [+ "src/functions_include.php"+ ],+ "psr-4": {+ "GuzzleHttp\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Graham Campbell",+ "email": "[email protected]",+ "homepage": "https://github.com/GrahamCampbell"+ },+ {+ "name": "Michael Dowling",+ "email": "[email protected]",+ "homepage": "https://github.com/mtdowling"+ },+ {+ "name": "Jeremy Lindblom",+ "email": "[email protected]",+ "homepage": "https://github.com/jeremeamia"+ },+ {+ "name": "George Mponos",+ "email": "[email protected]",+ "homepage": "https://github.com/gmponos"+ },+ {+ "name": "Tobias Nyholm",+ "email": "[email protected]",+ "homepage": "https://github.com/Nyholm"+ },+ {+ "name": "Mรกrk Sรกgi-Kazรกr",+ "email": "[email protected]",+ "homepage": "https://github.com/sagikazarmark"+ },+ {+ "name": "Tobias Schultze",+ "email": "[email protected]",+ "homepage": "https://github.com/Tobion"+ }+ ],+ "description": "Guzzle is a PHP HTTP client library",+ "keywords": [+ "client",+ "curl",+ "framework",+ "http",+ "http client",+ "psr-18",+ "psr-7",+ "rest",+ "web service"+ ],+ "support": {+ "issues": "https://github.com/guzzle/guzzle/issues",+ "source": "https://github.com/guzzle/guzzle/tree/7.5.0"+ },+ "funding": [+ {+ "url": "https://github.com/GrahamCampbell",+ "type": "github"+ },+ {+ "url": "https://github.com/Nyholm",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle",+ "type": "tidelift"+ }+ ],+ "time": "2022-08-28T15:39:27+00:00"+ },+ {+ "name": "guzzlehttp/promises",+ "version": "1.5.2",+ "source": {+ "type": "git",+ "url": "https://github.com/guzzle/promises.git",+ "reference": "b94b2807d85443f9719887892882d0329d1e2598"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598",+ "reference": "b94b2807d85443f9719887892882d0329d1e2598",+ "shasum": ""+ },+ "require": {+ "php": ">=5.5"+ },+ "require-dev": {+ "symfony/phpunit-bridge": "^4.4 || ^5.1"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "1.5-dev"+ }+ },+ "autoload": {+ "files": [+ "src/functions_include.php"+ ],+ "psr-4": {+ "GuzzleHttp\\Promise\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Graham Campbell",+ "email": "[email protected]",+ "homepage": "https://github.com/GrahamCampbell"+ },+ {+ "name": "Michael Dowling",+ "email": "[email protected]",+ "homepage": "https://github.com/mtdowling"+ },+ {+ "name": "Tobias Nyholm",+ "email": "[email protected]",+ "homepage": "https://github.com/Nyholm"+ },+ {+ "name": "Tobias Schultze",+ "email": "[email protected]",+ "homepage": "https://github.com/Tobion"+ }+ ],+ "description": "Guzzle promises library",+ "keywords": [+ "promise"+ ],+ "support": {+ "issues": "https://github.com/guzzle/promises/issues",+ "source": "https://github.com/guzzle/promises/tree/1.5.2"+ },+ "funding": [+ {+ "url": "https://github.com/GrahamCampbell",+ "type": "github"+ },+ {+ "url": "https://github.com/Nyholm",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises",+ "type": "tidelift"+ }+ ],+ "time": "2022-08-28T14:55:35+00:00"+ },+ {+ "name": "guzzlehttp/psr7",+ "version": "2.4.4",+ "source": {+ "type": "git",+ "url": "https://github.com/guzzle/psr7.git",+ "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",+ "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",+ "shasum": ""+ },+ "require": {+ "php": "^7.2.5 || ^8.0",+ "psr/http-factory": "^1.0",+ "psr/http-message": "^1.0",+ "ralouphie/getallheaders": "^3.0"+ },+ "provide": {+ "psr/http-factory-implementation": "1.0",+ "psr/http-message-implementation": "1.0"+ },+ "require-dev": {+ "bamarni/composer-bin-plugin": "^1.8.1",+ "http-interop/http-factory-tests": "^0.9",+ "phpunit/phpunit": "^8.5.29 || ^9.5.23"+ },+ "suggest": {+ "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"+ },+ "type": "library",+ "extra": {+ "bamarni-bin": {+ "bin-links": true,+ "forward-command": false+ },+ "branch-alias": {+ "dev-master": "2.4-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "GuzzleHttp\\Psr7\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Graham Campbell",+ "email": "[email protected]",+ "homepage": "https://github.com/GrahamCampbell"+ },+ {+ "name": "Michael Dowling",+ "email": "[email protected]",+ "homepage": "https://github.com/mtdowling"+ },+ {+ "name": "George Mponos",+ "email": "[email protected]",+ "homepage": "https://github.com/gmponos"+ },+ {+ "name": "Tobias Nyholm",+ "email": "[email protected]",+ "homepage": "https://github.com/Nyholm"+ },+ {+ "name": "Mรกrk Sรกgi-Kazรกr",+ "email": "[email protected]",+ "homepage": "https://github.com/sagikazarmark"+ },+ {+ "name": "Tobias Schultze",+ "email": "[email protected]",+ "homepage": "https://github.com/Tobion"+ },+ {+ "name": "Mรกrk Sรกgi-Kazรกr",+ "email": "[email protected]",+ "homepage": "https://sagikazarmark.hu"+ }+ ],+ "description": "PSR-7 message implementation that also provides common utility methods",+ "keywords": [+ "http",+ "message",+ "psr-7",+ "request",+ "response",+ "stream",+ "uri",+ "url"+ ],+ "support": {+ "issues": "https://github.com/guzzle/psr7/issues",+ "source": "https://github.com/guzzle/psr7/tree/2.4.4"+ },+ "funding": [+ {+ "url": "https://github.com/GrahamCampbell",+ "type": "github"+ },+ {+ "url": "https://github.com/Nyholm",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7",+ "type": "tidelift"+ }+ ],+ "time": "2023-03-09T13:19:02+00:00"+ },+ {+ "name": "guzzlehttp/uri-template",+ "version": "v1.0.1",+ "source": {+ "type": "git",+ "url": "https://github.com/guzzle/uri-template.git",+ "reference": "b945d74a55a25a949158444f09ec0d3c120d69e2"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/guzzle/uri-template/zipball/b945d74a55a25a949158444f09ec0d3c120d69e2",+ "reference": "b945d74a55a25a949158444f09ec0d3c120d69e2",+ "shasum": ""+ },+ "require": {+ "php": "^7.2.5 || ^8.0",+ "symfony/polyfill-php80": "^1.17"+ },+ "require-dev": {+ "phpunit/phpunit": "^8.5.19 || ^9.5.8",+ "uri-template/tests": "1.0.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "1.0-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "GuzzleHttp\\UriTemplate\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Graham Campbell",+ "email": "[email protected]",+ "homepage": "https://github.com/GrahamCampbell"+ },+ {+ "name": "Michael Dowling",+ "email": "[email protected]",+ "homepage": "https://github.com/mtdowling"+ },+ {+ "name": "George Mponos",+ "email": "[email protected]",+ "homepage": "https://github.com/gmponos"+ },+ {+ "name": "Tobias Nyholm",+ "email": "[email protected]",+ "homepage": "https://github.com/Nyholm"+ }+ ],+ "description": "A polyfill class for uri_template of PHP",+ "keywords": [+ "guzzlehttp",+ "uri-template"+ ],+ "support": {+ "issues": "https://github.com/guzzle/uri-template/issues",+ "source": "https://github.com/guzzle/uri-template/tree/v1.0.1"+ },+ "funding": [+ {+ "url": "https://github.com/GrahamCampbell",+ "type": "github"+ },+ {+ "url": "https://github.com/Nyholm",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template",+ "type": "tidelift"+ }+ ],+ "time": "2021-10-07T12:57:01+00:00"+ },+ {+ "name": "laravel/framework",+ "version": "v10.3.3",+ "source": {+ "type": "git",+ "url": "https://github.com/laravel/framework.git",+ "reference": "90f24d9e2860ecf6b5492e966956270ceb98c03d"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/laravel/framework/zipball/90f24d9e2860ecf6b5492e966956270ceb98c03d",+ "reference": "90f24d9e2860ecf6b5492e966956270ceb98c03d",+ "shasum": ""+ },+ "require": {+ "brick/math": "^0.9.3|^0.10.2|^0.11",+ "composer-runtime-api": "^2.2",+ "doctrine/inflector": "^2.0.5",+ "dragonmantank/cron-expression": "^3.3.2",+ "egulias/email-validator": "^3.2.1|^4.0",+ "ext-ctype": "*",+ "ext-filter": "*",+ "ext-hash": "*",+ "ext-mbstring": "*",+ "ext-openssl": "*",+ "ext-session": "*",+ "ext-tokenizer": "*",+ "fruitcake/php-cors": "^1.2",+ "guzzlehttp/uri-template": "^1.0",+ "laravel/serializable-closure": "^1.3",+ "league/commonmark": "^2.2.1",+ "league/flysystem": "^3.8.0",+ "monolog/monolog": "^3.0",+ "nesbot/carbon": "^2.62.1",+ "nunomaduro/termwind": "^1.13",+ "php": "^8.1",+ "psr/container": "^1.1.1|^2.0.1",+ "psr/log": "^1.0|^2.0|^3.0",+ "psr/simple-cache": "^1.0|^2.0|^3.0",+ "ramsey/uuid": "^4.7",+ "symfony/console": "^6.2",+ "symfony/error-handler": "^6.2",+ "symfony/finder": "^6.2",+ "symfony/http-foundation": "^6.2",+ "symfony/http-kernel": "^6.2",+ "symfony/mailer": "^6.2",+ "symfony/mime": "^6.2",+ "symfony/process": "^6.2",+ "symfony/routing": "^6.2",+ "symfony/uid": "^6.2",+ "symfony/var-dumper": "^6.2",+ "tijsverkoyen/css-to-inline-styles": "^2.2.5",+ "vlucas/phpdotenv": "^5.4.1",+ "voku/portable-ascii": "^2.0"+ },+ "conflict": {+ "tightenco/collect": "<5.5.33"+ },+ "provide": {+ "psr/container-implementation": "1.1|2.0",+ "psr/simple-cache-implementation": "1.0|2.0|3.0"+ },+ "replace": {+ "illuminate/auth": "self.version",+ "illuminate/broadcasting": "self.version",+ "illuminate/bus": "self.version",+ "illuminate/cache": "self.version",+ "illuminate/collections": "self.version",+ "illuminate/conditionable": "self.version",+ "illuminate/config": "self.version",+ "illuminate/console": "self.version",+ "illuminate/container": "self.version",+ "illuminate/contracts": "self.version",+ "illuminate/cookie": "self.version",+ "illuminate/database": "self.version",+ "illuminate/encryption": "self.version",+ "illuminate/events": "self.version",+ "illuminate/filesystem": "self.version",+ "illuminate/hashing": "self.version",+ "illuminate/http": "self.version",+ "illuminate/log": "self.version",+ "illuminate/macroable": "self.version",+ "illuminate/mail": "self.version",+ "illuminate/notifications": "self.version",+ "illuminate/pagination": "self.version",+ "illuminate/pipeline": "self.version",+ "illuminate/process": "self.version",+ "illuminate/queue": "self.version",+ "illuminate/redis": "self.version",+ "illuminate/routing": "self.version",+ "illuminate/session": "self.version",+ "illuminate/support": "self.version",+ "illuminate/testing": "self.version",+ "illuminate/translation": "self.version",+ "illuminate/validation": "self.version",+ "illuminate/view": "self.version"+ },+ "require-dev": {+ "ably/ably-php": "^1.0",+ "aws/aws-sdk-php": "^3.235.5",+ "doctrine/dbal": "^3.5.1",+ "ext-gmp": "*",+ "fakerphp/faker": "^1.21",+ "guzzlehttp/guzzle": "^7.5",+ "league/flysystem-aws-s3-v3": "^3.0",+ "league/flysystem-ftp": "^3.0",+ "league/flysystem-path-prefixing": "^3.3",+ "league/flysystem-read-only": "^3.3",+ "league/flysystem-sftp-v3": "^3.0",+ "mockery/mockery": "^1.5.1",+ "orchestra/testbench-core": "^8.0",+ "pda/pheanstalk": "^4.0",+ "phpstan/phpdoc-parser": "^1.15",+ "phpstan/phpstan": "^1.4.7",+ "phpunit/phpunit": "^10.0.7",+ "predis/predis": "^2.0.2",+ "symfony/cache": "^6.2",+ "symfony/http-client": "^6.2.4"+ },+ "suggest": {+ "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).",+ "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).",+ "brianium/paratest": "Required to run tests in parallel (^6.0).",+ "doctrine/dbal": "Required to rename columns and drop SQLite columns (^3.5.1).",+ "ext-apcu": "Required to use the APC cache driver.",+ "ext-fileinfo": "Required to use the Filesystem class.",+ "ext-ftp": "Required to use the Flysystem FTP driver.",+ "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().",+ "ext-memcached": "Required to use the memcache cache driver.",+ "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.",+ "ext-pdo": "Required to use all database features.",+ "ext-posix": "Required to use all features of the queue worker.",+ "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).",+ "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",+ "filp/whoops": "Required for friendly error pages in development (^2.14.3).",+ "guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.5).",+ "laravel/tinker": "Required to use the tinker console command (^2.0).",+ "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).",+ "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).",+ "league/flysystem-path-prefixing": "Required to use the scoped driver (^3.3).",+ "league/flysystem-read-only": "Required to use read-only disks (^3.3)",+ "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).",+ "mockery/mockery": "Required to use mocking (^1.5.1).",+ "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).",+ "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).",+ "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8|^10.0.7).",+ "predis/predis": "Required to use the predis connector (^2.0.2).",+ "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).",+ "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).",+ "symfony/cache": "Required to PSR-6 cache bridge (^6.2).",+ "symfony/filesystem": "Required to enable support for relative symbolic links (^6.2).",+ "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.2).",+ "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.2).",+ "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.2).",+ "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0)."+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "10.x-dev"+ }+ },+ "autoload": {+ "files": [+ "src/Illuminate/Collections/helpers.php",+ "src/Illuminate/Events/functions.php",+ "src/Illuminate/Foundation/helpers.php",+ "src/Illuminate/Support/helpers.php"+ ],+ "psr-4": {+ "Illuminate\\": "src/Illuminate/",+ "Illuminate\\Support\\": [+ "src/Illuminate/Macroable/",+ "src/Illuminate/Collections/",+ "src/Illuminate/Conditionable/"+ ]+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Taylor Otwell",+ "email": "[email protected]"+ }+ ],+ "description": "The Laravel Framework.",+ "homepage": "https://laravel.com",+ "keywords": [+ "framework",+ "laravel"+ ],+ "support": {+ "issues": "https://github.com/laravel/framework/issues",+ "source": "https://github.com/laravel/framework"+ },+ "time": "2023-03-09T14:00:53+00:00"+ },+ {+ "name": "laravel/sanctum",+ "version": "v3.2.1",+ "source": {+ "type": "git",+ "url": "https://github.com/laravel/sanctum.git",+ "reference": "d09d69bac55708fcd4a3b305d760e673d888baf9"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/laravel/sanctum/zipball/d09d69bac55708fcd4a3b305d760e673d888baf9",+ "reference": "d09d69bac55708fcd4a3b305d760e673d888baf9",+ "shasum": ""+ },+ "require": {+ "ext-json": "*",+ "illuminate/console": "^9.21|^10.0",+ "illuminate/contracts": "^9.21|^10.0",+ "illuminate/database": "^9.21|^10.0",+ "illuminate/support": "^9.21|^10.0",+ "php": "^8.0.2"+ },+ "require-dev": {+ "mockery/mockery": "^1.0",+ "orchestra/testbench": "^7.0|^8.0",+ "phpunit/phpunit": "^9.3"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "3.x-dev"+ },+ "laravel": {+ "providers": [+ "Laravel\\Sanctum\\SanctumServiceProvider"+ ]+ }+ },+ "autoload": {+ "psr-4": {+ "Laravel\\Sanctum\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Taylor Otwell",+ "email": "[email protected]"+ }+ ],+ "description": "Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.",+ "keywords": [+ "auth",+ "laravel",+ "sanctum"+ ],+ "support": {+ "issues": "https://github.com/laravel/sanctum/issues",+ "source": "https://github.com/laravel/sanctum"+ },+ "time": "2023-01-13T15:41:49+00:00"+ },+ {+ "name": "laravel/serializable-closure",+ "version": "v1.3.0",+ "source": {+ "type": "git",+ "url": "https://github.com/laravel/serializable-closure.git",+ "reference": "f23fe9d4e95255dacee1bf3525e0810d1a1b0f37"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/f23fe9d4e95255dacee1bf3525e0810d1a1b0f37",+ "reference": "f23fe9d4e95255dacee1bf3525e0810d1a1b0f37",+ "shasum": ""+ },+ "require": {+ "php": "^7.3|^8.0"+ },+ "require-dev": {+ "nesbot/carbon": "^2.61",+ "pestphp/pest": "^1.21.3",+ "phpstan/phpstan": "^1.8.2",+ "symfony/var-dumper": "^5.4.11"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "1.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Laravel\\SerializableClosure\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Taylor Otwell",+ "email": "[email protected]"+ },+ {+ "name": "Nuno Maduro",+ "email": "[email protected]"+ }+ ],+ "description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.",+ "keywords": [+ "closure",+ "laravel",+ "serializable"+ ],+ "support": {+ "issues": "https://github.com/laravel/serializable-closure/issues",+ "source": "https://github.com/laravel/serializable-closure"+ },+ "time": "2023-01-30T18:31:20+00:00"+ },+ {+ "name": "laravel/tinker",+ "version": "v2.8.1",+ "source": {+ "type": "git",+ "url": "https://github.com/laravel/tinker.git",+ "reference": "04a2d3bd0d650c0764f70bf49d1ee39393e4eb10"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/laravel/tinker/zipball/04a2d3bd0d650c0764f70bf49d1ee39393e4eb10",+ "reference": "04a2d3bd0d650c0764f70bf49d1ee39393e4eb10",+ "shasum": ""+ },+ "require": {+ "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0",+ "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0",+ "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0",+ "php": "^7.2.5|^8.0",+ "psy/psysh": "^0.10.4|^0.11.1",+ "symfony/var-dumper": "^4.3.4|^5.0|^6.0"+ },+ "require-dev": {+ "mockery/mockery": "~1.3.3|^1.4.2",+ "phpunit/phpunit": "^8.5.8|^9.3.3"+ },+ "suggest": {+ "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0)."+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "2.x-dev"+ },+ "laravel": {+ "providers": [+ "Laravel\\Tinker\\TinkerServiceProvider"+ ]+ }+ },+ "autoload": {+ "psr-4": {+ "Laravel\\Tinker\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Taylor Otwell",+ "email": "[email protected]"+ }+ ],+ "description": "Powerful REPL for the Laravel framework.",+ "keywords": [+ "REPL",+ "Tinker",+ "laravel",+ "psysh"+ ],+ "support": {+ "issues": "https://github.com/laravel/tinker/issues",+ "source": "https://github.com/laravel/tinker/tree/v2.8.1"+ },+ "time": "2023-02-15T16:40:09+00:00"+ },+ {+ "name": "league/commonmark",+ "version": "2.3.9",+ "source": {+ "type": "git",+ "url": "https://github.com/thephpleague/commonmark.git",+ "reference": "c1e114f74e518daca2729ea8c4bf1167038fa4b5"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/c1e114f74e518daca2729ea8c4bf1167038fa4b5",+ "reference": "c1e114f74e518daca2729ea8c4bf1167038fa4b5",+ "shasum": ""+ },+ "require": {+ "ext-mbstring": "*",+ "league/config": "^1.1.1",+ "php": "^7.4 || ^8.0",+ "psr/event-dispatcher": "^1.0",+ "symfony/deprecation-contracts": "^2.1 || ^3.0",+ "symfony/polyfill-php80": "^1.16"+ },+ "require-dev": {+ "cebe/markdown": "^1.0",+ "commonmark/cmark": "0.30.0",+ "commonmark/commonmark.js": "0.30.0",+ "composer/package-versions-deprecated": "^1.8",+ "embed/embed": "^4.4",+ "erusev/parsedown": "^1.0",+ "ext-json": "*",+ "github/gfm": "0.29.0",+ "michelf/php-markdown": "^1.4 || ^2.0",+ "nyholm/psr7": "^1.5",+ "phpstan/phpstan": "^1.8.2",+ "phpunit/phpunit": "^9.5.21",+ "scrutinizer/ocular": "^1.8.1",+ "symfony/finder": "^5.3 | ^6.0",+ "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0",+ "unleashedtech/php-coding-standard": "^3.1.1",+ "vimeo/psalm": "^4.24.0 || ^5.0.0"+ },+ "suggest": {+ "symfony/yaml": "v2.3+ required if using the Front Matter extension"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "2.4-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "League\\CommonMark\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Colin O'Dell",+ "email": "[email protected]",+ "homepage": "https://www.colinodell.com",+ "role": "Lead Developer"+ }+ ],+ "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)",+ "homepage": "https://commonmark.thephpleague.com",+ "keywords": [+ "commonmark",+ "flavored",+ "gfm",+ "github",+ "github-flavored",+ "markdown",+ "md",+ "parser"+ ],+ "support": {+ "docs": "https://commonmark.thephpleague.com/",+ "forum": "https://github.com/thephpleague/commonmark/discussions",+ "issues": "https://github.com/thephpleague/commonmark/issues",+ "rss": "https://github.com/thephpleague/commonmark/releases.atom",+ "source": "https://github.com/thephpleague/commonmark"+ },+ "funding": [+ {+ "url": "https://www.colinodell.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://www.paypal.me/colinpodell/10.00",+ "type": "custom"+ },+ {+ "url": "https://github.com/colinodell",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/league/commonmark",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-15T14:07:24+00:00"+ },+ {+ "name": "league/config",+ "version": "v1.2.0",+ "source": {+ "type": "git",+ "url": "https://github.com/thephpleague/config.git",+ "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/thephpleague/config/zipball/754b3604fb2984c71f4af4a9cbe7b57f346ec1f3",+ "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3",+ "shasum": ""+ },+ "require": {+ "dflydev/dot-access-data": "^3.0.1",+ "nette/schema": "^1.2",+ "php": "^7.4 || ^8.0"+ },+ "require-dev": {+ "phpstan/phpstan": "^1.8.2",+ "phpunit/phpunit": "^9.5.5",+ "scrutinizer/ocular": "^1.8.1",+ "unleashedtech/php-coding-standard": "^3.1",+ "vimeo/psalm": "^4.7.3"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "1.2-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "League\\Config\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Colin O'Dell",+ "email": "[email protected]",+ "homepage": "https://www.colinodell.com",+ "role": "Lead Developer"+ }+ ],+ "description": "Define configuration arrays with strict schemas and access values with dot notation",+ "homepage": "https://config.thephpleague.com",+ "keywords": [+ "array",+ "config",+ "configuration",+ "dot",+ "dot-access",+ "nested",+ "schema"+ ],+ "support": {+ "docs": "https://config.thephpleague.com/",+ "issues": "https://github.com/thephpleague/config/issues",+ "rss": "https://github.com/thephpleague/config/releases.atom",+ "source": "https://github.com/thephpleague/config"+ },+ "funding": [+ {+ "url": "https://www.colinodell.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://www.paypal.me/colinpodell/10.00",+ "type": "custom"+ },+ {+ "url": "https://github.com/colinodell",+ "type": "github"+ }+ ],+ "time": "2022-12-11T20:36:23+00:00"+ },+ {+ "name": "league/flysystem",+ "version": "3.12.3",+ "source": {+ "type": "git",+ "url": "https://github.com/thephpleague/flysystem.git",+ "reference": "81e87e74dd5213795c7846d65089712d2dda90ce"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/81e87e74dd5213795c7846d65089712d2dda90ce",+ "reference": "81e87e74dd5213795c7846d65089712d2dda90ce",+ "shasum": ""+ },+ "require": {+ "league/mime-type-detection": "^1.0.0",+ "php": "^8.0.2"+ },+ "conflict": {+ "aws/aws-sdk-php": "3.209.31 || 3.210.0",+ "guzzlehttp/guzzle": "<7.0",+ "guzzlehttp/ringphp": "<1.1.1",+ "phpseclib/phpseclib": "3.0.15",+ "symfony/http-client": "<5.2"+ },+ "require-dev": {+ "async-aws/s3": "^1.5",+ "async-aws/simple-s3": "^1.1",+ "aws/aws-sdk-php": "^3.220.0",+ "composer/semver": "^3.0",+ "ext-fileinfo": "*",+ "ext-ftp": "*",+ "ext-zip": "*",+ "friendsofphp/php-cs-fixer": "^3.5",+ "google/cloud-storage": "^1.23",+ "microsoft/azure-storage-blob": "^1.1",+ "phpseclib/phpseclib": "^3.0.14",+ "phpstan/phpstan": "^0.12.26",+ "phpunit/phpunit": "^9.5.11",+ "sabre/dav": "^4.3.1"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "League\\Flysystem\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Frank de Jonge",+ "email": "[email protected]"+ }+ ],+ "description": "File storage abstraction for PHP",+ "keywords": [+ "WebDAV",+ "aws",+ "cloud",+ "file",+ "files",+ "filesystem",+ "filesystems",+ "ftp",+ "s3",+ "sftp",+ "storage"+ ],+ "support": {+ "issues": "https://github.com/thephpleague/flysystem/issues",+ "source": "https://github.com/thephpleague/flysystem/tree/3.12.3"+ },+ "funding": [+ {+ "url": "https://ecologi.com/frankdejonge",+ "type": "custom"+ },+ {+ "url": "https://github.com/frankdejonge",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/league/flysystem",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-18T15:32:41+00:00"+ },+ {+ "name": "league/mime-type-detection",+ "version": "1.11.0",+ "source": {+ "type": "git",+ "url": "https://github.com/thephpleague/mime-type-detection.git",+ "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ff6248ea87a9f116e78edd6002e39e5128a0d4dd",+ "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd",+ "shasum": ""+ },+ "require": {+ "ext-fileinfo": "*",+ "php": "^7.2 || ^8.0"+ },+ "require-dev": {+ "friendsofphp/php-cs-fixer": "^3.2",+ "phpstan/phpstan": "^0.12.68",+ "phpunit/phpunit": "^8.5.8 || ^9.3"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "League\\MimeTypeDetection\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Frank de Jonge",+ "email": "[email protected]"+ }+ ],+ "description": "Mime-type detection for Flysystem",+ "support": {+ "issues": "https://github.com/thephpleague/mime-type-detection/issues",+ "source": "https://github.com/thephpleague/mime-type-detection/tree/1.11.0"+ },+ "funding": [+ {+ "url": "https://github.com/frankdejonge",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/league/flysystem",+ "type": "tidelift"+ }+ ],+ "time": "2022-04-17T13:12:02+00:00"+ },+ {+ "name": "monolog/monolog",+ "version": "3.3.1",+ "source": {+ "type": "git",+ "url": "https://github.com/Seldaek/monolog.git",+ "reference": "9b5daeaffce5b926cac47923798bba91059e60e2"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/9b5daeaffce5b926cac47923798bba91059e60e2",+ "reference": "9b5daeaffce5b926cac47923798bba91059e60e2",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "psr/log": "^2.0 || ^3.0"+ },+ "provide": {+ "psr/log-implementation": "3.0.0"+ },+ "require-dev": {+ "aws/aws-sdk-php": "^3.0",+ "doctrine/couchdb": "~1.0@dev",+ "elasticsearch/elasticsearch": "^7 || ^8",+ "ext-json": "*",+ "graylog2/gelf-php": "^1.4.2 || ^2@dev",+ "guzzlehttp/guzzle": "^7.4.5",+ "guzzlehttp/psr7": "^2.2",+ "mongodb/mongodb": "^1.8",+ "php-amqplib/php-amqplib": "~2.4 || ^3",+ "phpstan/phpstan": "^1.9",+ "phpstan/phpstan-deprecation-rules": "^1.0",+ "phpstan/phpstan-strict-rules": "^1.4",+ "phpunit/phpunit": "^9.5.26",+ "predis/predis": "^1.1 || ^2",+ "ruflin/elastica": "^7",+ "symfony/mailer": "^5.4 || ^6",+ "symfony/mime": "^5.4 || ^6"+ },+ "suggest": {+ "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",+ "doctrine/couchdb": "Allow sending log messages to a CouchDB server",+ "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client",+ "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",+ "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler",+ "ext-mbstring": "Allow to work properly with unicode symbols",+ "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)",+ "ext-openssl": "Required to send log messages using SSL",+ "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)",+ "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",+ "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)",+ "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",+ "rollbar/rollbar": "Allow sending log messages to Rollbar",+ "ruflin/elastica": "Allow sending log messages to an Elastic Search server"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "3.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Monolog\\": "src/Monolog"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Jordi Boggiano",+ "email": "[email protected]",+ "homepage": "https://seld.be"+ }+ ],+ "description": "Sends your logs to files, sockets, inboxes, databases and various web services",+ "homepage": "https://github.com/Seldaek/monolog",+ "keywords": [+ "log",+ "logging",+ "psr-3"+ ],+ "support": {+ "issues": "https://github.com/Seldaek/monolog/issues",+ "source": "https://github.com/Seldaek/monolog/tree/3.3.1"+ },+ "funding": [+ {+ "url": "https://github.com/Seldaek",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/monolog/monolog",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-06T13:46:10+00:00"+ },+ {+ "name": "nesbot/carbon",+ "version": "2.66.0",+ "source": {+ "type": "git",+ "url": "https://github.com/briannesbitt/Carbon.git",+ "reference": "496712849902241f04902033b0441b269effe001"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/496712849902241f04902033b0441b269effe001",+ "reference": "496712849902241f04902033b0441b269effe001",+ "shasum": ""+ },+ "require": {+ "ext-json": "*",+ "php": "^7.1.8 || ^8.0",+ "symfony/polyfill-mbstring": "^1.0",+ "symfony/polyfill-php80": "^1.16",+ "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0"+ },+ "require-dev": {+ "doctrine/dbal": "^2.0 || ^3.1.4",+ "doctrine/orm": "^2.7",+ "friendsofphp/php-cs-fixer": "^3.0",+ "kylekatarnls/multi-tester": "^2.0",+ "ondrejmirtes/better-reflection": "*",+ "phpmd/phpmd": "^2.9",+ "phpstan/extension-installer": "^1.0",+ "phpstan/phpstan": "^0.12.99 || ^1.7.14",+ "phpunit/php-file-iterator": "^2.0.5 || ^3.0.6",+ "phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20",+ "squizlabs/php_codesniffer": "^3.4"+ },+ "bin": [+ "bin/carbon"+ ],+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-3.x": "3.x-dev",+ "dev-master": "2.x-dev"+ },+ "laravel": {+ "providers": [+ "Carbon\\Laravel\\ServiceProvider"+ ]+ },+ "phpstan": {+ "includes": [+ "extension.neon"+ ]+ }+ },+ "autoload": {+ "psr-4": {+ "Carbon\\": "src/Carbon/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Brian Nesbitt",+ "email": "[email protected]",+ "homepage": "https://markido.com"+ },+ {+ "name": "kylekatarnls",+ "homepage": "https://github.com/kylekatarnls"+ }+ ],+ "description": "An API extension for DateTime that supports 281 different languages.",+ "homepage": "https://carbon.nesbot.com",+ "keywords": [+ "date",+ "datetime",+ "time"+ ],+ "support": {+ "docs": "https://carbon.nesbot.com/docs",+ "issues": "https://github.com/briannesbitt/Carbon/issues",+ "source": "https://github.com/briannesbitt/Carbon"+ },+ "funding": [+ {+ "url": "https://github.com/sponsors/kylekatarnls",+ "type": "github"+ },+ {+ "url": "https://opencollective.com/Carbon#sponsor",+ "type": "opencollective"+ },+ {+ "url": "https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme",+ "type": "tidelift"+ }+ ],+ "time": "2023-01-29T18:53:47+00:00"+ },+ {+ "name": "nette/schema",+ "version": "v1.2.3",+ "source": {+ "type": "git",+ "url": "https://github.com/nette/schema.git",+ "reference": "abbdbb70e0245d5f3bf77874cea1dfb0c930d06f"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/nette/schema/zipball/abbdbb70e0245d5f3bf77874cea1dfb0c930d06f",+ "reference": "abbdbb70e0245d5f3bf77874cea1dfb0c930d06f",+ "shasum": ""+ },+ "require": {+ "nette/utils": "^2.5.7 || ^3.1.5 || ^4.0",+ "php": ">=7.1 <8.3"+ },+ "require-dev": {+ "nette/tester": "^2.3 || ^2.4",+ "phpstan/phpstan-nette": "^1.0",+ "tracy/tracy": "^2.7"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "1.2-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause",+ "GPL-2.0-only",+ "GPL-3.0-only"+ ],+ "authors": [+ {+ "name": "David Grudl",+ "homepage": "https://davidgrudl.com"+ },+ {+ "name": "Nette Community",+ "homepage": "https://nette.org/contributors"+ }+ ],+ "description": "๐ Nette Schema: validating data structures against a given Schema.",+ "homepage": "https://nette.org",+ "keywords": [+ "config",+ "nette"+ ],+ "support": {+ "issues": "https://github.com/nette/schema/issues",+ "source": "https://github.com/nette/schema/tree/v1.2.3"+ },+ "time": "2022-10-13T01:24:26+00:00"+ },+ {+ "name": "nette/utils",+ "version": "v4.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/nette/utils.git",+ "reference": "cacdbf5a91a657ede665c541eda28941d4b09c1e"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/nette/utils/zipball/cacdbf5a91a657ede665c541eda28941d4b09c1e",+ "reference": "cacdbf5a91a657ede665c541eda28941d4b09c1e",+ "shasum": ""+ },+ "require": {+ "php": ">=8.0 <8.3"+ },+ "conflict": {+ "nette/finder": "<3",+ "nette/schema": "<1.2.2"+ },+ "require-dev": {+ "jetbrains/phpstorm-attributes": "dev-master",+ "nette/tester": "^2.4",+ "phpstan/phpstan": "^1.0",+ "tracy/tracy": "^2.9"+ },+ "suggest": {+ "ext-gd": "to use Image",+ "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()",+ "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()",+ "ext-json": "to use Nette\\Utils\\Json",+ "ext-mbstring": "to use Strings::lower() etc...",+ "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()",+ "ext-xml": "to use Strings::length() etc. when mbstring is not available"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "4.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause",+ "GPL-2.0-only",+ "GPL-3.0-only"+ ],+ "authors": [+ {+ "name": "David Grudl",+ "homepage": "https://davidgrudl.com"+ },+ {+ "name": "Nette Community",+ "homepage": "https://nette.org/contributors"+ }+ ],+ "description": "๐ Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.",+ "homepage": "https://nette.org",+ "keywords": [+ "array",+ "core",+ "datetime",+ "images",+ "json",+ "nette",+ "paginator",+ "password",+ "slugify",+ "string",+ "unicode",+ "utf-8",+ "utility",+ "validation"+ ],+ "support": {+ "issues": "https://github.com/nette/utils/issues",+ "source": "https://github.com/nette/utils/tree/v4.0.0"+ },+ "time": "2023-02-02T10:41:53+00:00"+ },+ {+ "name": "nikic/php-parser",+ "version": "v4.15.4",+ "source": {+ "type": "git",+ "url": "https://github.com/nikic/PHP-Parser.git",+ "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6bb5176bc4af8bcb7d926f88718db9b96a2d4290",+ "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290",+ "shasum": ""+ },+ "require": {+ "ext-tokenizer": "*",+ "php": ">=7.0"+ },+ "require-dev": {+ "ircmaxell/php-yacc": "^0.0.7",+ "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"+ },+ "bin": [+ "bin/php-parse"+ ],+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "4.9-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "PhpParser\\": "lib/PhpParser"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Nikita Popov"+ }+ ],+ "description": "A PHP parser written in PHP",+ "keywords": [+ "parser",+ "php"+ ],+ "support": {+ "issues": "https://github.com/nikic/PHP-Parser/issues",+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.4"+ },+ "time": "2023-03-05T19:49:14+00:00"+ },+ {+ "name": "nunomaduro/termwind",+ "version": "v1.15.1",+ "source": {+ "type": "git",+ "url": "https://github.com/nunomaduro/termwind.git",+ "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/8ab0b32c8caa4a2e09700ea32925441385e4a5dc",+ "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc",+ "shasum": ""+ },+ "require": {+ "ext-mbstring": "*",+ "php": "^8.0",+ "symfony/console": "^5.3.0|^6.0.0"+ },+ "require-dev": {+ "ergebnis/phpstan-rules": "^1.0.",+ "illuminate/console": "^8.0|^9.0",+ "illuminate/support": "^8.0|^9.0",+ "laravel/pint": "^1.0.0",+ "pestphp/pest": "^1.21.0",+ "pestphp/pest-plugin-mock": "^1.0",+ "phpstan/phpstan": "^1.4.6",+ "phpstan/phpstan-strict-rules": "^1.1.0",+ "symfony/var-dumper": "^5.2.7|^6.0.0",+ "thecodingmachine/phpstan-strict-rules": "^1.0.0"+ },+ "type": "library",+ "extra": {+ "laravel": {+ "providers": [+ "Termwind\\Laravel\\TermwindServiceProvider"+ ]+ }+ },+ "autoload": {+ "files": [+ "src/Functions.php"+ ],+ "psr-4": {+ "Termwind\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nuno Maduro",+ "email": "[email protected]"+ }+ ],+ "description": "Its like Tailwind CSS, but for the console.",+ "keywords": [+ "cli",+ "console",+ "css",+ "package",+ "php",+ "style"+ ],+ "support": {+ "issues": "https://github.com/nunomaduro/termwind/issues",+ "source": "https://github.com/nunomaduro/termwind/tree/v1.15.1"+ },+ "funding": [+ {+ "url": "https://www.paypal.com/paypalme/enunomaduro",+ "type": "custom"+ },+ {+ "url": "https://github.com/nunomaduro",+ "type": "github"+ },+ {+ "url": "https://github.com/xiCO2k",+ "type": "github"+ }+ ],+ "time": "2023-02-08T01:06:31+00:00"+ },+ {+ "name": "phpoption/phpoption",+ "version": "1.9.1",+ "source": {+ "type": "git",+ "url": "https://github.com/schmittjoh/php-option.git",+ "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/dd3a383e599f49777d8b628dadbb90cae435b87e",+ "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e",+ "shasum": ""+ },+ "require": {+ "php": "^7.2.5 || ^8.0"+ },+ "require-dev": {+ "bamarni/composer-bin-plugin": "^1.8.2",+ "phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12"+ },+ "type": "library",+ "extra": {+ "bamarni-bin": {+ "bin-links": true,+ "forward-command": true+ },+ "branch-alias": {+ "dev-master": "1.9-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "PhpOption\\": "src/PhpOption/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "Apache-2.0"+ ],+ "authors": [+ {+ "name": "Johannes M. Schmitt",+ "email": "[email protected]",+ "homepage": "https://github.com/schmittjoh"+ },+ {+ "name": "Graham Campbell",+ "email": "[email protected]",+ "homepage": "https://github.com/GrahamCampbell"+ }+ ],+ "description": "Option Type for PHP",+ "keywords": [+ "language",+ "option",+ "php",+ "type"+ ],+ "support": {+ "issues": "https://github.com/schmittjoh/php-option/issues",+ "source": "https://github.com/schmittjoh/php-option/tree/1.9.1"+ },+ "funding": [+ {+ "url": "https://github.com/GrahamCampbell",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-25T19:38:58+00:00"+ },+ {+ "name": "psr/container",+ "version": "2.0.2",+ "source": {+ "type": "git",+ "url": "https://github.com/php-fig/container.git",+ "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963",+ "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963",+ "shasum": ""+ },+ "require": {+ "php": ">=7.4.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "2.0.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Psr\\Container\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "PHP-FIG",+ "homepage": "https://www.php-fig.org/"+ }+ ],+ "description": "Common Container Interface (PHP FIG PSR-11)",+ "homepage": "https://github.com/php-fig/container",+ "keywords": [+ "PSR-11",+ "container",+ "container-interface",+ "container-interop",+ "psr"+ ],+ "support": {+ "issues": "https://github.com/php-fig/container/issues",+ "source": "https://github.com/php-fig/container/tree/2.0.2"+ },+ "time": "2021-11-05T16:47:00+00:00"+ },+ {+ "name": "psr/event-dispatcher",+ "version": "1.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/php-fig/event-dispatcher.git",+ "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0",+ "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0",+ "shasum": ""+ },+ "require": {+ "php": ">=7.2.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "1.0.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Psr\\EventDispatcher\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "PHP-FIG",+ "homepage": "http://www.php-fig.org/"+ }+ ],+ "description": "Standard interfaces for event handling.",+ "keywords": [+ "events",+ "psr",+ "psr-14"+ ],+ "support": {+ "issues": "https://github.com/php-fig/event-dispatcher/issues",+ "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0"+ },+ "time": "2019-01-08T18:20:26+00:00"+ },+ {+ "name": "psr/http-client",+ "version": "1.0.1",+ "source": {+ "type": "git",+ "url": "https://github.com/php-fig/http-client.git",+ "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",+ "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",+ "shasum": ""+ },+ "require": {+ "php": "^7.0 || ^8.0",+ "psr/http-message": "^1.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "1.0.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Psr\\Http\\Client\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "PHP-FIG",+ "homepage": "http://www.php-fig.org/"+ }+ ],+ "description": "Common interface for HTTP clients",+ "homepage": "https://github.com/php-fig/http-client",+ "keywords": [+ "http",+ "http-client",+ "psr",+ "psr-18"+ ],+ "support": {+ "source": "https://github.com/php-fig/http-client/tree/master"+ },+ "time": "2020-06-29T06:28:15+00:00"+ },+ {+ "name": "psr/http-factory",+ "version": "1.0.1",+ "source": {+ "type": "git",+ "url": "https://github.com/php-fig/http-factory.git",+ "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be",+ "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be",+ "shasum": ""+ },+ "require": {+ "php": ">=7.0.0",+ "psr/http-message": "^1.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "1.0.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Psr\\Http\\Message\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "PHP-FIG",+ "homepage": "http://www.php-fig.org/"+ }+ ],+ "description": "Common interfaces for PSR-7 HTTP message factories",+ "keywords": [+ "factory",+ "http",+ "message",+ "psr",+ "psr-17",+ "psr-7",+ "request",+ "response"+ ],+ "support": {+ "source": "https://github.com/php-fig/http-factory/tree/master"+ },+ "time": "2019-04-30T12:38:16+00:00"+ },+ {+ "name": "psr/http-message",+ "version": "1.0.1",+ "source": {+ "type": "git",+ "url": "https://github.com/php-fig/http-message.git",+ "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",+ "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",+ "shasum": ""+ },+ "require": {+ "php": ">=5.3.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "1.0.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Psr\\Http\\Message\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "PHP-FIG",+ "homepage": "http://www.php-fig.org/"+ }+ ],+ "description": "Common interface for HTTP messages",+ "homepage": "https://github.com/php-fig/http-message",+ "keywords": [+ "http",+ "http-message",+ "psr",+ "psr-7",+ "request",+ "response"+ ],+ "support": {+ "source": "https://github.com/php-fig/http-message/tree/master"+ },+ "time": "2016-08-06T14:39:51+00:00"+ },+ {+ "name": "psr/log",+ "version": "3.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/php-fig/log.git",+ "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001",+ "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001",+ "shasum": ""+ },+ "require": {+ "php": ">=8.0.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "3.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Psr\\Log\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "PHP-FIG",+ "homepage": "https://www.php-fig.org/"+ }+ ],+ "description": "Common interface for logging libraries",+ "homepage": "https://github.com/php-fig/log",+ "keywords": [+ "log",+ "psr",+ "psr-3"+ ],+ "support": {+ "source": "https://github.com/php-fig/log/tree/3.0.0"+ },+ "time": "2021-07-14T16:46:02+00:00"+ },+ {+ "name": "psr/simple-cache",+ "version": "3.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/php-fig/simple-cache.git",+ "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865",+ "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865",+ "shasum": ""+ },+ "require": {+ "php": ">=8.0.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "3.0.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Psr\\SimpleCache\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "PHP-FIG",+ "homepage": "https://www.php-fig.org/"+ }+ ],+ "description": "Common interfaces for simple caching",+ "keywords": [+ "cache",+ "caching",+ "psr",+ "psr-16",+ "simple-cache"+ ],+ "support": {+ "source": "https://github.com/php-fig/simple-cache/tree/3.0.0"+ },+ "time": "2021-10-29T13:26:27+00:00"+ },+ {+ "name": "psy/psysh",+ "version": "v0.11.12",+ "source": {+ "type": "git",+ "url": "https://github.com/bobthecow/psysh.git",+ "reference": "52cb7c47d403c31c0adc9bf7710fc355f93c20f7"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/bobthecow/psysh/zipball/52cb7c47d403c31c0adc9bf7710fc355f93c20f7",+ "reference": "52cb7c47d403c31c0adc9bf7710fc355f93c20f7",+ "shasum": ""+ },+ "require": {+ "ext-json": "*",+ "ext-tokenizer": "*",+ "nikic/php-parser": "^4.0 || ^3.1",+ "php": "^8.0 || ^7.0.8",+ "symfony/console": "^6.0 || ^5.0 || ^4.0 || ^3.4",+ "symfony/var-dumper": "^6.0 || ^5.0 || ^4.0 || ^3.4"+ },+ "conflict": {+ "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4"+ },+ "require-dev": {+ "bamarni/composer-bin-plugin": "^1.2"+ },+ "suggest": {+ "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)",+ "ext-pdo-sqlite": "The doc command requires SQLite to work.",+ "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.",+ "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history."+ },+ "bin": [+ "bin/psysh"+ ],+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "0.11.x-dev"+ }+ },+ "autoload": {+ "files": [+ "src/functions.php"+ ],+ "psr-4": {+ "Psy\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Justin Hileman",+ "email": "[email protected]",+ "homepage": "http://justinhileman.com"+ }+ ],+ "description": "An interactive shell for modern PHP.",+ "homepage": "http://psysh.org",+ "keywords": [+ "REPL",+ "console",+ "interactive",+ "shell"+ ],+ "support": {+ "issues": "https://github.com/bobthecow/psysh/issues",+ "source": "https://github.com/bobthecow/psysh/tree/v0.11.12"+ },+ "time": "2023-01-29T21:24:40+00:00"+ },+ {+ "name": "ralouphie/getallheaders",+ "version": "3.0.3",+ "source": {+ "type": "git",+ "url": "https://github.com/ralouphie/getallheaders.git",+ "reference": "120b605dfeb996808c31b6477290a714d356e822"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",+ "reference": "120b605dfeb996808c31b6477290a714d356e822",+ "shasum": ""+ },+ "require": {+ "php": ">=5.6"+ },+ "require-dev": {+ "php-coveralls/php-coveralls": "^2.1",+ "phpunit/phpunit": "^5 || ^6.5"+ },+ "type": "library",+ "autoload": {+ "files": [+ "src/getallheaders.php"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Ralph Khattar",+ "email": "[email protected]"+ }+ ],+ "description": "A polyfill for getallheaders.",+ "support": {+ "issues": "https://github.com/ralouphie/getallheaders/issues",+ "source": "https://github.com/ralouphie/getallheaders/tree/develop"+ },+ "time": "2019-03-08T08:55:37+00:00"+ },+ {+ "name": "ramsey/collection",+ "version": "2.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/ramsey/collection.git",+ "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5",+ "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5",+ "shasum": ""+ },+ "require": {+ "php": "^8.1"+ },+ "require-dev": {+ "captainhook/plugin-composer": "^5.3",+ "ergebnis/composer-normalize": "^2.28.3",+ "fakerphp/faker": "^1.21",+ "hamcrest/hamcrest-php": "^2.0",+ "jangregor/phpstan-prophecy": "^1.0",+ "mockery/mockery": "^1.5",+ "php-parallel-lint/php-console-highlighter": "^1.0",+ "php-parallel-lint/php-parallel-lint": "^1.3",+ "phpcsstandards/phpcsutils": "^1.0.0-rc1",+ "phpspec/prophecy-phpunit": "^2.0",+ "phpstan/extension-installer": "^1.2",+ "phpstan/phpstan": "^1.9",+ "phpstan/phpstan-mockery": "^1.1",+ "phpstan/phpstan-phpunit": "^1.3",+ "phpunit/phpunit": "^9.5",+ "psalm/plugin-mockery": "^1.1",+ "psalm/plugin-phpunit": "^0.18.4",+ "ramsey/coding-standard": "^2.0.3",+ "ramsey/conventional-commits": "^1.3",+ "vimeo/psalm": "^5.4"+ },+ "type": "library",+ "extra": {+ "captainhook": {+ "force-install": true+ },+ "ramsey/conventional-commits": {+ "configFile": "conventional-commits.json"+ }+ },+ "autoload": {+ "psr-4": {+ "Ramsey\\Collection\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Ben Ramsey",+ "email": "[email protected]",+ "homepage": "https://benramsey.com"+ }+ ],+ "description": "A PHP library for representing and manipulating collections.",+ "keywords": [+ "array",+ "collection",+ "hash",+ "map",+ "queue",+ "set"+ ],+ "support": {+ "issues": "https://github.com/ramsey/collection/issues",+ "source": "https://github.com/ramsey/collection/tree/2.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/ramsey",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/ramsey/collection",+ "type": "tidelift"+ }+ ],+ "time": "2022-12-31T21:50:55+00:00"+ },+ {+ "name": "ramsey/uuid",+ "version": "4.7.3",+ "source": {+ "type": "git",+ "url": "https://github.com/ramsey/uuid.git",+ "reference": "433b2014e3979047db08a17a205f410ba3869cf2"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/ramsey/uuid/zipball/433b2014e3979047db08a17a205f410ba3869cf2",+ "reference": "433b2014e3979047db08a17a205f410ba3869cf2",+ "shasum": ""+ },+ "require": {+ "brick/math": "^0.8.8 || ^0.9 || ^0.10",+ "ext-json": "*",+ "php": "^8.0",+ "ramsey/collection": "^1.2 || ^2.0"+ },+ "replace": {+ "rhumsaa/uuid": "self.version"+ },+ "require-dev": {+ "captainhook/captainhook": "^5.10",+ "captainhook/plugin-composer": "^5.3",+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",+ "doctrine/annotations": "^1.8",+ "ergebnis/composer-normalize": "^2.15",+ "mockery/mockery": "^1.3",+ "paragonie/random-lib": "^2",+ "php-mock/php-mock": "^2.2",+ "php-mock/php-mock-mockery": "^1.3",+ "php-parallel-lint/php-parallel-lint": "^1.1",+ "phpbench/phpbench": "^1.0",+ "phpstan/extension-installer": "^1.1",+ "phpstan/phpstan": "^1.8",+ "phpstan/phpstan-mockery": "^1.1",+ "phpstan/phpstan-phpunit": "^1.1",+ "phpunit/phpunit": "^8.5 || ^9",+ "ramsey/composer-repl": "^1.4",+ "slevomat/coding-standard": "^8.4",+ "squizlabs/php_codesniffer": "^3.5",+ "vimeo/psalm": "^4.9"+ },+ "suggest": {+ "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.",+ "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.",+ "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.",+ "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter",+ "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type."+ },+ "type": "library",+ "extra": {+ "captainhook": {+ "force-install": true+ }+ },+ "autoload": {+ "files": [+ "src/functions.php"+ ],+ "psr-4": {+ "Ramsey\\Uuid\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).",+ "keywords": [+ "guid",+ "identifier",+ "uuid"+ ],+ "support": {+ "issues": "https://github.com/ramsey/uuid/issues",+ "source": "https://github.com/ramsey/uuid/tree/4.7.3"+ },+ "funding": [+ {+ "url": "https://github.com/ramsey",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid",+ "type": "tidelift"+ }+ ],+ "time": "2023-01-12T18:13:24+00:00"+ },+ {+ "name": "symfony/console",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/console.git",+ "reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/console/zipball/cbad09eb8925b6ad4fb721c7a179344dc4a19d45",+ "reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "symfony/deprecation-contracts": "^2.1|^3",+ "symfony/polyfill-mbstring": "~1.0",+ "symfony/service-contracts": "^1.1|^2|^3",+ "symfony/string": "^5.4|^6.0"+ },+ "conflict": {+ "symfony/dependency-injection": "<5.4",+ "symfony/dotenv": "<5.4",+ "symfony/event-dispatcher": "<5.4",+ "symfony/lock": "<5.4",+ "symfony/process": "<5.4"+ },+ "provide": {+ "psr/log-implementation": "1.0|2.0|3.0"+ },+ "require-dev": {+ "psr/log": "^1|^2|^3",+ "symfony/config": "^5.4|^6.0",+ "symfony/dependency-injection": "^5.4|^6.0",+ "symfony/event-dispatcher": "^5.4|^6.0",+ "symfony/lock": "^5.4|^6.0",+ "symfony/process": "^5.4|^6.0",+ "symfony/var-dumper": "^5.4|^6.0"+ },+ "suggest": {+ "psr/log": "For using the console logger",+ "symfony/event-dispatcher": "",+ "symfony/lock": "",+ "symfony/process": ""+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\Console\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Eases the creation of beautiful and testable command line interfaces",+ "homepage": "https://symfony.com",+ "keywords": [+ "cli",+ "command line",+ "console",+ "terminal"+ ],+ "support": {+ "source": "https://github.com/symfony/console/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-25T17:00:03+00:00"+ },+ {+ "name": "symfony/css-selector",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/css-selector.git",+ "reference": "aedf3cb0f5b929ec255d96bbb4909e9932c769e0"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/css-selector/zipball/aedf3cb0f5b929ec255d96bbb4909e9932c769e0",+ "reference": "aedf3cb0f5b929ec255d96bbb4909e9932c769e0",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\CssSelector\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Jean-Franรงois Simon",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Converts CSS selectors to XPath expressions",+ "homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/css-selector/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-14T08:44:56+00:00"+ },+ {+ "name": "symfony/deprecation-contracts",+ "version": "v3.2.1",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/deprecation-contracts.git",+ "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e",+ "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "3.3-dev"+ },+ "thanks": {+ "name": "symfony/contracts",+ "url": "https://github.com/symfony/contracts"+ }+ },+ "autoload": {+ "files": [+ "function.php"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "A generic function and convention to trigger deprecation notices",+ "homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.1"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-03-01T10:25:55+00:00"+ },+ {+ "name": "symfony/error-handler",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/error-handler.git",+ "reference": "61e90f94eb014054000bc902257d2763fac09166"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/error-handler/zipball/61e90f94eb014054000bc902257d2763fac09166",+ "reference": "61e90f94eb014054000bc902257d2763fac09166",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "psr/log": "^1|^2|^3",+ "symfony/var-dumper": "^5.4|^6.0"+ },+ "require-dev": {+ "symfony/deprecation-contracts": "^2.1|^3",+ "symfony/http-kernel": "^5.4|^6.0",+ "symfony/serializer": "^5.4|^6.0"+ },+ "bin": [+ "Resources/bin/patch-type-declarations"+ ],+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\ErrorHandler\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Provides tools to manage errors and ease debugging PHP code",+ "homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/error-handler/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-14T08:44:56+00:00"+ },+ {+ "name": "symfony/event-dispatcher",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/event-dispatcher.git",+ "reference": "404b307de426c1c488e5afad64403e5f145e82a5"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/404b307de426c1c488e5afad64403e5f145e82a5",+ "reference": "404b307de426c1c488e5afad64403e5f145e82a5",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "symfony/event-dispatcher-contracts": "^2|^3"+ },+ "conflict": {+ "symfony/dependency-injection": "<5.4"+ },+ "provide": {+ "psr/event-dispatcher-implementation": "1.0",+ "symfony/event-dispatcher-implementation": "2.0|3.0"+ },+ "require-dev": {+ "psr/log": "^1|^2|^3",+ "symfony/config": "^5.4|^6.0",+ "symfony/dependency-injection": "^5.4|^6.0",+ "symfony/error-handler": "^5.4|^6.0",+ "symfony/expression-language": "^5.4|^6.0",+ "symfony/http-foundation": "^5.4|^6.0",+ "symfony/service-contracts": "^1.1|^2|^3",+ "symfony/stopwatch": "^5.4|^6.0"+ },+ "suggest": {+ "symfony/dependency-injection": "",+ "symfony/http-kernel": ""+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\EventDispatcher\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",+ "homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/event-dispatcher/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-14T08:44:56+00:00"+ },+ {+ "name": "symfony/event-dispatcher-contracts",+ "version": "v3.2.1",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/event-dispatcher-contracts.git",+ "reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0ad3b6f1e4e2da5690fefe075cd53a238646d8dd",+ "reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "psr/event-dispatcher": "^1"+ },+ "suggest": {+ "symfony/event-dispatcher-implementation": ""+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "3.3-dev"+ },+ "thanks": {+ "name": "symfony/contracts",+ "url": "https://github.com/symfony/contracts"+ }+ },+ "autoload": {+ "psr-4": {+ "Symfony\\Contracts\\EventDispatcher\\": ""+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Generic abstractions related to dispatching event",+ "homepage": "https://symfony.com",+ "keywords": [+ "abstractions",+ "contracts",+ "decoupling",+ "interfaces",+ "interoperability",+ "standards"+ ],+ "support": {+ "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.2.1"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-03-01T10:32:47+00:00"+ },+ {+ "name": "symfony/finder",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/finder.git",+ "reference": "20808dc6631aecafbe67c186af5dcb370be3a0eb"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/finder/zipball/20808dc6631aecafbe67c186af5dcb370be3a0eb",+ "reference": "20808dc6631aecafbe67c186af5dcb370be3a0eb",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "symfony/filesystem": "^6.0"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\Finder\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Finds files and directories via an intuitive fluent interface",+ "homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/finder/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-16T09:57:23+00:00"+ },+ {+ "name": "symfony/http-foundation",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/http-foundation.git",+ "reference": "5fc3038d4a594223f9ea42e4e985548f3fcc9a3b"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5fc3038d4a594223f9ea42e4e985548f3fcc9a3b",+ "reference": "5fc3038d4a594223f9ea42e4e985548f3fcc9a3b",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "symfony/deprecation-contracts": "^2.1|^3",+ "symfony/polyfill-mbstring": "~1.1"+ },+ "conflict": {+ "symfony/cache": "<6.2"+ },+ "require-dev": {+ "predis/predis": "~1.0",+ "symfony/cache": "^5.4|^6.0",+ "symfony/dependency-injection": "^5.4|^6.0",+ "symfony/expression-language": "^5.4|^6.0",+ "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4",+ "symfony/mime": "^5.4|^6.0",+ "symfony/rate-limiter": "^5.2|^6.0"+ },+ "suggest": {+ "symfony/mime": "To use the file extension guesser"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\HttpFoundation\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Defines an object-oriented layer for the HTTP specification",+ "homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/http-foundation/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-21T10:54:55+00:00"+ },+ {+ "name": "symfony/http-kernel",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/http-kernel.git",+ "reference": "ca0680ad1e2d678536cc20e0ae33f9e4e5d2becd"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/ca0680ad1e2d678536cc20e0ae33f9e4e5d2becd",+ "reference": "ca0680ad1e2d678536cc20e0ae33f9e4e5d2becd",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "psr/log": "^1|^2|^3",+ "symfony/deprecation-contracts": "^2.1|^3",+ "symfony/error-handler": "^6.1",+ "symfony/event-dispatcher": "^5.4|^6.0",+ "symfony/http-foundation": "^5.4.21|^6.2.7",+ "symfony/polyfill-ctype": "^1.8"+ },+ "conflict": {+ "symfony/browser-kit": "<5.4",+ "symfony/cache": "<5.4",+ "symfony/config": "<6.1",+ "symfony/console": "<5.4",+ "symfony/dependency-injection": "<6.2",+ "symfony/doctrine-bridge": "<5.4",+ "symfony/form": "<5.4",+ "symfony/http-client": "<5.4",+ "symfony/mailer": "<5.4",+ "symfony/messenger": "<5.4",+ "symfony/translation": "<5.4",+ "symfony/twig-bridge": "<5.4",+ "symfony/validator": "<5.4",+ "twig/twig": "<2.13"+ },+ "provide": {+ "psr/log-implementation": "1.0|2.0|3.0"+ },+ "require-dev": {+ "psr/cache": "^1.0|^2.0|^3.0",+ "symfony/browser-kit": "^5.4|^6.0",+ "symfony/config": "^6.1",+ "symfony/console": "^5.4|^6.0",+ "symfony/css-selector": "^5.4|^6.0",+ "symfony/dependency-injection": "^6.2",+ "symfony/dom-crawler": "^5.4|^6.0",+ "symfony/expression-language": "^5.4|^6.0",+ "symfony/finder": "^5.4|^6.0",+ "symfony/http-client-contracts": "^1.1|^2|^3",+ "symfony/process": "^5.4|^6.0",+ "symfony/routing": "^5.4|^6.0",+ "symfony/stopwatch": "^5.4|^6.0",+ "symfony/translation": "^5.4|^6.0",+ "symfony/translation-contracts": "^1.1|^2|^3",+ "symfony/uid": "^5.4|^6.0",+ "twig/twig": "^2.13|^3.0.4"+ },+ "suggest": {+ "symfony/browser-kit": "",+ "symfony/config": "",+ "symfony/console": "",+ "symfony/dependency-injection": ""+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\HttpKernel\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Provides a structured process for converting a Request into a Response",+ "homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/http-kernel/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-28T13:26:41+00:00"+ },+ {+ "name": "symfony/mailer",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/mailer.git",+ "reference": "e4f84c633b72ec70efc50b8016871c3bc43e691e"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/mailer/zipball/e4f84c633b72ec70efc50b8016871c3bc43e691e",+ "reference": "e4f84c633b72ec70efc50b8016871c3bc43e691e",+ "shasum": ""+ },+ "require": {+ "egulias/email-validator": "^2.1.10|^3|^4",+ "php": ">=8.1",+ "psr/event-dispatcher": "^1",+ "psr/log": "^1|^2|^3",+ "symfony/event-dispatcher": "^5.4|^6.0",+ "symfony/mime": "^6.2",+ "symfony/service-contracts": "^1.1|^2|^3"+ },+ "conflict": {+ "symfony/http-kernel": "<5.4",+ "symfony/messenger": "<6.2",+ "symfony/mime": "<6.2",+ "symfony/twig-bridge": "<6.2.1"+ },+ "require-dev": {+ "symfony/console": "^5.4|^6.0",+ "symfony/http-client": "^5.4|^6.0",+ "symfony/messenger": "^6.2",+ "symfony/twig-bridge": "^6.2"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\Mailer\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Helps sending emails",+ "homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/mailer/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-21T10:35:38+00:00"+ },+ {+ "name": "symfony/mime",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/mime.git",+ "reference": "62e341f80699badb0ad70b31149c8df89a2d778e"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/mime/zipball/62e341f80699badb0ad70b31149c8df89a2d778e",+ "reference": "62e341f80699badb0ad70b31149c8df89a2d778e",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "symfony/polyfill-intl-idn": "^1.10",+ "symfony/polyfill-mbstring": "^1.0"+ },+ "conflict": {+ "egulias/email-validator": "~3.0.0",+ "phpdocumentor/reflection-docblock": "<3.2.2",+ "phpdocumentor/type-resolver": "<1.4.0",+ "symfony/mailer": "<5.4",+ "symfony/serializer": "<6.2"+ },+ "require-dev": {+ "egulias/email-validator": "^2.1.10|^3.1|^4",+ "league/html-to-markdown": "^5.0",+ "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",+ "symfony/dependency-injection": "^5.4|^6.0",+ "symfony/property-access": "^5.4|^6.0",+ "symfony/property-info": "^5.4|^6.0",+ "symfony/serializer": "^6.2"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\Mime\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Allows manipulating MIME messages",+ "homepage": "https://symfony.com",+ "keywords": [+ "mime",+ "mime-type"+ ],+ "support": {+ "source": "https://github.com/symfony/mime/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-24T10:42:00+00:00"+ },+ {+ "name": "symfony/polyfill-ctype",+ "version": "v1.27.0",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/polyfill-ctype.git",+ "reference": "5bbc823adecdae860bb64756d639ecfec17b050a"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a",+ "reference": "5bbc823adecdae860bb64756d639ecfec17b050a",+ "shasum": ""+ },+ "require": {+ "php": ">=7.1"+ },+ "provide": {+ "ext-ctype": "*"+ },+ "suggest": {+ "ext-ctype": "For best performance"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "1.27-dev"+ },+ "thanks": {+ "name": "symfony/polyfill",+ "url": "https://github.com/symfony/polyfill"+ }+ },+ "autoload": {+ "files": [+ "bootstrap.php"+ ],+ "psr-4": {+ "Symfony\\Polyfill\\Ctype\\": ""+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Gert de Pagter",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Symfony polyfill for ctype functions",+ "homepage": "https://symfony.com",+ "keywords": [+ "compatibility",+ "ctype",+ "polyfill",+ "portable"+ ],+ "support": {+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2022-11-03T14:55:06+00:00"+ },+ {+ "name": "symfony/polyfill-intl-grapheme",+ "version": "v1.27.0",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/polyfill-intl-grapheme.git",+ "reference": "511a08c03c1960e08a883f4cffcacd219b758354"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354",+ "reference": "511a08c03c1960e08a883f4cffcacd219b758354",+ "shasum": ""+ },+ "require": {+ "php": ">=7.1"+ },+ "suggest": {+ "ext-intl": "For best performance"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "1.27-dev"+ },+ "thanks": {+ "name": "symfony/polyfill",+ "url": "https://github.com/symfony/polyfill"+ }+ },+ "autoload": {+ "files": [+ "bootstrap.php"+ ],+ "psr-4": {+ "Symfony\\Polyfill\\Intl\\Grapheme\\": ""+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Symfony polyfill for intl's grapheme_* functions",+ "homepage": "https://symfony.com",+ "keywords": [+ "compatibility",+ "grapheme",+ "intl",+ "polyfill",+ "portable",+ "shim"+ ],+ "support": {+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2022-11-03T14:55:06+00:00"+ },+ {+ "name": "symfony/polyfill-intl-idn",+ "version": "v1.27.0",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/polyfill-intl-idn.git",+ "reference": "639084e360537a19f9ee352433b84ce831f3d2da"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/639084e360537a19f9ee352433b84ce831f3d2da",+ "reference": "639084e360537a19f9ee352433b84ce831f3d2da",+ "shasum": ""+ },+ "require": {+ "php": ">=7.1",+ "symfony/polyfill-intl-normalizer": "^1.10",+ "symfony/polyfill-php72": "^1.10"+ },+ "suggest": {+ "ext-intl": "For best performance"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "1.27-dev"+ },+ "thanks": {+ "name": "symfony/polyfill",+ "url": "https://github.com/symfony/polyfill"+ }+ },+ "autoload": {+ "files": [+ "bootstrap.php"+ ],+ "psr-4": {+ "Symfony\\Polyfill\\Intl\\Idn\\": ""+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Laurent Bassin",+ "email": "[email protected]"+ },+ {+ "name": "Trevor Rowbotham",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions",+ "homepage": "https://symfony.com",+ "keywords": [+ "compatibility",+ "idn",+ "intl",+ "polyfill",+ "portable",+ "shim"+ ],+ "support": {+ "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.27.0"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2022-11-03T14:55:06+00:00"+ },+ {+ "name": "symfony/polyfill-intl-normalizer",+ "version": "v1.27.0",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/polyfill-intl-normalizer.git",+ "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6",+ "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6",+ "shasum": ""+ },+ "require": {+ "php": ">=7.1"+ },+ "suggest": {+ "ext-intl": "For best performance"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "1.27-dev"+ },+ "thanks": {+ "name": "symfony/polyfill",+ "url": "https://github.com/symfony/polyfill"+ }+ },+ "autoload": {+ "files": [+ "bootstrap.php"+ ],+ "psr-4": {+ "Symfony\\Polyfill\\Intl\\Normalizer\\": ""+ },+ "classmap": [+ "Resources/stubs"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Symfony polyfill for intl's Normalizer class and related functions",+ "homepage": "https://symfony.com",+ "keywords": [+ "compatibility",+ "intl",+ "normalizer",+ "polyfill",+ "portable",+ "shim"+ ],+ "support": {+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2022-11-03T14:55:06+00:00"+ },+ {+ "name": "symfony/polyfill-mbstring",+ "version": "v1.27.0",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/polyfill-mbstring.git",+ "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534",+ "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534",+ "shasum": ""+ },+ "require": {+ "php": ">=7.1"+ },+ "provide": {+ "ext-mbstring": "*"+ },+ "suggest": {+ "ext-mbstring": "For best performance"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "1.27-dev"+ },+ "thanks": {+ "name": "symfony/polyfill",+ "url": "https://github.com/symfony/polyfill"+ }+ },+ "autoload": {+ "files": [+ "bootstrap.php"+ ],+ "psr-4": {+ "Symfony\\Polyfill\\Mbstring\\": ""+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Symfony polyfill for the Mbstring extension",+ "homepage": "https://symfony.com",+ "keywords": [+ "compatibility",+ "mbstring",+ "polyfill",+ "portable",+ "shim"+ ],+ "support": {+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2022-11-03T14:55:06+00:00"+ },+ {+ "name": "symfony/polyfill-php72",+ "version": "v1.27.0",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/polyfill-php72.git",+ "reference": "869329b1e9894268a8a61dabb69153029b7a8c97"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/869329b1e9894268a8a61dabb69153029b7a8c97",+ "reference": "869329b1e9894268a8a61dabb69153029b7a8c97",+ "shasum": ""+ },+ "require": {+ "php": ">=7.1"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "1.27-dev"+ },+ "thanks": {+ "name": "symfony/polyfill",+ "url": "https://github.com/symfony/polyfill"+ }+ },+ "autoload": {+ "files": [+ "bootstrap.php"+ ],+ "psr-4": {+ "Symfony\\Polyfill\\Php72\\": ""+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",+ "homepage": "https://symfony.com",+ "keywords": [+ "compatibility",+ "polyfill",+ "portable",+ "shim"+ ],+ "support": {+ "source": "https://github.com/symfony/polyfill-php72/tree/v1.27.0"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2022-11-03T14:55:06+00:00"+ },+ {+ "name": "symfony/polyfill-php80",+ "version": "v1.27.0",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/polyfill-php80.git",+ "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936",+ "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936",+ "shasum": ""+ },+ "require": {+ "php": ">=7.1"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "1.27-dev"+ },+ "thanks": {+ "name": "symfony/polyfill",+ "url": "https://github.com/symfony/polyfill"+ }+ },+ "autoload": {+ "files": [+ "bootstrap.php"+ ],+ "psr-4": {+ "Symfony\\Polyfill\\Php80\\": ""+ },+ "classmap": [+ "Resources/stubs"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Ion Bazan",+ "email": "[email protected]"+ },+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",+ "homepage": "https://symfony.com",+ "keywords": [+ "compatibility",+ "polyfill",+ "portable",+ "shim"+ ],+ "support": {+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2022-11-03T14:55:06+00:00"+ },+ {+ "name": "symfony/polyfill-uuid",+ "version": "v1.27.0",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/polyfill-uuid.git",+ "reference": "f3cf1a645c2734236ed1e2e671e273eeb3586166"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/f3cf1a645c2734236ed1e2e671e273eeb3586166",+ "reference": "f3cf1a645c2734236ed1e2e671e273eeb3586166",+ "shasum": ""+ },+ "require": {+ "php": ">=7.1"+ },+ "provide": {+ "ext-uuid": "*"+ },+ "suggest": {+ "ext-uuid": "For best performance"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "1.27-dev"+ },+ "thanks": {+ "name": "symfony/polyfill",+ "url": "https://github.com/symfony/polyfill"+ }+ },+ "autoload": {+ "files": [+ "bootstrap.php"+ ],+ "psr-4": {+ "Symfony\\Polyfill\\Uuid\\": ""+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Grรฉgoire Pineau",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Symfony polyfill for uuid functions",+ "homepage": "https://symfony.com",+ "keywords": [+ "compatibility",+ "polyfill",+ "portable",+ "uuid"+ ],+ "support": {+ "source": "https://github.com/symfony/polyfill-uuid/tree/v1.27.0"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2022-11-03T14:55:06+00:00"+ },+ {+ "name": "symfony/process",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/process.git",+ "reference": "680e8a2ea6b3f87aecc07a6a65a203ae573d1902"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/process/zipball/680e8a2ea6b3f87aecc07a6a65a203ae573d1902",+ "reference": "680e8a2ea6b3f87aecc07a6a65a203ae573d1902",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\Process\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Executes commands in sub-processes",+ "homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/process/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-24T10:42:00+00:00"+ },+ {+ "name": "symfony/routing",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/routing.git",+ "reference": "fa643fa4c56de161f8bc8c0492a76a60140b50e4"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/routing/zipball/fa643fa4c56de161f8bc8c0492a76a60140b50e4",+ "reference": "fa643fa4c56de161f8bc8c0492a76a60140b50e4",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "conflict": {+ "doctrine/annotations": "<1.12",+ "symfony/config": "<6.2",+ "symfony/dependency-injection": "<5.4",+ "symfony/yaml": "<5.4"+ },+ "require-dev": {+ "doctrine/annotations": "^1.12|^2",+ "psr/log": "^1|^2|^3",+ "symfony/config": "^6.2",+ "symfony/dependency-injection": "^5.4|^6.0",+ "symfony/expression-language": "^5.4|^6.0",+ "symfony/http-foundation": "^5.4|^6.0",+ "symfony/yaml": "^5.4|^6.0"+ },+ "suggest": {+ "symfony/config": "For using the all-in-one router or any loader",+ "symfony/expression-language": "For using expression matching",+ "symfony/http-foundation": "For using a Symfony Request object",+ "symfony/yaml": "For using the YAML loader"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\Routing\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Maps an HTTP request to a set of configuration variables",+ "homepage": "https://symfony.com",+ "keywords": [+ "router",+ "routing",+ "uri",+ "url"+ ],+ "support": {+ "source": "https://github.com/symfony/routing/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-14T08:53:37+00:00"+ },+ {+ "name": "symfony/service-contracts",+ "version": "v3.2.1",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/service-contracts.git",+ "reference": "a8c9cedf55f314f3a186041d19537303766df09a"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/a8c9cedf55f314f3a186041d19537303766df09a",+ "reference": "a8c9cedf55f314f3a186041d19537303766df09a",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "psr/container": "^2.0"+ },+ "conflict": {+ "ext-psr": "<1.1|>=2"+ },+ "suggest": {+ "symfony/service-implementation": ""+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "3.3-dev"+ },+ "thanks": {+ "name": "symfony/contracts",+ "url": "https://github.com/symfony/contracts"+ }+ },+ "autoload": {+ "psr-4": {+ "Symfony\\Contracts\\Service\\": ""+ },+ "exclude-from-classmap": [+ "/Test/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Generic abstractions related to writing services",+ "homepage": "https://symfony.com",+ "keywords": [+ "abstractions",+ "contracts",+ "decoupling",+ "interfaces",+ "interoperability",+ "standards"+ ],+ "support": {+ "source": "https://github.com/symfony/service-contracts/tree/v3.2.1"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-03-01T10:32:47+00:00"+ },+ {+ "name": "symfony/string",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/string.git",+ "reference": "67b8c1eec78296b85dc1c7d9743830160218993d"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/string/zipball/67b8c1eec78296b85dc1c7d9743830160218993d",+ "reference": "67b8c1eec78296b85dc1c7d9743830160218993d",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "symfony/polyfill-ctype": "~1.8",+ "symfony/polyfill-intl-grapheme": "~1.0",+ "symfony/polyfill-intl-normalizer": "~1.0",+ "symfony/polyfill-mbstring": "~1.0"+ },+ "conflict": {+ "symfony/translation-contracts": "<2.0"+ },+ "require-dev": {+ "symfony/error-handler": "^5.4|^6.0",+ "symfony/http-client": "^5.4|^6.0",+ "symfony/intl": "^6.2",+ "symfony/translation-contracts": "^2.0|^3.0",+ "symfony/var-exporter": "^5.4|^6.0"+ },+ "type": "library",+ "autoload": {+ "files": [+ "Resources/functions.php"+ ],+ "psr-4": {+ "Symfony\\Component\\String\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way",+ "homepage": "https://symfony.com",+ "keywords": [+ "grapheme",+ "i18n",+ "string",+ "unicode",+ "utf-8",+ "utf8"+ ],+ "support": {+ "source": "https://github.com/symfony/string/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-24T10:42:00+00:00"+ },+ {+ "name": "symfony/translation",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/translation.git",+ "reference": "90db1c6138c90527917671cd9ffa9e8b359e3a73"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/translation/zipball/90db1c6138c90527917671cd9ffa9e8b359e3a73",+ "reference": "90db1c6138c90527917671cd9ffa9e8b359e3a73",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "symfony/polyfill-mbstring": "~1.0",+ "symfony/translation-contracts": "^2.3|^3.0"+ },+ "conflict": {+ "symfony/config": "<5.4",+ "symfony/console": "<5.4",+ "symfony/dependency-injection": "<5.4",+ "symfony/http-kernel": "<5.4",+ "symfony/twig-bundle": "<5.4",+ "symfony/yaml": "<5.4"+ },+ "provide": {+ "symfony/translation-implementation": "2.3|3.0"+ },+ "require-dev": {+ "nikic/php-parser": "^4.13",+ "psr/log": "^1|^2|^3",+ "symfony/config": "^5.4|^6.0",+ "symfony/console": "^5.4|^6.0",+ "symfony/dependency-injection": "^5.4|^6.0",+ "symfony/finder": "^5.4|^6.0",+ "symfony/http-client-contracts": "^1.1|^2.0|^3.0",+ "symfony/http-kernel": "^5.4|^6.0",+ "symfony/intl": "^5.4|^6.0",+ "symfony/polyfill-intl-icu": "^1.21",+ "symfony/routing": "^5.4|^6.0",+ "symfony/service-contracts": "^1.1.2|^2|^3",+ "symfony/yaml": "^5.4|^6.0"+ },+ "suggest": {+ "nikic/php-parser": "To use PhpAstExtractor",+ "psr/log-implementation": "To use logging capability in translator",+ "symfony/config": "",+ "symfony/yaml": ""+ },+ "type": "library",+ "autoload": {+ "files": [+ "Resources/functions.php"+ ],+ "psr-4": {+ "Symfony\\Component\\Translation\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Provides tools to internationalize your application",+ "homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/translation/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-24T10:42:00+00:00"+ },+ {+ "name": "symfony/translation-contracts",+ "version": "v3.2.1",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/translation-contracts.git",+ "reference": "dfec258b9dd17a6b24420d464c43bffe347441c8"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/dfec258b9dd17a6b24420d464c43bffe347441c8",+ "reference": "dfec258b9dd17a6b24420d464c43bffe347441c8",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "suggest": {+ "symfony/translation-implementation": ""+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "3.3-dev"+ },+ "thanks": {+ "name": "symfony/contracts",+ "url": "https://github.com/symfony/contracts"+ }+ },+ "autoload": {+ "psr-4": {+ "Symfony\\Contracts\\Translation\\": ""+ },+ "exclude-from-classmap": [+ "/Test/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Generic abstractions related to translation",+ "homepage": "https://symfony.com",+ "keywords": [+ "abstractions",+ "contracts",+ "decoupling",+ "interfaces",+ "interoperability",+ "standards"+ ],+ "support": {+ "source": "https://github.com/symfony/translation-contracts/tree/v3.2.1"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-03-01T10:32:47+00:00"+ },+ {+ "name": "symfony/uid",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/uid.git",+ "reference": "d30c72a63897cfa043e1de4d4dd2ffa9ecefcdc0"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/uid/zipball/d30c72a63897cfa043e1de4d4dd2ffa9ecefcdc0",+ "reference": "d30c72a63897cfa043e1de4d4dd2ffa9ecefcdc0",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "symfony/polyfill-uuid": "^1.15"+ },+ "require-dev": {+ "symfony/console": "^5.4|^6.0"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\Uid\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Grรฉgoire Pineau",+ "email": "[email protected]"+ },+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Provides an object-oriented API to generate and represent UIDs",+ "homepage": "https://symfony.com",+ "keywords": [+ "UID",+ "ulid",+ "uuid"+ ],+ "support": {+ "source": "https://github.com/symfony/uid/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-14T08:44:56+00:00"+ },+ {+ "name": "symfony/var-dumper",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/var-dumper.git",+ "reference": "cf8d4ca1ddc1e3cc242375deb8fc23e54f5e2a1e"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/cf8d4ca1ddc1e3cc242375deb8fc23e54f5e2a1e",+ "reference": "cf8d4ca1ddc1e3cc242375deb8fc23e54f5e2a1e",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "symfony/polyfill-mbstring": "~1.0"+ },+ "conflict": {+ "phpunit/phpunit": "<5.4.3",+ "symfony/console": "<5.4"+ },+ "require-dev": {+ "ext-iconv": "*",+ "symfony/console": "^5.4|^6.0",+ "symfony/process": "^5.4|^6.0",+ "symfony/uid": "^5.4|^6.0",+ "twig/twig": "^2.13|^3.0.4"+ },+ "suggest": {+ "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",+ "ext-intl": "To show region name in time zone dump",+ "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script"+ },+ "bin": [+ "Resources/bin/var-dump-server"+ ],+ "type": "library",+ "autoload": {+ "files": [+ "Resources/functions/dump.php"+ ],+ "psr-4": {+ "Symfony\\Component\\VarDumper\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Provides mechanisms for walking through any arbitrary PHP variable",+ "homepage": "https://symfony.com",+ "keywords": [+ "debug",+ "dump"+ ],+ "support": {+ "source": "https://github.com/symfony/var-dumper/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-24T10:42:00+00:00"+ },+ {+ "name": "tijsverkoyen/css-to-inline-styles",+ "version": "2.2.6",+ "source": {+ "type": "git",+ "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git",+ "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/c42125b83a4fa63b187fdf29f9c93cb7733da30c",+ "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c",+ "shasum": ""+ },+ "require": {+ "ext-dom": "*",+ "ext-libxml": "*",+ "php": "^5.5 || ^7.0 || ^8.0",+ "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0"+ },+ "require-dev": {+ "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "2.2.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "TijsVerkoyen\\CssToInlineStyles\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Tijs Verkoyen",+ "email": "[email protected]",+ "role": "Developer"+ }+ ],+ "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.",+ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles",+ "support": {+ "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues",+ "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.6"+ },+ "time": "2023-01-03T09:29:04+00:00"+ },+ {+ "name": "vlucas/phpdotenv",+ "version": "v5.5.0",+ "source": {+ "type": "git",+ "url": "https://github.com/vlucas/phpdotenv.git",+ "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7",+ "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7",+ "shasum": ""+ },+ "require": {+ "ext-pcre": "*",+ "graham-campbell/result-type": "^1.0.2",+ "php": "^7.1.3 || ^8.0",+ "phpoption/phpoption": "^1.8",+ "symfony/polyfill-ctype": "^1.23",+ "symfony/polyfill-mbstring": "^1.23.1",+ "symfony/polyfill-php80": "^1.23.1"+ },+ "require-dev": {+ "bamarni/composer-bin-plugin": "^1.4.1",+ "ext-filter": "*",+ "phpunit/phpunit": "^7.5.20 || ^8.5.30 || ^9.5.25"+ },+ "suggest": {+ "ext-filter": "Required to use the boolean validator."+ },+ "type": "library",+ "extra": {+ "bamarni-bin": {+ "bin-links": true,+ "forward-command": true+ },+ "branch-alias": {+ "dev-master": "5.5-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Dotenv\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Graham Campbell",+ "email": "[email protected]",+ "homepage": "https://github.com/GrahamCampbell"+ },+ {+ "name": "Vance Lucas",+ "email": "[email protected]",+ "homepage": "https://github.com/vlucas"+ }+ ],+ "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.",+ "keywords": [+ "dotenv",+ "env",+ "environment"+ ],+ "support": {+ "issues": "https://github.com/vlucas/phpdotenv/issues",+ "source": "https://github.com/vlucas/phpdotenv/tree/v5.5.0"+ },+ "funding": [+ {+ "url": "https://github.com/GrahamCampbell",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv",+ "type": "tidelift"+ }+ ],+ "time": "2022-10-16T01:01:54+00:00"+ },+ {+ "name": "voku/portable-ascii",+ "version": "2.0.1",+ "source": {+ "type": "git",+ "url": "https://github.com/voku/portable-ascii.git",+ "reference": "b56450eed252f6801410d810c8e1727224ae0743"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/voku/portable-ascii/zipball/b56450eed252f6801410d810c8e1727224ae0743",+ "reference": "b56450eed252f6801410d810c8e1727224ae0743",+ "shasum": ""+ },+ "require": {+ "php": ">=7.0.0"+ },+ "require-dev": {+ "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0"+ },+ "suggest": {+ "ext-intl": "Use Intl for transliterator_transliterate() support"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "voku\\": "src/voku/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Lars Moelleken",+ "homepage": "http://www.moelleken.org/"+ }+ ],+ "description": "Portable ASCII library - performance optimized (ascii) string functions for php.",+ "homepage": "https://github.com/voku/portable-ascii",+ "keywords": [+ "ascii",+ "clean",+ "php"+ ],+ "support": {+ "issues": "https://github.com/voku/portable-ascii/issues",+ "source": "https://github.com/voku/portable-ascii/tree/2.0.1"+ },+ "funding": [+ {+ "url": "https://www.paypal.me/moelleken",+ "type": "custom"+ },+ {+ "url": "https://github.com/voku",+ "type": "github"+ },+ {+ "url": "https://opencollective.com/portable-ascii",+ "type": "open_collective"+ },+ {+ "url": "https://www.patreon.com/voku",+ "type": "patreon"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii",+ "type": "tidelift"+ }+ ],+ "time": "2022-03-08T17:03:00+00:00"+ },+ {+ "name": "webmozart/assert",+ "version": "1.11.0",+ "source": {+ "type": "git",+ "url": "https://github.com/webmozarts/assert.git",+ "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991",+ "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991",+ "shasum": ""+ },+ "require": {+ "ext-ctype": "*",+ "php": "^7.2 || ^8.0"+ },+ "conflict": {+ "phpstan/phpstan": "<0.12.20",+ "vimeo/psalm": "<4.6.1 || 4.6.2"+ },+ "require-dev": {+ "phpunit/phpunit": "^8.5.13"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "1.10-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Webmozart\\Assert\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Bernhard Schussek",+ "email": "[email protected]"+ }+ ],+ "description": "Assertions to validate method input/output with nice error messages.",+ "keywords": [+ "assert",+ "check",+ "validate"+ ],+ "support": {+ "issues": "https://github.com/webmozarts/assert/issues",+ "source": "https://github.com/webmozarts/assert/tree/1.11.0"+ },+ "time": "2022-06-03T18:03:27+00:00"+ }+ ],+ "packages-dev": [+ {+ "name": "fakerphp/faker",+ "version": "v1.21.0",+ "source": {+ "type": "git",+ "url": "https://github.com/FakerPHP/Faker.git",+ "reference": "92efad6a967f0b79c499705c69b662f738cc9e4d"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/92efad6a967f0b79c499705c69b662f738cc9e4d",+ "reference": "92efad6a967f0b79c499705c69b662f738cc9e4d",+ "shasum": ""+ },+ "require": {+ "php": "^7.4 || ^8.0",+ "psr/container": "^1.0 || ^2.0",+ "symfony/deprecation-contracts": "^2.2 || ^3.0"+ },+ "conflict": {+ "fzaninotto/faker": "*"+ },+ "require-dev": {+ "bamarni/composer-bin-plugin": "^1.4.1",+ "doctrine/persistence": "^1.3 || ^2.0",+ "ext-intl": "*",+ "phpunit/phpunit": "^9.5.26",+ "symfony/phpunit-bridge": "^5.4.16"+ },+ "suggest": {+ "doctrine/orm": "Required to use Faker\\ORM\\Doctrine",+ "ext-curl": "Required by Faker\\Provider\\Image to download images.",+ "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.",+ "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.",+ "ext-mbstring": "Required for multibyte Unicode string functionality."+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "v1.21-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Faker\\": "src/Faker/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Franรงois Zaninotto"+ }+ ],+ "description": "Faker is a PHP library that generates fake data for you.",+ "keywords": [+ "data",+ "faker",+ "fixtures"+ ],+ "support": {+ "issues": "https://github.com/FakerPHP/Faker/issues",+ "source": "https://github.com/FakerPHP/Faker/tree/v1.21.0"+ },+ "time": "2022-12-13T13:54:32+00:00"+ },+ {+ "name": "filp/whoops",+ "version": "2.15.1",+ "source": {+ "type": "git",+ "url": "https://github.com/filp/whoops.git",+ "reference": "e864ac957acd66e1565f25efda61e37791a5db0b"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/filp/whoops/zipball/e864ac957acd66e1565f25efda61e37791a5db0b",+ "reference": "e864ac957acd66e1565f25efda61e37791a5db0b",+ "shasum": ""+ },+ "require": {+ "php": "^5.5.9 || ^7.0 || ^8.0",+ "psr/log": "^1.0.1 || ^2.0 || ^3.0"+ },+ "require-dev": {+ "mockery/mockery": "^0.9 || ^1.0",+ "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3",+ "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0"+ },+ "suggest": {+ "symfony/var-dumper": "Pretty print complex values better with var-dumper available",+ "whoops/soap": "Formats errors as SOAP responses"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "2.7-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Whoops\\": "src/Whoops/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Filipe Dobreira",+ "homepage": "https://github.com/filp",+ "role": "Developer"+ }+ ],+ "description": "php error handling for cool kids",+ "homepage": "https://filp.github.io/whoops/",+ "keywords": [+ "error",+ "exception",+ "handling",+ "library",+ "throwable",+ "whoops"+ ],+ "support": {+ "issues": "https://github.com/filp/whoops/issues",+ "source": "https://github.com/filp/whoops/tree/2.15.1"+ },+ "funding": [+ {+ "url": "https://github.com/denis-sokolov",+ "type": "github"+ }+ ],+ "time": "2023-03-06T18:09:13+00:00"+ },+ {+ "name": "hamcrest/hamcrest-php",+ "version": "v2.0.1",+ "source": {+ "type": "git",+ "url": "https://github.com/hamcrest/hamcrest-php.git",+ "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",+ "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",+ "shasum": ""+ },+ "require": {+ "php": "^5.3|^7.0|^8.0"+ },+ "replace": {+ "cordoval/hamcrest-php": "*",+ "davedevelopment/hamcrest-php": "*",+ "kodova/hamcrest-php": "*"+ },+ "require-dev": {+ "phpunit/php-file-iterator": "^1.4 || ^2.0",+ "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "2.1-dev"+ }+ },+ "autoload": {+ "classmap": [+ "hamcrest"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "description": "This is the PHP port of Hamcrest Matchers",+ "keywords": [+ "test"+ ],+ "support": {+ "issues": "https://github.com/hamcrest/hamcrest-php/issues",+ "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1"+ },+ "time": "2020-07-09T08:09:16+00:00"+ },+ {+ "name": "laravel/pint",+ "version": "v1.6.0",+ "source": {+ "type": "git",+ "url": "https://github.com/laravel/pint.git",+ "reference": "e48e3fadd7863d6b7d03464f5c4f211a828b890f"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/laravel/pint/zipball/e48e3fadd7863d6b7d03464f5c4f211a828b890f",+ "reference": "e48e3fadd7863d6b7d03464f5c4f211a828b890f",+ "shasum": ""+ },+ "require": {+ "ext-json": "*",+ "ext-mbstring": "*",+ "ext-tokenizer": "*",+ "ext-xml": "*",+ "php": "^8.1.0"+ },+ "require-dev": {+ "friendsofphp/php-cs-fixer": "^3.14.4",+ "illuminate/view": "^10.0.0",+ "laravel-zero/framework": "^10.0.0",+ "mockery/mockery": "^1.5.1",+ "nunomaduro/larastan": "^2.4.0",+ "nunomaduro/termwind": "^1.15.1",+ "pestphp/pest": "^1.22.4"+ },+ "bin": [+ "builds/pint"+ ],+ "type": "project",+ "autoload": {+ "psr-4": {+ "App\\": "app/",+ "Database\\Seeders\\": "database/seeders/",+ "Database\\Factories\\": "database/factories/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nuno Maduro",+ "email": "[email protected]"+ }+ ],+ "description": "An opinionated code formatter for PHP.",+ "homepage": "https://laravel.com",+ "keywords": [+ "format",+ "formatter",+ "lint",+ "linter",+ "php"+ ],+ "support": {+ "issues": "https://github.com/laravel/pint/issues",+ "source": "https://github.com/laravel/pint"+ },+ "time": "2023-02-21T15:44:57+00:00"+ },+ {+ "name": "laravel/sail",+ "version": "v1.21.2",+ "source": {+ "type": "git",+ "url": "https://github.com/laravel/sail.git",+ "reference": "19d6fe167e2389b41fe1b4ee52293d1eaf8a43fc"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/laravel/sail/zipball/19d6fe167e2389b41fe1b4ee52293d1eaf8a43fc",+ "reference": "19d6fe167e2389b41fe1b4ee52293d1eaf8a43fc",+ "shasum": ""+ },+ "require": {+ "illuminate/console": "^8.0|^9.0|^10.0",+ "illuminate/contracts": "^8.0|^9.0|^10.0",+ "illuminate/support": "^8.0|^9.0|^10.0",+ "php": "^7.3|^8.0",+ "symfony/yaml": "^6.0"+ },+ "require-dev": {+ "orchestra/testbench": "^6.0|^7.0|^8.0",+ "phpstan/phpstan": "^1.10"+ },+ "bin": [+ "bin/sail"+ ],+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "1.x-dev"+ },+ "laravel": {+ "providers": [+ "Laravel\\Sail\\SailServiceProvider"+ ]+ }+ },+ "autoload": {+ "psr-4": {+ "Laravel\\Sail\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Taylor Otwell",+ "email": "[email protected]"+ }+ ],+ "description": "Docker files for running a basic Laravel application.",+ "keywords": [+ "docker",+ "laravel"+ ],+ "support": {+ "issues": "https://github.com/laravel/sail/issues",+ "source": "https://github.com/laravel/sail"+ },+ "time": "2023-03-06T14:23:15+00:00"+ },+ {+ "name": "mockery/mockery",+ "version": "1.5.1",+ "source": {+ "type": "git",+ "url": "https://github.com/mockery/mockery.git",+ "reference": "e92dcc83d5a51851baf5f5591d32cb2b16e3684e"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/mockery/mockery/zipball/e92dcc83d5a51851baf5f5591d32cb2b16e3684e",+ "reference": "e92dcc83d5a51851baf5f5591d32cb2b16e3684e",+ "shasum": ""+ },+ "require": {+ "hamcrest/hamcrest-php": "^2.0.1",+ "lib-pcre": ">=7.0",+ "php": "^7.3 || ^8.0"+ },+ "conflict": {+ "phpunit/phpunit": "<8.0"+ },+ "require-dev": {+ "phpunit/phpunit": "^8.5 || ^9.3"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "1.4.x-dev"+ }+ },+ "autoload": {+ "psr-0": {+ "Mockery": "library/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Pรกdraic Brady",+ "email": "[email protected]",+ "homepage": "http://blog.astrumfutura.com"+ },+ {+ "name": "Dave Marshall",+ "email": "[email protected]",+ "homepage": "http://davedevelopment.co.uk"+ }+ ],+ "description": "Mockery is a simple yet flexible PHP mock object framework",+ "homepage": "https://github.com/mockery/mockery",+ "keywords": [+ "BDD",+ "TDD",+ "library",+ "mock",+ "mock objects",+ "mockery",+ "stub",+ "test",+ "test double",+ "testing"+ ],+ "support": {+ "issues": "https://github.com/mockery/mockery/issues",+ "source": "https://github.com/mockery/mockery/tree/1.5.1"+ },+ "time": "2022-09-07T15:32:08+00:00"+ },+ {+ "name": "myclabs/deep-copy",+ "version": "1.11.1",+ "source": {+ "type": "git",+ "url": "https://github.com/myclabs/DeepCopy.git",+ "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c",+ "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c",+ "shasum": ""+ },+ "require": {+ "php": "^7.1 || ^8.0"+ },+ "conflict": {+ "doctrine/collections": "<1.6.8",+ "doctrine/common": "<2.13.3 || >=3,<3.2.2"+ },+ "require-dev": {+ "doctrine/collections": "^1.6.8",+ "doctrine/common": "^2.13.3 || ^3.2.2",+ "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13"+ },+ "type": "library",+ "autoload": {+ "files": [+ "src/DeepCopy/deep_copy.php"+ ],+ "psr-4": {+ "DeepCopy\\": "src/DeepCopy/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "description": "Create deep copies (clones) of your objects",+ "keywords": [+ "clone",+ "copy",+ "duplicate",+ "object",+ "object graph"+ ],+ "support": {+ "issues": "https://github.com/myclabs/DeepCopy/issues",+ "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1"+ },+ "funding": [+ {+ "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",+ "type": "tidelift"+ }+ ],+ "time": "2023-03-08T13:26:56+00:00"+ },+ {+ "name": "nunomaduro/collision",+ "version": "v7.1.2",+ "source": {+ "type": "git",+ "url": "https://github.com/nunomaduro/collision.git",+ "reference": "f502ff3b2051124c89b4dd3a8a497ca65f3ce26c"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/nunomaduro/collision/zipball/f502ff3b2051124c89b4dd3a8a497ca65f3ce26c",+ "reference": "f502ff3b2051124c89b4dd3a8a497ca65f3ce26c",+ "shasum": ""+ },+ "require": {+ "filp/whoops": "^2.15.1",+ "nunomaduro/termwind": "^1.15.1",+ "php": "^8.1.0",+ "symfony/console": "^6.2.7"+ },+ "conflict": {+ "phpunit/phpunit": "<10.0.16"+ },+ "require-dev": {+ "brianium/paratest": "^7.1.1",+ "laravel/framework": "^10.3.3",+ "laravel/pint": "^1.6.0",+ "laravel/sail": "^1.21.2",+ "laravel/sanctum": "^3.2.1",+ "laravel/tinker": "^2.8.1",+ "nunomaduro/larastan": "^2.5.1",+ "orchestra/testbench-core": "^8.0.5",+ "pestphp/pest": "^2.0.0",+ "phpunit/phpunit": "^10.0.16",+ "sebastian/environment": "^6.0.0",+ "spatie/laravel-ignition": "^2.0.0"+ },+ "type": "library",+ "extra": {+ "laravel": {+ "providers": [+ "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider"+ ]+ }+ },+ "autoload": {+ "files": [+ "./src/Adapters/Phpunit/Autoload.php"+ ],+ "psr-4": {+ "NunoMaduro\\Collision\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nuno Maduro",+ "email": "[email protected]"+ }+ ],+ "description": "Cli error handling for console/command-line PHP applications.",+ "keywords": [+ "artisan",+ "cli",+ "command-line",+ "console",+ "error",+ "handling",+ "laravel",+ "laravel-zero",+ "php",+ "symfony"+ ],+ "support": {+ "issues": "https://github.com/nunomaduro/collision/issues",+ "source": "https://github.com/nunomaduro/collision"+ },+ "funding": [+ {+ "url": "https://www.paypal.com/paypalme/enunomaduro",+ "type": "custom"+ },+ {+ "url": "https://github.com/nunomaduro",+ "type": "github"+ },+ {+ "url": "https://www.patreon.com/nunomaduro",+ "type": "patreon"+ }+ ],+ "time": "2023-03-14T14:34:49+00:00"+ },+ {+ "name": "phar-io/manifest",+ "version": "2.0.3",+ "source": {+ "type": "git",+ "url": "https://github.com/phar-io/manifest.git",+ "reference": "97803eca37d319dfa7826cc2437fc020857acb53"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53",+ "reference": "97803eca37d319dfa7826cc2437fc020857acb53",+ "shasum": ""+ },+ "require": {+ "ext-dom": "*",+ "ext-phar": "*",+ "ext-xmlwriter": "*",+ "phar-io/version": "^3.0.1",+ "php": "^7.2 || ^8.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-master": "2.0.x-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Arne Blankerts",+ "email": "[email protected]",+ "role": "Developer"+ },+ {+ "name": "Sebastian Heuer",+ "email": "[email protected]",+ "role": "Developer"+ },+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "Developer"+ }+ ],+ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",+ "support": {+ "issues": "https://github.com/phar-io/manifest/issues",+ "source": "https://github.com/phar-io/manifest/tree/2.0.3"+ },+ "time": "2021-07-20T11:28:43+00:00"+ },+ {+ "name": "phar-io/version",+ "version": "3.2.1",+ "source": {+ "type": "git",+ "url": "https://github.com/phar-io/version.git",+ "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74",+ "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74",+ "shasum": ""+ },+ "require": {+ "php": "^7.2 || ^8.0"+ },+ "type": "library",+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Arne Blankerts",+ "email": "[email protected]",+ "role": "Developer"+ },+ {+ "name": "Sebastian Heuer",+ "email": "[email protected]",+ "role": "Developer"+ },+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "Developer"+ }+ ],+ "description": "Library for handling version information and constraints",+ "support": {+ "issues": "https://github.com/phar-io/version/issues",+ "source": "https://github.com/phar-io/version/tree/3.2.1"+ },+ "time": "2022-02-21T01:04:05+00:00"+ },+ {+ "name": "phpunit/php-code-coverage",+ "version": "10.0.2",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/php-code-coverage.git",+ "reference": "20800e84296ea4732f9a125e08ce86b4004ae3e4"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/20800e84296ea4732f9a125e08ce86b4004ae3e4",+ "reference": "20800e84296ea4732f9a125e08ce86b4004ae3e4",+ "shasum": ""+ },+ "require": {+ "ext-dom": "*",+ "ext-libxml": "*",+ "ext-xmlwriter": "*",+ "nikic/php-parser": "^4.15",+ "php": ">=8.1",+ "phpunit/php-file-iterator": "^4.0",+ "phpunit/php-text-template": "^3.0",+ "sebastian/code-unit-reverse-lookup": "^3.0",+ "sebastian/complexity": "^3.0",+ "sebastian/environment": "^6.0",+ "sebastian/lines-of-code": "^2.0",+ "sebastian/version": "^4.0",+ "theseer/tokenizer": "^1.2.0"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "suggest": {+ "ext-pcov": "PHP extension that provides line coverage",+ "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "10.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",+ "homepage": "https://github.com/sebastianbergmann/php-code-coverage",+ "keywords": [+ "coverage",+ "testing",+ "xunit"+ ],+ "support": {+ "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.0.2"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-03-06T13:00:19+00:00"+ },+ {+ "name": "phpunit/php-file-iterator",+ "version": "4.0.1",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/php-file-iterator.git",+ "reference": "fd9329ab3368f59fe1fe808a189c51086bd4b6bd"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/fd9329ab3368f59fe1fe808a189c51086bd4b6bd",+ "reference": "fd9329ab3368f59fe1fe808a189c51086bd4b6bd",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "4.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "FilterIterator implementation that filters files based on a list of suffixes.",+ "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",+ "keywords": [+ "filesystem",+ "iterator"+ ],+ "support": {+ "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",+ "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.0.1"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-10T16:53:14+00:00"+ },+ {+ "name": "phpunit/php-invoker",+ "version": "4.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/php-invoker.git",+ "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7",+ "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "ext-pcntl": "*",+ "phpunit/phpunit": "^10.0"+ },+ "suggest": {+ "ext-pcntl": "*"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "4.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "Invoke callables with a timeout",+ "homepage": "https://github.com/sebastianbergmann/php-invoker/",+ "keywords": [+ "process"+ ],+ "support": {+ "issues": "https://github.com/sebastianbergmann/php-invoker/issues",+ "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T06:56:09+00:00"+ },+ {+ "name": "phpunit/php-text-template",+ "version": "3.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/php-text-template.git",+ "reference": "9f3d3709577a527025f55bcf0f7ab8052c8bb37d"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/9f3d3709577a527025f55bcf0f7ab8052c8bb37d",+ "reference": "9f3d3709577a527025f55bcf0f7ab8052c8bb37d",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "3.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "Simple template engine.",+ "homepage": "https://github.com/sebastianbergmann/php-text-template/",+ "keywords": [+ "template"+ ],+ "support": {+ "issues": "https://github.com/sebastianbergmann/php-text-template/issues",+ "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T06:56:46+00:00"+ },+ {+ "name": "phpunit/php-timer",+ "version": "6.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/php-timer.git",+ "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d",+ "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "6.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "Utility class for timing",+ "homepage": "https://github.com/sebastianbergmann/php-timer/",+ "keywords": [+ "timer"+ ],+ "support": {+ "issues": "https://github.com/sebastianbergmann/php-timer/issues",+ "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T06:57:52+00:00"+ },+ {+ "name": "phpunit/phpunit",+ "version": "10.0.16",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/phpunit.git",+ "reference": "07d386a11ac7094032900f07cada1c8975d16607"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/07d386a11ac7094032900f07cada1c8975d16607",+ "reference": "07d386a11ac7094032900f07cada1c8975d16607",+ "shasum": ""+ },+ "require": {+ "ext-dom": "*",+ "ext-json": "*",+ "ext-libxml": "*",+ "ext-mbstring": "*",+ "ext-xml": "*",+ "ext-xmlwriter": "*",+ "myclabs/deep-copy": "^1.10.1",+ "phar-io/manifest": "^2.0.3",+ "phar-io/version": "^3.0.2",+ "php": ">=8.1",+ "phpunit/php-code-coverage": "^10.0",+ "phpunit/php-file-iterator": "^4.0",+ "phpunit/php-invoker": "^4.0",+ "phpunit/php-text-template": "^3.0",+ "phpunit/php-timer": "^6.0",+ "sebastian/cli-parser": "^2.0",+ "sebastian/code-unit": "^2.0",+ "sebastian/comparator": "^5.0",+ "sebastian/diff": "^5.0",+ "sebastian/environment": "^6.0",+ "sebastian/exporter": "^5.0",+ "sebastian/global-state": "^6.0",+ "sebastian/object-enumerator": "^5.0",+ "sebastian/recursion-context": "^5.0",+ "sebastian/type": "^4.0",+ "sebastian/version": "^4.0"+ },+ "suggest": {+ "ext-soap": "To be able to generate mocks based on WSDL files"+ },+ "bin": [+ "phpunit"+ ],+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "10.0-dev"+ }+ },+ "autoload": {+ "files": [+ "src/Framework/Assert/Functions.php"+ ],+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "The PHP Unit Testing framework.",+ "homepage": "https://phpunit.de/",+ "keywords": [+ "phpunit",+ "testing",+ "xunit"+ ],+ "support": {+ "issues": "https://github.com/sebastianbergmann/phpunit/issues",+ "source": "https://github.com/sebastianbergmann/phpunit/tree/10.0.16"+ },+ "funding": [+ {+ "url": "https://phpunit.de/sponsors.html",+ "type": "custom"+ },+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit",+ "type": "tidelift"+ }+ ],+ "time": "2023-03-13T09:02:40+00:00"+ },+ {+ "name": "sebastian/cli-parser",+ "version": "2.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/cli-parser.git",+ "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/efdc130dbbbb8ef0b545a994fd811725c5282cae",+ "reference": "efdc130dbbbb8ef0b545a994fd811725c5282cae",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "2.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "Library for parsing CLI options",+ "homepage": "https://github.com/sebastianbergmann/cli-parser",+ "support": {+ "issues": "https://github.com/sebastianbergmann/cli-parser/issues",+ "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T06:58:15+00:00"+ },+ {+ "name": "sebastian/code-unit",+ "version": "2.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/code-unit.git",+ "reference": "a81fee9eef0b7a76af11d121767abc44c104e503"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503",+ "reference": "a81fee9eef0b7a76af11d121767abc44c104e503",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "2.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "Collection of value objects that represent the PHP code units",+ "homepage": "https://github.com/sebastianbergmann/code-unit",+ "support": {+ "issues": "https://github.com/sebastianbergmann/code-unit/issues",+ "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T06:58:43+00:00"+ },+ {+ "name": "sebastian/code-unit-reverse-lookup",+ "version": "3.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",+ "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d",+ "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "3.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]"+ }+ ],+ "description": "Looks up which function or method a line of code belongs to",+ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",+ "support": {+ "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",+ "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T06:59:15+00:00"+ },+ {+ "name": "sebastian/comparator",+ "version": "5.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/comparator.git",+ "reference": "72f01e6586e0caf6af81297897bd112eb7e9627c"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/72f01e6586e0caf6af81297897bd112eb7e9627c",+ "reference": "72f01e6586e0caf6af81297897bd112eb7e9627c",+ "shasum": ""+ },+ "require": {+ "ext-dom": "*",+ "ext-mbstring": "*",+ "php": ">=8.1",+ "sebastian/diff": "^5.0",+ "sebastian/exporter": "^5.0"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "5.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]"+ },+ {+ "name": "Jeff Welch",+ "email": "[email protected]"+ },+ {+ "name": "Volker Dusch",+ "email": "[email protected]"+ },+ {+ "name": "Bernhard Schussek",+ "email": "[email protected]"+ }+ ],+ "description": "Provides the functionality to compare PHP values for equality",+ "homepage": "https://github.com/sebastianbergmann/comparator",+ "keywords": [+ "comparator",+ "compare",+ "equality"+ ],+ "support": {+ "issues": "https://github.com/sebastianbergmann/comparator/issues",+ "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T07:07:16+00:00"+ },+ {+ "name": "sebastian/complexity",+ "version": "3.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/complexity.git",+ "reference": "e67d240970c9dc7ea7b2123a6d520e334dd61dc6"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/e67d240970c9dc7ea7b2123a6d520e334dd61dc6",+ "reference": "e67d240970c9dc7ea7b2123a6d520e334dd61dc6",+ "shasum": ""+ },+ "require": {+ "nikic/php-parser": "^4.10",+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "3.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "Library for calculating the complexity of PHP code units",+ "homepage": "https://github.com/sebastianbergmann/complexity",+ "support": {+ "issues": "https://github.com/sebastianbergmann/complexity/issues",+ "source": "https://github.com/sebastianbergmann/complexity/tree/3.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T06:59:47+00:00"+ },+ {+ "name": "sebastian/diff",+ "version": "5.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/diff.git",+ "reference": "70dd1b20bc198da394ad542e988381b44e64e39f"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/70dd1b20bc198da394ad542e988381b44e64e39f",+ "reference": "70dd1b20bc198da394ad542e988381b44e64e39f",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0",+ "symfony/process": "^4.2 || ^5"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "5.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]"+ },+ {+ "name": "Kore Nordmann",+ "email": "[email protected]"+ }+ ],+ "description": "Diff implementation",+ "homepage": "https://github.com/sebastianbergmann/diff",+ "keywords": [+ "diff",+ "udiff",+ "unidiff",+ "unified diff"+ ],+ "support": {+ "issues": "https://github.com/sebastianbergmann/diff/issues",+ "source": "https://github.com/sebastianbergmann/diff/tree/5.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T07:00:31+00:00"+ },+ {+ "name": "sebastian/environment",+ "version": "6.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/environment.git",+ "reference": "b6f3694c6386c7959915a0037652e0c40f6f69cc"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/b6f3694c6386c7959915a0037652e0c40f6f69cc",+ "reference": "b6f3694c6386c7959915a0037652e0c40f6f69cc",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "suggest": {+ "ext-posix": "*"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "6.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]"+ }+ ],+ "description": "Provides functionality to handle HHVM/PHP environments",+ "homepage": "https://github.com/sebastianbergmann/environment",+ "keywords": [+ "Xdebug",+ "environment",+ "hhvm"+ ],+ "support": {+ "issues": "https://github.com/sebastianbergmann/environment/issues",+ "source": "https://github.com/sebastianbergmann/environment/tree/6.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T07:03:04+00:00"+ },+ {+ "name": "sebastian/exporter",+ "version": "5.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/exporter.git",+ "reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0",+ "reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0",+ "shasum": ""+ },+ "require": {+ "ext-mbstring": "*",+ "php": ">=8.1",+ "sebastian/recursion-context": "^5.0"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "5.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]"+ },+ {+ "name": "Jeff Welch",+ "email": "[email protected]"+ },+ {+ "name": "Volker Dusch",+ "email": "[email protected]"+ },+ {+ "name": "Adam Harvey",+ "email": "[email protected]"+ },+ {+ "name": "Bernhard Schussek",+ "email": "[email protected]"+ }+ ],+ "description": "Provides the functionality to export PHP variables for visualization",+ "homepage": "https://www.github.com/sebastianbergmann/exporter",+ "keywords": [+ "export",+ "exporter"+ ],+ "support": {+ "issues": "https://github.com/sebastianbergmann/exporter/issues",+ "source": "https://github.com/sebastianbergmann/exporter/tree/5.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T07:06:49+00:00"+ },+ {+ "name": "sebastian/global-state",+ "version": "6.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/global-state.git",+ "reference": "aab257c712de87b90194febd52e4d184551c2d44"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/aab257c712de87b90194febd52e4d184551c2d44",+ "reference": "aab257c712de87b90194febd52e4d184551c2d44",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "sebastian/object-reflector": "^3.0",+ "sebastian/recursion-context": "^5.0"+ },+ "require-dev": {+ "ext-dom": "*",+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "6.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]"+ }+ ],+ "description": "Snapshotting of global state",+ "homepage": "http://www.github.com/sebastianbergmann/global-state",+ "keywords": [+ "global state"+ ],+ "support": {+ "issues": "https://github.com/sebastianbergmann/global-state/issues",+ "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T07:07:38+00:00"+ },+ {+ "name": "sebastian/lines-of-code",+ "version": "2.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/lines-of-code.git",+ "reference": "17c4d940ecafb3d15d2cf916f4108f664e28b130"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/17c4d940ecafb3d15d2cf916f4108f664e28b130",+ "reference": "17c4d940ecafb3d15d2cf916f4108f664e28b130",+ "shasum": ""+ },+ "require": {+ "nikic/php-parser": "^4.10",+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "2.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "Library for counting the lines of code in PHP source code",+ "homepage": "https://github.com/sebastianbergmann/lines-of-code",+ "support": {+ "issues": "https://github.com/sebastianbergmann/lines-of-code/issues",+ "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T07:08:02+00:00"+ },+ {+ "name": "sebastian/object-enumerator",+ "version": "5.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/object-enumerator.git",+ "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906",+ "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "sebastian/object-reflector": "^3.0",+ "sebastian/recursion-context": "^5.0"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "5.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]"+ }+ ],+ "description": "Traverses array structures and object graphs to enumerate all referenced objects",+ "homepage": "https://github.com/sebastianbergmann/object-enumerator/",+ "support": {+ "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",+ "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T07:08:32+00:00"+ },+ {+ "name": "sebastian/object-reflector",+ "version": "3.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/object-reflector.git",+ "reference": "24ed13d98130f0e7122df55d06c5c4942a577957"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957",+ "reference": "24ed13d98130f0e7122df55d06c5c4942a577957",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "3.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]"+ }+ ],+ "description": "Allows reflection of object attributes, including inherited and non-public ones",+ "homepage": "https://github.com/sebastianbergmann/object-reflector/",+ "support": {+ "issues": "https://github.com/sebastianbergmann/object-reflector/issues",+ "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T07:06:18+00:00"+ },+ {+ "name": "sebastian/recursion-context",+ "version": "5.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/recursion-context.git",+ "reference": "05909fb5bc7df4c52992396d0116aed689f93712"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712",+ "reference": "05909fb5bc7df4c52992396d0116aed689f93712",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "5.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]"+ },+ {+ "name": "Jeff Welch",+ "email": "[email protected]"+ },+ {+ "name": "Adam Harvey",+ "email": "[email protected]"+ }+ ],+ "description": "Provides functionality to recursively process PHP variables",+ "homepage": "https://github.com/sebastianbergmann/recursion-context",+ "support": {+ "issues": "https://github.com/sebastianbergmann/recursion-context/issues",+ "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T07:05:40+00:00"+ },+ {+ "name": "sebastian/type",+ "version": "4.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/type.git",+ "reference": "462699a16464c3944eefc02ebdd77882bd3925bf"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf",+ "reference": "462699a16464c3944eefc02ebdd77882bd3925bf",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^10.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "4.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "Collection of value objects that represent the types of the PHP type system",+ "homepage": "https://github.com/sebastianbergmann/type",+ "support": {+ "issues": "https://github.com/sebastianbergmann/type/issues",+ "source": "https://github.com/sebastianbergmann/type/tree/4.0.0"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-03T07:10:45+00:00"+ },+ {+ "name": "sebastian/version",+ "version": "4.0.1",+ "source": {+ "type": "git",+ "url": "https://github.com/sebastianbergmann/version.git",+ "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17",+ "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "4.0-dev"+ }+ },+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Sebastian Bergmann",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "Library that helps with managing the version number of Git-hosted PHP projects",+ "homepage": "https://github.com/sebastianbergmann/version",+ "support": {+ "issues": "https://github.com/sebastianbergmann/version/issues",+ "source": "https://github.com/sebastianbergmann/version/tree/4.0.1"+ },+ "funding": [+ {+ "url": "https://github.com/sebastianbergmann",+ "type": "github"+ }+ ],+ "time": "2023-02-07T11:34:05+00:00"+ },+ {+ "name": "spatie/backtrace",+ "version": "1.4.0",+ "source": {+ "type": "git",+ "url": "https://github.com/spatie/backtrace.git",+ "reference": "ec4dd16476b802dbdc6b4467f84032837e316b8c"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/spatie/backtrace/zipball/ec4dd16476b802dbdc6b4467f84032837e316b8c",+ "reference": "ec4dd16476b802dbdc6b4467f84032837e316b8c",+ "shasum": ""+ },+ "require": {+ "php": "^7.3|^8.0"+ },+ "require-dev": {+ "ext-json": "*",+ "phpunit/phpunit": "^9.3",+ "spatie/phpunit-snapshot-assertions": "^4.2",+ "symfony/var-dumper": "^5.1"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Spatie\\Backtrace\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Freek Van de Herten",+ "email": "[email protected]",+ "homepage": "https://spatie.be",+ "role": "Developer"+ }+ ],+ "description": "A better backtrace",+ "homepage": "https://github.com/spatie/backtrace",+ "keywords": [+ "Backtrace",+ "spatie"+ ],+ "support": {+ "source": "https://github.com/spatie/backtrace/tree/1.4.0"+ },+ "funding": [+ {+ "url": "https://github.com/sponsors/spatie",+ "type": "github"+ },+ {+ "url": "https://spatie.be/open-source/support-us",+ "type": "other"+ }+ ],+ "time": "2023-03-04T08:57:24+00:00"+ },+ {+ "name": "spatie/flare-client-php",+ "version": "1.3.5",+ "source": {+ "type": "git",+ "url": "https://github.com/spatie/flare-client-php.git",+ "reference": "3e5dd5ac4928f3d2d036bd02de5eb83fd0ef1f42"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/3e5dd5ac4928f3d2d036bd02de5eb83fd0ef1f42",+ "reference": "3e5dd5ac4928f3d2d036bd02de5eb83fd0ef1f42",+ "shasum": ""+ },+ "require": {+ "illuminate/pipeline": "^8.0|^9.0|^10.0",+ "php": "^8.0",+ "spatie/backtrace": "^1.2",+ "symfony/http-foundation": "^5.0|^6.0",+ "symfony/mime": "^5.2|^6.0",+ "symfony/process": "^5.2|^6.0",+ "symfony/var-dumper": "^5.2|^6.0"+ },+ "require-dev": {+ "dms/phpunit-arraysubset-asserts": "^0.3.0",+ "pestphp/pest": "^1.20",+ "phpstan/extension-installer": "^1.1",+ "phpstan/phpstan-deprecation-rules": "^1.0",+ "phpstan/phpstan-phpunit": "^1.0",+ "spatie/phpunit-snapshot-assertions": "^4.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "1.1.x-dev"+ }+ },+ "autoload": {+ "files": [+ "src/helpers.php"+ ],+ "psr-4": {+ "Spatie\\FlareClient\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "description": "Send PHP errors to Flare",+ "homepage": "https://github.com/spatie/flare-client-php",+ "keywords": [+ "exception",+ "flare",+ "reporting",+ "spatie"+ ],+ "support": {+ "issues": "https://github.com/spatie/flare-client-php/issues",+ "source": "https://github.com/spatie/flare-client-php/tree/1.3.5"+ },+ "funding": [+ {+ "url": "https://github.com/spatie",+ "type": "github"+ }+ ],+ "time": "2023-01-23T15:58:46+00:00"+ },+ {+ "name": "spatie/ignition",+ "version": "1.4.5",+ "source": {+ "type": "git",+ "url": "https://github.com/spatie/ignition.git",+ "reference": "cc09114b7057bd217b676f047544b33f5b6247e6"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/spatie/ignition/zipball/cc09114b7057bd217b676f047544b33f5b6247e6",+ "reference": "cc09114b7057bd217b676f047544b33f5b6247e6",+ "shasum": ""+ },+ "require": {+ "ext-json": "*",+ "ext-mbstring": "*",+ "php": "^8.0",+ "spatie/flare-client-php": "^1.1",+ "symfony/console": "^5.4|^6.0",+ "symfony/var-dumper": "^5.4|^6.0"+ },+ "require-dev": {+ "mockery/mockery": "^1.4",+ "pestphp/pest": "^1.20",+ "phpstan/extension-installer": "^1.1",+ "phpstan/phpstan-deprecation-rules": "^1.0",+ "phpstan/phpstan-phpunit": "^1.0",+ "symfony/process": "^5.4|^6.0"+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "1.4.x-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Spatie\\Ignition\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Spatie",+ "email": "[email protected]",+ "role": "Developer"+ }+ ],+ "description": "A beautiful error page for PHP applications.",+ "homepage": "https://flareapp.io/ignition",+ "keywords": [+ "error",+ "flare",+ "laravel",+ "page"+ ],+ "support": {+ "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction",+ "forum": "https://twitter.com/flareappio",+ "issues": "https://github.com/spatie/ignition/issues",+ "source": "https://github.com/spatie/ignition"+ },+ "funding": [+ {+ "url": "https://github.com/spatie",+ "type": "github"+ }+ ],+ "time": "2023-02-28T16:49:47+00:00"+ },+ {+ "name": "spatie/laravel-ignition",+ "version": "2.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/spatie/laravel-ignition.git",+ "reference": "70c0e2a22c5c4b691a34db8c98bd6d695660a97a"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/70c0e2a22c5c4b691a34db8c98bd6d695660a97a",+ "reference": "70c0e2a22c5c4b691a34db8c98bd6d695660a97a",+ "shasum": ""+ },+ "require": {+ "ext-curl": "*",+ "ext-json": "*",+ "ext-mbstring": "*",+ "illuminate/support": "^10.0",+ "php": "^8.1",+ "spatie/flare-client-php": "^1.3.5",+ "spatie/ignition": "^1.4.3",+ "symfony/console": "^6.2.3",+ "symfony/var-dumper": "^6.2.3"+ },+ "require-dev": {+ "livewire/livewire": "^2.11",+ "mockery/mockery": "^1.5.1",+ "orchestra/testbench": "^8.0",+ "pestphp/pest": "^1.22.3",+ "phpstan/extension-installer": "^1.2",+ "phpstan/phpstan-deprecation-rules": "^1.1.1",+ "phpstan/phpstan-phpunit": "^1.3.3"+ },+ "type": "library",+ "extra": {+ "laravel": {+ "providers": [+ "Spatie\\LaravelIgnition\\IgnitionServiceProvider"+ ],+ "aliases": {+ "Flare": "Spatie\\LaravelIgnition\\Facades\\Flare"+ }+ },+ "branch-alias": {+ "dev-main": "2.0-dev"+ }+ },+ "autoload": {+ "files": [+ "src/helpers.php"+ ],+ "psr-4": {+ "Spatie\\LaravelIgnition\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Spatie",+ "email": "[email protected]",+ "role": "Developer"+ }+ ],+ "description": "A beautiful error page for Laravel applications.",+ "homepage": "https://flareapp.io/ignition",+ "keywords": [+ "error",+ "flare",+ "laravel",+ "page"+ ],+ "support": {+ "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction",+ "forum": "https://twitter.com/flareappio",+ "issues": "https://github.com/spatie/laravel-ignition/issues",+ "source": "https://github.com/spatie/laravel-ignition"+ },+ "funding": [+ {+ "url": "https://github.com/spatie",+ "type": "github"+ }+ ],+ "time": "2023-01-24T07:20:39+00:00"+ },+ {+ "name": "symfony/yaml",+ "version": "v6.2.7",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/yaml.git",+ "reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/yaml/zipball/e8e6a1d59e050525f27a1f530aa9703423cb7f57",+ "reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "symfony/polyfill-ctype": "^1.8"+ },+ "conflict": {+ "symfony/console": "<5.4"+ },+ "require-dev": {+ "symfony/console": "^5.4|^6.0"+ },+ "suggest": {+ "symfony/console": "For validating YAML files using the lint command"+ },+ "bin": [+ "Resources/bin/yaml-lint"+ ],+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\Yaml\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Fabien Potencier",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Loads and dumps YAML files",+ "homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/yaml/tree/v6.2.7"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-02-16T09:57:23+00:00"+ },+ {+ "name": "theseer/tokenizer",+ "version": "1.2.1",+ "source": {+ "type": "git",+ "url": "https://github.com/theseer/tokenizer.git",+ "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",+ "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",+ "shasum": ""+ },+ "require": {+ "ext-dom": "*",+ "ext-tokenizer": "*",+ "ext-xmlwriter": "*",+ "php": "^7.2 || ^8.0"+ },+ "type": "library",+ "autoload": {+ "classmap": [+ "src/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "BSD-3-Clause"+ ],+ "authors": [+ {+ "name": "Arne Blankerts",+ "email": "[email protected]",+ "role": "Developer"+ }+ ],+ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",+ "support": {+ "issues": "https://github.com/theseer/tokenizer/issues",+ "source": "https://github.com/theseer/tokenizer/tree/1.2.1"+ },+ "funding": [+ {+ "url": "https://github.com/theseer",+ "type": "github"+ }+ ],+ "time": "2021-07-28T10:34:58+00:00"+ }+ ],+ "aliases": [],+ "minimum-stability": "stable",+ "stability-flags": [],+ "prefer-stable": true,+ "prefer-lowest": false,+ "platform": {+ "php": "^8.1"+ },+ "platform-dev": [],+ "plugin-api-version": "2.3.0"+}diff --git a/config/app.php b/config/app.phpnew file mode 100644index 0000000000..ef76a7ed6a--- /dev/null+++ b/config/app.php@@ -0,0 +1,215 @@+<?php++use Illuminate\Support\Facades\Facade;++return [++ /*+ |--------------------------------------------------------------------------+ | Application Name+ |--------------------------------------------------------------------------+ |+ | This value is the name of your application. This value is used when the+ | framework needs to place the application's name in a notification or+ | any other location as required by the application or its packages.+ |+ */++ 'name' => env('APP_NAME', 'Laravel'),++ /*+ |--------------------------------------------------------------------------+ | Application Environment+ |--------------------------------------------------------------------------+ |+ | This value determines the "environment" your application is currently+ | running in. This may determine how you prefer to configure various+ | services the application utilizes. Set this in your ".env" file.+ |+ */++ 'env' => env('APP_ENV', 'production'),++ /*+ |--------------------------------------------------------------------------+ | Application Debug Mode+ |--------------------------------------------------------------------------+ |+ | When your application is in debug mode, detailed error messages with+ | stack traces will be shown on every error that occurs within your+ | application. If disabled, a simple generic error page is shown.+ |+ */++ 'debug' => (bool) env('APP_DEBUG', false),++ /*+ |--------------------------------------------------------------------------+ | Application URL+ |--------------------------------------------------------------------------+ |+ | This URL is used by the console to properly generate URLs when using+ | the Artisan command line tool. You should set this to the root of+ | your application so that it is used when running Artisan tasks.+ |+ */++ 'url' => env('APP_URL', 'http://localhost'),++ 'asset_url' => env('ASSET_URL'),++ /*+ |--------------------------------------------------------------------------+ | Application Timezone+ |--------------------------------------------------------------------------+ |+ | Here you may specify the default timezone for your application, which+ | will be used by the PHP date and date-time functions. We have gone+ | ahead and set this to a sensible default for you out of the box.+ |+ */++ 'timezone' => 'UTC',++ /*+ |--------------------------------------------------------------------------+ | Application Locale Configuration+ |--------------------------------------------------------------------------+ |+ | The application locale determines the default locale that will be used+ | by the translation service provider. You are free to set this value+ | to any of the locales which will be supported by the application.+ |+ */++ 'locale' => 'en',++ /*+ |--------------------------------------------------------------------------+ | Application Fallback Locale+ |--------------------------------------------------------------------------+ |+ | The fallback locale determines the locale to use when the current one+ | is not available. You may change the value to correspond to any of+ | the language folders that are provided through your application.+ |+ */++ 'fallback_locale' => 'en',++ /*+ |--------------------------------------------------------------------------+ | Faker Locale+ |--------------------------------------------------------------------------+ |+ | This locale will be used by the Faker PHP library when generating fake+ | data for your database seeds. For example, this will be used to get+ | localized telephone numbers, street address information and more.+ |+ */++ 'faker_locale' => 'en_US',++ /*+ |--------------------------------------------------------------------------+ | Encryption Key+ |--------------------------------------------------------------------------+ |+ | This key is used by the Illuminate encrypter service and should be set+ | to a random, 32 character string, otherwise these encrypted strings+ | will not be safe. Please do this before deploying an application!+ |+ */++ 'key' => env('APP_KEY'),++ 'cipher' => 'AES-256-CBC',++ /*+ |--------------------------------------------------------------------------+ | Maintenance Mode Driver+ |--------------------------------------------------------------------------+ |+ | These configuration options determine the driver used to determine and+ | manage Laravel's "maintenance mode" status. The "cache" driver will+ | allow maintenance mode to be controlled across multiple machines.+ |+ | Supported drivers: "file", "cache"+ |+ */++ 'maintenance' => [+ 'driver' => 'file',+ // 'store' => 'redis',+ ],++ /*+ |--------------------------------------------------------------------------+ | Autoloaded Service Providers+ |--------------------------------------------------------------------------+ |+ | The service providers listed here will be automatically loaded on the+ | request to your application. Feel free to add your own services to+ | this array to grant expanded functionality to your applications.+ |+ */++ 'providers' => [++ /*+ * Laravel Framework Service Providers...+ */+ Illuminate\Auth\AuthServiceProvider::class,+ Illuminate\Broadcasting\BroadcastServiceProvider::class,+ Illuminate\Bus\BusServiceProvider::class,+ Illuminate\Cache\CacheServiceProvider::class,+ Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,+ Illuminate\Cookie\CookieServiceProvider::class,+ Illuminate\Database\DatabaseServiceProvider::class,+ Illuminate\Encryption\EncryptionServiceProvider::class,+ Illuminate\Filesystem\FilesystemServiceProvider::class,+ Illuminate\Foundation\Providers\FoundationServiceProvider::class,+ Illuminate\Hashing\HashServiceProvider::class,+ Illuminate\Mail\MailServiceProvider::class,+ Illuminate\Notifications\NotificationServiceProvider::class,+ Illuminate\Pagination\PaginationServiceProvider::class,+ Illuminate\Pipeline\PipelineServiceProvider::class,+ Illuminate\Queue\QueueServiceProvider::class,+ Illuminate\Redis\RedisServiceProvider::class,+ Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,+ Illuminate\Session\SessionServiceProvider::class,+ Illuminate\Translation\TranslationServiceProvider::class,+ Illuminate\Validation\ValidationServiceProvider::class,+ Illuminate\View\ViewServiceProvider::class,++ /*+ * Package Service Providers...+ */++ /*+ * Application Service Providers...+ */+ App\Providers\AppServiceProvider::class,+ App\Providers\AuthServiceProvider::class,+ // App\Providers\BroadcastServiceProvider::class,+ App\Providers\EventServiceProvider::class,+ App\Providers\RouteServiceProvider::class,++ ],++ /*+ |--------------------------------------------------------------------------+ | Class Aliases+ |--------------------------------------------------------------------------+ |+ | This array of class aliases will be registered when this application+ | is started. However, feel free to register as many as you wish as+ | the aliases are "lazy" loaded so they don't hinder performance.+ |+ */++ 'aliases' => Facade::defaultAliases()->merge([+ // 'ExampleClass' => App\Example\ExampleClass::class,+ ])->toArray(),++];diff --git a/config/auth.php b/config/auth.phpnew file mode 100644index 0000000000..9548c15de9--- /dev/null+++ b/config/auth.php@@ -0,0 +1,115 @@+<?php++return [++ /*+ |--------------------------------------------------------------------------+ | Authentication Defaults+ |--------------------------------------------------------------------------+ |+ | This option controls the default authentication "guard" and password+ | reset options for your application. You may change these defaults+ | as required, but they're a perfect start for most applications.+ |+ */++ 'defaults' => [+ 'guard' => 'web',+ 'passwords' => 'users',+ ],++ /*+ |--------------------------------------------------------------------------+ | Authentication Guards+ |--------------------------------------------------------------------------+ |+ | Next, you may define every authentication guard for your application.+ | Of course, a great default configuration has been defined for you+ | here which uses session storage and the Eloquent user provider.+ |+ | All authentication drivers have a user provider. This defines how the+ | users are actually retrieved out of your database or other storage+ | mechanisms used by this application to persist your user's data.+ |+ | Supported: "session"+ |+ */++ 'guards' => [+ 'web' => [+ 'driver' => 'session',+ 'provider' => 'users',+ ],+ ],++ /*+ |--------------------------------------------------------------------------+ | User Providers+ |--------------------------------------------------------------------------+ |+ | All authentication drivers have a user provider. This defines how the+ | users are actually retrieved out of your database or other storage+ | mechanisms used by this application to persist your user's data.+ |+ | If you have multiple user tables or models you may configure multiple+ | sources which represent each model / table. These sources may then+ | be assigned to any extra authentication guards you have defined.+ |+ | Supported: "database", "eloquent"+ |+ */++ 'providers' => [+ 'users' => [+ 'driver' => 'eloquent',+ 'model' => App\Models\User::class,+ ],++ // 'users' => [+ // 'driver' => 'database',+ // 'table' => 'users',+ // ],+ ],++ /*+ |--------------------------------------------------------------------------+ | Resetting Passwords+ |--------------------------------------------------------------------------+ |+ | You may specify multiple password reset configurations if you have more+ | than one user table or model in the application and you want to have+ | separate password reset settings based on the specific user types.+ |+ | The expiry time is the number of minutes that each reset token will be+ | considered valid. This security feature keeps tokens short-lived so+ | they have less time to be guessed. You may change this as needed.+ |+ | The throttle setting is the number of seconds a user must wait before+ | generating more password reset tokens. This prevents the user from+ | quickly generating a very large amount of password reset tokens.+ |+ */++ 'passwords' => [+ 'users' => [+ 'provider' => 'users',+ 'table' => 'password_reset_tokens',+ 'expire' => 60,+ 'throttle' => 60,+ ],+ ],++ /*+ |--------------------------------------------------------------------------+ | Password Confirmation Timeout+ |--------------------------------------------------------------------------+ |+ | Here you may define the amount of seconds before a password confirmation+ | times out and the user is prompted to re-enter their password via the+ | confirmation screen. By default, the timeout lasts for three hours.+ |+ */++ 'password_timeout' => 10800,++];diff --git a/config/broadcasting.php b/config/broadcasting.phpnew file mode 100644index 0000000000..9e4d4aa44b--- /dev/null+++ b/config/broadcasting.php@@ -0,0 +1,70 @@+<?php++return [++ /*+ |--------------------------------------------------------------------------+ | Default Broadcaster+ |--------------------------------------------------------------------------+ |+ | This option controls the default broadcaster that will be used by the+ | framework when an event needs to be broadcast. You may set this to+ | any of the connections defined in the "connections" array below.+ |+ | Supported: "pusher", "ably", "redis", "log", "null"+ |+ */++ 'default' => env('BROADCAST_DRIVER', 'null'),++ /*+ |--------------------------------------------------------------------------+ | Broadcast Connections+ |--------------------------------------------------------------------------+ |+ | Here you may define all of the broadcast connections that will be used+ | to broadcast events to other systems or over websockets. Samples of+ | each available type of connection are provided inside this array.+ |+ */++ 'connections' => [++ 'pusher' => [+ 'driver' => 'pusher',+ 'key' => env('PUSHER_APP_KEY'),+ 'secret' => env('PUSHER_APP_SECRET'),+ 'app_id' => env('PUSHER_APP_ID'),+ 'options' => [+ 'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com',+ 'port' => env('PUSHER_PORT', 443),+ 'scheme' => env('PUSHER_SCHEME', 'https'),+ 'encrypted' => true,+ 'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',+ ],+ 'client_options' => [+ // Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html+ ],+ ],++ 'ably' => [+ 'driver' => 'ably',+ 'key' => env('ABLY_KEY'),+ ],++ 'redis' => [+ 'driver' => 'redis',+ 'connection' => 'default',+ ],++ 'log' => [+ 'driver' => 'log',+ ],++ 'null' => [+ 'driver' => 'null',+ ],++ ],++];diff --git a/config/cache.php b/config/cache.phpnew file mode 100644index 0000000000..33bb29546e--- /dev/null+++ b/config/cache.php@@ -0,0 +1,110 @@+<?php++use Illuminate\Support\Str;++return [++ /*+ |--------------------------------------------------------------------------+ | Default Cache Store+ |--------------------------------------------------------------------------+ |+ | This option controls the default cache connection that gets used while+ | using this caching library. This connection is used when another is+ | not explicitly specified when executing a given caching function.+ |+ */++ 'default' => env('CACHE_DRIVER', 'file'),++ /*+ |--------------------------------------------------------------------------+ | Cache Stores+ |--------------------------------------------------------------------------+ |+ | Here you may define all of the cache "stores" for your application as+ | well as their drivers. You may even define multiple stores for the+ | same cache driver to group types of items stored in your caches.+ |+ | Supported drivers: "apc", "array", "database", "file",+ | "memcached", "redis", "dynamodb", "octane", "null"+ |+ */++ 'stores' => [++ 'apc' => [+ 'driver' => 'apc',+ ],++ 'array' => [+ 'driver' => 'array',+ 'serialize' => false,+ ],++ 'database' => [+ 'driver' => 'database',+ 'table' => 'cache',+ 'connection' => null,+ 'lock_connection' => null,+ ],++ 'file' => [+ 'driver' => 'file',+ 'path' => storage_path('framework/cache/data'),+ ],++ 'memcached' => [+ 'driver' => 'memcached',+ 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),+ 'sasl' => [+ env('MEMCACHED_USERNAME'),+ env('MEMCACHED_PASSWORD'),+ ],+ 'options' => [+ // Memcached::OPT_CONNECT_TIMEOUT => 2000,+ ],+ 'servers' => [+ [+ 'host' => env('MEMCACHED_HOST', '127.0.0.1'),+ 'port' => env('MEMCACHED_PORT', 11211),+ 'weight' => 100,+ ],+ ],+ ],++ 'redis' => [+ 'driver' => 'redis',+ 'connection' => 'cache',+ 'lock_connection' => 'default',+ ],++ 'dynamodb' => [+ 'driver' => 'dynamodb',+ 'key' => env('AWS_ACCESS_KEY_ID'),+ 'secret' => env('AWS_SECRET_ACCESS_KEY'),+ 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),+ 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),+ 'endpoint' => env('DYNAMODB_ENDPOINT'),+ ],++ 'octane' => [+ 'driver' => 'octane',+ ],++ ],++ /*+ |--------------------------------------------------------------------------+ | Cache Key Prefix+ |--------------------------------------------------------------------------+ |+ | When utilizing the APC, database, memcached, Redis, or DynamoDB cache+ | stores there might be other applications using the same cache. For+ | that reason, you may prefix every cache key to avoid collisions.+ |+ */++ 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'),++];diff --git a/config/cors.php b/config/cors.phpnew file mode 100644index 0000000000..8a39e6daa6--- /dev/null+++ b/config/cors.php@@ -0,0 +1,34 @@+<?php++return [++ /*+ |--------------------------------------------------------------------------+ | Cross-Origin Resource Sharing (CORS) Configuration+ |--------------------------------------------------------------------------+ |+ | Here you may configure your settings for cross-origin resource sharing+ | or "CORS". This determines what cross-origin operations may execute+ | in web browsers. You are free to adjust these settings as needed.+ |+ | To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS+ |+ */++ 'paths' => ['api/*', 'sanctum/csrf-cookie'],++ 'allowed_methods' => ['*'],++ 'allowed_origins' => ['*'],++ 'allowed_origins_patterns' => [],++ 'allowed_headers' => ['*'],++ 'exposed_headers' => [],++ 'max_age' => 0,++ 'supports_credentials' => false,++];diff --git a/config/database.php b/config/database.phpnew file mode 100644index 0000000000..137ad18ce3--- /dev/null+++ b/config/database.php@@ -0,0 +1,151 @@+<?php++use Illuminate\Support\Str;++return [++ /*+ |--------------------------------------------------------------------------+ | Default Database Connection Name+ |--------------------------------------------------------------------------+ |+ | Here you may specify which of the database connections below you wish+ | to use as your default connection for all database work. Of course+ | you may use many connections at once using the Database library.+ |+ */++ 'default' => env('DB_CONNECTION', 'mysql'),++ /*+ |--------------------------------------------------------------------------+ | Database Connections+ |--------------------------------------------------------------------------+ |+ | Here are each of the database connections setup for your application.+ | Of course, examples of configuring each database platform that is+ | supported by Laravel is shown below to make development simple.+ |+ |+ | All database work in Laravel is done through the PHP PDO facilities+ | so make sure you have the driver for your particular database of+ | choice installed on your machine before you begin development.+ |+ */++ 'connections' => [++ 'sqlite' => [+ 'driver' => 'sqlite',+ 'url' => env('DATABASE_URL'),+ 'database' => env('DB_DATABASE', database_path('database.sqlite')),+ 'prefix' => '',+ 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),+ ],++ 'mysql' => [+ 'driver' => 'mysql',+ 'url' => env('DATABASE_URL'),+ 'host' => env('DB_HOST', '127.0.0.1'),+ 'port' => env('DB_PORT', '3306'),+ 'database' => env('DB_DATABASE', 'forge'),+ 'username' => env('DB_USERNAME', 'forge'),+ 'password' => env('DB_PASSWORD', ''),+ 'unix_socket' => env('DB_SOCKET', ''),+ 'charset' => 'utf8mb4',+ 'collation' => 'utf8mb4_unicode_ci',+ 'prefix' => '',+ 'prefix_indexes' => true,+ 'strict' => true,+ 'engine' => null,+ 'options' => extension_loaded('pdo_mysql') ? array_filter([+ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),+ ]) : [],+ ],++ 'pgsql' => [+ 'driver' => 'pgsql',+ 'url' => env('DATABASE_URL'),+ 'host' => env('DB_HOST', '127.0.0.1'),+ 'port' => env('DB_PORT', '5432'),+ 'database' => env('DB_DATABASE', 'forge'),+ 'username' => env('DB_USERNAME', 'forge'),+ 'password' => env('DB_PASSWORD', ''),+ 'charset' => 'utf8',+ 'prefix' => '',+ 'prefix_indexes' => true,+ 'search_path' => 'public',+ 'sslmode' => 'prefer',+ ],++ 'sqlsrv' => [+ 'driver' => 'sqlsrv',+ 'url' => env('DATABASE_URL'),+ 'host' => env('DB_HOST', 'localhost'),+ 'port' => env('DB_PORT', '1433'),+ 'database' => env('DB_DATABASE', 'forge'),+ 'username' => env('DB_USERNAME', 'forge'),+ 'password' => env('DB_PASSWORD', ''),+ 'charset' => 'utf8',+ 'prefix' => '',+ 'prefix_indexes' => true,+ // 'encrypt' => env('DB_ENCRYPT', 'yes'),+ // 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'),+ ],++ ],++ /*+ |--------------------------------------------------------------------------+ | Migration Repository Table+ |--------------------------------------------------------------------------+ |+ | This table keeps track of all the migrations that have already run for+ | your application. Using this information, we can determine which of+ | the migrations on disk haven't actually been run in the database.+ |+ */++ 'migrations' => 'migrations',++ /*+ |--------------------------------------------------------------------------+ | Redis Databases+ |--------------------------------------------------------------------------+ |+ | Redis is an open source, fast, and advanced key-value store that also+ | provides a richer body of commands than a typical key-value system+ | such as APC or Memcached. Laravel makes it easy to dig right in.+ |+ */++ 'redis' => [++ 'client' => env('REDIS_CLIENT', 'phpredis'),++ 'options' => [+ 'cluster' => env('REDIS_CLUSTER', 'redis'),+ 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),+ ],++ 'default' => [+ 'url' => env('REDIS_URL'),+ 'host' => env('REDIS_HOST', '127.0.0.1'),+ 'username' => env('REDIS_USERNAME'),+ 'password' => env('REDIS_PASSWORD'),+ 'port' => env('REDIS_PORT', '6379'),+ 'database' => env('REDIS_DB', '0'),+ ],++ 'cache' => [+ 'url' => env('REDIS_URL'),+ 'host' => env('REDIS_HOST', '127.0.0.1'),+ 'username' => env('REDIS_USERNAME'),+ 'password' => env('REDIS_PASSWORD'),+ 'port' => env('REDIS_PORT', '6379'),+ 'database' => env('REDIS_CACHE_DB', '1'),+ ],++ ],++];diff --git a/config/filesystems.php b/config/filesystems.phpnew file mode 100644index 0000000000..e9d9dbdbe8--- /dev/null+++ b/config/filesystems.php@@ -0,0 +1,76 @@+<?php++return [++ /*+ |--------------------------------------------------------------------------+ | Default Filesystem Disk+ |--------------------------------------------------------------------------+ |+ | Here you may specify the default filesystem disk that should be used+ | by the framework. The "local" disk, as well as a variety of cloud+ | based disks are available to your application. Just store away!+ |+ */++ 'default' => env('FILESYSTEM_DISK', 'local'),++ /*+ |--------------------------------------------------------------------------+ | Filesystem Disks+ |--------------------------------------------------------------------------+ |+ | Here you may configure as many filesystem "disks" as you wish, and you+ | may even configure multiple disks of the same driver. Defaults have+ | been set up for each driver as an example of the required values.+ |+ | Supported Drivers: "local", "ftp", "sftp", "s3"+ |+ */++ 'disks' => [++ 'local' => [+ 'driver' => 'local',+ 'root' => storage_path('app'),+ 'throw' => false,+ ],++ 'public' => [+ 'driver' => 'local',+ 'root' => storage_path('app/public'),+ 'url' => env('APP_URL').'/storage',+ 'visibility' => 'public',+ 'throw' => false,+ ],++ 's3' => [+ 'driver' => 's3',+ 'key' => env('AWS_ACCESS_KEY_ID'),+ 'secret' => env('AWS_SECRET_ACCESS_KEY'),+ 'region' => env('AWS_DEFAULT_REGION'),+ 'bucket' => env('AWS_BUCKET'),+ 'url' => env('AWS_URL'),+ 'endpoint' => env('AWS_ENDPOINT'),+ 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),+ 'throw' => false,+ ],++ ],++ /*+ |--------------------------------------------------------------------------+ | Symbolic Links+ |--------------------------------------------------------------------------+ |+ | Here you may configure the symbolic links that will be created when the+ | `storage:link` Artisan command is executed. The array keys should be+ | the locations of the links and the values should be their targets.+ |+ */++ 'links' => [+ public_path('storage') => storage_path('app/public'),+ ],++];diff --git a/config/hashing.php b/config/hashing.phpnew file mode 100644index 0000000000..bcd3be4c28--- /dev/null+++ b/config/hashing.php@@ -0,0 +1,52 @@+<?php++return [++ /*+ |--------------------------------------------------------------------------+ | Default Hash Driver+ |--------------------------------------------------------------------------+ |+ | This option controls the default hash driver that will be used to hash+ | passwords for your application. By default, the bcrypt algorithm is+ | used; however, you remain free to modify this option if you wish.+ |+ | Supported: "bcrypt", "argon", "argon2id"+ |+ */++ 'driver' => 'bcrypt',++ /*+ |--------------------------------------------------------------------------+ | Bcrypt Options+ |--------------------------------------------------------------------------+ |+ | Here you may specify the configuration options that should be used when+ | passwords are hashed using the Bcrypt algorithm. This will allow you+ | to control the amount of time it takes to hash the given password.+ |+ */++ 'bcrypt' => [+ 'rounds' => env('BCRYPT_ROUNDS', 10),+ ],++ /*+ |--------------------------------------------------------------------------+ | Argon Options+ |--------------------------------------------------------------------------+ |+ | Here you may specify the configuration options that should be used when+ | passwords are hashed using the Argon algorithm. These will allow you+ | to control the amount of time it takes to hash the given password.+ |+ */++ 'argon' => [+ 'memory' => 65536,+ 'threads' => 1,+ 'time' => 4,+ ],++];diff --git a/config/logging.php b/config/logging.phpnew file mode 100644index 0000000000..4c3df4ce14--- /dev/null+++ b/config/logging.php@@ -0,0 +1,123 @@+<?php++use Monolog\Handler\NullHandler;+use Monolog\Handler\StreamHandler;+use Monolog\Handler\SyslogUdpHandler;++return [++ /*+ |--------------------------------------------------------------------------+ | Default Log Channel+ |--------------------------------------------------------------------------+ |+ | This option defines the default log channel that gets used when writing+ | messages to the logs. The name specified in this option should match+ | one of the channels defined in the "channels" configuration array.+ |+ */++ 'default' => env('LOG_CHANNEL', 'stack'),++ /*+ |--------------------------------------------------------------------------+ | Deprecations Log Channel+ |--------------------------------------------------------------------------+ |+ | This option controls the log channel that should be used to log warnings+ | regarding deprecated PHP and library features. This allows you to get+ | your application ready for upcoming major versions of dependencies.+ |+ */++ 'deprecations' => [+ 'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'),+ 'trace' => false,+ ],++ /*+ |--------------------------------------------------------------------------+ | Log Channels+ |--------------------------------------------------------------------------+ |+ | Here you may configure the log channels for your application. Out of+ | the box, Laravel uses the Monolog PHP logging library. This gives+ | you a variety of powerful log handlers / formatters to utilize.+ |+ | Available Drivers: "single", "daily", "slack", "syslog",+ | "errorlog", "monolog",+ | "custom", "stack"+ |+ */++ 'channels' => [+ 'stack' => [+ 'driver' => 'stack',+ 'channels' => ['single'],+ 'ignore_exceptions' => false,+ ],++ 'single' => [+ 'driver' => 'single',+ 'path' => storage_path('logs/laravel.log'),+ 'level' => env('LOG_LEVEL', 'debug'),+ ],++ 'daily' => [+ 'driver' => 'daily',+ 'path' => storage_path('logs/laravel.log'),+ 'level' => env('LOG_LEVEL', 'debug'),+ 'days' => 14,+ ],++ 'slack' => [+ 'driver' => 'slack',+ 'url' => env('LOG_SLACK_WEBHOOK_URL'),+ 'username' => 'Laravel Log',+ 'emoji' => ':boom:',+ 'level' => env('LOG_LEVEL', 'critical'),+ ],++ 'papertrail' => [+ 'driver' => 'monolog',+ 'level' => env('LOG_LEVEL', 'debug'),+ 'handler' => env('LOG_PAPERTRAIL_HANDLER', SyslogUdpHandler::class),+ 'handler_with' => [+ 'host' => env('PAPERTRAIL_URL'),+ 'port' => env('PAPERTRAIL_PORT'),+ 'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'),+ ],+ ],++ 'stderr' => [+ 'driver' => 'monolog',+ 'level' => env('LOG_LEVEL', 'debug'),+ 'handler' => StreamHandler::class,+ 'formatter' => env('LOG_STDERR_FORMATTER'),+ 'with' => [+ 'stream' => 'php://stderr',+ ],+ ],++ 'syslog' => [+ 'driver' => 'syslog',+ 'level' => env('LOG_LEVEL', 'debug'),+ 'facility' => LOG_USER,+ ],++ 'errorlog' => [+ 'driver' => 'errorlog',+ 'level' => env('LOG_LEVEL', 'debug'),+ ],++ 'null' => [+ 'driver' => 'monolog',+ 'handler' => NullHandler::class,+ ],++ 'emergency' => [+ 'path' => storage_path('logs/laravel.log'),+ ],+ ],++];diff --git a/config/mail.php b/config/mail.phpnew file mode 100644index 0000000000..542d98c37c--- /dev/null+++ b/config/mail.php@@ -0,0 +1,124 @@+<?php++return [++ /*+ |--------------------------------------------------------------------------+ | Default Mailer+ |--------------------------------------------------------------------------+ |+ | This option controls the default mailer that is used to send any email+ | messages sent by your application. Alternative mailers may be setup+ | and used as needed; however, this mailer will be used by default.+ |+ */++ 'default' => env('MAIL_MAILER', 'smtp'),++ /*+ |--------------------------------------------------------------------------+ | Mailer Configurations+ |--------------------------------------------------------------------------+ |+ | Here you may configure all of the mailers used by your application plus+ | their respective settings. Several examples have been configured for+ | you and you are free to add your own as your application requires.+ |+ | Laravel supports a variety of mail "transport" drivers to be used while+ | sending an e-mail. You will specify which one you are using for your+ | mailers below. You are free to add additional mailers as required.+ |+ | Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",+ | "postmark", "log", "array", "failover"+ |+ */++ 'mailers' => [+ 'smtp' => [+ 'transport' => 'smtp',+ 'host' => env('MAIL_HOST', 'smtp.mailgun.org'),+ 'port' => env('MAIL_PORT', 587),+ 'encryption' => env('MAIL_ENCRYPTION', 'tls'),+ 'username' => env('MAIL_USERNAME'),+ 'password' => env('MAIL_PASSWORD'),+ 'timeout' => null,+ 'local_domain' => env('MAIL_EHLO_DOMAIN'),+ ],++ 'ses' => [+ 'transport' => 'ses',+ ],++ 'mailgun' => [+ 'transport' => 'mailgun',+ // 'client' => [+ // 'timeout' => 5,+ // ],+ ],++ 'postmark' => [+ 'transport' => 'postmark',+ // 'client' => [+ // 'timeout' => 5,+ // ],+ ],++ 'sendmail' => [+ 'transport' => 'sendmail',+ 'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'),+ ],++ 'log' => [+ 'transport' => 'log',+ 'channel' => env('MAIL_LOG_CHANNEL'),+ ],++ 'array' => [+ 'transport' => 'array',+ ],++ 'failover' => [+ 'transport' => 'failover',+ 'mailers' => [+ 'smtp',+ 'log',+ ],+ ],+ ],++ /*+ |--------------------------------------------------------------------------+ | Global "From" Address+ |--------------------------------------------------------------------------+ |+ | You may wish for all e-mails sent by your application to be sent from+ | the same address. Here, you may specify a name and address that is+ | used globally for all e-mails that are sent by your application.+ |+ */++ 'from' => [+ 'address' => env('MAIL_FROM_ADDRESS', '[email protected]'),+ 'name' => env('MAIL_FROM_NAME', 'Example'),+ ],++ /*+ |--------------------------------------------------------------------------+ | Markdown Mail Settings+ |--------------------------------------------------------------------------+ |+ | If you are using Markdown based email rendering, you may configure your+ | theme and component paths here, allowing you to customize the design+ | of the emails. Or, you may simply stick with the Laravel defaults!+ |+ */++ 'markdown' => [+ 'theme' => 'default',++ 'paths' => [+ resource_path('views/vendor/mail'),+ ],+ ],++];diff --git a/config/queue.php b/config/queue.phpnew file mode 100644index 0000000000..25ea5a8193--- /dev/null+++ b/config/queue.php@@ -0,0 +1,93 @@+<?php++return [++ /*+ |--------------------------------------------------------------------------+ | Default Queue Connection Name+ |--------------------------------------------------------------------------+ |+ | Laravel's queue API supports an assortment of back-ends via a single+ | API, giving you convenient access to each back-end using the same+ | syntax for every one. Here you may define a default connection.+ |+ */++ 'default' => env('QUEUE_CONNECTION', 'sync'),++ /*+ |--------------------------------------------------------------------------+ | Queue Connections+ |--------------------------------------------------------------------------+ |+ | Here you may configure the connection information for each server that+ | is used by your application. A default configuration has been added+ | for each back-end shipped with Laravel. You are free to add more.+ |+ | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"+ |+ */++ 'connections' => [++ 'sync' => [+ 'driver' => 'sync',+ ],++ 'database' => [+ 'driver' => 'database',+ 'table' => 'jobs',+ 'queue' => 'default',+ 'retry_after' => 90,+ 'after_commit' => false,+ ],++ 'beanstalkd' => [+ 'driver' => 'beanstalkd',+ 'host' => 'localhost',+ 'queue' => 'default',+ 'retry_after' => 90,+ 'block_for' => 0,+ 'after_commit' => false,+ ],++ 'sqs' => [+ 'driver' => 'sqs',+ 'key' => env('AWS_ACCESS_KEY_ID'),+ 'secret' => env('AWS_SECRET_ACCESS_KEY'),+ 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),+ 'queue' => env('SQS_QUEUE', 'default'),+ 'suffix' => env('SQS_SUFFIX'),+ 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),+ 'after_commit' => false,+ ],++ 'redis' => [+ 'driver' => 'redis',+ 'connection' => 'default',+ 'queue' => env('REDIS_QUEUE', 'default'),+ 'retry_after' => 90,+ 'block_for' => null,+ 'after_commit' => false,+ ],++ ],++ /*+ |--------------------------------------------------------------------------+ | Failed Queue Jobs+ |--------------------------------------------------------------------------+ |+ | These options configure the behavior of failed queue job logging so you+ | can control which database and table are used to store the jobs that+ | have failed. You may change them to any database / table you wish.+ |+ */++ 'failed' => [+ 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),+ 'database' => env('DB_CONNECTION', 'mysql'),+ 'table' => 'failed_jobs',+ ],++];diff --git a/config/sanctum.php b/config/sanctum.phpnew file mode 100644index 0000000000..529cfdc991--- /dev/null+++ b/config/sanctum.php@@ -0,0 +1,67 @@+<?php++use Laravel\Sanctum\Sanctum;++return [++ /*+ |--------------------------------------------------------------------------+ | Stateful Domains+ |--------------------------------------------------------------------------+ |+ | Requests from the following domains / hosts will receive stateful API+ | authentication cookies. Typically, these should include your local+ | and production domains which access your API via a frontend SPA.+ |+ */++ 'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(+ '%s%s',+ 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',+ Sanctum::currentApplicationUrlWithPort()+ ))),++ /*+ |--------------------------------------------------------------------------+ | Sanctum Guards+ |--------------------------------------------------------------------------+ |+ | This array contains the authentication guards that will be checked when+ | Sanctum is trying to authenticate a request. If none of these guards+ | are able to authenticate the request, Sanctum will use the bearer+ | token that's present on an incoming request for authentication.+ |+ */++ 'guard' => ['web'],++ /*+ |--------------------------------------------------------------------------+ | Expiration Minutes+ |--------------------------------------------------------------------------+ |+ | This value controls the number of minutes until an issued token will be+ | considered expired. If this value is null, personal access tokens do+ | not expire. This won't tweak the lifetime of first-party sessions.+ |+ */++ 'expiration' => null,++ /*+ |--------------------------------------------------------------------------+ | Sanctum Middleware+ |--------------------------------------------------------------------------+ |+ | When authenticating your first-party SPA with Sanctum you may need to+ | customize some of the middleware Sanctum uses while processing the+ | request. You may change the middleware listed below as required.+ |+ */++ 'middleware' => [+ 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class,+ 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class,+ ],++];diff --git a/config/services.php b/config/services.phpnew file mode 100644index 0000000000..0ace530e8d--- /dev/null+++ b/config/services.php@@ -0,0 +1,34 @@+<?php++return [++ /*+ |--------------------------------------------------------------------------+ | Third Party Services+ |--------------------------------------------------------------------------+ |+ | This file is for storing the credentials for third party services such+ | as Mailgun, Postmark, AWS and more. This file provides the de facto+ | location for this type of information, allowing packages to have+ | a conventional file to locate the various service credentials.+ |+ */++ 'mailgun' => [+ 'domain' => env('MAILGUN_DOMAIN'),+ 'secret' => env('MAILGUN_SECRET'),+ 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),+ 'scheme' => 'https',+ ],++ 'postmark' => [+ 'token' => env('POSTMARK_TOKEN'),+ ],++ 'ses' => [+ 'key' => env('AWS_ACCESS_KEY_ID'),+ 'secret' => env('AWS_SECRET_ACCESS_KEY'),+ 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),+ ],++];diff --git a/config/session.php b/config/session.phpnew file mode 100644index 0000000000..8fed97c014--- /dev/null+++ b/config/session.php@@ -0,0 +1,201 @@+<?php++use Illuminate\Support\Str;++return [++ /*+ |--------------------------------------------------------------------------+ | Default Session Driver+ |--------------------------------------------------------------------------+ |+ | This option controls the default session "driver" that will be used on+ | requests. By default, we will use the lightweight native driver but+ | you may specify any of the other wonderful drivers provided here.+ |+ | Supported: "file", "cookie", "database", "apc",+ | "memcached", "redis", "dynamodb", "array"+ |+ */++ 'driver' => env('SESSION_DRIVER', 'file'),++ /*+ |--------------------------------------------------------------------------+ | Session Lifetime+ |--------------------------------------------------------------------------+ |+ | Here you may specify the number of minutes that you wish the session+ | to be allowed to remain idle before it expires. If you want them+ | to immediately expire on the browser closing, set that option.+ |+ */++ 'lifetime' => env('SESSION_LIFETIME', 120),++ 'expire_on_close' => false,++ /*+ |--------------------------------------------------------------------------+ | Session Encryption+ |--------------------------------------------------------------------------+ |+ | This option allows you to easily specify that all of your session data+ | should be encrypted before it is stored. All encryption will be run+ | automatically by Laravel and you can use the Session like normal.+ |+ */++ 'encrypt' => false,++ /*+ |--------------------------------------------------------------------------+ | Session File Location+ |--------------------------------------------------------------------------+ |+ | When using the native session driver, we need a location where session+ | files may be stored. A default has been set for you but a different+ | location may be specified. This is only needed for file sessions.+ |+ */++ 'files' => storage_path('framework/sessions'),++ /*+ |--------------------------------------------------------------------------+ | Session Database Connection+ |--------------------------------------------------------------------------+ |+ | When using the "database" or "redis" session drivers, you may specify a+ | connection that should be used to manage these sessions. This should+ | correspond to a connection in your database configuration options.+ |+ */++ 'connection' => env('SESSION_CONNECTION'),++ /*+ |--------------------------------------------------------------------------+ | Session Database Table+ |--------------------------------------------------------------------------+ |+ | When using the "database" session driver, you may specify the table we+ | should use to manage the sessions. Of course, a sensible default is+ | provided for you; however, you are free to change this as needed.+ |+ */++ 'table' => 'sessions',++ /*+ |--------------------------------------------------------------------------+ | Session Cache Store+ |--------------------------------------------------------------------------+ |+ | While using one of the framework's cache driven session backends you may+ | list a cache store that should be used for these sessions. This value+ | must match with one of the application's configured cache "stores".+ |+ | Affects: "apc", "dynamodb", "memcached", "redis"+ |+ */++ 'store' => env('SESSION_STORE'),++ /*+ |--------------------------------------------------------------------------+ | Session Sweeping Lottery+ |--------------------------------------------------------------------------+ |+ | Some session drivers must manually sweep their storage location to get+ | rid of old sessions from storage. Here are the chances that it will+ | happen on a given request. By default, the odds are 2 out of 100.+ |+ */++ 'lottery' => [2, 100],++ /*+ |--------------------------------------------------------------------------+ | Session Cookie Name+ |--------------------------------------------------------------------------+ |+ | Here you may change the name of the cookie used to identify a session+ | instance by ID. The name specified here will get used every time a+ | new session cookie is created by the framework for every driver.+ |+ */++ 'cookie' => env(+ 'SESSION_COOKIE',+ Str::slug(env('APP_NAME', 'laravel'), '_').'_session'+ ),++ /*+ |--------------------------------------------------------------------------+ | Session Cookie Path+ |--------------------------------------------------------------------------+ |+ | The session cookie path determines the path for which the cookie will+ | be regarded as available. Typically, this will be the root path of+ | your application but you are free to change this when necessary.+ |+ */++ 'path' => '/',++ /*+ |--------------------------------------------------------------------------+ | Session Cookie Domain+ |--------------------------------------------------------------------------+ |+ | Here you may change the domain of the cookie used to identify a session+ | in your application. This will determine which domains the cookie is+ | available to in your application. A sensible default has been set.+ |+ */++ 'domain' => env('SESSION_DOMAIN'),++ /*+ |--------------------------------------------------------------------------+ | HTTPS Only Cookies+ |--------------------------------------------------------------------------+ |+ | By setting this option to true, session cookies will only be sent back+ | to the server if the browser has a HTTPS connection. This will keep+ | the cookie from being sent to you when it can't be done securely.+ |+ */++ 'secure' => env('SESSION_SECURE_COOKIE'),++ /*+ |--------------------------------------------------------------------------+ | HTTP Access Only+ |--------------------------------------------------------------------------+ |+ | Setting this value to true will prevent JavaScript from accessing the+ | value of the cookie and the cookie will only be accessible through+ | the HTTP protocol. You are free to modify this option if needed.+ |+ */++ 'http_only' => true,++ /*+ |--------------------------------------------------------------------------+ | Same-Site Cookies+ |--------------------------------------------------------------------------+ |+ | This option determines how your cookies behave when cross-site requests+ | take place, and can be used to mitigate CSRF attacks. By default, we+ | will set this value to "lax" since this is a secure default value.+ |+ | Supported: "lax", "strict", "none", null+ |+ */++ 'same_site' => 'lax',++];diff --git a/config/view.php b/config/view.phpnew file mode 100644index 0000000000..22b8a18d32--- /dev/null+++ b/config/view.php@@ -0,0 +1,36 @@+<?php++return [++ /*+ |--------------------------------------------------------------------------+ | View Storage Paths+ |--------------------------------------------------------------------------+ |+ | Most templating systems load templates from disk. Here you may specify+ | an array of paths that should be checked for your views. Of course+ | the usual Laravel view path has already been registered for you.+ |+ */++ 'paths' => [+ resource_path('views'),+ ],++ /*+ |--------------------------------------------------------------------------+ | Compiled View Path+ |--------------------------------------------------------------------------+ |+ | This option determines where all the compiled Blade templates will be+ | stored for your application. Typically, this is within the storage+ | directory. However, as usual, you are free to change this value.+ |+ */++ 'compiled' => env(+ 'VIEW_COMPILED_PATH',+ realpath(storage_path('framework/views'))+ ),++];diff --git a/database/.gitignore b/database/.gitignorenew file mode 100644index 0000000000..9b19b93c9f--- /dev/null+++ b/database/.gitignore@@ -0,0 +1 @@+*.sqlite*diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.phpnew file mode 100644index 0000000000..a6ecc0af2f--- /dev/null+++ b/database/factories/UserFactory.php@@ -0,0 +1,38 @@+<?php++namespace Database\Factories;++use Illuminate\Database\Eloquent\Factories\Factory;+use Illuminate\Support\Str;++/**+ * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\User>+ */+class UserFactory extends Factory+{+ /**+ * Define the model's default state.+ *+ * @return array<string, mixed>+ */+ public function definition(): array+ {+ return [+ 'name' => fake()->name(),+ 'email' => fake()->unique()->safeEmail(),+ 'email_verified_at' => now(),+ 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password+ 'remember_token' => Str::random(10),+ ];+ }++ /**+ * Indicate that the model's email address should be unverified.+ */+ public function unverified(): static+ {+ return $this->state(fn (array $attributes) => [+ 'email_verified_at' => null,+ ]);+ }+}diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.phpnew file mode 100644index 0000000000..444fafb7f5--- /dev/null+++ b/database/migrations/2014_10_12_000000_create_users_table.php@@ -0,0 +1,32 @@+<?php++use Illuminate\Database\Migrations\Migration;+use Illuminate\Database\Schema\Blueprint;+use Illuminate\Support\Facades\Schema;++return new class extends Migration+{+ /**+ * Run the migrations.+ */+ public function up(): void+ {+ Schema::create('users', function (Blueprint $table) {+ $table->id();+ $table->string('name');+ $table->string('email')->unique();+ $table->timestamp('email_verified_at')->nullable();+ $table->string('password');+ $table->rememberToken();+ $table->timestamps();+ });+ }++ /**+ * Reverse the migrations.+ */+ public function down(): void+ {+ Schema::dropIfExists('users');+ }+};diff --git a/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php b/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.phpnew file mode 100644index 0000000000..81a7229b08--- /dev/null+++ b/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php@@ -0,0 +1,28 @@+<?php++use Illuminate\Database\Migrations\Migration;+use Illuminate\Database\Schema\Blueprint;+use Illuminate\Support\Facades\Schema;++return new class extends Migration+{+ /**+ * Run the migrations.+ */+ public function up(): void+ {+ Schema::create('password_reset_tokens', function (Blueprint $table) {+ $table->string('email')->primary();+ $table->string('token');+ $table->timestamp('created_at')->nullable();+ });+ }++ /**+ * Reverse the migrations.+ */+ public function down(): void+ {+ Schema::dropIfExists('password_reset_tokens');+ }+};diff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/database/migrations/2019_08_19_000000_create_failed_jobs_table.phpnew file mode 100644index 0000000000..249da8171a--- /dev/null+++ b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php@@ -0,0 +1,32 @@+<?php++use Illuminate\Database\Migrations\Migration;+use Illuminate\Database\Schema\Blueprint;+use Illuminate\Support\Facades\Schema;++return new class extends Migration+{+ /**+ * Run the migrations.+ */+ public function up(): void+ {+ Schema::create('failed_jobs', function (Blueprint $table) {+ $table->id();+ $table->string('uuid')->unique();+ $table->text('connection');+ $table->text('queue');+ $table->longText('payload');+ $table->longText('exception');+ $table->timestamp('failed_at')->useCurrent();+ });+ }++ /**+ * Reverse the migrations.+ */+ public function down(): void+ {+ Schema::dropIfExists('failed_jobs');+ }+};diff --git a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.phpnew file mode 100644index 0000000000..e828ad8189--- /dev/null+++ b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php@@ -0,0 +1,33 @@+<?php++use Illuminate\Database\Migrations\Migration;+use Illuminate\Database\Schema\Blueprint;+use Illuminate\Support\Facades\Schema;++return new class extends Migration+{+ /**+ * Run the migrations.+ */+ public function up(): void+ {+ Schema::create('personal_access_tokens', function (Blueprint $table) {+ $table->id();+ $table->morphs('tokenable');+ $table->string('name');+ $table->string('token', 64)->unique();+ $table->text('abilities')->nullable();+ $table->timestamp('last_used_at')->nullable();+ $table->timestamp('expires_at')->nullable();+ $table->timestamps();+ });+ }++ /**+ * Reverse the migrations.+ */+ public function down(): void+ {+ Schema::dropIfExists('personal_access_tokens');+ }+};diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.phpnew file mode 100644index 0000000000..a9f4519fce--- /dev/null+++ b/database/seeders/DatabaseSeeder.php@@ -0,0 +1,22 @@+<?php++namespace Database\Seeders;++// use Illuminate\Database\Console\Seeds\WithoutModelEvents;+use Illuminate\Database\Seeder;++class DatabaseSeeder extends Seeder+{+ /**+ * Seed the application's database.+ */+ public function run(): void+ {+ // \App\Models\User::factory(10)->create();++ // \App\Models\User::factory()->create([+ // 'name' => 'Test User',+ // 'email' => '[email protected]',+ // ]);+ }+}diff --git a/docker-compose-dev.yaml b/docker-compose-dev.yamldeleted file mode 100644index cbe2e2ffa2..0000000000--- a/docker-compose-dev.yaml+++ /dev/null@@ -1,52 +0,0 @@-version: '3.8'--services:- coolify:- build:- context: .- dockerfile: Dockerfile-dev- command: bash -c 'pnpm install && pnpm db:push && pnpm db:seed && pnpm dev'- environment:- - COOLIFY_CONTAINER_DEV=true- - COOLIFY_APP_ID=random-local-id- - COOLIFY_SECRET_KEY=12341234123412341234123412341234- - COOLIFY_DATABASE_URL=file:../db/dev.db- - GITPOD_WORKSPACE_URL=${GITPOD_WORKSPACE_URL}- - CODESANDBOX_HOST=${CODESANDBOX_HOST}- container_name: coolify- ports:- - target: 3000- published: 3000- protocol: tcp- mode: host- - target: 3001- published: 3001- protocol: tcp- mode: host- - target: 5555- published: 5555- protocol: tcp- mode: host- volumes:- - ./:/app- - '/var/run/docker.sock:/var/run/docker.sock'- - /tmp:/tmp- networks:- - coolify-infra- fluent-bit:- image: ghcr.io/coollabsio/fluent-bit:1.0.0- command: /fluent-bit/bin/fluent-bit -c /fluent-bit/etc/fluent-bit-dev.conf- container_name: coolify-fluentbit- volumes:- - ./logs:/logs- ports:- - target: 24224- published: 24224- protocol: tcp- mode: host- networks:- - coolify-infra-networks:- coolify-infra:- attachable: true- name: coolify-infradiff --git a/docker-compose.yaml b/docker-compose.yamlindex a3d356c9b3..dc02e3db8c 100644--- a/docker-compose.yaml+++ b/docker-compose.yaml@@ -1,51 +1,44 @@version: '3.8'-services:- coolify:- image: ghcr.io/coollabsio/coolify:${TAG:-latest}- restart: always- container_name: coolify+ php:+ build:+ context: .+ dockerfile: Dockerfileports:- - target: 3000- published: 3000- protocol: tcp- mode: host+ - "${APP_PORT:-8000}:80"+ - "${VITE_PORT:-5173}:${VITE_PORT:-5173}"+ environment:+ PGID: "${USERID:-9999}"+ PUID: "${USERID:-9999}"+ SSL_MODE: 'off'volumes:- - 'coolify-local-backup:/app/backups'- - 'coolify-db:/app/db'- - 'coolify-logs:/app/logs'- - 'coolify-ssl-certs:/app/ssl'- - 'coolify-traefik-letsencrypt:/etc/traefik/acme'- - 'coolify-letsencrypt:/etc/letsencrypt'- - '/var/run/docker.sock:/var/run/docker.sock'- env_file:- - '.env'- networks:- - coolify-infra- fluent-bit:- image: ghcr.io/coollabsio/fluent-bit:1.0.0- container_name: coolify-fluentbit+ - .:/var/www/html:cached+ postgres:+ image: postgres:15-alpine+ ports:+ - "${FORWARD_DB_PORT:-5432}:5432"volumes:- - 'coolify-logs:/app/logs'- networks:- - coolify-infra-networks:- coolify-infra:- attachable: true- name: coolify-infra-+ - db-coolify:/var/lib/postgresql/data+ environment:+ POSTGRES_USER: "${DB_USERNAME}"+ POSTGRES_PASSWORD: "${DB_PASSWORD}"+ POSTGRES_DB: "${DB_DATABASE}"+ POSTGRES_HOST_AUTH_METHOD: "trust"+ healthcheck:+ test:+ [+ "CMD-SHELL",+ "pg_isready -U $$DB_USERNAME",+ "-d",+ "db_prod"+ ]+ retries: 3+ timeout: 5s+ mailpit:+ image: "axllent/mailpit:latest"+ ports:+ - "${FORWARD_MAILPIT_PORT:-1025}:1025"+ - "${FORWARD_MAILPIT_DASHBOARD_PORT:-8025}:8025"volumes:- coolify-local-backup:- name: coolify-local-backup- coolify-logs:- name: coolify-logs- coolify-db:- name: coolify-db- coolify-pgdb:- name: coolify-pgdb- coolify-ssl-certs:- name: coolify-ssl-certs- coolify-letsencrypt:- name: coolify-letsencrypt- coolify-traefik-letsencrypt:- name: coolify-traefik-letsencrypt+ db-coolify:+ driver: localdiff --git a/docs/contribution/GettingStarted.md b/docs/contribution/GettingStarted.mddeleted file mode 100644index 1c278a6f7d..0000000000--- a/docs/contribution/GettingStarted.md+++ /dev/null@@ -1,21 +0,0 @@-## Getting Started--To contribute to `Coolify` development, you'll benefit from knowing the following:--- **Languages**- - [Node.js]() - ๐ [Introduction](https://nodejs.dev/en/learn/introduction-to-nodejs/)- - Javascript - ๐ [Learn Javascript](https://learnjavascript.online/)- - Typescript - ๐ [Learn@FreecodeCamp](https://www.freecodecamp.org/news/learn-typescript-beginners-guide/)--- **Framework JS/TS**- - [SvelteKit](https://kit.svelte.dev/) - ๐ [Tutorial](https://svelte.dev/tutorial/basics)- - [Fastify](https://www.fastify.io/)--- **Database ORM**- - [Prisma.io](https://www.prisma.io/) - ๐ [Quickstart](https://www.prisma.io/docs/getting-started/quickstart)--- **Docker**- - [Docker Engine API](https://docs.docker.com/engine/api/)--## How to add a new service?-You can find all details [here](https://github.com/coollabsio/coolify-community-templates)\ No newline at end of filediff --git a/docs/contribution/Translating.md b/docs/contribution/Translating.mddeleted file mode 100644index 81ee3e117c..0000000000--- a/docs/contribution/Translating.md+++ /dev/null@@ -1,61 +0,0 @@-## Helping with Translations--All interface translations can be found inside the folder:--๐ `apps/ui/src/lib/locales`--> The base and fallback language is ๐ฌ๐ง `en`.-------## ๐๏ธ Manual First steps--To start translating to a new language:--1. create `apps/ui/src/lib/locales/jp.json` (change `jp` to chosen language)-2. copy the contents from `apps/ui/src/lib/locales/en.json` to your new json.-2. edit `apps/ui/src/lib/translations.ts`-* 2.1. add `jp: { lang },` inside `translations:`-* 2.2. duplicate the full `en` locale hash inside `loaders:`, change `en` to `jp`(chosen locale)--Congratulations! You are now ready to start translating--## ๐ค Automated First Steps--We can ease the translation using [MoloLab Json Translator](https://github.com/mololab/json-translator):--```sh-# Install Json Tranlator-npm i -g @parvineyvazov/json-translator-# Run this command to create a new translation:-jsontt apps/ui/src/lib/locales/en.json--# Example Result:-jsontt apps/ui/src/lib/locales/en.json-? From which source? #ArgosTranslate-? From which language? #Automatic-? To which language | languages? #Spanish-โ DONE! 287 of 287 translated.- All files are created!- You can find them in the same folder as the original JSON file.- For Spanish --> es.json created.-```--## Currently supported locales--- [x] en-- [x] fr-- [x] pt (autogenerated - needs review)-- [x] es (autogenerated - needs review)-- [x] ko (autogenerated - needs review)--## โ๏ธ Todo:--- [ ] Write a script to- - sync missing keys from `en` to other locales;- - remove deprecated keys from all non `en` locales;--- [ ] Sveltekit-i18n instructs to create one locale file per path, maybe we should review that soon.--- [ ] Improve the aesthetics of `<LocalePicker/>`-- [ ] Make selected locale persistent (in session or cookie)\ No newline at end of filediff --git a/docs/dev_setup/Container.md b/docs/dev_setup/Container.mddeleted file mode 100644index 5d5fe96f2d..0000000000--- a/docs/dev_setup/Container.md+++ /dev/null@@ -1,10 +0,0 @@-### Container based development flow (recommended and the easiest)--All you need is to--1. Install [Docker Engine 20.11+](https://docs.docker.com/engine/install/) on your local machine-2. Run `pnpm dev:container`.--It will build the base image for Coolify and start the development server inside Docker.--All required ports (3000, 3001) will be exposed to your host.\ No newline at end of filediff --git a/docs/dev_setup/DockerContiner.md b/docs/dev_setup/DockerContiner.mddeleted file mode 100644index 76dde53d1c..0000000000--- a/docs/dev_setup/DockerContiner.md+++ /dev/null@@ -1,2 +0,0 @@-### Inside a Docker container-# `WIP`\ No newline at end of filediff --git a/docs/dev_setup/GitPod.md b/docs/dev_setup/GitPod.mddeleted file mode 100644index 21a92e111a..0000000000--- a/docs/dev_setup/GitPod.md+++ /dev/null@@ -1,19 +0,0 @@-### Gitpod--#### Option 1 - Preferred:--Follow the same steps as [container based development flow](./Container.md)--#### Option 2 - Manual setup:--1. Create a workspace from this repository,-1. run `pnpm install && pnpm db:push && pnpm db:seed`-1. and then `pnpm dev`.--All the required dependencies and packages has been configured for you already.-------> Some packages, just `pack` are not installed in this way.- You cannot test all the features.- Please use the [container based development flow](./Container.md).diff --git a/docs/dev_setup/GithubCodespaces.md b/docs/dev_setup/GithubCodespaces.mddeleted file mode 100644index 64b7c4e9d7..0000000000--- a/docs/dev_setup/GithubCodespaces.md+++ /dev/null@@ -1,8 +0,0 @@-### Github codespaces--If you have github codespaces enabled then you can just:--1. create a codespace and-2. run `pnpm dev` to run your the dev environment.--All the required dependencies and packages has been configured for you already.\ No newline at end of filediff --git a/docs/dev_setup/LocalMachine.md b/docs/dev_setup/LocalMachine.mddeleted file mode 100644index d902f88711..0000000000--- a/docs/dev_setup/LocalMachine.md+++ /dev/null@@ -1,17 +0,0 @@-### Local Machine--At the moment, Coolify `doesn't support Windows`.--You must use `Linux` or `MacOS` or consider using Gitpod or Github Codespaces.--Install all the prerequisites manually to your host system.-If you would not like to install anything,-I suggest to use the [container based development flow](#container-based-development-flow-easiest).--- Due to the lock file, this repository is best with [pnpm](https://pnpm.io). I recommend you try and use `pnpm` because it is cool and efficient!-- You need to have [Docker Engine](https://docs.docker.com/engine/install/) installed locally.-- You need to have [Docker Compose Plugin](https://docs.docker.com/compose/install/compose-plugin/) installed locally.-- You need to have [GIT LFS Support](https://git-lfs.github.com/) installed locally.--Optional:-- To test Heroku buildpacks, you need [pack](https://github.com/buildpacks/pack) binary installed locally.diff --git a/docs/dev_setup/Mac.md b/docs/dev_setup/Mac.mddeleted file mode 100644index 5e22c966dc..0000000000--- a/docs/dev_setup/Mac.md+++ /dev/null@@ -1,2 +0,0 @@-### Mac Setup-diff --git a/docs/dev_setup/MacArm.md b/docs/dev_setup/MacArm.mddeleted file mode 100644index c63d70b6f5..0000000000--- a/docs/dev_setup/MacArm.md+++ /dev/null@@ -1 +0,0 @@-### Mac Setup\ No newline at end of filediff --git a/others/docker/daemon.json b/others/docker/daemon.jsondeleted file mode 100644index d1a836defb..0000000000--- a/others/docker/daemon.json+++ /dev/null@@ -1,11 +0,0 @@-{- "log-driver": "json-file",- "log-opts": {- "max-size": "100m",- "max-file": "5"- },- "features": {- "buildkit": true- },- "live-restore": true-}diff --git a/others/logo/ccc-logo.webp b/others/logo/ccc-logo.webpdeleted file mode 100644index e7066e3014..0000000000Binary files a/others/logo/ccc-logo.webp and /dev/null differdiff --git a/others/scripts/bumpLatest.sh b/others/scripts/bumpLatest.shdeleted file mode 100644index 6fbd227e59..0000000000--- a/others/scripts/bumpLatest.sh+++ /dev/null@@ -1,17 +0,0 @@-#!/bin/bash-VERSION=$(cat ./package.json | jq -r .version)-IMAGE=coollabsio/coolify-echo "Pulling $IMAGE:$VERSION"-docker pull $IMAGE:$VERSION--echo "Tagging $IMAGE:$VERSION as $IMAGE:latest"-docker tag $IMAGE:$VERSION $IMAGE:latest--echo "Pushing $IMAGE:latest"-read -p "Are you sure you want to push $IMAGE:latest? (y/n) " -n 1 -r-if [[ ! $REPLY =~ ^[Yy]$ ]]; then- echo "Aborting"- exit 1-fi--docker push $IMAGE:latestdiff --git a/package-lock.json b/package-lock.jsonnew file mode 100644index 0000000000..63682f7932--- /dev/null+++ b/package-lock.json@@ -0,0 +1,1534 @@+{+ "name": "html",+ "lockfileVersion": 3,+ "requires": true,+ "packages": {+ "": {+ "devDependencies": {+ "autoprefixer": "^10.4.14",+ "axios": "^1.1.2",+ "laravel-vite-plugin": "^0.7.2",+ "postcss": "^8.4.21",+ "tailwindcss": "^3.2.7",+ "vite": "^4.0.0"+ }+ },+ "node_modules/@esbuild/android-arm": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.12.tgz",+ "integrity": "sha512-E/sgkvwoIfj4aMAPL2e35VnUJspzVYl7+M1B2cqeubdBhADV4uPon0KCc8p2G+LqSJ6i8ocYPCqY3A4GGq0zkQ==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/android-arm64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.12.tgz",+ "integrity": "sha512-WQ9p5oiXXYJ33F2EkE3r0FRDFVpEdcDiwNX3u7Xaibxfx6vQE0Sb8ytrfQsA5WO6kDn6mDfKLh6KrPBjvkk7xA==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/android-x64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.12.tgz",+ "integrity": "sha512-m4OsaCr5gT+se25rFPHKQXARMyAehHTQAz4XX1Vk3d27VtqiX0ALMBPoXZsGaB6JYryCLfgGwUslMqTfqeLU0w==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/darwin-arm64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.12.tgz",+ "integrity": "sha512-O3GCZghRIx+RAN0NDPhyyhRgwa19MoKlzGonIb5hgTj78krqp9XZbYCvFr9N1eUxg0ZQEpiiZ4QvsOQwBpP+lg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/darwin-x64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.12.tgz",+ "integrity": "sha512-5D48jM3tW27h1qjaD9UNRuN+4v0zvksqZSPZqeSWggfMlsVdAhH3pwSfQIFJwcs9QJ9BRibPS4ViZgs3d2wsCA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/freebsd-arm64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.12.tgz",+ "integrity": "sha512-OWvHzmLNTdF1erSvrfoEBGlN94IE6vCEaGEkEH29uo/VoONqPnoDFfShi41Ew+yKimx4vrmmAJEGNoyyP+OgOQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "freebsd"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/freebsd-x64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.12.tgz",+ "integrity": "sha512-A0Xg5CZv8MU9xh4a+7NUpi5VHBKh1RaGJKqjxe4KG87X+mTjDE6ZvlJqpWoeJxgfXHT7IMP9tDFu7IZ03OtJAw==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "freebsd"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-arm": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.12.tgz",+ "integrity": "sha512-WsHyJ7b7vzHdJ1fv67Yf++2dz3D726oO3QCu8iNYik4fb5YuuReOI9OtA+n7Mk0xyQivNTPbl181s+5oZ38gyA==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-arm64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.12.tgz",+ "integrity": "sha512-cK3AjkEc+8v8YG02hYLQIQlOznW+v9N+OI9BAFuyqkfQFR+DnDLhEM5N8QRxAUz99cJTo1rLNXqRrvY15gbQUg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-ia32": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.12.tgz",+ "integrity": "sha512-jdOBXJqcgHlah/nYHnj3Hrnl9l63RjtQ4vn9+bohjQPI2QafASB5MtHAoEv0JQHVb/xYQTFOeuHnNYE1zF7tYw==",+ "cpu": [+ "ia32"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-loong64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.12.tgz",+ "integrity": "sha512-GTOEtj8h9qPKXCyiBBnHconSCV9LwFyx/gv3Phw0pa25qPYjVuuGZ4Dk14bGCfGX3qKF0+ceeQvwmtI+aYBbVA==",+ "cpu": [+ "loong64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-mips64el": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.12.tgz",+ "integrity": "sha512-o8CIhfBwKcxmEENOH9RwmUejs5jFiNoDw7YgS0EJTF6kgPgcqLFjgoc5kDey5cMHRVCIWc6kK2ShUePOcc7RbA==",+ "cpu": [+ "mips64el"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-ppc64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.12.tgz",+ "integrity": "sha512-biMLH6NR/GR4z+ap0oJYb877LdBpGac8KfZoEnDiBKd7MD/xt8eaw1SFfYRUeMVx519kVkAOL2GExdFmYnZx3A==",+ "cpu": [+ "ppc64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-riscv64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.12.tgz",+ "integrity": "sha512-jkphYUiO38wZGeWlfIBMB72auOllNA2sLfiZPGDtOBb1ELN8lmqBrlMiucgL8awBw1zBXN69PmZM6g4yTX84TA==",+ "cpu": [+ "riscv64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-s390x": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.12.tgz",+ "integrity": "sha512-j3ucLdeY9HBcvODhCY4b+Ds3hWGO8t+SAidtmWu/ukfLLG/oYDMaA+dnugTVAg5fnUOGNbIYL9TOjhWgQB8W5g==",+ "cpu": [+ "s390x"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/linux-x64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.12.tgz",+ "integrity": "sha512-uo5JL3cgaEGotaqSaJdRfFNSCUJOIliKLnDGWaVCgIKkHxwhYMm95pfMbWZ9l7GeW9kDg0tSxcy9NYdEtjwwmA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/netbsd-x64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.12.tgz",+ "integrity": "sha512-DNdoRg8JX+gGsbqt2gPgkgb00mqOgOO27KnrWZtdABl6yWTST30aibGJ6geBq3WM2TIeW6COs5AScnC7GwtGPg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "netbsd"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/openbsd-x64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.12.tgz",+ "integrity": "sha512-aVsENlr7B64w8I1lhHShND5o8cW6sB9n9MUtLumFlPhG3elhNWtE7M1TFpj3m7lT3sKQUMkGFjTQBrvDDO1YWA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "openbsd"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/sunos-x64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.12.tgz",+ "integrity": "sha512-qbHGVQdKSwi0JQJuZznS4SyY27tYXYF0mrgthbxXrZI3AHKuRvU+Eqbg/F0rmLDpW/jkIZBlCO1XfHUBMNJ1pg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "sunos"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/win32-arm64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.12.tgz",+ "integrity": "sha512-zsCp8Ql+96xXTVTmm6ffvoTSZSV2B/LzzkUXAY33F/76EajNw1m+jZ9zPfNJlJ3Rh4EzOszNDHsmG/fZOhtqDg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/win32-ia32": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.12.tgz",+ "integrity": "sha512-FfrFjR4id7wcFYOdqbDfDET3tjxCozUgbqdkOABsSFzoZGFC92UK7mg4JKRc/B3NNEf1s2WHxJ7VfTdVDPN3ng==",+ "cpu": [+ "ia32"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@esbuild/win32-x64": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.12.tgz",+ "integrity": "sha512-JOOxw49BVZx2/5tW3FqkdjSD/5gXYeVGPDcB0lvap0gLQshkh1Nyel1QazC+wNxus3xPlsYAgqU1BUmrmCvWtw==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@nodelib/fs.scandir": {+ "version": "2.1.5",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",+ "dev": true,+ "dependencies": {+ "@nodelib/fs.stat": "2.0.5",+ "run-parallel": "^1.1.9"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@nodelib/fs.stat": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",+ "dev": true,+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@nodelib/fs.walk": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",+ "dev": true,+ "dependencies": {+ "@nodelib/fs.scandir": "2.1.5",+ "fastq": "^1.6.0"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/acorn": {+ "version": "7.4.1",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",+ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",+ "dev": true,+ "bin": {+ "acorn": "bin/acorn"+ },+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/acorn-node": {+ "version": "1.8.2",+ "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz",+ "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==",+ "dev": true,+ "dependencies": {+ "acorn": "^7.0.0",+ "acorn-walk": "^7.0.0",+ "xtend": "^4.0.2"+ }+ },+ "node_modules/acorn-walk": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz",+ "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==",+ "dev": true,+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/anymatch": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",+ "dev": true,+ "dependencies": {+ "normalize-path": "^3.0.0",+ "picomatch": "^2.0.4"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/arg": {+ "version": "5.0.2",+ "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",+ "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",+ "dev": true+ },+ "node_modules/asynckit": {+ "version": "0.4.0",+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",+ "dev": true+ },+ "node_modules/autoprefixer": {+ "version": "10.4.14",+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz",+ "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==",+ "dev": true,+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"+ }+ ],+ "dependencies": {+ "browserslist": "^4.21.5",+ "caniuse-lite": "^1.0.30001464",+ "fraction.js": "^4.2.0",+ "normalize-range": "^0.1.2",+ "picocolors": "^1.0.0",+ "postcss-value-parser": "^4.2.0"+ },+ "bin": {+ "autoprefixer": "bin/autoprefixer"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ },+ "peerDependencies": {+ "postcss": "^8.1.0"+ }+ },+ "node_modules/axios": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz",+ "integrity": "sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==",+ "dev": true,+ "dependencies": {+ "follow-redirects": "^1.15.0",+ "form-data": "^4.0.0",+ "proxy-from-env": "^1.1.0"+ }+ },+ "node_modules/binary-extensions": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",+ "dev": true,+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/braces": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",+ "dev": true,+ "dependencies": {+ "fill-range": "^7.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/browserslist": {+ "version": "4.21.5",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.5.tgz",+ "integrity": "sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==",+ "dev": true,+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/browserslist"+ }+ ],+ "dependencies": {+ "caniuse-lite": "^1.0.30001449",+ "electron-to-chromium": "^1.4.284",+ "node-releases": "^2.0.8",+ "update-browserslist-db": "^1.0.10"+ },+ "bin": {+ "browserslist": "cli.js"+ },+ "engines": {+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"+ }+ },+ "node_modules/camelcase-css": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",+ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",+ "dev": true,+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/caniuse-lite": {+ "version": "1.0.30001467",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001467.tgz",+ "integrity": "sha512-cEdN/5e+RPikvl9AHm4uuLXxeCNq8rFsQ+lPHTfe/OtypP3WwnVVbjn+6uBV7PaFL6xUFzTh+sSCOz1rKhcO+Q==",+ "dev": true,+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"+ }+ ]+ },+ "node_modules/chokidar": {+ "version": "3.5.3",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",+ "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",+ "dev": true,+ "funding": [+ {+ "type": "individual",+ "url": "https://paulmillr.com/funding/"+ }+ ],+ "dependencies": {+ "anymatch": "~3.1.2",+ "braces": "~3.0.2",+ "glob-parent": "~5.1.2",+ "is-binary-path": "~2.1.0",+ "is-glob": "~4.0.1",+ "normalize-path": "~3.0.0",+ "readdirp": "~3.6.0"+ },+ "engines": {+ "node": ">= 8.10.0"+ },+ "optionalDependencies": {+ "fsevents": "~2.3.2"+ }+ },+ "node_modules/chokidar/node_modules/glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "dev": true,+ "dependencies": {+ "is-glob": "^4.0.1"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",+ "dev": true+ },+ "node_modules/combined-stream": {+ "version": "1.0.8",+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",+ "dev": true,+ "dependencies": {+ "delayed-stream": "~1.0.0"+ },+ "engines": {+ "node": ">= 0.8"+ }+ },+ "node_modules/cssesc": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",+ "dev": true,+ "bin": {+ "cssesc": "bin/cssesc"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/defined": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.1.tgz",+ "integrity": "sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==",+ "dev": true,+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/delayed-stream": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",+ "dev": true,+ "engines": {+ "node": ">=0.4.0"+ }+ },+ "node_modules/detective": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.1.tgz",+ "integrity": "sha512-v9XE1zRnz1wRtgurGu0Bs8uHKFSTdteYZNbIPFVhUZ39L/S79ppMpdmVOZAnoz1jfEFodc48n6MX483Xo3t1yw==",+ "dev": true,+ "dependencies": {+ "acorn-node": "^1.8.2",+ "defined": "^1.0.0",+ "minimist": "^1.2.6"+ },+ "bin": {+ "detective": "bin/detective.js"+ },+ "engines": {+ "node": ">=0.8.0"+ }+ },+ "node_modules/didyoumean": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",+ "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",+ "dev": true+ },+ "node_modules/dlv": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",+ "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",+ "dev": true+ },+ "node_modules/electron-to-chromium": {+ "version": "1.4.332",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.332.tgz",+ "integrity": "sha512-c1Vbv5tuUlBFp0mb3mCIjw+REEsgthRgNE8BlbEDKmvzb8rxjcVki6OkQP83vLN34s0XCxpSkq7AZNep1a6xhw==",+ "dev": true+ },+ "node_modules/esbuild": {+ "version": "0.17.12",+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.12.tgz",+ "integrity": "sha512-bX/zHl7Gn2CpQwcMtRogTTBf9l1nl+H6R8nUbjk+RuKqAE3+8FDulLA+pHvX7aA7Xe07Iwa+CWvy9I8Y2qqPKQ==",+ "dev": true,+ "hasInstallScript": true,+ "bin": {+ "esbuild": "bin/esbuild"+ },+ "engines": {+ "node": ">=12"+ },+ "optionalDependencies": {+ "@esbuild/android-arm": "0.17.12",+ "@esbuild/android-arm64": "0.17.12",+ "@esbuild/android-x64": "0.17.12",+ "@esbuild/darwin-arm64": "0.17.12",+ "@esbuild/darwin-x64": "0.17.12",+ "@esbuild/freebsd-arm64": "0.17.12",+ "@esbuild/freebsd-x64": "0.17.12",+ "@esbuild/linux-arm": "0.17.12",+ "@esbuild/linux-arm64": "0.17.12",+ "@esbuild/linux-ia32": "0.17.12",+ "@esbuild/linux-loong64": "0.17.12",+ "@esbuild/linux-mips64el": "0.17.12",+ "@esbuild/linux-ppc64": "0.17.12",+ "@esbuild/linux-riscv64": "0.17.12",+ "@esbuild/linux-s390x": "0.17.12",+ "@esbuild/linux-x64": "0.17.12",+ "@esbuild/netbsd-x64": "0.17.12",+ "@esbuild/openbsd-x64": "0.17.12",+ "@esbuild/sunos-x64": "0.17.12",+ "@esbuild/win32-arm64": "0.17.12",+ "@esbuild/win32-ia32": "0.17.12",+ "@esbuild/win32-x64": "0.17.12"+ }+ },+ "node_modules/escalade": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",+ "dev": true,+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/fast-glob": {+ "version": "3.2.12",+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz",+ "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==",+ "dev": true,+ "dependencies": {+ "@nodelib/fs.stat": "^2.0.2",+ "@nodelib/fs.walk": "^1.2.3",+ "glob-parent": "^5.1.2",+ "merge2": "^1.3.0",+ "micromatch": "^4.0.4"+ },+ "engines": {+ "node": ">=8.6.0"+ }+ },+ "node_modules/fast-glob/node_modules/glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "dev": true,+ "dependencies": {+ "is-glob": "^4.0.1"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/fastq": {+ "version": "1.15.0",+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz",+ "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==",+ "dev": true,+ "dependencies": {+ "reusify": "^1.0.4"+ }+ },+ "node_modules/fill-range": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",+ "dev": true,+ "dependencies": {+ "to-regex-range": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/follow-redirects": {+ "version": "1.15.2",+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",+ "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==",+ "dev": true,+ "funding": [+ {+ "type": "individual",+ "url": "https://github.com/sponsors/RubenVerborgh"+ }+ ],+ "engines": {+ "node": ">=4.0"+ },+ "peerDependenciesMeta": {+ "debug": {+ "optional": true+ }+ }+ },+ "node_modules/form-data": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",+ "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",+ "dev": true,+ "dependencies": {+ "asynckit": "^0.4.0",+ "combined-stream": "^1.0.8",+ "mime-types": "^2.1.12"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/fraction.js": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz",+ "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==",+ "dev": true,+ "engines": {+ "node": "*"+ },+ "funding": {+ "type": "patreon",+ "url": "https://www.patreon.com/infusion"+ }+ },+ "node_modules/fsevents": {+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",+ "dev": true,+ "hasInstallScript": true,+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"+ }+ },+ "node_modules/function-bind": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",+ "dev": true+ },+ "node_modules/glob-parent": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",+ "dev": true,+ "dependencies": {+ "is-glob": "^4.0.3"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },+ "node_modules/has": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",+ "dev": true,+ "dependencies": {+ "function-bind": "^1.1.1"+ },+ "engines": {+ "node": ">= 0.4.0"+ }+ },+ "node_modules/is-binary-path": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",+ "dev": true,+ "dependencies": {+ "binary-extensions": "^2.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/is-core-module": {+ "version": "2.11.0",+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz",+ "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==",+ "dev": true,+ "dependencies": {+ "has": "^1.0.3"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-extglob": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",+ "dev": true,+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-glob": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",+ "dev": true,+ "dependencies": {+ "is-extglob": "^2.1.1"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-number": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",+ "dev": true,+ "engines": {+ "node": ">=0.12.0"+ }+ },+ "node_modules/laravel-vite-plugin": {+ "version": "0.7.4",+ "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-0.7.4.tgz",+ "integrity": "sha512-NlIuXbeuI+4NZzRpWNpGHRVTwuFWessvD7QoD+o2MlyAi7qyUS4J8r4/yTlu1dl9lxcR7iKoYUmHQqZDcrw2KA==",+ "dev": true,+ "dependencies": {+ "picocolors": "^1.0.0",+ "vite-plugin-full-reload": "^1.0.5"+ },+ "engines": {+ "node": ">=14"+ },+ "peerDependencies": {+ "vite": "^3.0.0 || ^4.0.0"+ }+ },+ "node_modules/lilconfig": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz",+ "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==",+ "dev": true,+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/merge2": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",+ "dev": true,+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/micromatch": {+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",+ "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",+ "dev": true,+ "dependencies": {+ "braces": "^3.0.2",+ "picomatch": "^2.3.1"+ },+ "engines": {+ "node": ">=8.6"+ }+ },+ "node_modules/mime-db": {+ "version": "1.52.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",+ "dev": true,+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/mime-types": {+ "version": "2.1.35",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",+ "dev": true,+ "dependencies": {+ "mime-db": "1.52.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/minimist": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",+ "dev": true,+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/nanoid": {+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",+ "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==",+ "dev": true,+ "bin": {+ "nanoid": "bin/nanoid.cjs"+ },+ "engines": {+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"+ }+ },+ "node_modules/node-releases": {+ "version": "2.0.10",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.10.tgz",+ "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==",+ "dev": true+ },+ "node_modules/normalize-path": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",+ "dev": true,+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/normalize-range": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",+ "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==",+ "dev": true,+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/object-hash": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",+ "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==",+ "dev": true,+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/path-parse": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",+ "dev": true+ },+ "node_modules/picocolors": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",+ "dev": true+ },+ "node_modules/picomatch": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",+ "dev": true,+ "engines": {+ "node": ">=8.6"+ },+ "funding": {+ "url": "https://github.com/sponsors/jonschlinkert"+ }+ },+ "node_modules/pify": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",+ "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",+ "dev": true,+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/postcss": {+ "version": "8.4.21",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz",+ "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==",+ "dev": true,+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/postcss"+ }+ ],+ "dependencies": {+ "nanoid": "^3.3.4",+ "picocolors": "^1.0.0",+ "source-map-js": "^1.0.2"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ }+ },+ "node_modules/postcss-import": {+ "version": "14.1.0",+ "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz",+ "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==",+ "dev": true,+ "dependencies": {+ "postcss-value-parser": "^4.0.0",+ "read-cache": "^1.0.0",+ "resolve": "^1.1.7"+ },+ "engines": {+ "node": ">=10.0.0"+ },+ "peerDependencies": {+ "postcss": "^8.0.0"+ }+ },+ "node_modules/postcss-js": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz",+ "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==",+ "dev": true,+ "dependencies": {+ "camelcase-css": "^2.0.1"+ },+ "engines": {+ "node": "^12 || ^14 || >= 16"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ "peerDependencies": {+ "postcss": "^8.4.21"+ }+ },+ "node_modules/postcss-load-config": {+ "version": "3.1.4",+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz",+ "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==",+ "dev": true,+ "dependencies": {+ "lilconfig": "^2.0.5",+ "yaml": "^1.10.2"+ },+ "engines": {+ "node": ">= 10"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ "peerDependencies": {+ "postcss": ">=8.0.9",+ "ts-node": ">=9.0.0"+ },+ "peerDependenciesMeta": {+ "postcss": {+ "optional": true+ },+ "ts-node": {+ "optional": true+ }+ }+ },+ "node_modules/postcss-nested": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.0.tgz",+ "integrity": "sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==",+ "dev": true,+ "dependencies": {+ "postcss-selector-parser": "^6.0.10"+ },+ "engines": {+ "node": ">=12.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ "peerDependencies": {+ "postcss": "^8.2.14"+ }+ },+ "node_modules/postcss-selector-parser": {+ "version": "6.0.11",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz",+ "integrity": "sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==",+ "dev": true,+ "dependencies": {+ "cssesc": "^3.0.0",+ "util-deprecate": "^1.0.2"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-value-parser": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",+ "dev": true+ },+ "node_modules/proxy-from-env": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",+ "dev": true+ },+ "node_modules/queue-microtask": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",+ "dev": true,+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ]+ },+ "node_modules/quick-lru": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz",+ "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==",+ "dev": true,+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/read-cache": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",+ "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",+ "dev": true,+ "dependencies": {+ "pify": "^2.3.0"+ }+ },+ "node_modules/readdirp": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",+ "dev": true,+ "dependencies": {+ "picomatch": "^2.2.1"+ },+ "engines": {+ "node": ">=8.10.0"+ }+ },+ "node_modules/resolve": {+ "version": "1.22.1",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",+ "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",+ "dev": true,+ "dependencies": {+ "is-core-module": "^2.9.0",+ "path-parse": "^1.0.7",+ "supports-preserve-symlinks-flag": "^1.0.0"+ },+ "bin": {+ "resolve": "bin/resolve"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/reusify": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",+ "dev": true,+ "engines": {+ "iojs": ">=1.0.0",+ "node": ">=0.10.0"+ }+ },+ "node_modules/rollup": {+ "version": "3.19.1",+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.19.1.tgz",+ "integrity": "sha512-lAbrdN7neYCg/8WaoWn/ckzCtz+jr70GFfYdlf50OF7387HTg+wiuiqJRFYawwSPpqfqDNYqK7smY/ks2iAudg==",+ "dev": true,+ "bin": {+ "rollup": "dist/bin/rollup"+ },+ "engines": {+ "node": ">=14.18.0",+ "npm": ">=8.0.0"+ },+ "optionalDependencies": {+ "fsevents": "~2.3.2"+ }+ },+ "node_modules/run-parallel": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",+ "dev": true,+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "dependencies": {+ "queue-microtask": "^1.2.2"+ }+ },+ "node_modules/source-map-js": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",+ "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",+ "dev": true,+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/supports-preserve-symlinks-flag": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",+ "dev": true,+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/tailwindcss": {+ "version": "3.2.7",+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.2.7.tgz",+ "integrity": "sha512-B6DLqJzc21x7wntlH/GsZwEXTBttVSl1FtCzC8WP4oBc/NKef7kaax5jeihkkCEWc831/5NDJ9gRNDK6NEioQQ==",+ "dev": true,+ "dependencies": {+ "arg": "^5.0.2",+ "chokidar": "^3.5.3",+ "color-name": "^1.1.4",+ "detective": "^5.2.1",+ "didyoumean": "^1.2.2",+ "dlv": "^1.1.3",+ "fast-glob": "^3.2.12",+ "glob-parent": "^6.0.2",+ "is-glob": "^4.0.3",+ "lilconfig": "^2.0.6",+ "micromatch": "^4.0.5",+ "normalize-path": "^3.0.0",+ "object-hash": "^3.0.0",+ "picocolors": "^1.0.0",+ "postcss": "^8.0.9",+ "postcss-import": "^14.1.0",+ "postcss-js": "^4.0.0",+ "postcss-load-config": "^3.1.4",+ "postcss-nested": "6.0.0",+ "postcss-selector-parser": "^6.0.11",+ "postcss-value-parser": "^4.2.0",+ "quick-lru": "^5.1.1",+ "resolve": "^1.22.1"+ },+ "bin": {+ "tailwind": "lib/cli.js",+ "tailwindcss": "lib/cli.js"+ },+ "engines": {+ "node": ">=12.13.0"+ },+ "peerDependencies": {+ "postcss": "^8.0.9"+ }+ },+ "node_modules/to-regex-range": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",+ "dev": true,+ "dependencies": {+ "is-number": "^7.0.0"+ },+ "engines": {+ "node": ">=8.0"+ }+ },+ "node_modules/update-browserslist-db": {+ "version": "1.0.10",+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz",+ "integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==",+ "dev": true,+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/browserslist"+ }+ ],+ "dependencies": {+ "escalade": "^3.1.1",+ "picocolors": "^1.0.0"+ },+ "bin": {+ "browserslist-lint": "cli.js"+ },+ "peerDependencies": {+ "browserslist": ">= 4.21.0"+ }+ },+ "node_modules/util-deprecate": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",+ "dev": true+ },+ "node_modules/vite": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/vite/-/vite-4.2.0.tgz",+ "integrity": "sha512-AbDTyzzwuKoRtMIRLGNxhLRuv1FpRgdIw+1y6AQG73Q5+vtecmvzKo/yk8X/vrHDpETRTx01ABijqUHIzBXi0g==",+ "dev": true,+ "dependencies": {+ "esbuild": "^0.17.5",+ "postcss": "^8.4.21",+ "resolve": "^1.22.1",+ "rollup": "^3.18.0"+ },+ "bin": {+ "vite": "bin/vite.js"+ },+ "engines": {+ "node": "^14.18.0 || >=16.0.0"+ },+ "optionalDependencies": {+ "fsevents": "~2.3.2"+ },+ "peerDependencies": {+ "@types/node": ">= 14",+ "less": "*",+ "sass": "*",+ "stylus": "*",+ "sugarss": "*",+ "terser": "^5.4.0"+ },+ "peerDependenciesMeta": {+ "@types/node": {+ "optional": true+ },+ "less": {+ "optional": true+ },+ "sass": {+ "optional": true+ },+ "stylus": {+ "optional": true+ },+ "sugarss": {+ "optional": true+ },+ "terser": {+ "optional": true+ }+ }+ },+ "node_modules/vite-plugin-full-reload": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/vite-plugin-full-reload/-/vite-plugin-full-reload-1.0.5.tgz",+ "integrity": "sha512-kVZFDFWr0DxiHn6MuDVTQf7gnWIdETGlZh0hvTiMXzRN80vgF4PKbONSq8U1d0WtHsKaFODTQgJeakLacoPZEQ==",+ "dev": true,+ "dependencies": {+ "picocolors": "^1.0.0",+ "picomatch": "^2.3.1"+ },+ "peerDependencies": {+ "vite": "^2 || ^3 || ^4"+ }+ },+ "node_modules/xtend": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",+ "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",+ "dev": true,+ "engines": {+ "node": ">=0.4"+ }+ },+ "node_modules/yaml": {+ "version": "1.10.2",+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",+ "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",+ "dev": true,+ "engines": {+ "node": ">= 6"+ }+ }+ }+}diff --git a/package.json b/package.jsonindex ac4ede7361..766187be75 100644--- a/package.json+++ b/package.json@@ -1,53 +1,15 @@{- "name": "coolify",- "description": "An open-source & self-hostable Heroku / Netlify alternative.",- "version": "3.12.28",- "license": "Apache-2.0",- "repository": "github:coollabsio/coolify",- "scripts": {- "oc": "opencollective-setup",- "translate": "pnpm run --filter i18n-converter translate",- "db:studio": "pnpm run --filter api db:studio",- "db:studio-trpc": "pnpm run --filter server db:studio",- "db:studio:container": "docker exec coolify pnpm run --filter api db:studio",- "db:push": "pnpm run --filter api db:push",- "db:push-trpc": "pnpm run --filter server db:push",- "db:seed": "pnpm run --filter api db:seed",- "db:migrate": "pnpm run --filter api db:migrate",- "db:migrate:container": "docker exec coolify pnpm run --filter api db:migrate",- "format": "run-p -l -n format:*",- "format:api": "NODE_ENV=development pnpm run --filter api format",- "lint": "run-p -l -n lint:*",- "lint:api": "NODE_ENV=development pnpm run --filter api lint",- "dev:container": "docker-compose -f docker-compose-dev.yaml up --build || docker compose -f docker-compose-dev.yaml up --build",- "dev-trpc": "NODE_ENV=development run-p -l -n dev:server dev:client",- "dev": "run-p -l -n dev:api dev:ui",- "dev:api": "NODE_ENV=development pnpm run --filter api dev",- "dev:server": "NODE_ENV=development pnpm run --filter server dev",- "dev:client": "NODE_ENV=development pnpm run --filter client dev",- "dev:ui": "NODE_ENV=development pnpm run --filter ui dev",- "build-trpc": "NODE_ENV=production pnpm run --filter server build && pnpm run --filter client build && cp ./apps/server/package.json build/ && cd build/ && pnpm install -p .",- "start-trpc": "NODE_ENV=production node build/index.js",- "build": "NODE_ENV=production run-p -n build:*",- "build:api": "NODE_ENV=production pnpm run --filter api build",- "build:ui": "NODE_ENV=production pnpm run --filter ui build",- "dockerlogin": "echo $DOCKER_PASS | docker login --username=$DOCKER_USER --password-stdin",- "release:staging:amd": "docker build -t ghcr.io/coollabsio/coolify:next . && docker push ghcr.io/coollabsio/coolify:next",- "release:local": "rm -fr ./local-serve && mkdir ./local-serve && pnpm build && cp -Rp apps/api/build/* ./local-serve && cp -Rp apps/ui/build/ ./local-serve/public && cp -Rp apps/api/prisma/ ./local-serve/prisma && cp -Rp apps/api/package.json ./local-serve && env | grep '^COOLIFY_' > ./local-serve/.env && cd ./local-serve && pnpm install . && pnpm start"- },- "devDependencies": {- "cross-var": "1.1.0",- "npm-run-all": "4.1.5",- "opencollective-setup": "1.4.1"- },- "keywords": [- "docker",- "self-host",- "iaas",- "paas",- "heroku",- "netlify",- "open-source",- "coolify"- ]+ "private": true,+ "scripts": {+ "dev": "vite",+ "build": "vite build"+ },+ "devDependencies": {+ "autoprefixer": "^10.4.14",+ "axios": "^1.1.2",+ "laravel-vite-plugin": "^0.7.2",+ "postcss": "^8.4.21",+ "tailwindcss": "^3.2.7",+ "vite": "^4.0.0"+ }}diff --git a/phpunit.xml b/phpunit.xmlnew file mode 100644index 0000000000..eb13aff197--- /dev/null+++ b/phpunit.xml@@ -0,0 +1,31 @@+<?xml version="1.0" encoding="UTF-8"?>+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"+ xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"+ bootstrap="vendor/autoload.php"+ colors="true"+>+ <testsuites>+ <testsuite name="Unit">+ <directory suffix="Test.php">./tests/Unit</directory>+ </testsuite>+ <testsuite name="Feature">+ <directory suffix="Test.php">./tests/Feature</directory>+ </testsuite>+ </testsuites>+ <coverage>+ <include>+ <directory suffix=".php">./app</directory>+ </include>+ </coverage>+ <php>+ <env name="APP_ENV" value="testing"/>+ <env name="BCRYPT_ROUNDS" value="4"/>+ <env name="CACHE_DRIVER" value="array"/>+ <!-- <env name="DB_CONNECTION" value="sqlite"/> -->+ <!-- <env name="DB_DATABASE" value=":memory:"/> -->+ <env name="MAIL_MAILER" value="array"/>+ <env name="QUEUE_CONNECTION" value="sync"/>+ <env name="SESSION_DRIVER" value="array"/>+ <env name="TELESCOPE_ENABLED" value="false"/>+ </php>+</phpunit>diff --git a/pnpm-lock.yaml b/pnpm-lock.yamldeleted file mode 100644index 1c199b79d6..0000000000--- a/pnpm-lock.yaml+++ /dev/null@@ -1,6770 +0,0 @@-lockfileVersion: 5.4--importers:-- .:- specifiers:- cross-var: 1.1.0- npm-run-all: 4.1.5- opencollective-setup: 1.4.1- devDependencies:- cross-var: 1.1.0- npm-run-all: 4.1.5- opencollective-setup: 1.4.1-- apps/api:- specifiers:- '@breejs/ts-worker': 2.0.0- '@fastify/autoload': 5.7.0- '@fastify/cookie': 8.3.0- '@fastify/cors': 8.2.0- '@fastify/env': 4.2.0- '@fastify/jwt': 6.5.0- '@fastify/multipart': 7.4.1- '@fastify/static': 6.6.0- '@iarna/toml': 2.2.5- '@ladjs/graceful': 3.2.1- '@prisma/client': 4.8.1- '@sentry/node': 7.30.0- '@sentry/tracing': 7.30.0- '@types/node': 18.11.18- '@types/node-os-utils': 1.3.0- '@typescript-eslint/eslint-plugin': 5.48.1- '@typescript-eslint/parser': 5.48.1- axe: 11.2.1- bcryptjs: 2.4.3- bree: 9.1.3- cabin: 11.1.1- compare-versions: 5.0.1- csv-parse: 5.3.3- csvtojson: 2.0.10- cuid: 2.1.8- dayjs: 1.11.7- dockerode: 3.3.4- dotenv-extended: 2.9.0- esbuild: 0.16.16- eslint: 8.31.0- eslint-config-prettier: 8.6.0- eslint-plugin-prettier: 4.2.1- execa: 6.1.0- fastify: 4.11.0- fastify-plugin: 4.3.0- fastify-socket.io: 4.0.0- generate-password: 1.7.0- got: 12.5.3- is-ip: 5.0.0- is-port-reachable: 4.0.0- js-yaml: 4.1.0- jsonwebtoken: 9.0.0- minimist: ^1.2.7- node-forge: 1.3.1- node-os-utils: 1.3.7- nodemon: 2.0.20- p-all: 4.0.0- p-throttle: 5.0.0- prettier: 2.8.2- prisma: 4.8.1- public-ip: 6.0.1- pump: 3.0.0- rimraf: 3.0.2- shell-quote: ^1.7.4- socket.io: 4.5.4- ssh-config: 4.2.0- strip-ansi: 7.0.1- tsconfig-paths: 4.1.2- types-fastify-socket.io: 0.0.1- typescript: 4.9.4- unique-names-generator: 4.7.1- dependencies:- '@breejs/ts-worker': 2.0.0_tb2zv7uvvsbdrpzpw5lxnvx3z4- '@fastify/autoload': 5.7.0- '@fastify/cookie': 8.3.0- '@fastify/cors': 8.2.0- '@fastify/env': 4.2.0- '@fastify/jwt': 6.5.0- '@fastify/multipart': 7.4.1- '@fastify/static': 6.6.0- '@iarna/toml': 2.2.5- '@ladjs/graceful': 3.2.1- '@prisma/client': [email protected]- '@sentry/node': 7.30.0- '@sentry/tracing': 7.30.0- axe: 11.2.1- bcryptjs: 2.4.3- bree: 9.1.3- cabin: [email protected]- compare-versions: 5.0.1- csv-parse: 5.3.3- csvtojson: 2.0.10- cuid: 2.1.8- dayjs: 1.11.7- dockerode: 3.3.4- dotenv-extended: 2.9.0- execa: 6.1.0- fastify: 4.11.0- fastify-plugin: 4.3.0- fastify-socket.io: [email protected]- generate-password: 1.7.0- got: 12.5.3- is-ip: 5.0.0- is-port-reachable: 4.0.0- js-yaml: 4.1.0- jsonwebtoken: 9.0.0- minimist: 1.2.7- node-forge: 1.3.1- node-os-utils: 1.3.7- p-all: 4.0.0- p-throttle: 5.0.0- prisma: 4.8.1- public-ip: 6.0.1- pump: 3.0.0- shell-quote: 1.7.4- socket.io: 4.5.4- ssh-config: 4.2.0- strip-ansi: 7.0.1- unique-names-generator: 4.7.1- devDependencies:- '@types/node': 18.11.18- '@types/node-os-utils': 1.3.0- '@typescript-eslint/eslint-plugin': 5.48.1_3jon24igvnqaqexgwtxk6nkpse- '@typescript-eslint/parser': 5.48.1_iukboom6ndih5an6iafl45j2fe- esbuild: 0.16.16- eslint: 8.31.0- eslint-config-prettier: [email protected]- eslint-plugin-prettier: 4.2.1_iu5s7nk6dw7o3tajefwfiqfmge- nodemon: 2.0.20- prettier: 2.8.2- rimraf: 3.0.2- tsconfig-paths: 4.1.2- types-fastify-socket.io: 0.0.1- typescript: 4.9.4-- apps/ui:- specifiers:- '@floating-ui/dom': 1.0.6- '@playwright/test': 1.28.0- '@popperjs/core': 2.11.6- '@sentry/svelte': 7.21.1- '@sentry/tracing': 7.21.1- '@sveltejs/adapter-static': 1.0.0-next.48- '@sveltejs/kit': 1.0.0-next.405- '@tailwindcss/typography': 0.5.8- '@types/js-cookie': 3.0.2- '@typescript-eslint/eslint-plugin': 5.44.0- '@typescript-eslint/parser': 5.44.0- autoprefixer: 10.4.13- classnames: 2.3.2- cuid: 2.1.8- daisyui: 2.41.0- dayjs: 1.11.6- eslint: 8.28.0- eslint-config-prettier: 8.5.0- eslint-plugin-svelte3: 4.0.0- flowbite: 1.5.4- flowbite-svelte: 0.28.0- js-cookie: 3.0.1- js-yaml: 4.1.0- p-limit: 4.0.0- postcss: 8.4.19- prettier: 2.7.1- prettier-plugin-svelte: 2.8.1- socket.io-client: 4.5.3- svelte: 3.53.1- svelte-check: 2.9.2- svelte-preprocess: 4.10.7- svelte-select: 4.4.7- sveltekit-i18n: 2.2.2- tailwindcss: 3.2.4- tailwindcss-scrollbar: 0.1.0- tslib: 2.4.1- typescript: 4.9.3- vite: 3.2.4- dependencies:- '@sentry/svelte': [email protected]- '@sentry/tracing': 7.21.1- '@sveltejs/adapter-static': 1.0.0-next.48- '@tailwindcss/typography': [email protected]- cuid: 2.1.8- daisyui: 2.41.0_2lwn2upnx27dqeg6hqdu7sq75m- dayjs: 1.11.6- js-cookie: 3.0.1- js-yaml: 4.1.0- p-limit: 4.0.0- socket.io-client: 4.5.3- svelte-select: 4.4.7- sveltekit-i18n: [email protected]- devDependencies:- '@floating-ui/dom': 1.0.6- '@playwright/test': 1.28.0- '@popperjs/core': 2.11.6- '@sveltejs/kit': [email protected][email protected]- '@types/js-cookie': 3.0.2- '@typescript-eslint/eslint-plugin': 5.44.0_fnsv2sbzcckq65bwfk7a5xwslu- '@typescript-eslint/parser': 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a- autoprefixer: [email protected]- classnames: 2.3.2- eslint: 8.28.0- eslint-config-prettier: [email protected]- eslint-plugin-svelte3: 4.0.0_xgu65rlhscpnxffotiaicv6m5i- flowbite: 1.5.4- flowbite-svelte: 0.28.0- postcss: 8.4.19- prettier: 2.7.1- prettier-plugin-svelte: 2.8.1_nryolsexf6k3znhuh4uzpugsem- svelte: 3.53.1- svelte-check: 2.9.2_mocwzvuqzrhb37u7s4hjvvzl3i- svelte-preprocess: 4.10.7_mvbmsfnr3ibpjsbee6imjcb33m- tailwindcss: [email protected]- tailwindcss-scrollbar: [email protected]- tslib: 2.4.1- typescript: 4.9.3- vite: 3.2.4--packages:-- /@babel/code-frame/7.18.6:- resolution: {integrity: sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==}- engines: {node: '>=6.9.0'}- dependencies:- '@babel/highlight': 7.18.6- dev: false-- /@babel/helper-validator-identifier/7.19.1:- resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==}- engines: {node: '>=6.9.0'}- dev: false-- /@babel/highlight/7.18.6:- resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==}- engines: {node: '>=6.9.0'}- dependencies:- '@babel/helper-validator-identifier': 7.19.1- chalk: 2.4.2- js-tokens: 4.0.0- dev: false-- /@babel/runtime/7.18.3:- resolution: {integrity: sha512-38Y8f7YUhce/K7RMwTp7m0uCumpv9hZkitCbBClqQIow1qSbCvGkcegKOXpEWCQLfWmevgRiWokZ1GkpfhbZug==}- engines: {node: '>=6.9.0'}- dependencies:- regenerator-runtime: 0.13.9- dev: false-- /@balena/dockerignore/1.0.2:- resolution: {integrity: sha512-wMue2Sy4GAVTk6Ic4tJVcnfdau+gx2EnG7S+uAEe+TWJFqE4YoWN4/H8MSLj4eYJKxGg26lZwboEniNiNwZQ6Q==}- dev: false-- /@breejs/later/4.1.0:- resolution: {integrity: sha512-QgGnZ9b7o4k0Ai1ZbTJWwZpZcFK9d+Gb+DyNt4UT9x6IEIs5HVu0iIlmgzGqN+t9MoJSpSPo9S/Mm51UtHr3JA==}- engines: {node: '>= 10'}- dev: false-- /@breejs/ts-worker/2.0.0_tb2zv7uvvsbdrpzpw5lxnvx3z4:- resolution: {integrity: sha512-6anHRcmgYlF7mrm/YVRn6rx2cegLuiY3VBxkkimOTWC/dVQeH336imVSuIKEGKTwiuNTPr2hswVdDSneNuXg3A==}- engines: {node: '>= 12.11'}- peerDependencies:- bree: '>=9.0.0'- tsconfig-paths: '>= 4'- dependencies:- bree: 9.1.3- ts-node: 10.8.2_awa2wsr5thmg3i7jqycphctjfq- tsconfig-paths: 4.1.2- transitivePeerDependencies:- - '@swc/core'- - '@swc/wasm'- - '@types/node'- - typescript- dev: false-- /@cspotcode/source-map-support/0.8.1:- resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}- engines: {node: '>=12'}- dependencies:- '@jridgewell/trace-mapping': 0.3.9- dev: false-- /@esbuild/android-arm/0.15.15:- resolution: {integrity: sha512-JJjZjJi2eBL01QJuWjfCdZxcIgot+VoK6Fq7eKF9w4YHm9hwl7nhBR1o2Wnt/WcANk5l9SkpvrldW1PLuXxcbw==}- engines: {node: '>=12'}- cpu: [arm]- os: [android]- requiresBuild: true- dev: true- optional: true-- /@esbuild/android-arm/0.16.16:- resolution: {integrity: sha512-BUuWMlt4WSXod1HSl7aGK8fJOsi+Tab/M0IDK1V1/GstzoOpqc/v3DqmN8MkuapPKQ9Br1WtLAN4uEgWR8x64A==}- engines: {node: '>=12'}- cpu: [arm]- os: [android]- requiresBuild: true- dev: true- optional: true-- /@esbuild/android-arm64/0.16.16:- resolution: {integrity: sha512-hFHVAzUKp9Tf8psGq+bDVv+6hTy1bAOoV/jJMUWwhUnIHsh6WbFMhw0ZTkqDuh7TdpffFoHOiIOIxmHc7oYRBQ==}- engines: {node: '>=12'}- cpu: [arm64]- os: [android]- requiresBuild: true- dev: true- optional: true-- /@esbuild/android-x64/0.16.16:- resolution: {integrity: sha512-9WhxJpeb6XumlfivldxqmkJepEcELekmSw3NkGrs+Edq6sS5KRxtUBQuKYDD7KqP59dDkxVbaoPIQFKWQG0KLg==}- engines: {node: '>=12'}- cpu: [x64]- os: [android]- requiresBuild: true- dev: true- optional: true-- /@esbuild/darwin-arm64/0.16.16:- resolution: {integrity: sha512-8Z+wld+vr/prHPi2O0X7o1zQOfMbXWGAw9hT0jEyU/l/Yrg+0Z3FO9pjPho72dVkZs4ewZk0bDOFLdZHm8jEfw==}- engines: {node: '>=12'}- cpu: [arm64]- os: [darwin]- requiresBuild: true- dev: true- optional: true-- /@esbuild/darwin-x64/0.16.16:- resolution: {integrity: sha512-CYkxVvkZzGCqFrt7EgjFxQKhlUPyDkuR9P0Y5wEcmJqVI8ncerOIY5Kej52MhZyzOBXkYrJgZeVZC9xXXoEg9A==}- engines: {node: '>=12'}- cpu: [x64]- os: [darwin]- requiresBuild: true- dev: true- optional: true-- /@esbuild/freebsd-arm64/0.16.16:- resolution: {integrity: sha512-fxrw4BYqQ39z/3Ja9xj/a1gMsVq0xEjhSyI4a9MjfvDDD8fUV8IYliac96i7tzZc3+VytyXX+XNsnpEk5sw5Wg==}- engines: {node: '>=12'}- cpu: [arm64]- os: [freebsd]- requiresBuild: true- dev: true- optional: true-- /@esbuild/freebsd-x64/0.16.16:- resolution: {integrity: sha512-8p3v1D+du2jiDvSoNVimHhj7leSfST9YlKsAEO7etBfuqjaBMndo0fmjNLp0JCMld+XIx9L80tooOkyUv1a1PQ==}- engines: {node: '>=12'}- cpu: [x64]- os: [freebsd]- requiresBuild: true- dev: true- optional: true-- /@esbuild/linux-arm/0.16.16:- resolution: {integrity: sha512-bYaocE1/PTMRmkgSckZ0D0Xn2nox8v2qlk+MVVqm+VECNKDdZvghVZtH41dNtBbwADSvA6qkCHGYeWm9LrNCBw==}- engines: {node: '>=12'}- cpu: [arm]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /@esbuild/linux-arm64/0.16.16:- resolution: {integrity: sha512-N3u6BBbCVY3xeP2D8Db7QY8I+nZ+2AgOopUIqk+5yCoLnsWkcVxD2ay5E9iIdvApFi1Vg1lZiiwaVp8bOpAc4A==}- engines: {node: '>=12'}- cpu: [arm64]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /@esbuild/linux-ia32/0.16.16:- resolution: {integrity: sha512-dxjqLKUW8GqGemoRT9v8IgHk+T4tRm1rn1gUcArsp26W9EkK/27VSjBVUXhEG5NInHZ92JaQ3SSMdTwv/r9a2A==}- engines: {node: '>=12'}- cpu: [ia32]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /@esbuild/linux-loong64/0.15.15:- resolution: {integrity: sha512-lhz6UNPMDXUhtXSulw8XlFAtSYO26WmHQnCi2Lg2p+/TMiJKNLtZCYUxV4wG6rZMzXmr8InGpNwk+DLT2Hm0PA==}- engines: {node: '>=12'}- cpu: [loong64]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /@esbuild/linux-loong64/0.16.16:- resolution: {integrity: sha512-MdUFggHjRiCCwNE9+1AibewoNq6wf94GLB9Q9aXwl+a75UlRmbRK3h6WJyrSGA6ZstDJgaD2wiTSP7tQNUYxwA==}- engines: {node: '>=12'}- cpu: [loong64]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /@esbuild/linux-mips64el/0.16.16:- resolution: {integrity: sha512-CO3YmO7jYMlGqGoeFeKzdwx/bx8Vtq/SZaMAi+ZLDUnDUdfC7GmGwXzIwDJ70Sg+P9pAemjJyJ1icKJ9R3q/Fg==}- engines: {node: '>=12'}- cpu: [mips64el]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /@esbuild/linux-ppc64/0.16.16:- resolution: {integrity: sha512-DSl5Czh5hCy/7azX0Wl9IdzPHX2H8clC6G87tBnZnzUpNgRxPFhfmArbaHoAysu4JfqCqbB/33u/GL9dUgCBAw==}- engines: {node: '>=12'}- cpu: [ppc64]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /@esbuild/linux-riscv64/0.16.16:- resolution: {integrity: sha512-sSVVMEXsqf1fQu0j7kkhXMViroixU5XoaJXl1u/u+jbXvvhhCt9YvA/B6VM3aM/77HuRQ94neS5bcisijGnKFQ==}- engines: {node: '>=12'}- cpu: [riscv64]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /@esbuild/linux-s390x/0.16.16:- resolution: {integrity: sha512-jRqBCre9gZGoCdCN/UWCCMwCMsOg65IpY9Pyj56mKCF5zXy9d60kkNRdDN6YXGjr3rzcC4DXnS/kQVCGcC4yPQ==}- engines: {node: '>=12'}- cpu: [s390x]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /@esbuild/linux-x64/0.16.16:- resolution: {integrity: sha512-G1+09TopOzo59/55lk5Q0UokghYLyHTKKzD5lXsAOOlGDbieGEFJpJBr3BLDbf7cz89KX04sBeExAR/pL/26sA==}- engines: {node: '>=12'}- cpu: [x64]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /@esbuild/netbsd-x64/0.16.16:- resolution: {integrity: sha512-xwjGJB5wwDEujLaJIrSMRqWkbigALpBNcsF9SqszoNKc+wY4kPTdKrSxiY5ik3IatojePP+WV108MvF6q6np4w==}- engines: {node: '>=12'}- cpu: [x64]- os: [netbsd]- requiresBuild: true- dev: true- optional: true-- /@esbuild/openbsd-x64/0.16.16:- resolution: {integrity: sha512-yeERkoxG2nR2oxO5n+Ms7MsCeNk23zrby2GXCqnfCpPp7KNc0vxaaacIxb21wPMfXXRhGBrNP4YLIupUBrWdlg==}- engines: {node: '>=12'}- cpu: [x64]- os: [openbsd]- requiresBuild: true- dev: true- optional: true-- /@esbuild/sunos-x64/0.16.16:- resolution: {integrity: sha512-nHfbEym0IObXPhtX6Va3H5GaKBty2kdhlAhKmyCj9u255ktAj0b1YACUs9j5H88NRn9cJCthD1Ik/k9wn8YKVg==}- engines: {node: '>=12'}- cpu: [x64]- os: [sunos]- requiresBuild: true- dev: true- optional: true-- /@esbuild/win32-arm64/0.16.16:- resolution: {integrity: sha512-pdD+M1ZOFy4hE15ZyPX09fd5g4DqbbL1wXGY90YmleVS6Y5YlraW4BvHjim/X/4yuCpTsAFvsT4Nca2lbyDH/A==}- engines: {node: '>=12'}- cpu: [arm64]- os: [win32]- requiresBuild: true- dev: true- optional: true-- /@esbuild/win32-ia32/0.16.16:- resolution: {integrity: sha512-IPEMfU9p0c3Vb8PqxaPX6BM9rYwlTZGYOf9u+kMdhoILZkVKEjq6PKZO0lB+isojWwAnAqh4ZxshD96njTXajg==}- engines: {node: '>=12'}- cpu: [ia32]- os: [win32]- requiresBuild: true- dev: true- optional: true-- /@esbuild/win32-x64/0.16.16:- resolution: {integrity: sha512-1YYpoJ39WV/2bnShPwgdzJklc+XS0bysN6Tpnt1cWPdeoKOG4RMEY1g7i534QxXX/rPvNx/NLJQTTCeORYzipg==}- engines: {node: '>=12'}- cpu: [x64]- os: [win32]- requiresBuild: true- dev: true- optional: true-- /@eslint/eslintrc/1.3.3:- resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dependencies:- ajv: 6.12.6- debug: 4.3.4- espree: 9.4.0- globals: 13.19.0- ignore: 5.2.0- import-fresh: 3.3.0- js-yaml: 4.1.0- minimatch: 3.1.2- strip-json-comments: 3.1.1- transitivePeerDependencies:- - supports-color- dev: true-- /@eslint/eslintrc/1.4.1:- resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dependencies:- ajv: 6.12.6- debug: 4.3.4- espree: 9.4.0- globals: 13.19.0- ignore: 5.2.0- import-fresh: 3.3.0- js-yaml: 4.1.0- minimatch: 3.1.2- strip-json-comments: 3.1.1- transitivePeerDependencies:- - supports-color- dev: true-- /@fastify/accept-negotiator/1.0.0:- resolution: {integrity: sha512-4R/N2KfYeld7A5LGkai+iUFMahXcxxYbDp+XS2B1yuL3cdmZLJ9TlCnNzT3q5xFTqsYm0GPpinLUwfSwjcVjyA==}- engines: {node: '>=14'}- dev: false-- /@fastify/ajv-compiler/3.3.1:- resolution: {integrity: sha512-IRnids8lblQ8e1i8h4JLyfJmebXE+ohcj8x8X/+Ew6ZB4H0Ui05z5YL6q5FOcl0zItVpu4adRzeyVNNUwmduIg==}- dependencies:- ajv: 8.11.0- ajv-formats: 2.1.1- fast-uri: 2.1.0- dev: false-- /@fastify/autoload/5.7.0:- resolution: {integrity: sha512-RQ3g5zZnvdhq7yQJAPJq+D73lg/ZFZoPriaQ3Ul0BiJKAZhtLZSefll/kxgwEj0/rp705OUwvQMQTLgXBBMdGQ==}- dependencies:- pkg-up: 3.1.0- dev: false-- /@fastify/busboy/1.1.0:- resolution: {integrity: sha512-Fv854f94v0CzIDllbY3i/0NJPNBRNLDawf3BTYVGCe9VrIIs3Wi7AFx24F9NzCxdf0wyx/x0Q9kEVnvDOPnlxA==}- engines: {node: '>=10.17.0'}- dependencies:- text-decoding: 1.0.0- dev: false-- /@fastify/cookie/8.3.0:- resolution: {integrity: sha512-P9hY9GO11L20TnZ33XN3i0bt+3x0zaT7S0ohAzWO950E9PB2xnNhLYzPFJIGFi5AVN0yr5+/iZhWxeYvR6KCzg==}- dependencies:- cookie: 0.5.0- fastify-plugin: 4.3.0- dev: false-- /@fastify/cors/8.2.0:- resolution: {integrity: sha512-qDgwpmg6C4D0D3nh8MTMuRXWyEwPnDZDBODaJv90FP2o9ukbahJByW4FtrM5Bpod5KbTf1oIExBmpItbUTQmHg==}- dependencies:- fastify-plugin: 4.4.0- mnemonist: 0.39.5- dev: false-- /@fastify/deepmerge/1.1.0:- resolution: {integrity: sha512-E8Hfdvs1bG6u0N4vN5Nty6JONUfTdOciyD5rn8KnEsLKIenvOVcr210BQR9t34PRkNyjqnMLGk3e0BsaxRdL+g==}- dev: false-- /@fastify/env/4.2.0:- resolution: {integrity: sha512-sj1ehQZPD6tty+6bhzZw1uS2K2s6eOB46maJ2fE+AuTYxdHKVVW/AHXqCYGu3nH9kgzdXsheu3/148ZoBeoQOw==}- dependencies:- env-schema: 5.0.0- fastify-plugin: 4.4.0- dev: false-- /@fastify/error/3.0.0:- resolution: {integrity: sha512-dPRyT40GiHRzSCll3/Jn2nPe25+E1VXc9tDwRAIKwFCxd5Np5wzgz1tmooWG3sV0qKgrBibihVoCna2ru4SEFg==}- dev: false-- /@fastify/fast-json-stringify-compiler/4.1.0:- resolution: {integrity: sha512-cTKBV2J9+u6VaKDhX7HepSfPSzw+F+TSd+k0wzifj4rG+4E5PjSFJCk19P8R6tr/72cuzgGd+mbB3jFT6lvAgw==}- dependencies:- fast-json-stringify: 5.0.5- dev: false-- /@fastify/jwt/6.5.0:- resolution: {integrity: sha512-5fR5bRXuWurP56gy/owng3BS/3e9vA0mON1XCGLsznvsudLZUdiPaK0R8Bl5gVwFAW75iFkNOp8qgnw26Csjrw==}- dependencies:- '@fastify/error': 3.0.0- '@lukeed/ms': 2.0.0- fast-jwt: 2.0.2- fastify-plugin: 4.4.0- steed: 1.1.3- dev: false-- /@fastify/multipart/7.4.1:- resolution: {integrity: sha512-PgBJIg/1krx1nWIXGZSUFQMPHXeFv559TmpaswzmNkK6V/yn1xi4nkATqBetv7s5XbXhxzc75uaJgXWdUefxvQ==}- dependencies:- '@fastify/busboy': 1.1.0- '@fastify/deepmerge': 1.1.0- '@fastify/error': 3.0.0- end-of-stream: 1.4.4- fastify-plugin: 4.4.0- hexoid: 1.0.0- secure-json-parse: 2.5.0- stream-wormhole: 1.1.0- dev: false-- /@fastify/static/6.6.0:- resolution: {integrity: sha512-UiYSN2dUmDZ48M40xdIwY1dPwSSYD7c+wtoIQP8y7wyxCwcUtf1YT5/Q4n1uJsBF1fySvuo9njQZKlHeiKy4HQ==}- dependencies:- '@fastify/accept-negotiator': 1.0.0- content-disposition: 0.5.4- fastify-plugin: 4.4.0- glob: 8.0.3- p-limit: 3.1.0- readable-stream: 4.1.0- send: 0.18.0- transitivePeerDependencies:- - supports-color- dev: false-- /@floating-ui/core/1.0.2:- resolution: {integrity: sha512-Skfy0YS3NJ5nV9us0uuPN0HDk1Q4edljaOhRBJGDWs9EBa7ZVMYBHRFlhLvvmwEoaIM9BlH6QJFn9/uZg0bACg==}- dev: true-- /@floating-ui/dom/1.0.6:- resolution: {integrity: sha512-kt/tg1oip9OAH1xjCTcx1OpcUpu9rjDw3GKJ/rEhUqhO7QyJWfrHU0DpLTNsH67+JyFL5Kv9X1utsXwKFVtyEQ==}- dependencies:- '@floating-ui/core': 1.0.2- dev: true-- /@humanwhocodes/config-array/0.11.6:- resolution: {integrity: sha512-jJr+hPTJYKyDILJfhNSHsjiwXYf26Flsz8DvNndOsHs5pwSnpGUEy8yzF0JYhCEvTDdV2vuOK5tt8BVhwO5/hg==}- engines: {node: '>=10.10.0'}- dependencies:- '@humanwhocodes/object-schema': 1.2.1- debug: 4.3.4- minimatch: 3.1.2- transitivePeerDependencies:- - supports-color- dev: true-- /@humanwhocodes/config-array/0.11.8:- resolution: {integrity: sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==}- engines: {node: '>=10.10.0'}- dependencies:- '@humanwhocodes/object-schema': 1.2.1- debug: 4.3.4- minimatch: 3.1.2- transitivePeerDependencies:- - supports-color- dev: true-- /@humanwhocodes/module-importer/1.0.1:- resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}- engines: {node: '>=12.22'}- dev: true-- /@humanwhocodes/object-schema/1.2.1:- resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}- dev: true-- /@iarna/toml/2.2.5:- resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==}- dev: false-- /@jridgewell/resolve-uri/3.0.7:- resolution: {integrity: sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==}- engines: {node: '>=6.0.0'}-- /@jridgewell/sourcemap-codec/1.4.13:- resolution: {integrity: sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==}-- /@jridgewell/trace-mapping/0.3.9:- resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==}- dependencies:- '@jridgewell/resolve-uri': 3.0.7- '@jridgewell/sourcemap-codec': 1.4.13-- /@ladjs/format-util/1.0.4:- resolution: {integrity: sha512-hZere0rUga8kTzSTFbHREXpD9E/jwi94+B5RyLAmMIzl/w/EK1z7rFEnMHzPkU4AZkL42JWSsGXoV8LXMihybg==}- dev: false-- /@ladjs/graceful/3.2.1:- resolution: {integrity: sha512-jv81FnxIwQT+nHAq7Ty7kd0ccxflk7IUYhnCbt8hfzWT3pGpkMENlMpe99Re3DO78//sHUA5V+sk+iPxwEaHYw==}- engines: {node: '>=14'}- dependencies:- lil-http-terminator: 1.2.2- p-is-promise: 3.0.0- dev: false-- /@leichtgewicht/ip-codec/2.0.4:- resolution: {integrity: sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==}- dev: false-- /@lukeed/ms/2.0.0:- resolution: {integrity: sha512-NOlhE40rGptwLwJhE0ZW259hcoa+nkpQRQ1FUKV4Sr2z1Eh2WfkHQ3jjBNF7YEqOrF0TOpqnyU1wClvWBrXByg==}- engines: {node: '>=8'}- dev: false-- /@nodelib/fs.scandir/2.1.5:- resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}- engines: {node: '>= 8'}- dependencies:- '@nodelib/fs.stat': 2.0.5- run-parallel: 1.2.0-- /@nodelib/fs.stat/2.0.5:- resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}- engines: {node: '>= 8'}-- /@nodelib/fs.walk/1.2.8:- resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}- engines: {node: '>= 8'}- dependencies:- '@nodelib/fs.scandir': 2.1.5- fastq: 1.13.0-- /@playwright/test/1.28.0:- resolution: {integrity: sha512-vrHs5DFTPwYox5SGKq/7TDn/S4q6RA1zArd7uhO6EyP9hj3XgZBBM12ktMbnDQNxh/fL1IUKsTNLxihmsU38lQ==}- engines: {node: '>=14'}- hasBin: true- dependencies:- '@types/node': 18.11.18- playwright-core: 1.28.0- dev: true-- /@popperjs/core/2.11.6:- resolution: {integrity: sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==}- dev: true-- /@prisma/client/[email protected]:- resolution: {integrity: sha512-d4xhZhETmeXK/yZ7K0KcVOzEfI5YKGGEr4F5SBV04/MU4ncN/HcE28sy3e4Yt8UFW0ZuImKFQJE+9rWt9WbGSQ==}- engines: {node: '>=14.17'}- requiresBuild: true- peerDependencies:- prisma: '*'- peerDependenciesMeta:- prisma:- optional: true- dependencies:- '@prisma/engines-version': 4.8.0-61.d6e67a83f971b175a593ccc12e15c4a757f93ffe- prisma: 4.8.1- dev: false-- /@prisma/engines-version/4.8.0-61.d6e67a83f971b175a593ccc12e15c4a757f93ffe:- resolution: {integrity: sha512-MHSOSexomRMom8QN4t7bu87wPPD+pa+hW9+71JnVcF3DqyyO/ycCLhRL1we3EojRpZxKvuyGho2REQsMCvxcJw==}- dev: false-- /@prisma/engines/4.8.1:- resolution: {integrity: sha512-93tctjNXcIS+i/e552IO6tqw17sX8liivv8WX9lDMCpEEe3ci+nT9F+1oHtAafqruXLepKF80i/D20Mm+ESlOw==}- requiresBuild: true- dev: false-- /@sentry/browser/7.21.1:- resolution: {integrity: sha512-cS2Jz2+fs9+4pJqLJPtYqGyY97ywJDWAWIR1Yla3hs1QQuH6m0Nz3ojZD1gE2eKH9mHwkGbnNAh+hHcrYrfGzw==}- engines: {node: '>=8'}- dependencies:- '@sentry/core': 7.21.1- '@sentry/types': 7.21.1- '@sentry/utils': 7.21.1- tslib: 1.14.1- dev: false-- /@sentry/core/7.21.1:- resolution: {integrity: sha512-Og5wEEsy24fNvT/T7IKjcV4EvVK5ryY2kxbJzKY6GU2eX+i+aBl+n/vp7U0Es351C/AlTkS+0NOUsp2TQQFxZA==}- engines: {node: '>=8'}- dependencies:- '@sentry/types': 7.21.1- '@sentry/utils': 7.21.1- tslib: 1.14.1- dev: false-- /@sentry/core/7.30.0:- resolution: {integrity: sha512-NeLigkBlpcK63ymM63GoIHurml6V3BUe1Vi+trwm4/qqOTzT7PQhvdJCX+o3+atzRBH+zdb6kd4VWx44Oye3KA==}- engines: {node: '>=8'}- dependencies:- '@sentry/types': 7.30.0- '@sentry/utils': 7.30.0- tslib: 1.14.1- dev: false-- /@sentry/node/7.30.0:- resolution: {integrity: sha512-YYasu6C3I0HBP4N1oc/ed2nunxhGJgtAWaKwq3lo8uk3uF6cB1A8+2e0CpjzU5ejhbaFPUBxHyj4th39Bvku/w==}- engines: {node: '>=8'}- dependencies:- '@sentry/core': 7.30.0- '@sentry/types': 7.30.0- '@sentry/utils': 7.30.0- cookie: 0.4.2- https-proxy-agent: 5.0.1- lru_map: 0.3.3- tslib: 1.14.1- transitivePeerDependencies:- - supports-color- dev: false-- /@sentry/svelte/[email protected]:- resolution: {integrity: sha512-WDb95bToY0k3rtYd0a0J5RXpj/l4X+qZfT35/fv2DF8LsvGV8w037CR3dR9O7NNRMfW5M2KZ1y4SCHJ4kXxoZA==}- engines: {node: '>=8'}- peerDependencies:- svelte: 3.x- dependencies:- '@sentry/browser': 7.21.1- '@sentry/types': 7.21.1- '@sentry/utils': 7.21.1- magic-string: 0.26.7- svelte: 3.53.1- tslib: 1.14.1- dev: false-- /@sentry/tracing/7.21.1:- resolution: {integrity: sha512-b1BTPsRaNQpohzegoz59KGuBl+To651vEq0vMS4tCzSyIdxkYso3JCrjDdEqW/2MliQYANNVrUai2bmwmU9h1g==}- engines: {node: '>=8'}- dependencies:- '@sentry/core': 7.21.1- '@sentry/types': 7.21.1- '@sentry/utils': 7.21.1- tslib: 1.14.1- dev: false-- /@sentry/tracing/7.30.0:- resolution: {integrity: sha512-bjGeDeKhpGAmLcWcrXFT/xOfHVwp/j0L1aRHzYHnqgTjVzD0NXcooPu/Nz8vF0paxz+hPD5bJwb8kz/ggJzGWQ==}- engines: {node: '>=8'}- dependencies:- '@sentry/core': 7.30.0- '@sentry/types': 7.30.0- '@sentry/utils': 7.30.0- tslib: 1.14.1- dev: false-- /@sentry/types/7.21.1:- resolution: {integrity: sha512-3/IKnd52Ol21amQvI+kz+WB76s8/LR5YvFJzMgIoI2S8d82smIr253zGijRXxHPEif8kMLX4Yt+36VzrLxg6+A==}- engines: {node: '>=8'}- dev: false-- /@sentry/types/7.30.0:- resolution: {integrity: sha512-l4A86typvt/SfWh5JffpdxNGkg5EEA8m35BzpIcKmCAQZUDmnb4b478r8jdD2uuOjLmPNmZr1tifdRW4NCLuxQ==}- engines: {node: '>=8'}- dev: false-- /@sentry/utils/7.21.1:- resolution: {integrity: sha512-F0W0AAi8tgtTx6ApZRI2S9HbXEA9ENX1phTZgdNNWcMFm1BNbc21XEwLqwXBNjub5nlA6CE8xnjXRgdZKx4kzQ==}- engines: {node: '>=8'}- dependencies:- '@sentry/types': 7.21.1- tslib: 1.14.1- dev: false-- /@sentry/utils/7.30.0:- resolution: {integrity: sha512-tSlBhr5u/LdE2emxIDTDmjmyRr99GnZGIAh5GwRxUgeDQ3VEfNUFlyFodBCbZ6yeYTYd6PWNih5xoHn1+Rf3Sw==}- engines: {node: '>=8'}- dependencies:- '@sentry/types': 7.30.0- tslib: 1.14.1- dev: false-- /@sindresorhus/is/5.3.0:- resolution: {integrity: sha512-CX6t4SYQ37lzxicAqsBtxA3OseeoVrh9cSJ5PFYam0GksYlupRfy1A+Q4aYD3zvcfECLc0zO2u+ZnR2UYKvCrw==}- engines: {node: '>=14.16'}- dev: false-- /@socket.io/component-emitter/3.1.0:- resolution: {integrity: sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==}- dev: false-- /@strikeentco/get/1.0.1:- resolution: {integrity: sha512-qPnoWkt7xxcOaUJhMveDHmj6INVKHXUEsPTGz3g4HC5XNnqRd1dDEFxL1KpG+vZ2VxmRK42EjBt5vUDr4uLzQQ==}- engines: {node: '>=6.0.0'}- dev: false-- /@strikeentco/set/1.0.2:- resolution: {integrity: sha512-jP/wGhBi70RoD2Ww2bd3Ay4nzKfyWSPL/sDgFaq2e/FXNC9a04R0M7fuDVHG/dG+WWNVj2pmE9exXn20a0AjGg==}- engines: {node: '>=6.0.0'}- dev: false-- /@sveltejs/adapter-static/1.0.0-next.48:- resolution: {integrity: sha512-Z5Z+QZOav6D0KDeU3ReksGERJg/sX1k5OKWWXyQ11OwGErEEwSXHYRUyjaBmZEPeGzpVVGwwMUK8YWJlG/MKeA==}- dev: false-- /@sveltejs/kit/[email protected][email protected]:- resolution: {integrity: sha512-jHSa74F7k+hC+0fof75g/xm/+1M5sM66Qt6v8eLLMSgjkp36Lb5xOioBhbl6w0NYoE5xysLsBWuu+yHytfvCBA==}- engines: {node: '>=16.9'}- hasBin: true- requiresBuild: true- peerDependencies:- svelte: ^3.44.0- vite: ^3.0.0- dependencies:- '@sveltejs/vite-plugin-svelte': [email protected][email protected]- chokidar: 3.5.3- sade: 1.8.1- svelte: 3.53.1- tiny-glob: 0.2.9- vite: 3.2.4- transitivePeerDependencies:- - diff-match-patch- - supports-color- dev: true-- /@sveltejs/vite-plugin-svelte/[email protected][email protected]:- resolution: {integrity: sha512-cFRfEdztubtj1c/rYh7ArK7XCfFJn6wG6+J8/e9amFsKtEJILovoBrK0/mxt1AjPQg0vaX+fHPKvhx+q8mTPaQ==}- engines: {node: ^14.18.0 || >= 16}- peerDependencies:- diff-match-patch: ^1.0.5- svelte: ^3.44.0- vite: ^3.0.0- peerDependenciesMeta:- diff-match-patch:- optional: true- dependencies:- debug: 4.3.4- deepmerge: 4.2.2- kleur: 4.1.5- magic-string: 0.26.7- svelte: 3.53.1- svelte-hmr: [email protected]- vite: 3.2.4- transitivePeerDependencies:- - supports-color- dev: true-- /@sveltekit-i18n/base/[email protected]:- resolution: {integrity: sha512-F8gqG2+KAOeT0o2wYlUrW3TRCX7zaD7rBy/1CEVNw0irfw9TgFf/ODmhubkHHT3+6Zk+SMz8RNgeuffBfAMbJw==}- peerDependencies:- svelte: ^3.x- dependencies:- svelte: 3.53.1- optionalDependencies:- '@sveltekit-i18n/parser-default': 1.0.3- dev: false-- /@sveltekit-i18n/parser-default/1.0.3:- resolution: {integrity: sha512-HheveklTjp3hxpYQhoHfyA6B4bQaUeSV5MQf2usIv/58UF2jY/YqhCAWj9bDBjufbuZc5pSz4BXvdX3WVT+viA==}- dev: false-- /@szmarczak/http-timer/5.0.1:- resolution: {integrity: sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==}- engines: {node: '>=14.16'}- dependencies:- defer-to-connect: 2.0.1- dev: false-- /@tailwindcss/typography/[email protected]:- resolution: {integrity: sha512-xGQEp8KXN8Sd8m6R4xYmwxghmswrd0cPnNI2Lc6fmrC3OojysTBJJGSIVwPV56q4t6THFUK3HJ0EaWwpglSxWw==}- peerDependencies:- tailwindcss: '>=3.0.0 || insiders'- dependencies:- lodash.castarray: 4.4.0- lodash.isplainobject: 4.0.6- lodash.merge: 4.6.2- postcss-selector-parser: 6.0.10- tailwindcss: [email protected]- dev: false-- /@tsconfig/node10/1.0.8:- resolution: {integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==}- dev: false-- /@tsconfig/node12/1.0.9:- resolution: {integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==}- dev: false-- /@tsconfig/node14/1.0.1:- resolution: {integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==}- dev: false-- /@tsconfig/node16/1.0.2:- resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==}- dev: false-- /@types/cookie/0.4.1:- resolution: {integrity: sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q==}- dev: false-- /@types/cors/2.8.12:- resolution: {integrity: sha512-vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw==}- dev: false-- /@types/http-cache-semantics/4.0.1:- resolution: {integrity: sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==}- dev: false-- /@types/js-cookie/3.0.2:- resolution: {integrity: sha512-6+0ekgfusHftJNYpihfkMu8BWdeHs9EOJuGcSofErjstGPfPGEu9yTu4t460lTzzAMl2cM5zngQJqPMHbbnvYA==}- dev: true-- /@types/json-schema/7.0.11:- resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==}- dev: true-- /@types/lodash/4.14.182:- resolution: {integrity: sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q==}- dev: false-- /@types/node-os-utils/1.3.0:- resolution: {integrity: sha512-XwVteWQx/XkfRPyaGkw8dEbrCAkoRZ73pI3XznUYIpzbCfpQB3UnDlR5TnmdhetlT889tUJGF8QWo9xrgTpsiA==}- dev: true-- /@types/node/18.11.18:- resolution: {integrity: sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==}-- /@types/normalize-package-data/2.4.1:- resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==}- dev: false-- /@types/pug/2.0.6:- resolution: {integrity: sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==}- dev: true-- /@types/sass/1.43.1:- resolution: {integrity: sha512-BPdoIt1lfJ6B7rw35ncdwBZrAssjcwzI5LByIrYs+tpXlj/CAkuVdRsgZDdP4lq5EjyWzwxZCqAoFyHKFwp32g==}- dependencies:- '@types/node': 18.11.18- dev: true-- /@types/semver/7.3.12:- resolution: {integrity: sha512-WwA1MW0++RfXmCr12xeYOOC5baSC9mSb0ZqCquFzKhcoF4TvHu5MKOuXsncgZcpVFhB1pXd5hZmM0ryAoCp12A==}- dev: true-- /@typescript-eslint/eslint-plugin/5.44.0_fnsv2sbzcckq65bwfk7a5xwslu:- resolution: {integrity: sha512-j5ULd7FmmekcyWeArx+i8x7sdRHzAtXTkmDPthE4amxZOWKFK7bomoJ4r7PJ8K7PoMzD16U8MmuZFAonr1ERvw==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- peerDependencies:- '@typescript-eslint/parser': ^5.0.0- eslint: ^6.0.0 || ^7.0.0 || ^8.0.0- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true- dependencies:- '@typescript-eslint/parser': 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a- '@typescript-eslint/scope-manager': 5.44.0- '@typescript-eslint/type-utils': 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a- '@typescript-eslint/utils': 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a- debug: 4.3.4- eslint: 8.28.0- ignore: 5.2.0- natural-compare-lite: 1.4.0- regexpp: 3.2.0- semver: 7.3.8- tsutils: [email protected]- typescript: 4.9.3- transitivePeerDependencies:- - supports-color- dev: true-- /@typescript-eslint/eslint-plugin/5.48.1_3jon24igvnqaqexgwtxk6nkpse:- resolution: {integrity: sha512-9nY5K1Rp2ppmpb9s9S2aBiF3xo5uExCehMDmYmmFqqyxgenbHJ3qbarcLt4ITgaD6r/2ypdlcFRdcuVPnks+fQ==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- peerDependencies:- '@typescript-eslint/parser': ^5.0.0- eslint: ^6.0.0 || ^7.0.0 || ^8.0.0- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true- dependencies:- '@typescript-eslint/parser': 5.48.1_iukboom6ndih5an6iafl45j2fe- '@typescript-eslint/scope-manager': 5.48.1- '@typescript-eslint/type-utils': 5.48.1_iukboom6ndih5an6iafl45j2fe- '@typescript-eslint/utils': 5.48.1_iukboom6ndih5an6iafl45j2fe- debug: 4.3.4- eslint: 8.31.0- ignore: 5.2.0- natural-compare-lite: 1.4.0- regexpp: 3.2.0- semver: 7.3.8- tsutils: [email protected]- typescript: 4.9.4- transitivePeerDependencies:- - supports-color- dev: true-- /@typescript-eslint/parser/5.44.0_hsf322ms6xhhd4b5ne6lb74y4a:- resolution: {integrity: sha512-H7LCqbZnKqkkgQHaKLGC6KUjt3pjJDx8ETDqmwncyb6PuoigYajyAwBGz08VU/l86dZWZgI4zm5k2VaKqayYyA==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- peerDependencies:- eslint: ^6.0.0 || ^7.0.0 || ^8.0.0- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true- dependencies:- '@typescript-eslint/scope-manager': 5.44.0- '@typescript-eslint/types': 5.44.0- '@typescript-eslint/typescript-estree': [email protected]- debug: 4.3.4- eslint: 8.28.0- typescript: 4.9.3- transitivePeerDependencies:- - supports-color- dev: true-- /@typescript-eslint/parser/5.48.1_iukboom6ndih5an6iafl45j2fe:- resolution: {integrity: sha512-4yg+FJR/V1M9Xoq56SF9Iygqm+r5LMXvheo6DQ7/yUWynQ4YfCRnsKuRgqH4EQ5Ya76rVwlEpw4Xu+TgWQUcdA==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- peerDependencies:- eslint: ^6.0.0 || ^7.0.0 || ^8.0.0- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true- dependencies:- '@typescript-eslint/scope-manager': 5.48.1- '@typescript-eslint/types': 5.48.1- '@typescript-eslint/typescript-estree': [email protected]- debug: 4.3.4- eslint: 8.31.0- typescript: 4.9.4- transitivePeerDependencies:- - supports-color- dev: true-- /@typescript-eslint/scope-manager/5.44.0:- resolution: {integrity: sha512-2pKml57KusI0LAhgLKae9kwWeITZ7IsZs77YxyNyIVOwQ1kToyXRaJLl+uDEXzMN5hnobKUOo2gKntK9H1YL8g==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dependencies:- '@typescript-eslint/types': 5.44.0- '@typescript-eslint/visitor-keys': 5.44.0- dev: true-- /@typescript-eslint/scope-manager/5.48.1:- resolution: {integrity: sha512-S035ueRrbxRMKvSTv9vJKIWgr86BD8s3RqoRZmsSh/s8HhIs90g6UlK8ZabUSjUZQkhVxt7nmZ63VJ9dcZhtDQ==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dependencies:- '@typescript-eslint/types': 5.48.1- '@typescript-eslint/visitor-keys': 5.48.1- dev: true-- /@typescript-eslint/type-utils/5.44.0_hsf322ms6xhhd4b5ne6lb74y4a:- resolution: {integrity: sha512-A1u0Yo5wZxkXPQ7/noGkRhV4J9opcymcr31XQtOzcc5nO/IHN2E2TPMECKWYpM3e6olWEM63fq/BaL1wEYnt/w==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- peerDependencies:- eslint: '*'- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true- dependencies:- '@typescript-eslint/typescript-estree': [email protected]- '@typescript-eslint/utils': 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a- debug: 4.3.4- eslint: 8.28.0- tsutils: [email protected]- typescript: 4.9.3- transitivePeerDependencies:- - supports-color- dev: true-- /@typescript-eslint/type-utils/5.48.1_iukboom6ndih5an6iafl45j2fe:- resolution: {integrity: sha512-Hyr8HU8Alcuva1ppmqSYtM/Gp0q4JOp1F+/JH5D1IZm/bUBrV0edoewQZiEc1r6I8L4JL21broddxK8HAcZiqQ==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- peerDependencies:- eslint: '*'- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true- dependencies:- '@typescript-eslint/typescript-estree': [email protected]- '@typescript-eslint/utils': 5.48.1_iukboom6ndih5an6iafl45j2fe- debug: 4.3.4- eslint: 8.31.0- tsutils: [email protected]- typescript: 4.9.4- transitivePeerDependencies:- - supports-color- dev: true-- /@typescript-eslint/types/5.44.0:- resolution: {integrity: sha512-Tp+zDnHmGk4qKR1l+Y1rBvpjpm5tGXX339eAlRBDg+kgZkz9Bw+pqi4dyseOZMsGuSH69fYfPJCBKBrbPCxYFQ==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dev: true-- /@typescript-eslint/types/5.48.1:- resolution: {integrity: sha512-xHyDLU6MSuEEdIlzrrAerCGS3T7AA/L8Hggd0RCYBi0w3JMvGYxlLlXHeg50JI9Tfg5MrtsfuNxbS/3zF1/ATg==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dev: true-- /@typescript-eslint/typescript-estree/[email protected]:- resolution: {integrity: sha512-M6Jr+RM7M5zeRj2maSfsZK2660HKAJawv4Ud0xT+yauyvgrsHu276VtXlKDFnEmhG+nVEd0fYZNXGoAgxwDWJw==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- peerDependencies:- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true- dependencies:- '@typescript-eslint/types': 5.44.0- '@typescript-eslint/visitor-keys': 5.44.0- debug: 4.3.4- globby: 11.1.0- is-glob: 4.0.3- semver: 7.3.8- tsutils: [email protected]- typescript: 4.9.3- transitivePeerDependencies:- - supports-color- dev: true-- /@typescript-eslint/typescript-estree/[email protected]:- resolution: {integrity: sha512-Hut+Osk5FYr+sgFh8J/FHjqX6HFcDzTlWLrFqGoK5kVUN3VBHF/QzZmAsIXCQ8T/W9nQNBTqalxi1P3LSqWnRA==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- peerDependencies:- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true- dependencies:- '@typescript-eslint/types': 5.48.1- '@typescript-eslint/visitor-keys': 5.48.1- debug: 4.3.4- globby: 11.1.0- is-glob: 4.0.3- semver: 7.3.8- tsutils: [email protected]- typescript: 4.9.4- transitivePeerDependencies:- - supports-color- dev: true-- /@typescript-eslint/utils/5.44.0_hsf322ms6xhhd4b5ne6lb74y4a:- resolution: {integrity: sha512-fMzA8LLQ189gaBjS0MZszw5HBdZgVwxVFShCO3QN+ws3GlPkcy9YuS3U4wkT6su0w+Byjq3mS3uamy9HE4Yfjw==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- peerDependencies:- eslint: ^6.0.0 || ^7.0.0 || ^8.0.0- dependencies:- '@types/json-schema': 7.0.11- '@types/semver': 7.3.12- '@typescript-eslint/scope-manager': 5.44.0- '@typescript-eslint/types': 5.44.0- '@typescript-eslint/typescript-estree': [email protected]- eslint: 8.28.0- eslint-scope: 5.1.1- eslint-utils: [email protected]- semver: 7.3.8- transitivePeerDependencies:- - supports-color- - typescript- dev: true-- /@typescript-eslint/utils/5.48.1_iukboom6ndih5an6iafl45j2fe:- resolution: {integrity: sha512-SmQuSrCGUOdmGMwivW14Z0Lj8dxG1mOFZ7soeJ0TQZEJcs3n5Ndgkg0A4bcMFzBELqLJ6GTHnEU+iIoaD6hFGA==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- peerDependencies:- eslint: ^6.0.0 || ^7.0.0 || ^8.0.0- dependencies:- '@types/json-schema': 7.0.11- '@types/semver': 7.3.12- '@typescript-eslint/scope-manager': 5.48.1- '@typescript-eslint/types': 5.48.1- '@typescript-eslint/typescript-estree': [email protected]- eslint: 8.31.0- eslint-scope: 5.1.1- eslint-utils: [email protected]- semver: 7.3.8- transitivePeerDependencies:- - supports-color- - typescript- dev: true-- /@typescript-eslint/visitor-keys/5.44.0:- resolution: {integrity: sha512-a48tLG8/4m62gPFbJ27FxwCOqPKxsb8KC3HkmYoq2As/4YyjQl1jDbRr1s63+g4FS/iIehjmN3L5UjmKva1HzQ==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dependencies:- '@typescript-eslint/types': 5.44.0- eslint-visitor-keys: 3.3.0- dev: true-- /@typescript-eslint/visitor-keys/5.48.1:- resolution: {integrity: sha512-Ns0XBwmfuX7ZknznfXozgnydyR8F6ev/KEGePP4i74uL3ArsKbEhJ7raeKr1JSa997DBDwol/4a0Y+At82c9dA==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dependencies:- '@typescript-eslint/types': 5.48.1- eslint-visitor-keys: 3.3.0- dev: true-- /abbrev/1.1.1:- resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==}- dev: true-- /abort-controller/3.0.0:- resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==}- engines: {node: '>=6.5'}- dependencies:- event-target-shim: 5.0.1- dev: false-- /abstract-logging/2.0.1:- resolution: {integrity: sha512-2BjRTZxTPvheOvGbBslFSYOUkr+SjPtOnrLP33f+VIWLzezQpZcqVg7ja3L4dBXmzzgwT+a029jRx5PCi3JuiA==}- dev: false-- /accepts/1.3.8:- resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==}- engines: {node: '>= 0.6'}- dependencies:- mime-types: 2.1.35- negotiator: 0.6.3- dev: false-- /acorn-jsx/[email protected]:- resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}- peerDependencies:- acorn: ^6.0.0 || ^7.0.0 || ^8.0.0- dependencies:- acorn: 8.8.0- dev: true-- /acorn-node/1.8.2:- resolution: {integrity: sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==}- dependencies:- acorn: 7.4.1- acorn-walk: 7.2.0- xtend: 4.0.2-- /acorn-walk/7.2.0:- resolution: {integrity: sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==}- engines: {node: '>=0.4.0'}-- /acorn-walk/8.2.0:- resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==}- engines: {node: '>=0.4.0'}- dev: false-- /acorn/7.4.1:- resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==}- engines: {node: '>=0.4.0'}- hasBin: true-- /acorn/8.8.0:- resolution: {integrity: sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==}- engines: {node: '>=0.4.0'}- hasBin: true-- /agent-base/6.0.2:- resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==}- engines: {node: '>= 6.0.0'}- dependencies:- debug: 4.3.4- transitivePeerDependencies:- - supports-color- dev: false-- /aggregate-error/4.0.1:- resolution: {integrity: sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==}- engines: {node: '>=12'}- dependencies:- clean-stack: 4.2.0- indent-string: 5.0.0- dev: false-- /ajv-formats/2.1.1:- resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==}- peerDependenciesMeta:- ajv:- optional: true- dependencies:- ajv: 8.11.0- dev: false-- /ajv/6.12.6:- resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}- dependencies:- fast-deep-equal: 3.1.3- fast-json-stable-stringify: 2.1.0- json-schema-traverse: 0.4.1- uri-js: 4.4.1- dev: true-- /ajv/8.11.0:- resolution: {integrity: sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==}- dependencies:- fast-deep-equal: 3.1.3- json-schema-traverse: 1.0.0- require-from-string: 2.0.2- uri-js: 4.4.1- dev: false-- /ansi-colors/4.1.3:- resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==}- engines: {node: '>=6'}- dev: false-- /ansi-escapes/4.3.2:- resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==}- engines: {node: '>=8'}- dependencies:- type-fest: 0.21.3- dev: true-- /ansi-regex/2.1.1:- resolution: {integrity: sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==}- engines: {node: '>=0.10.0'}- dev: true-- /ansi-regex/4.1.1:- resolution: {integrity: sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==}- engines: {node: '>=6'}- dev: true-- /ansi-regex/5.0.1:- resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}- engines: {node: '>=8'}- dev: true-- /ansi-regex/6.0.1:- resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==}- engines: {node: '>=12'}- dev: false-- /ansi-styles/2.2.1:- resolution: {integrity: sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==}- engines: {node: '>=0.10.0'}- dev: true-- /ansi-styles/3.2.1:- resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==}- engines: {node: '>=4'}- dependencies:- color-convert: 1.9.3-- /ansi-styles/4.3.0:- resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}- engines: {node: '>=8'}- dependencies:- color-convert: 2.0.1- dev: true-- /anymatch/3.1.2:- resolution: {integrity: sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==}- engines: {node: '>= 8'}- dependencies:- normalize-path: 3.0.0- picomatch: 2.3.1-- /archy/1.0.0:- resolution: {integrity: sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==}- dev: false-- /arg/4.1.3:- resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==}- dev: false-- /arg/5.0.2:- resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}-- /argparse/2.0.1:- resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}-- /array-union/2.1.0:- resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==}- engines: {node: '>=8'}- dev: true-- /asn1.js/5.4.1:- resolution: {integrity: sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==}- dependencies:- bn.js: 4.12.0- inherits: 2.0.4- minimalistic-assert: 1.0.1- safer-buffer: 2.1.2- dev: false-- /asn1/0.2.6:- resolution: {integrity: sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==}- dependencies:- safer-buffer: 2.1.2- dev: false-- /atomic-sleep/1.0.0:- resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==}- engines: {node: '>=8.0.0'}- dev: false-- /auto-parse/1.8.0:- resolution: {integrity: sha512-Uri4uC+K5cSi5hjM4snFrqPrjqUpwxeSW5EMTPvN7Ju3PlDzmXXDr5tjdzxPvvwgT3J7bmMDJ3Rm625nbrc72A==}- dependencies:- typpy: 2.3.11- dev: false-- /autoprefixer/[email protected]:- resolution: {integrity: sha512-49vKpMqcZYsJjwotvt4+h/BCjJVnhGwcLpDt5xkcaOG3eLrG/HUYLagrihYsQ+qrIBgIzX1Rw7a6L8I/ZA1Atg==}- engines: {node: ^10 || ^12 || >=14}- hasBin: true- peerDependencies:- postcss: ^8.1.0- dependencies:- browserslist: 4.21.4- caniuse-lite: 1.0.30001434- fraction.js: 4.2.0- normalize-range: 0.1.2- picocolors: 1.0.0- postcss: 8.4.19- postcss-value-parser: 4.2.0-- /avvio/8.2.0:- resolution: {integrity: sha512-bbCQdg7bpEv6kGH41RO/3B2/GMMmJSo2iBK+X8AWN9mujtfUipMDfIjsgHCfpnKqoGEQrrmCDKSa5OQ19+fDmg==}- dependencies:- archy: 1.0.0- debug: 4.3.4- fastq: 1.13.0- transitivePeerDependencies:- - supports-color- dev: false-- /axe/11.2.1:- resolution: {integrity: sha512-uQfGfqtZON++xHaG+CnQB7sTBhgYkqf2P0HLcbSdeHhM7mg+0cr3pBrcWbmuWbZYcQGoRZu8INTiYUEcwMZhlg==}- engines: {node: '>=14'}- dependencies:- '@ladjs/format-util': 1.0.4- '@strikeentco/get': 1.0.1- '@strikeentco/set': 1.0.2- boolean: 3.2.0- console-polyfill: 0.3.0- format-specifiers: 1.0.0- is-symbol: 1.0.4- iserror: 0.0.2- maybe-combine-errors: 1.0.0- merge-options: 3.0.4- p-map-series: 2.1.0- parse-app-info: 4.0.3- parse-err: 0.0.12- pick-deep: 1.0.0- unset-value: 2.0.1- dev: false-- /babel-code-frame/6.26.0:- resolution: {integrity: sha512-XqYMR2dfdGMW+hd0IUZ2PwK+fGeFkOxZJ0wY+JaQAHzt1Zx8LcvpiZD2NiGkEG8qx0CfkAOr5xt76d1e8vG90g==}- dependencies:- chalk: 1.1.3- esutils: 2.0.3- js-tokens: 3.0.2- dev: true-- /babel-core/6.26.3:- resolution: {integrity: sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==}- dependencies:- babel-code-frame: 6.26.0- babel-generator: 6.26.1- babel-helpers: 6.24.1- babel-messages: 6.23.0- babel-register: 6.26.0- babel-runtime: 6.26.0- babel-template: 6.26.0- babel-traverse: 6.26.0- babel-types: 6.26.0- babylon: 6.18.0- convert-source-map: 1.8.0- debug: 2.6.9- json5: 0.5.1- lodash: 4.17.21- minimatch: 3.1.2- path-is-absolute: 1.0.1- private: 0.1.8- slash: 1.0.0- source-map: 0.5.7- transitivePeerDependencies:- - supports-color- dev: true-- /babel-generator/6.26.1:- resolution: {integrity: sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==}- dependencies:- babel-messages: 6.23.0- babel-runtime: 6.26.0- babel-types: 6.26.0- detect-indent: 4.0.0- jsesc: 1.3.0- lodash: 4.17.21- source-map: 0.5.7- trim-right: 1.0.1- dev: true-- /babel-helper-bindify-decorators/6.24.1:- resolution: {integrity: sha512-TYX2QQATKA6Wssp6j7jqlw4QLmABDN1olRdEHndYvBXdaXM5dcx6j5rN0+nd+aVL+Th40fAEYvvw/Xxd/LETuQ==}- dependencies:- babel-runtime: 6.26.0- babel-traverse: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-helper-builder-binary-assignment-operator-visitor/6.24.1:- resolution: {integrity: sha512-gCtfYORSG1fUMX4kKraymq607FWgMWg+j42IFPc18kFQEsmtaibP4UrqsXt8FlEJle25HUd4tsoDR7H2wDhe9Q==}- dependencies:- babel-helper-explode-assignable-expression: 6.24.1- babel-runtime: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-helper-call-delegate/6.24.1:- resolution: {integrity: sha512-RL8n2NiEj+kKztlrVJM9JT1cXzzAdvWFh76xh/H1I4nKwunzE4INBXn8ieCZ+wh4zWszZk7NBS1s/8HR5jDkzQ==}- dependencies:- babel-helper-hoist-variables: 6.24.1- babel-runtime: 6.26.0- babel-traverse: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-helper-define-map/6.26.0:- resolution: {integrity: sha512-bHkmjcC9lM1kmZcVpA5t2om2nzT/xiZpo6TJq7UlZ3wqKfzia4veeXbIhKvJXAMzhhEBd3cR1IElL5AenWEUpA==}- dependencies:- babel-helper-function-name: 6.24.1- babel-runtime: 6.26.0- babel-types: 6.26.0- lodash: 4.17.21- transitivePeerDependencies:- - supports-color- dev: true-- /babel-helper-explode-assignable-expression/6.24.1:- resolution: {integrity: sha512-qe5csbhbvq6ccry9G7tkXbzNtcDiH4r51rrPUbwwoTzZ18AqxWYRZT6AOmxrpxKnQBW0pYlBI/8vh73Z//78nQ==}- dependencies:- babel-runtime: 6.26.0- babel-traverse: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-helper-explode-class/6.24.1:- resolution: {integrity: sha512-SFbWewr0/0U4AiRzsHqwsbOQeLXVa9T1ELdqEa2efcQB5KopTnunAqoj07TuHlN2lfTQNPGO/rJR4FMln5fVcA==}- dependencies:- babel-helper-bindify-decorators: 6.24.1- babel-runtime: 6.26.0- babel-traverse: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-helper-function-name/6.24.1:- resolution: {integrity: sha512-Oo6+e2iX+o9eVvJ9Y5eKL5iryeRdsIkwRYheCuhYdVHsdEQysbc2z2QkqCLIYnNxkT5Ss3ggrHdXiDI7Dhrn4Q==}- dependencies:- babel-helper-get-function-arity: 6.24.1- babel-runtime: 6.26.0- babel-template: 6.26.0- babel-traverse: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-helper-get-function-arity/6.24.1:- resolution: {integrity: sha512-WfgKFX6swFB1jS2vo+DwivRN4NB8XUdM3ij0Y1gnC21y1tdBoe6xjVnd7NSI6alv+gZXCtJqvrTeMW3fR/c0ng==}- dependencies:- babel-runtime: 6.26.0- babel-types: 6.26.0- dev: true-- /babel-helper-hoist-variables/6.24.1:- resolution: {integrity: sha512-zAYl3tqerLItvG5cKYw7f1SpvIxS9zi7ohyGHaI9cgDUjAT6YcY9jIEH5CstetP5wHIVSceXwNS7Z5BpJg+rOw==}- dependencies:- babel-runtime: 6.26.0- babel-types: 6.26.0- dev: true-- /babel-helper-optimise-call-expression/6.24.1:- resolution: {integrity: sha512-Op9IhEaxhbRT8MDXx2iNuMgciu2V8lDvYCNQbDGjdBNCjaMvyLf4wl4A3b8IgndCyQF8TwfgsQ8T3VD8aX1/pA==}- dependencies:- babel-runtime: 6.26.0- babel-types: 6.26.0- dev: true-- /babel-helper-regex/6.26.0:- resolution: {integrity: sha512-VlPiWmqmGJp0x0oK27Out1D+71nVVCTSdlbhIVoaBAj2lUgrNjBCRR9+llO4lTSb2O4r7PJg+RobRkhBrf6ofg==}- dependencies:- babel-runtime: 6.26.0- babel-types: 6.26.0- lodash: 4.17.21- dev: true-- /babel-helper-remap-async-to-generator/6.24.1:- resolution: {integrity: sha512-RYqaPD0mQyQIFRu7Ho5wE2yvA/5jxqCIj/Lv4BXNq23mHYu/vxikOy2JueLiBxQknwapwrJeNCesvY0ZcfnlHg==}- dependencies:- babel-helper-function-name: 6.24.1- babel-runtime: 6.26.0- babel-template: 6.26.0- babel-traverse: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-helper-replace-supers/6.24.1:- resolution: {integrity: sha512-sLI+u7sXJh6+ToqDr57Bv973kCepItDhMou0xCP2YPVmR1jkHSCY+p1no8xErbV1Siz5QE8qKT1WIwybSWlqjw==}- dependencies:- babel-helper-optimise-call-expression: 6.24.1- babel-messages: 6.23.0- babel-runtime: 6.26.0- babel-template: 6.26.0- babel-traverse: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-helpers/6.24.1:- resolution: {integrity: sha512-n7pFrqQm44TCYvrCDb0MqabAF+JUBq+ijBvNMUxpkLjJaAu32faIexewMumrH5KLLJ1HDyT0PTEqRyAe/GwwuQ==}- dependencies:- babel-runtime: 6.26.0- babel-template: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-messages/6.23.0:- resolution: {integrity: sha512-Bl3ZiA+LjqaMtNYopA9TYE9HP1tQ+E5dLxE0XrAzcIJeK2UqF0/EaqXwBn9esd4UmTfEab+P+UYQ1GnioFIb/w==}- dependencies:- babel-runtime: 6.26.0- dev: true-- /babel-plugin-check-es2015-constants/6.22.0:- resolution: {integrity: sha512-B1M5KBP29248dViEo1owyY32lk1ZSH2DaNNrXLGt8lyjjHm7pBqAdQ7VKUPR6EEDO323+OvT3MQXbCin8ooWdA==}- dependencies:- babel-runtime: 6.26.0- dev: true-- /babel-plugin-syntax-async-functions/6.13.0:- resolution: {integrity: sha512-4Zp4unmHgw30A1eWI5EpACji2qMocisdXhAftfhXoSV9j0Tvj6nRFE3tOmRY912E0FMRm/L5xWE7MGVT2FoLnw==}- dev: true-- /babel-plugin-syntax-async-generators/6.13.0:- resolution: {integrity: sha512-EbciFN5Jb9iqU9bqaLmmFLx2G8pAUsvpWJ6OzOWBNrSY9qTohXj+7YfZx6Ug1Qqh7tCb1EA7Jvn9bMC1HBiucg==}- dev: true-- /babel-plugin-syntax-class-constructor-call/6.18.0:- resolution: {integrity: sha512-EEuBcXz/wZ81Jaac0LnMHtD4Mfz9XWn2oH2Xj+CHwz2SZWUqqdtR2BgWPSdTGMmxN/5KLSh4PImt9+9ZedDarA==}- dev: true-- /babel-plugin-syntax-class-properties/6.13.0:- resolution: {integrity: sha512-chI3Rt9T1AbrQD1s+vxw3KcwC9yHtF621/MacuItITfZX344uhQoANjpoSJZleAmW2tjlolqB/f+h7jIqXa7pA==}- dev: true-- /babel-plugin-syntax-decorators/6.13.0:- resolution: {integrity: sha512-AWj19x2aDm8qFQ5O2JcD6pwJDW1YdcnO+1b81t7gxrGjz5VHiUqeYWAR4h7zueWMalRelrQDXprv2FrY1dbpbw==}- dev: true-- /babel-plugin-syntax-do-expressions/6.13.0:- resolution: {integrity: sha512-HD/5qJB9oSXzl0caxM+aRD7ENICXqcc3Up/8toDQk7zNIDE7TzsqtxC5f4t9Rwhu2Ya8l9l4j6b3vOsy+a6qxg==}- dev: true-- /babel-plugin-syntax-dynamic-import/6.18.0:- resolution: {integrity: sha512-MioUE+LfjCEz65Wf7Z/Rm4XCP5k2c+TbMd2Z2JKc7U9uwjBhAfNPE48KC4GTGKhppMeYVepwDBNO/nGY6NYHBA==}- dev: true-- /babel-plugin-syntax-exponentiation-operator/6.13.0:- resolution: {integrity: sha512-Z/flU+T9ta0aIEKl1tGEmN/pZiI1uXmCiGFRegKacQfEJzp7iNsKloZmyJlQr+75FCJtiFfGIK03SiCvCt9cPQ==}- dev: true-- /babel-plugin-syntax-export-extensions/6.13.0:- resolution: {integrity: sha512-Eo0rcRaIDMld/W6mVhePiudIuLW+Cr/8eveW3mBREfZORScZgx4rh6BAPyvzdEc/JZvQ+LkC80t0VGFs6FX+lg==}- dev: true-- /babel-plugin-syntax-function-bind/6.13.0:- resolution: {integrity: sha512-m8yMoh9LIiNyeLdQs5I9G+3YXo4nqVsKQkk7YplrG4qAFbNi9hkZlow8HDHxhH9QOVFPHmy8+03NzRCdyChIKw==}- dev: true-- /babel-plugin-syntax-object-rest-spread/6.13.0:- resolution: {integrity: sha512-C4Aq+GaAj83pRQ0EFgTvw5YO6T3Qz2KGrNRwIj9mSoNHVvdZY4KO2uA6HNtNXCw993iSZnckY1aLW8nOi8i4+w==}- dev: true-- /babel-plugin-syntax-trailing-function-commas/6.22.0:- resolution: {integrity: sha512-Gx9CH3Q/3GKbhs07Bszw5fPTlU+ygrOGfAhEt7W2JICwufpC4SuO0mG0+4NykPBSYPMJhqvVlDBU17qB1D+hMQ==}- dev: true-- /babel-plugin-transform-async-generator-functions/6.24.1:- resolution: {integrity: sha512-uT7eovUxtXe8Q2ufcjRuJIOL0hg6VAUJhiWJBLxH/evYAw+aqoJLcYTR8hqx13iOx/FfbCMHgBmXWZjukbkyPg==}- dependencies:- babel-helper-remap-async-to-generator: 6.24.1- babel-plugin-syntax-async-generators: 6.13.0- babel-runtime: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-async-to-generator/6.24.1:- resolution: {integrity: sha512-7BgYJujNCg0Ti3x0c/DL3tStvnKS6ktIYOmo9wginv/dfZOrbSZ+qG4IRRHMBOzZ5Awb1skTiAsQXg/+IWkZYw==}- dependencies:- babel-helper-remap-async-to-generator: 6.24.1- babel-plugin-syntax-async-functions: 6.13.0- babel-runtime: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-class-constructor-call/6.24.1:- resolution: {integrity: sha512-RvYukT1Nh7njz8P8326ztpQUGCKwmjgu6aRIx1lkvylWITYcskg29vy1Kp8WXIq7FvhXsz0Crf2kS94bjB690A==}- dependencies:- babel-plugin-syntax-class-constructor-call: 6.18.0- babel-runtime: 6.26.0- babel-template: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-class-properties/6.24.1:- resolution: {integrity: sha512-n4jtBA3OYBdvG5PRMKsMXJXHfLYw/ZOmtxCLOOwz6Ro5XlrColkStLnz1AS1L2yfPA9BKJ1ZNlmVCLjAL9DSIg==}- dependencies:- babel-helper-function-name: 6.24.1- babel-plugin-syntax-class-properties: 6.13.0- babel-runtime: 6.26.0- babel-template: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-decorators/6.24.1:- resolution: {integrity: sha512-skQ2CImwDkCHu0mkWvCOlBCpBIHW4/49IZWVwV4A/EnWjL9bB6UBvLyMNe3Td5XDStSZNhe69j4bfEW8dvUbew==}- dependencies:- babel-helper-explode-class: 6.24.1- babel-plugin-syntax-decorators: 6.13.0- babel-runtime: 6.26.0- babel-template: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-do-expressions/6.22.0:- resolution: {integrity: sha512-yQwYqYg+Tnj1InA8W1rsItsZVhkv1Euc4KVua9ledtPz5PDWYz7LVyy6rDBpVYUWFZj5k6GUm3YZpCbIm8Tqew==}- dependencies:- babel-plugin-syntax-do-expressions: 6.13.0- babel-runtime: 6.26.0- dev: true-- /babel-plugin-transform-es2015-arrow-functions/6.22.0:- resolution: {integrity: sha512-PCqwwzODXW7JMrzu+yZIaYbPQSKjDTAsNNlK2l5Gg9g4rz2VzLnZsStvp/3c46GfXpwkyufb3NCyG9+50FF1Vg==}- dependencies:- babel-runtime: 6.26.0- dev: true-- /babel-plugin-transform-es2015-block-scoped-functions/6.22.0:- resolution: {integrity: sha512-2+ujAT2UMBzYFm7tidUsYh+ZoIutxJ3pN9IYrF1/H6dCKtECfhmB8UkHVpyxDwkj0CYbQG35ykoz925TUnBc3A==}- dependencies:- babel-runtime: 6.26.0- dev: true-- /babel-plugin-transform-es2015-block-scoping/6.26.0:- resolution: {integrity: sha512-YiN6sFAQ5lML8JjCmr7uerS5Yc/EMbgg9G8ZNmk2E3nYX4ckHR01wrkeeMijEf5WHNK5TW0Sl0Uu3pv3EdOJWw==}- dependencies:- babel-runtime: 6.26.0- babel-template: 6.26.0- babel-traverse: 6.26.0- babel-types: 6.26.0- lodash: 4.17.21- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-es2015-classes/6.24.1:- resolution: {integrity: sha512-5Dy7ZbRinGrNtmWpquZKZ3EGY8sDgIVB4CU8Om8q8tnMLrD/m94cKglVcHps0BCTdZ0TJeeAWOq2TK9MIY6cag==}- dependencies:- babel-helper-define-map: 6.26.0- babel-helper-function-name: 6.24.1- babel-helper-optimise-call-expression: 6.24.1- babel-helper-replace-supers: 6.24.1- babel-messages: 6.23.0- babel-runtime: 6.26.0- babel-template: 6.26.0- babel-traverse: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-es2015-computed-properties/6.24.1:- resolution: {integrity: sha512-C/uAv4ktFP/Hmh01gMTvYvICrKze0XVX9f2PdIXuriCSvUmV9j+u+BB9f5fJK3+878yMK6dkdcq+Ymr9mrcLzw==}- dependencies:- babel-runtime: 6.26.0- babel-template: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-es2015-destructuring/6.23.0:- resolution: {integrity: sha512-aNv/GDAW0j/f4Uy1OEPZn1mqD+Nfy9viFGBfQ5bZyT35YqOiqx7/tXdyfZkJ1sC21NyEsBdfDY6PYmLHF4r5iA==}- dependencies:- babel-runtime: 6.26.0- dev: true-- /babel-plugin-transform-es2015-duplicate-keys/6.24.1:- resolution: {integrity: sha512-ossocTuPOssfxO2h+Z3/Ea1Vo1wWx31Uqy9vIiJusOP4TbF7tPs9U0sJ9pX9OJPf4lXRGj5+6Gkl/HHKiAP5ug==}- dependencies:- babel-runtime: 6.26.0- babel-types: 6.26.0- dev: true-- /babel-plugin-transform-es2015-for-of/6.23.0:- resolution: {integrity: sha512-DLuRwoygCoXx+YfxHLkVx5/NpeSbVwfoTeBykpJK7JhYWlL/O8hgAK/reforUnZDlxasOrVPPJVI/guE3dCwkw==}- dependencies:- babel-runtime: 6.26.0- dev: true-- /babel-plugin-transform-es2015-function-name/6.24.1:- resolution: {integrity: sha512-iFp5KIcorf11iBqu/y/a7DK3MN5di3pNCzto61FqCNnUX4qeBwcV1SLqe10oXNnCaxBUImX3SckX2/o1nsrTcg==}- dependencies:- babel-helper-function-name: 6.24.1- babel-runtime: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-es2015-literals/6.22.0:- resolution: {integrity: sha512-tjFl0cwMPpDYyoqYA9li1/7mGFit39XiNX5DKC/uCNjBctMxyL1/PT/l4rSlbvBG1pOKI88STRdUsWXB3/Q9hQ==}- dependencies:- babel-runtime: 6.26.0- dev: true-- /babel-plugin-transform-es2015-modules-amd/6.24.1:- resolution: {integrity: sha512-LnIIdGWIKdw7zwckqx+eGjcS8/cl8D74A3BpJbGjKTFFNJSMrjN4bIh22HY1AlkUbeLG6X6OZj56BDvWD+OeFA==}- dependencies:- babel-plugin-transform-es2015-modules-commonjs: 6.26.2- babel-runtime: 6.26.0- babel-template: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-es2015-modules-commonjs/6.26.2:- resolution: {integrity: sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==}- dependencies:- babel-plugin-transform-strict-mode: 6.24.1- babel-runtime: 6.26.0- babel-template: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-es2015-modules-systemjs/6.24.1:- resolution: {integrity: sha512-ONFIPsq8y4bls5PPsAWYXH/21Hqv64TBxdje0FvU3MhIV6QM2j5YS7KvAzg/nTIVLot2D2fmFQrFWCbgHlFEjg==}- dependencies:- babel-helper-hoist-variables: 6.24.1- babel-runtime: 6.26.0- babel-template: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-es2015-modules-umd/6.24.1:- resolution: {integrity: sha512-LpVbiT9CLsuAIp3IG0tfbVo81QIhn6pE8xBJ7XSeCtFlMltuar5VuBV6y6Q45tpui9QWcy5i0vLQfCfrnF7Kiw==}- dependencies:- babel-plugin-transform-es2015-modules-amd: 6.24.1- babel-runtime: 6.26.0- babel-template: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-es2015-object-super/6.24.1:- resolution: {integrity: sha512-8G5hpZMecb53vpD3mjs64NhI1au24TAmokQ4B+TBFBjN9cVoGoOvotdrMMRmHvVZUEvqGUPWL514woru1ChZMA==}- dependencies:- babel-helper-replace-supers: 6.24.1- babel-runtime: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-es2015-parameters/6.24.1:- resolution: {integrity: sha512-8HxlW+BB5HqniD+nLkQ4xSAVq3bR/pcYW9IigY+2y0dI+Y7INFeTbfAQr+63T3E4UDsZGjyb+l9txUnABWxlOQ==}- dependencies:- babel-helper-call-delegate: 6.24.1- babel-helper-get-function-arity: 6.24.1- babel-runtime: 6.26.0- babel-template: 6.26.0- babel-traverse: 6.26.0- babel-types: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-es2015-shorthand-properties/6.24.1:- resolution: {integrity: sha512-mDdocSfUVm1/7Jw/FIRNw9vPrBQNePy6wZJlR8HAUBLybNp1w/6lr6zZ2pjMShee65t/ybR5pT8ulkLzD1xwiw==}- dependencies:- babel-runtime: 6.26.0- babel-types: 6.26.0- dev: true-- /babel-plugin-transform-es2015-spread/6.22.0:- resolution: {integrity: sha512-3Ghhi26r4l3d0Js933E5+IhHwk0A1yiutj9gwvzmFbVV0sPMYk2lekhOufHBswX7NCoSeF4Xrl3sCIuSIa+zOg==}- dependencies:- babel-runtime: 6.26.0- dev: true-- /babel-plugin-transform-es2015-sticky-regex/6.24.1:- resolution: {integrity: sha512-CYP359ADryTo3pCsH0oxRo/0yn6UsEZLqYohHmvLQdfS9xkf+MbCzE3/Kolw9OYIY4ZMilH25z/5CbQbwDD+lQ==}- dependencies:- babel-helper-regex: 6.26.0- babel-runtime: 6.26.0- babel-types: 6.26.0- dev: true-- /babel-plugin-transform-es2015-template-literals/6.22.0:- resolution: {integrity: sha512-x8b9W0ngnKzDMHimVtTfn5ryimars1ByTqsfBDwAqLibmuuQY6pgBQi5z1ErIsUOWBdw1bW9FSz5RZUojM4apg==}- dependencies:- babel-runtime: 6.26.0- dev: true-- /babel-plugin-transform-es2015-typeof-symbol/6.23.0:- resolution: {integrity: sha512-fz6J2Sf4gYN6gWgRZaoFXmq93X+Li/8vf+fb0sGDVtdeWvxC9y5/bTD7bvfWMEq6zetGEHpWjtzRGSugt5kNqw==}- dependencies:- babel-runtime: 6.26.0- dev: true-- /babel-plugin-transform-es2015-unicode-regex/6.24.1:- resolution: {integrity: sha512-v61Dbbihf5XxnYjtBN04B/JBvsScY37R1cZT5r9permN1cp+b70DY3Ib3fIkgn1DI9U3tGgBJZVD8p/mE/4JbQ==}- dependencies:- babel-helper-regex: 6.26.0- babel-runtime: 6.26.0- regexpu-core: 2.0.0- dev: true-- /babel-plugin-transform-exponentiation-operator/6.24.1:- resolution: {integrity: sha512-LzXDmbMkklvNhprr20//RStKVcT8Cu+SQtX18eMHLhjHf2yFzwtQ0S2f0jQ+89rokoNdmwoSqYzAhq86FxlLSQ==}- dependencies:- babel-helper-builder-binary-assignment-operator-visitor: 6.24.1- babel-plugin-syntax-exponentiation-operator: 6.13.0- babel-runtime: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-plugin-transform-export-extensions/6.22.0:- resolution: {integrity: sha512-mtzELzINaYqdVglyZrDDVwkcFRuE7s6QUFWXxwffKAHB/NkfbJ2NJSytugB43ytIC8UVt30Ereyx+7gNyTkDLg==}- dependencies:- babel-plugin-syntax-export-extensions: 6.13.0- babel-runtime: 6.26.0- dev: true-- /babel-plugin-transform-function-bind/6.22.0:- resolution: {integrity: sha512-9Ec4KYf1GurT39mlUjDSlN7HWSlB3u3mWRMogQbb+Y88lO0ZM3rJ0ADhPnQwWK9TbO6e/4E+Et1rrfGY9mFimA==}- dependencies:- babel-plugin-syntax-function-bind: 6.13.0- babel-runtime: 6.26.0- dev: true-- /babel-plugin-transform-object-rest-spread/6.26.0:- resolution: {integrity: sha512-ocgA9VJvyxwt+qJB0ncxV8kb/CjfTcECUY4tQ5VT7nP6Aohzobm8CDFaQ5FHdvZQzLmf0sgDxB8iRXZXxwZcyA==}- dependencies:- babel-plugin-syntax-object-rest-spread: 6.13.0- babel-runtime: 6.26.0- dev: true-- /babel-plugin-transform-regenerator/6.26.0:- resolution: {integrity: sha512-LS+dBkUGlNR15/5WHKe/8Neawx663qttS6AGqoOUhICc9d1KciBvtrQSuc0PI+CxQ2Q/S1aKuJ+u64GtLdcEZg==}- dependencies:- regenerator-transform: 0.10.1- dev: true-- /babel-plugin-transform-strict-mode/6.24.1:- resolution: {integrity: sha512-j3KtSpjyLSJxNoCDrhwiJad8kw0gJ9REGj8/CqL0HeRyLnvUNYV9zcqluL6QJSXh3nfsLEmSLvwRfGzrgR96Pw==}- dependencies:- babel-runtime: 6.26.0- babel-types: 6.26.0- dev: true-- /babel-preset-es2015/6.24.1:- resolution: {integrity: sha512-XfwUqG1Ry6R43m4Wfob+vHbIVBIqTg/TJY4Snku1iIzeH7mUnwHA8Vagmv+ZQbPwhS8HgsdQvy28Py3k5zpoFQ==}- deprecated: '๐ Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!'- dependencies:- babel-plugin-check-es2015-constants: 6.22.0- babel-plugin-transform-es2015-arrow-functions: 6.22.0- babel-plugin-transform-es2015-block-scoped-functions: 6.22.0- babel-plugin-transform-es2015-block-scoping: 6.26.0- babel-plugin-transform-es2015-classes: 6.24.1- babel-plugin-transform-es2015-computed-properties: 6.24.1- babel-plugin-transform-es2015-destructuring: 6.23.0- babel-plugin-transform-es2015-duplicate-keys: 6.24.1- babel-plugin-transform-es2015-for-of: 6.23.0- babel-plugin-transform-es2015-function-name: 6.24.1- babel-plugin-transform-es2015-literals: 6.22.0- babel-plugin-transform-es2015-modules-amd: 6.24.1- babel-plugin-transform-es2015-modules-commonjs: 6.26.2- babel-plugin-transform-es2015-modules-systemjs: 6.24.1- babel-plugin-transform-es2015-modules-umd: 6.24.1- babel-plugin-transform-es2015-object-super: 6.24.1- babel-plugin-transform-es2015-parameters: 6.24.1- babel-plugin-transform-es2015-shorthand-properties: 6.24.1- babel-plugin-transform-es2015-spread: 6.22.0- babel-plugin-transform-es2015-sticky-regex: 6.24.1- babel-plugin-transform-es2015-template-literals: 6.22.0- babel-plugin-transform-es2015-typeof-symbol: 6.23.0- babel-plugin-transform-es2015-unicode-regex: 6.24.1- babel-plugin-transform-regenerator: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-preset-stage-0/6.24.1:- resolution: {integrity: sha512-MJD+xBbpsApbKlzAX0sOBF+VeFaUmv5s8FSOO7SSZpes1QgphCjq/UIGRFWSmQ/0i5bqQjLGCTXGGXqcLQ9JDA==}- dependencies:- babel-plugin-transform-do-expressions: 6.22.0- babel-plugin-transform-function-bind: 6.22.0- babel-preset-stage-1: 6.24.1- transitivePeerDependencies:- - supports-color- dev: true-- /babel-preset-stage-1/6.24.1:- resolution: {integrity: sha512-rn+UOcd7BHDniq1SVxv2/AVVSVI1NK+hfS0I/iR6m6KbOi/aeBRcqBilqO73pd9VUpRXF2HFtlDuC9F2BEQqmg==}- dependencies:- babel-plugin-transform-class-constructor-call: 6.24.1- babel-plugin-transform-export-extensions: 6.22.0- babel-preset-stage-2: 6.24.1- transitivePeerDependencies:- - supports-color- dev: true-- /babel-preset-stage-2/6.24.1:- resolution: {integrity: sha512-9F+nquz+37PrlTSBdpeQBKnQfAMNBnryXw+m4qBh35FNbJPfzZz+sjN2G5Uf1CRedU9PH7fJkTbYijxmkLX8Og==}- dependencies:- babel-plugin-syntax-dynamic-import: 6.18.0- babel-plugin-transform-class-properties: 6.24.1- babel-plugin-transform-decorators: 6.24.1- babel-preset-stage-3: 6.24.1- transitivePeerDependencies:- - supports-color- dev: true-- /babel-preset-stage-3/6.24.1:- resolution: {integrity: sha512-eCbEOF8uN0KypFXJmZXn2sTk7bPV9uM5xov7G/7BM08TbQEObsVs0cEWfy6NQySlfk7JBi/t+XJP1JkruYfthA==}- dependencies:- babel-plugin-syntax-trailing-function-commas: 6.22.0- babel-plugin-transform-async-generator-functions: 6.24.1- babel-plugin-transform-async-to-generator: 6.24.1- babel-plugin-transform-exponentiation-operator: 6.24.1- babel-plugin-transform-object-rest-spread: 6.26.0- transitivePeerDependencies:- - supports-color- dev: true-- /babel-register/6.26.0:- resolution: {integrity: sha512-veliHlHX06wjaeY8xNITbveXSiI+ASFnOqvne/LaIJIqOWi2Ogmj91KOugEz/hoh/fwMhXNBJPCv8Xaz5CyM4A==}- dependencies:- babel-core: 6.26.3- babel-runtime: 6.26.0- core-js: 2.6.12- home-or-tmp: 2.0.0- lodash: 4.17.21- mkdirp: 0.5.6- source-map-support: 0.4.18- transitivePeerDependencies:- - supports-color- dev: true-- /babel-runtime/6.26.0:- resolution: {integrity: sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g==}- dependencies:- core-js: 2.6.12- regenerator-runtime: 0.11.1- dev: true-- /babel-template/6.26.0:- resolution: {integrity: sha512-PCOcLFW7/eazGUKIoqH97sO9A2UYMahsn/yRQ7uOk37iutwjq7ODtcTNF+iFDSHNfkctqsLRjLP7URnOx0T1fg==}- dependencies:- babel-runtime: 6.26.0- babel-traverse: 6.26.0- babel-types: 6.26.0- babylon: 6.18.0- lodash: 4.17.21- transitivePeerDependencies:- - supports-color- dev: true-- /babel-traverse/6.26.0:- resolution: {integrity: sha512-iSxeXx7apsjCHe9c7n8VtRXGzI2Bk1rBSOJgCCjfyXb6v1aCqE1KSEpq/8SXuVN8Ka/Rh1WDTF0MDzkvTA4MIA==}- dependencies:- babel-code-frame: 6.26.0- babel-messages: 6.23.0- babel-runtime: 6.26.0- babel-types: 6.26.0- babylon: 6.18.0- debug: 2.6.9- globals: 9.18.0- invariant: 2.2.4- lodash: 4.17.21- transitivePeerDependencies:- - supports-color- dev: true-- /babel-types/6.26.0:- resolution: {integrity: sha512-zhe3V/26rCWsEZK8kZN+HaQj5yQ1CilTObixFzKW1UWjqG7618Twz6YEsCnjfg5gBcJh02DrpCkS9h98ZqDY+g==}- dependencies:- babel-runtime: 6.26.0- esutils: 2.0.3- lodash: 4.17.21- to-fast-properties: 1.0.3- dev: true-- /babylon/6.18.0:- resolution: {integrity: sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==}- hasBin: true- dev: true-- /balanced-match/1.0.2:- resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}-- /base64-js/1.5.1:- resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}- dev: false-- /base64id/2.0.0:- resolution: {integrity: sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==}- engines: {node: ^4.5.0 || >= 5.9}- dev: false-- /bcrypt-pbkdf/1.0.2:- resolution: {integrity: sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==}- dependencies:- tweetnacl: 0.14.5- dev: false-- /bcryptjs/2.4.3:- resolution: {integrity: sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ==}- dev: false-- /binary-extensions/2.2.0:- resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==}- engines: {node: '>=8'}-- /bl/4.1.0:- resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==}- dependencies:- buffer: 5.7.1- inherits: 2.0.4- readable-stream: 3.6.0- dev: false-- /bluebird/3.7.2:- resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==}- dev: false-- /bn.js/4.12.0:- resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==}- dev: false-- /boolean/3.2.0:- resolution: {integrity: sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==}- dev: false-- /brace-expansion/1.1.11:- resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}- dependencies:- balanced-match: 1.0.2- concat-map: 0.0.1- dev: true-- /brace-expansion/2.0.1:- resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==}- dependencies:- balanced-match: 1.0.2- dev: false-- /braces/3.0.2:- resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==}- engines: {node: '>=8'}- dependencies:- fill-range: 7.0.1-- /bree/9.1.3:- resolution: {integrity: sha512-oqto4iG7MG2xdRKU0MhFNPTq7ZSztKvalohO3nyu4EIyy3SKpLDX92LkptcGTl6BE2RpQLrzgBP3HoPtWlWBaA==}- engines: {node: '>=12.17.0 <13.0.0-0||>=13.2.0'}- dependencies:- '@breejs/later': 4.1.0- boolean: 3.2.0- combine-errors: 3.0.3- cron-validate: 1.4.3- human-interval: 2.0.1- is-string-and-not-blank: 0.0.2- is-valid-path: 0.1.1- ms: 2.1.3- p-wait-for: 3.2.0- safe-timers: 1.1.0- dev: false-- /browser-hrtime/1.1.8:- resolution: {integrity: sha512-kzXheikaJsBtzUBlyVtPIY5r0soQePzjwVwT4IlDpU2RvfB5Py52gpU98M77rgqMCheoSSZvrcrdj3t6cZ3suA==}- dev: false-- /browserslist/4.21.4:- resolution: {integrity: sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==}- engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}- hasBin: true- dependencies:- caniuse-lite: 1.0.30001434- electron-to-chromium: 1.4.284- node-releases: 2.0.6- update-browserslist-db: [email protected]-- /bson-objectid/2.0.4:- resolution: {integrity: sha512-vgnKAUzcDoa+AeyYwXCoHyF2q6u/8H46dxu5JN+4/TZeq/Dlinn0K6GvxsCLb3LHUJl0m/TLiEK31kUwtgocMQ==}- dev: false-- /buffer-crc32/0.2.13:- resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==}- dev: true-- /buffer-equal-constant-time/1.0.1:- resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==}- dev: false-- /buffer/5.7.1:- resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==}- dependencies:- base64-js: 1.5.1- ieee754: 1.2.1- dev: false-- /buildcheck/0.0.3:- resolution: {integrity: sha512-pziaA+p/wdVImfcbsZLNF32EiWyujlQLwolMqUQE8xpKNOH7KmZQaY8sXN7DGOEzPAElo9QTaeNRfGnf3iOJbA==}- engines: {node: '>=10.0.0'}- dev: false- optional: true-- /cabin/[email protected]:- resolution: {integrity: sha512-8XjDgltMiP2BlFP2+72Mc6gcRnrLQ3tU9sbH/Ub4wzaATz05/e3yJSZGfzZeWMaSHwlEZEwIBGgaZ/wJY2UORw==}- engines: {node: '>=14'}- peerDependencies:- axe: '>= 10.0.0'- dependencies:- ansi-colors: 4.1.3- axe: 11.2.1- clf-date: 0.2.1- iserror: 0.0.2- merge-options: 3.0.4- ms: 2.1.3- on-finished: 2.4.1- parse-err: 0.0.12- parse-request: 5.1.0- transitivePeerDependencies:- - supports-color- dev: false-- /cacheable-lookup/7.0.0:- resolution: {integrity: sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==}- engines: {node: '>=14.16'}- dev: false-- /cacheable-request/10.2.1:- resolution: {integrity: sha512-3tLJyBjGuXw1s5gpKFSG3iS4kaKT4id04dZi98wzHQp/8cqZNweBnrF9J+rrlvrf4M53OdtDGNctNHFias8BEA==}- engines: {node: '>=14.16'}- dependencies:- '@types/http-cache-semantics': 4.0.1- get-stream: 6.0.1- http-cache-semantics: 4.1.0- keyv: 4.5.0- mimic-response: 4.0.0- normalize-url: 7.2.0- responselike: 3.0.0- dev: false-- /call-bind/1.0.2:- resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==}- dependencies:- function-bind: 1.1.1- get-intrinsic: 1.1.1-- /callsites/3.1.0:- resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}- engines: {node: '>=6'}- dev: true-- /camelcase-css/2.0.1:- resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==}- engines: {node: '>= 6'}-- /camelcase/5.3.1:- resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==}- engines: {node: '>=6'}- dev: false-- /caniuse-lite/1.0.30001434:- resolution: {integrity: sha512-aOBHrLmTQw//WFa2rcF1If9fa3ypkC1wzqqiKHgfdrXTWcU8C4gKVZT77eQAPWN1APys3+uQ0Df07rKauXGEYA==}-- /chalk/1.1.3:- resolution: {integrity: sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==}- engines: {node: '>=0.10.0'}- dependencies:- ansi-styles: 2.2.1- escape-string-regexp: 1.0.5- has-ansi: 2.0.0- strip-ansi: 3.0.1- supports-color: 2.0.0- dev: true-- /chalk/2.4.2:- resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==}- engines: {node: '>=4'}- dependencies:- ansi-styles: 3.2.1- escape-string-regexp: 1.0.5- supports-color: 5.5.0-- /chalk/4.1.2:- resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}- engines: {node: '>=10'}- dependencies:- ansi-styles: 4.3.0- supports-color: 7.2.0- dev: true-- /chardet/0.7.0:- resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==}- dev: true-- /chokidar/3.5.3:- resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}- engines: {node: '>= 8.10.0'}- dependencies:- anymatch: 3.1.2- braces: 3.0.2- glob-parent: 5.1.2- is-binary-path: 2.1.0- is-glob: 4.0.3- normalize-path: 3.0.0- readdirp: 3.6.0- optionalDependencies:- fsevents: 2.3.2-- /chownr/1.1.4:- resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==}- dev: false-- /classnames/2.3.2:- resolution: {integrity: sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==}- dev: true-- /clean-stack/4.2.0:- resolution: {integrity: sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==}- engines: {node: '>=12'}- dependencies:- escape-string-regexp: 5.0.0- dev: false-- /clf-date/0.2.1:- resolution: {integrity: sha512-U4FALii5pfAvg93GfFDj08gf9p9ldA6yxsIknnma+efLJQajT0EpTnn/iv2/+EL1WpQaPNi+fhn1W+om6lgWpg==}- hasBin: true- dev: false-- /cli-cursor/3.1.0:- resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==}- engines: {node: '>=8'}- dependencies:- restore-cursor: 3.1.0- dev: true-- /cli-width/2.2.1:- resolution: {integrity: sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==}- dev: true-- /clone-regexp/3.0.0:- resolution: {integrity: sha512-ujdnoq2Kxb8s3ItNBtnYeXdm07FcU0u8ARAT1lQ2YdMwQC+cdiXX8KoqMVuglztILivceTtp4ivqGSmEmhBUJw==}- engines: {node: '>=12'}- dependencies:- is-regexp: 3.1.0- dev: false-- /color-convert/1.9.3:- resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==}- dependencies:- color-name: 1.1.3-- /color-convert/2.0.1:- resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}- engines: {node: '>=7.0.0'}- dependencies:- color-name: 1.1.4-- /color-name/1.1.3:- resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==}-- /color-name/1.1.4:- resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}-- /color-string/1.9.1:- resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==}- dependencies:- color-name: 1.1.4- simple-swizzle: 0.2.2- dev: false-- /color/4.2.3:- resolution: {integrity: sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==}- engines: {node: '>=12.5.0'}- dependencies:- color-convert: 2.0.1- color-string: 1.9.1- dev: false-- /combine-errors/3.0.3:- resolution: {integrity: sha512-C8ikRNRMygCwaTx+Ek3Yr+OuZzgZjduCOfSQBjbM8V3MfgcjSTeto/GXP6PAwKvJz/v15b7GHZvx5rOlczFw/Q==}- dependencies:- custom-error-instance: 2.1.1- lodash.uniqby: 4.5.0- dev: false-- /compare-versions/5.0.1:- resolution: {integrity: sha512-v8Au3l0b+Nwkp4G142JcgJFh1/TUhdxut7wzD1Nq1dyp5oa3tXaqb03EXOAB6jS4gMlalkjAUPZBMiAfKUixHQ==}- dev: false-- /concat-map/0.0.1:- resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}- dev: true-- /console-polyfill/0.3.0:- resolution: {integrity: sha512-w+JSDZS7XML43Xnwo2x5O5vxB0ID7T5BdqDtyqT6uiCAX2kZAgcWxNaGqT97tZfSHzfOcvrfsDAodKcJ3UvnXQ==}- dev: false-- /content-disposition/0.5.4:- resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==}- engines: {node: '>= 0.6'}- dependencies:- safe-buffer: 5.2.1- dev: false-- /content-type/1.0.4:- resolution: {integrity: sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==}- engines: {node: '>= 0.6'}- dev: false-- /convert-hrtime/3.0.0:- resolution: {integrity: sha512-7V+KqSvMiHp8yWDuwfww06XleMWVVB9b9tURBx+G7UTADuo5hYPuowKloz4OzOqbPezxgo+fdQ1522WzPG4OeA==}- engines: {node: '>=8'}- dev: false-- /convert-hrtime/5.0.0:- resolution: {integrity: sha512-lOETlkIeYSJWcbbcvjRKGxVMXJR+8+OQb/mTPbA4ObPMytYIsUbuOE0Jzy60hjARYszq1id0j8KgVhC+WGZVTg==}- engines: {node: '>=12'}- dev: false-- /convert-source-map/1.8.0:- resolution: {integrity: sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==}- dependencies:- safe-buffer: 5.1.2- dev: true-- /cookie/0.4.2:- resolution: {integrity: sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==}- engines: {node: '>= 0.6'}- dev: false-- /cookie/0.5.0:- resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==}- engines: {node: '>= 0.6'}- dev: false-- /core-js/2.6.12:- resolution: {integrity: sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==}- deprecated: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.- requiresBuild: true- dev: true-- /cors/2.8.5:- resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==}- engines: {node: '>= 0.10'}- dependencies:- object-assign: 4.1.1- vary: 1.1.2- dev: false-- /cpu-features/0.0.4:- resolution: {integrity: sha512-fKiZ/zp1mUwQbnzb9IghXtHtDoTMtNeb8oYGx6kX2SYfhnG0HNdBEBIzB9b5KlXu5DQPhfy3mInbBxFcgwAr3A==}- engines: {node: '>=10.0.0'}- requiresBuild: true- dependencies:- buildcheck: 0.0.3- nan: 2.16.0- dev: false- optional: true-- /create-require/1.1.1:- resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==}- dev: false-- /credit-card-type/9.1.0:- resolution: {integrity: sha512-CpNFuLxiPFxuZqhSKml3M+t0K/484pMAnfYWH14JoD7OZMnmC0Lmo+P7JX9SobqFpRoo7ifA18kOHdxJywYPEA==}- dev: false-- /cron-validate/1.4.3:- resolution: {integrity: sha512-N+qKw019oQBEPIP5Qwi8Z5XelQ00ThN6Maahwv+9UGu2u/b/MPb35zngMQI0T8pBoNiBrIXGlhvsmspNSYae/w==}- dependencies:- yup: 0.32.9- dev: false-- /cross-spawn/5.1.0:- resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==}- dependencies:- lru-cache: 4.1.5- shebang-command: 1.2.0- which: 1.3.1- dev: true-- /cross-spawn/6.0.5:- resolution: {integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==}- engines: {node: '>=4.8'}- dependencies:- nice-try: 1.0.5- path-key: 2.0.1- semver: 5.7.1- shebang-command: 1.2.0- which: 1.3.1- dev: true-- /cross-spawn/7.0.3:- resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}- engines: {node: '>= 8'}- dependencies:- path-key: 3.1.1- shebang-command: 2.0.0- which: 2.0.2-- /cross-var/1.1.0:- resolution: {integrity: sha512-wIcFax9RNm5ayuORUeJ5MLxPbfh8XdZhhUpKutIszU46Fs9UIhEdPJ7+YguM+7FxEj+68hSQVyathVsIu84SiA==}- hasBin: true- dependencies:- babel-preset-es2015: 6.24.1- babel-preset-stage-0: 6.24.1- babel-register: 6.26.0- cross-spawn: 5.1.0- exit: 0.1.2- transitivePeerDependencies:- - supports-color- dev: true-- /css-selector-tokenizer/0.8.0:- resolution: {integrity: sha512-Jd6Ig3/pe62/qe5SBPTN8h8LeUg/pT4lLgtavPf7updwwHpvFzxvOQBHYj2LZDMjUnBzgvIUSjRcf6oT5HzHFg==}- dependencies:- cssesc: 3.0.0- fastparse: 1.1.2- dev: false-- /cssesc/3.0.0:- resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}- engines: {node: '>=4'}- hasBin: true-- /csv-parse/5.3.3:- resolution: {integrity: sha512-kEWkAPleNEdhFNkHQpFHu9RYPogsFj3dx6bCxL847fsiLgidzWg0z/O0B1kVWMJUc5ky64zGp18LX2T3DQrOfw==}- dev: false-- /csvtojson/2.0.10:- resolution: {integrity: sha512-lUWFxGKyhraKCW8Qghz6Z0f2l/PqB1W3AO0HKJzGIQ5JRSlR651ekJDiGJbBT4sRNNv5ddnSGVEnsxP9XRCVpQ==}- engines: {node: '>=4.0.0'}- hasBin: true- dependencies:- bluebird: 3.7.2- lodash: 4.17.21- strip-bom: 2.0.0- dev: false-- /cuid/2.1.8:- resolution: {integrity: sha512-xiEMER6E7TlTPnDxrM4eRiC6TRgjNX9xzEZ5U/Se2YJKr7Mq4pJn/2XEHjl3STcSh96GmkHPcBXLES8M29wyyg==}- dev: false-- /custom-error-instance/2.1.1:- resolution: {integrity: sha512-p6JFxJc3M4OTD2li2qaHkDCw9SfMw82Ldr6OC9Je1aXiGfhx2W8p3GaoeaGrPJTUN9NirTM/KTxHWMUdR1rsUg==}- dev: false-- /daisyui/2.41.0_2lwn2upnx27dqeg6hqdu7sq75m:- resolution: {integrity: sha512-M/MPbTERJK4iBIXRGQpQdHTmy53HRqrgca4rsbPhio1Sqq0w2GH/RJSVX8b14hYB0E9E8R+t5bHIeqW1oHT97A==}- peerDependencies:- autoprefixer: ^10.0.2- postcss: ^8.1.6- dependencies:- autoprefixer: [email protected]- color: 4.2.3- css-selector-tokenizer: 0.8.0- postcss: 8.4.19- postcss-js: [email protected]- tailwindcss: [email protected]- transitivePeerDependencies:- - ts-node- dev: false-- /dayjs/1.11.6:- resolution: {integrity: sha512-zZbY5giJAinCG+7AGaw0wIhNZ6J8AhWuSXKvuc1KAyMiRsvGQWqh4L+MomvhdAYjN+lqvVCMq1I41e3YHvXkyQ==}- dev: false-- /dayjs/1.11.7:- resolution: {integrity: sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==}- dev: false-- /debug/2.6.9:- resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==}- peerDependencies:- supports-color: '*'- peerDependenciesMeta:- supports-color:- optional: true- dependencies:- ms: 2.0.0-- /debug/[email protected]:- resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==}- peerDependencies:- supports-color: '*'- peerDependenciesMeta:- supports-color:- optional: true- dependencies:- ms: 2.1.3- supports-color: 5.5.0- dev: true-- /debug/4.1.1:- resolution: {integrity: sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==}- deprecated: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)- peerDependencies:- supports-color: '*'- peerDependenciesMeta:- supports-color:- optional: true- dependencies:- ms: 2.1.3- dev: true-- /debug/4.3.4:- resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==}- engines: {node: '>=6.0'}- peerDependencies:- supports-color: '*'- peerDependenciesMeta:- supports-color:- optional: true- dependencies:- ms: 2.1.2-- /decompress-response/6.0.0:- resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==}- engines: {node: '>=10'}- dependencies:- mimic-response: 3.1.0- dev: false-- /deep-is/0.1.4:- resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}- dev: true-- /deepmerge/4.2.2:- resolution: {integrity: sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==}- engines: {node: '>=0.10.0'}-- /defer-to-connect/2.0.1:- resolution: {integrity: sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==}- engines: {node: '>=10'}- dev: false-- /define-properties/1.1.4:- resolution: {integrity: sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==}- engines: {node: '>= 0.4'}- dependencies:- has-property-descriptors: 1.0.0- object-keys: 1.1.1- dev: true-- /defined/1.0.0:- resolution: {integrity: sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ==}-- /depd/2.0.0:- resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==}- engines: {node: '>= 0.8'}- dev: false-- /destroy/1.2.0:- resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==}- engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16}- dev: false-- /detect-indent/4.0.0:- resolution: {integrity: sha512-BDKtmHlOzwI7iRuEkhzsnPoi5ypEhWAJB5RvHWe1kMr06js3uK5B3734i3ui5Yd+wOJV1cpE4JnivPD283GU/A==}- engines: {node: '>=0.10.0'}- dependencies:- repeating: 2.0.1- dev: true-- /detect-indent/6.0.0:- resolution: {integrity: sha512-oSyFlqaTHCItVRGK5RmrmjB+CmaMOW7IaNA/kdxqhoa6d17j/5ce9O9eWXmV/KEdRwqpQA+Vqe8a8Bsybu4YnA==}- engines: {node: '>=8'}- dev: true-- /detect-indent/6.1.0:- resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==}- engines: {node: '>=8'}- dev: true-- /detective/5.2.1:- resolution: {integrity: sha512-v9XE1zRnz1wRtgurGu0Bs8uHKFSTdteYZNbIPFVhUZ39L/S79ppMpdmVOZAnoz1jfEFodc48n6MX483Xo3t1yw==}- engines: {node: '>=0.8.0'}- hasBin: true- dependencies:- acorn-node: 1.8.2- defined: 1.0.0- minimist: 1.2.7-- /didyoumean/1.2.2:- resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}-- /diff/4.0.2:- resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==}- engines: {node: '>=0.3.1'}- dev: false-- /dir-glob/3.0.1:- resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}- engines: {node: '>=8'}- dependencies:- path-type: 4.0.0- dev: true-- /dlv/1.1.3:- resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}-- /dns-packet/5.4.0:- resolution: {integrity: sha512-EgqGeaBB8hLiHLZtp/IbaDQTL8pZ0+IvwzSHA6d7VyMDM+B9hgddEMa9xjK5oYnw0ci0JQ6g2XCD7/f6cafU6g==}- engines: {node: '>=6'}- dependencies:- '@leichtgewicht/ip-codec': 2.0.4- dev: false-- /dns-socket/4.2.2:- resolution: {integrity: sha512-BDeBd8najI4/lS00HSKpdFia+OvUMytaVjfzR9n5Lq8MlZRSvtbI+uLtx1+XmQFls5wFU9dssccTmQQ6nfpjdg==}- engines: {node: '>=6'}- dependencies:- dns-packet: 5.4.0- dev: false-- /docker-modem/3.0.5:- resolution: {integrity: sha512-x1E6jxWdtoK3+ifAUWj4w5egPdTDGBpesSCErm+aKET5BnnEOvDtTP6GxcnMB1zZiv2iQ0qJZvJie+1wfIRg6Q==}- engines: {node: '>= 8.0'}- dependencies:- debug: 4.3.4- readable-stream: 3.6.0- split-ca: 1.0.1- ssh2: 1.10.0- transitivePeerDependencies:- - supports-color- dev: false-- /dockerode/3.3.4:- resolution: {integrity: sha512-3EUwuXnCU+RUlQEheDjmBE0B7q66PV9Rw5NiH1sXwINq0M9c5ERP9fxgkw36ZHOtzf4AGEEYySnkx/sACC9EgQ==}- engines: {node: '>= 8.0'}- dependencies:- '@balena/dockerignore': 1.0.2- docker-modem: 3.0.5- tar-fs: 2.0.1- transitivePeerDependencies:- - supports-color- dev: false-- /doctrine/3.0.0:- resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==}- engines: {node: '>=6.0.0'}- dependencies:- esutils: 2.0.3- dev: true-- /dotenv-expand/8.0.3:- resolution: {integrity: sha512-SErOMvge0ZUyWd5B0NXMQlDkN+8r+HhVUsxgOO7IoPDOdDRD2JjExpN6y3KnFR66jsJMwSn1pqIivhU5rcJiNg==}- engines: {node: '>=12'}- dev: false-- /dotenv-extended/2.9.0:- resolution: {integrity: sha512-MKc4WCqZj6Abx4rpDbQ9LsuBJldRLxLgFkY5qE+4JM7hXVYT/v8zyWGgnBeDjSOGzEecWOFPlosNpxfB9YnsCw==}- engines: {node: '>=6'}- hasBin: true- dependencies:- auto-parse: 1.8.0- camelcase: 5.3.1- cross-spawn: 7.0.3- dotenv: 8.6.0- dev: false-- /dotenv/16.0.3:- resolution: {integrity: sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==}- engines: {node: '>=12'}- dev: false-- /dotenv/8.6.0:- resolution: {integrity: sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==}- engines: {node: '>=10'}- dev: false-- /dotgitconfig/1.1.2:- resolution: {integrity: sha512-M+nUsYHJT2qs6bnYqotmO+1IQ09w3ZwLcX4MmbblaWN9C7ydDWM2xQLv22xfl4bUxienESi1GsZnZJPb8jslqQ==}- dependencies:- ini: 1.3.8- dev: false-- /ecdsa-sig-formatter/1.0.11:- resolution: {integrity: sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==}- dependencies:- safe-buffer: 5.2.1- dev: false-- /ee-first/1.1.1:- resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}- dev: false-- /electron-to-chromium/1.4.284:- resolution: {integrity: sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==}-- /emoji-regex/8.0.0:- resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}- dev: true-- /encodeurl/1.0.2:- resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==}- engines: {node: '>= 0.8'}- dev: false-- /end-of-stream/1.4.4:- resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==}- dependencies:- once: 1.4.0- dev: false-- /engine.io-client/6.2.3:- resolution: {integrity: sha512-aXPtgF1JS3RuuKcpSrBtimSjYvrbhKW9froICH4s0F3XQWLxsKNxqzG39nnvQZQnva4CMvUK63T7shevxRyYHw==}- dependencies:- '@socket.io/component-emitter': 3.1.0- debug: 4.3.4- engine.io-parser: 5.0.4- ws: 8.2.3- xmlhttprequest-ssl: 2.0.0- transitivePeerDependencies:- - bufferutil- - supports-color- - utf-8-validate- dev: false-- /engine.io-parser/5.0.4:- resolution: {integrity: sha512-+nVFp+5z1E3HcToEnO7ZIj3g+3k9389DvWtvJZz0T6/eOCPIyyxehFcedoYrZQrp0LgQbD9pPXhpMBKMd5QURg==}- engines: {node: '>=10.0.0'}- dev: false-- /engine.io/6.2.1:- resolution: {integrity: sha512-ECceEFcAaNRybd3lsGQKas3ZlMVjN3cyWwMP25D2i0zWfyiytVbTpRPa34qrr+FHddtpBVOmq4H/DCv1O0lZRA==}- engines: {node: '>=10.0.0'}- dependencies:- '@types/cookie': 0.4.1- '@types/cors': 2.8.12- '@types/node': 18.11.18- accepts: 1.3.8- base64id: 2.0.0- cookie: 0.4.2- cors: 2.8.5- debug: 4.3.4- engine.io-parser: 5.0.4- ws: 8.2.3- transitivePeerDependencies:- - bufferutil- - supports-color- - utf-8-validate- dev: false-- /env-schema/5.0.0:- resolution: {integrity: sha512-91u95Nlny+LmjF3Mk96j8k6k+GOXcFEdMUv3bWQjtM2l+KTAdW6qITiv8kHYO8vCaCScXpJTDyd1AFnCQTnYaQ==}- dependencies:- ajv: 8.11.0- dotenv: 16.0.3- dotenv-expand: 8.0.3- dev: false-- /error-ex/1.3.2:- resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==}- dependencies:- is-arrayish: 0.2.1-- /es-abstract/1.20.1:- resolution: {integrity: sha512-WEm2oBhfoI2sImeM4OF2zE2V3BYdSF+KnSi9Sidz51fQHd7+JuF8Xgcj9/0o+OWeIeIS/MiuNnlruQrJf16GQA==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- es-to-primitive: 1.2.1- function-bind: 1.1.1- function.prototype.name: 1.1.5- get-intrinsic: 1.1.1- get-symbol-description: 1.0.0- has: 1.0.3- has-property-descriptors: 1.0.0- has-symbols: 1.0.3- internal-slot: 1.0.3- is-callable: 1.2.4- is-negative-zero: 2.0.2- is-regex: 1.1.4- is-shared-array-buffer: 1.0.2- is-string: 1.0.7- is-weakref: 1.0.2- object-inspect: 1.12.1- object-keys: 1.1.1- object.assign: 4.1.2- regexp.prototype.flags: 1.4.3- string.prototype.trimend: 1.0.5- string.prototype.trimstart: 1.0.5- unbox-primitive: 1.0.2- dev: true-- /es-to-primitive/1.2.1:- resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==}- engines: {node: '>= 0.4'}- dependencies:- is-callable: 1.2.4- is-date-object: 1.0.5- is-symbol: 1.0.4- dev: true-- /es6-promise/3.3.1:- resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==}- dev: true-- /esbuild-android-64/0.15.15:- resolution: {integrity: sha512-F+WjjQxO+JQOva3tJWNdVjouFMLK6R6i5gjDvgUthLYJnIZJsp1HlF523k73hELY20WPyEO8xcz7aaYBVkeg5Q==}- engines: {node: '>=12'}- cpu: [x64]- os: [android]- requiresBuild: true- dev: true- optional: true-- /esbuild-android-arm64/0.15.15:- resolution: {integrity: sha512-attlyhD6Y22jNyQ0fIIQ7mnPvDWKw7k6FKnsXlBvQE6s3z6s6cuEHcSgoirquQc7TmZgVCK5fD/2uxmRN+ZpcQ==}- engines: {node: '>=12'}- cpu: [arm64]- os: [android]- requiresBuild: true- dev: true- optional: true-- /esbuild-darwin-64/0.15.15:- resolution: {integrity: sha512-ohZtF8W1SHJ4JWldsPVdk8st0r9ExbAOSrBOh5L+Mq47i696GVwv1ab/KlmbUoikSTNoXEhDzVpxUR/WIO19FQ==}- engines: {node: '>=12'}- cpu: [x64]- os: [darwin]- requiresBuild: true- dev: true- optional: true-- /esbuild-darwin-arm64/0.15.15:- resolution: {integrity: sha512-P8jOZ5zshCNIuGn+9KehKs/cq5uIniC+BeCykvdVhx/rBXSxmtj3CUIKZz4sDCuESMbitK54drf/2QX9QHG5Ag==}- engines: {node: '>=12'}- cpu: [arm64]- os: [darwin]- requiresBuild: true- dev: true- optional: true-- /esbuild-freebsd-64/0.15.15:- resolution: {integrity: sha512-KkTg+AmDXz1IvA9S1gt8dE24C8Thx0X5oM0KGF322DuP+P3evwTL9YyusHAWNsh4qLsR80nvBr/EIYs29VSwuA==}- engines: {node: '>=12'}- cpu: [x64]- os: [freebsd]- requiresBuild: true- dev: true- optional: true-- /esbuild-freebsd-arm64/0.15.15:- resolution: {integrity: sha512-FUcML0DRsuyqCMfAC+HoeAqvWxMeq0qXvclZZ/lt2kLU6XBnDA5uKTLUd379WYEyVD4KKFctqWd9tTuk8C/96g==}- engines: {node: '>=12'}- cpu: [arm64]- os: [freebsd]- requiresBuild: true- dev: true- optional: true-- /esbuild-linux-32/0.15.15:- resolution: {integrity: sha512-q28Qn5pZgHNqug02aTkzw5sW9OklSo96b5nm17Mq0pDXrdTBcQ+M6Q9A1B+dalFeynunwh/pvfrNucjzwDXj+Q==}- engines: {node: '>=12'}- cpu: [ia32]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /esbuild-linux-64/0.15.15:- resolution: {integrity: sha512-217KPmWMirkf8liO+fj2qrPwbIbhNTGNVtvqI1TnOWJgcMjUWvd677Gq3fTzXEjilkx2yWypVnTswM2KbXgoAg==}- engines: {node: '>=12'}- cpu: [x64]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /esbuild-linux-arm/0.15.15:- resolution: {integrity: sha512-RYVW9o2yN8yM7SB1yaWr378CwrjvGCyGybX3SdzPHpikUHkME2AP55Ma20uNwkNyY2eSYFX9D55kDrfQmQBR4w==}- engines: {node: '>=12'}- cpu: [arm]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /esbuild-linux-arm64/0.15.15:- resolution: {integrity: sha512-/ltmNFs0FivZkYsTzAsXIfLQX38lFnwJTWCJts0IbCqWZQe+jjj0vYBNbI0kmXLb3y5NljiM5USVAO1NVkdh2g==}- engines: {node: '>=12'}- cpu: [arm64]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /esbuild-linux-mips64le/0.15.15:- resolution: {integrity: sha512-PksEPb321/28GFFxtvL33yVPfnMZihxkEv5zME2zapXGp7fA1X2jYeiTUK+9tJ/EGgcNWuwvtawPxJG7Mmn86A==}- engines: {node: '>=12'}- cpu: [mips64el]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /esbuild-linux-ppc64le/0.15.15:- resolution: {integrity: sha512-ek8gJBEIhcpGI327eAZigBOHl58QqrJrYYIZBWQCnH3UnXoeWMrMZLeeZL8BI2XMBhP+sQ6ERctD5X+ajL/AIA==}- engines: {node: '>=12'}- cpu: [ppc64]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /esbuild-linux-riscv64/0.15.15:- resolution: {integrity: sha512-H5ilTZb33/GnUBrZMNJtBk7/OXzDHDXjIzoLXHSutwwsLxSNaLxzAaMoDGDd/keZoS+GDBqNVxdCkpuiRW4OSw==}- engines: {node: '>=12'}- cpu: [riscv64]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /esbuild-linux-s390x/0.15.15:- resolution: {integrity: sha512-jKaLUg78mua3rrtrkpv4Or2dNTJU7bgHN4bEjT4OX4GR7nLBSA9dfJezQouTxMmIW7opwEC5/iR9mpC18utnxQ==}- engines: {node: '>=12'}- cpu: [s390x]- os: [linux]- requiresBuild: true- dev: true- optional: true-- /esbuild-netbsd-64/0.15.15:- resolution: {integrity: sha512-aOvmF/UkjFuW6F36HbIlImJTTx45KUCHJndtKo+KdP8Dhq3mgLRKW9+6Ircpm8bX/RcS3zZMMmaBLkvGY06Gvw==}- engines: {node: '>=12'}- cpu: [x64]- os: [netbsd]- requiresBuild: true- dev: true- optional: true-- /esbuild-openbsd-64/0.15.15:- resolution: {integrity: sha512-HFFX+WYedx1w2yJ1VyR1Dfo8zyYGQZf1cA69bLdrHzu9svj6KH6ZLK0k3A1/LFPhcEY9idSOhsB2UyU0tHPxgQ==}- engines: {node: '>=12'}- cpu: [x64]- os: [openbsd]- requiresBuild: true- dev: true- optional: true-- /esbuild-sunos-64/0.15.15:- resolution: {integrity: sha512-jOPBudffG4HN8yJXcK9rib/ZTFoTA5pvIKbRrt3IKAGMq1EpBi4xoVoSRrq/0d4OgZLaQbmkHp8RO9eZIn5atA==}- engines: {node: '>=12'}- cpu: [x64]- os: [sunos]- requiresBuild: true- dev: true- optional: true-- /esbuild-windows-32/0.15.15:- resolution: {integrity: sha512-MDkJ3QkjnCetKF0fKxCyYNBnOq6dmidcwstBVeMtXSgGYTy8XSwBeIE4+HuKiSsG6I/mXEb++px3IGSmTN0XiA==}- engines: {node: '>=12'}- cpu: [ia32]- os: [win32]- requiresBuild: true- dev: true- optional: true-- /esbuild-windows-64/0.15.15:- resolution: {integrity: sha512-xaAUIB2qllE888SsMU3j9nrqyLbkqqkpQyWVkfwSil6BBPgcPk3zOFitTTncEKCLTQy3XV9RuH7PDj3aJDljWA==}- engines: {node: '>=12'}- cpu: [x64]- os: [win32]- requiresBuild: true- dev: true- optional: true-- /esbuild-windows-arm64/0.15.15:- resolution: {integrity: sha512-ttuoCYCIJAFx4UUKKWYnFdrVpoXa3+3WWkXVI6s09U+YjhnyM5h96ewTq/WgQj9LFSIlABQvadHSOQyAVjW5xQ==}- engines: {node: '>=12'}- cpu: [arm64]- os: [win32]- requiresBuild: true- dev: true- optional: true-- /esbuild/0.15.15:- resolution: {integrity: sha512-TEw/lwK4Zzld9x3FedV6jy8onOUHqcEX3ADFk4k+gzPUwrxn8nWV62tH0udo8jOtjFodlEfc4ypsqX3e+WWO6w==}- engines: {node: '>=12'}- hasBin: true- requiresBuild: true- optionalDependencies:- '@esbuild/android-arm': 0.15.15- '@esbuild/linux-loong64': 0.15.15- esbuild-android-64: 0.15.15- esbuild-android-arm64: 0.15.15- esbuild-darwin-64: 0.15.15- esbuild-darwin-arm64: 0.15.15- esbuild-freebsd-64: 0.15.15- esbuild-freebsd-arm64: 0.15.15- esbuild-linux-32: 0.15.15- esbuild-linux-64: 0.15.15- esbuild-linux-arm: 0.15.15- esbuild-linux-arm64: 0.15.15- esbuild-linux-mips64le: 0.15.15- esbuild-linux-ppc64le: 0.15.15- esbuild-linux-riscv64: 0.15.15- esbuild-linux-s390x: 0.15.15- esbuild-netbsd-64: 0.15.15- esbuild-openbsd-64: 0.15.15- esbuild-sunos-64: 0.15.15- esbuild-windows-32: 0.15.15- esbuild-windows-64: 0.15.15- esbuild-windows-arm64: 0.15.15- dev: true-- /esbuild/0.16.16:- resolution: {integrity: sha512-24JyKq10KXM5EBIgPotYIJ2fInNWVVqflv3gicIyQqfmUqi4HvDW1VR790cBgLJHCl96Syy7lhoz7tLFcmuRmg==}- engines: {node: '>=12'}- hasBin: true- requiresBuild: true- optionalDependencies:- '@esbuild/android-arm': 0.16.16- '@esbuild/android-arm64': 0.16.16- '@esbuild/android-x64': 0.16.16- '@esbuild/darwin-arm64': 0.16.16- '@esbuild/darwin-x64': 0.16.16- '@esbuild/freebsd-arm64': 0.16.16- '@esbuild/freebsd-x64': 0.16.16- '@esbuild/linux-arm': 0.16.16- '@esbuild/linux-arm64': 0.16.16- '@esbuild/linux-ia32': 0.16.16- '@esbuild/linux-loong64': 0.16.16- '@esbuild/linux-mips64el': 0.16.16- '@esbuild/linux-ppc64': 0.16.16- '@esbuild/linux-riscv64': 0.16.16- '@esbuild/linux-s390x': 0.16.16- '@esbuild/linux-x64': 0.16.16- '@esbuild/netbsd-x64': 0.16.16- '@esbuild/openbsd-x64': 0.16.16- '@esbuild/sunos-x64': 0.16.16- '@esbuild/win32-arm64': 0.16.16- '@esbuild/win32-ia32': 0.16.16- '@esbuild/win32-x64': 0.16.16- dev: true-- /escalade/3.1.1:- resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==}- engines: {node: '>=6'}-- /escape-html/1.0.3:- resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}- dev: false-- /escape-string-regexp/1.0.5:- resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==}- engines: {node: '>=0.8.0'}-- /escape-string-regexp/4.0.0:- resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}- engines: {node: '>=10'}- dev: true-- /escape-string-regexp/5.0.0:- resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}- engines: {node: '>=12'}- dev: false-- /eslint-config-prettier/[email protected]:- resolution: {integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==}- hasBin: true- peerDependencies:- eslint: '>=7.0.0'- dependencies:- eslint: 8.28.0- dev: true-- /eslint-config-prettier/[email protected]:- resolution: {integrity: sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA==}- hasBin: true- peerDependencies:- eslint: '>=7.0.0'- dependencies:- eslint: 8.31.0- dev: true-- /eslint-plugin-prettier/4.2.1_iu5s7nk6dw7o3tajefwfiqfmge:- resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==}- engines: {node: '>=12.0.0'}- peerDependencies:- eslint: '>=7.28.0'- eslint-config-prettier: '*'- prettier: '>=2.0.0'- peerDependenciesMeta:- eslint-config-prettier:- optional: true- dependencies:- eslint: 8.31.0- eslint-config-prettier: [email protected]- prettier: 2.8.2- prettier-linter-helpers: 1.0.0- dev: true-- /eslint-plugin-svelte3/4.0.0_xgu65rlhscpnxffotiaicv6m5i:- resolution: {integrity: sha512-OIx9lgaNzD02+MDFNLw0GEUbuovNcglg+wnd/UY0fbZmlQSz7GlQiQ1f+yX0XvC07XPcDOnFcichqI3xCwp71g==}- peerDependencies:- eslint: '>=8.0.0'- svelte: ^3.2.0- dependencies:- eslint: 8.28.0- svelte: 3.53.1- dev: true-- /eslint-scope/5.1.1:- resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}- engines: {node: '>=8.0.0'}- dependencies:- esrecurse: 4.3.0- estraverse: 4.3.0- dev: true-- /eslint-scope/7.1.1:- resolution: {integrity: sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dependencies:- esrecurse: 4.3.0- estraverse: 5.3.0- dev: true-- /eslint-utils/[email protected]:- resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==}- engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}- peerDependencies:- eslint: '>=5'- dependencies:- eslint: 8.28.0- eslint-visitor-keys: 2.1.0- dev: true-- /eslint-utils/[email protected]:- resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==}- engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}- peerDependencies:- eslint: '>=5'- dependencies:- eslint: 8.31.0- eslint-visitor-keys: 2.1.0- dev: true-- /eslint-visitor-keys/2.1.0:- resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==}- engines: {node: '>=10'}- dev: true-- /eslint-visitor-keys/3.3.0:- resolution: {integrity: sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dev: true-- /eslint/8.28.0:- resolution: {integrity: sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- hasBin: true- dependencies:- '@eslint/eslintrc': 1.3.3- '@humanwhocodes/config-array': 0.11.6- '@humanwhocodes/module-importer': 1.0.1- '@nodelib/fs.walk': 1.2.8- ajv: 6.12.6- chalk: 4.1.2- cross-spawn: 7.0.3- debug: 4.3.4- doctrine: 3.0.0- escape-string-regexp: 4.0.0- eslint-scope: 7.1.1- eslint-utils: [email protected]- eslint-visitor-keys: 3.3.0- espree: 9.4.0- esquery: 1.4.0- esutils: 2.0.3- fast-deep-equal: 3.1.3- file-entry-cache: 6.0.1- find-up: 5.0.0- glob-parent: 6.0.2- globals: 13.15.0- grapheme-splitter: 1.0.4- ignore: 5.2.0- import-fresh: 3.3.0- imurmurhash: 0.1.4- is-glob: 4.0.3- is-path-inside: 3.0.3- js-sdsl: 4.1.5- js-yaml: 4.1.0- json-stable-stringify-without-jsonify: 1.0.1- levn: 0.4.1- lodash.merge: 4.6.2- minimatch: 3.1.2- natural-compare: 1.4.0- optionator: 0.9.1- regexpp: 3.2.0- strip-ansi: 6.0.1- strip-json-comments: 3.1.1- text-table: 0.2.0- transitivePeerDependencies:- - supports-color- dev: true-- /eslint/8.31.0:- resolution: {integrity: sha512-0tQQEVdmPZ1UtUKXjX7EMm9BlgJ08G90IhWh0PKDCb3ZLsgAOHI8fYSIzYVZej92zsgq+ft0FGsxhJ3xo2tbuA==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- hasBin: true- dependencies:- '@eslint/eslintrc': 1.4.1- '@humanwhocodes/config-array': 0.11.8- '@humanwhocodes/module-importer': 1.0.1- '@nodelib/fs.walk': 1.2.8- ajv: 6.12.6- chalk: 4.1.2- cross-spawn: 7.0.3- debug: 4.3.4- doctrine: 3.0.0- escape-string-regexp: 4.0.0- eslint-scope: 7.1.1- eslint-utils: [email protected]- eslint-visitor-keys: 3.3.0- espree: 9.4.0- esquery: 1.4.0- esutils: 2.0.3- fast-deep-equal: 3.1.3- file-entry-cache: 6.0.1- find-up: 5.0.0- glob-parent: 6.0.2- globals: 13.19.0- grapheme-splitter: 1.0.4- ignore: 5.2.0- import-fresh: 3.3.0- imurmurhash: 0.1.4- is-glob: 4.0.3- is-path-inside: 3.0.3- js-sdsl: 4.1.5- js-yaml: 4.1.0- json-stable-stringify-without-jsonify: 1.0.1- levn: 0.4.1- lodash.merge: 4.6.2- minimatch: 3.1.2- natural-compare: 1.4.0- optionator: 0.9.1- regexpp: 3.2.0- strip-ansi: 6.0.1- strip-json-comments: 3.1.1- text-table: 0.2.0- transitivePeerDependencies:- - supports-color- dev: true-- /espree/9.4.0:- resolution: {integrity: sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dependencies:- acorn: 8.8.0- acorn-jsx: [email protected]- eslint-visitor-keys: 3.3.0- dev: true-- /esquery/1.4.0:- resolution: {integrity: sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==}- engines: {node: '>=0.10'}- dependencies:- estraverse: 5.3.0- dev: true-- /esrecurse/4.3.0:- resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}- engines: {node: '>=4.0'}- dependencies:- estraverse: 5.3.0- dev: true-- /estraverse/4.3.0:- resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==}- engines: {node: '>=4.0'}- dev: true-- /estraverse/5.3.0:- resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}- engines: {node: '>=4.0'}- dev: true-- /esutils/2.0.3:- resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}- engines: {node: '>=0.10.0'}- dev: true-- /etag/1.8.1:- resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==}- engines: {node: '>= 0.6'}- dev: false-- /event-target-shim/5.0.1:- resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==}- engines: {node: '>=6'}- dev: false-- /execa/6.1.0:- resolution: {integrity: sha512-QVWlX2e50heYJcCPG0iWtf8r0xjEYfz/OYLGDYH+IyjWezzPNxz63qNFOu0l4YftGWuizFVZHHs8PrLU5p2IDA==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}- dependencies:- cross-spawn: 7.0.3- get-stream: 6.0.1- human-signals: 3.0.1- is-stream: 3.0.0- merge-stream: 2.0.0- npm-run-path: 5.1.0- onetime: 6.0.0- signal-exit: 3.0.7- strip-final-newline: 3.0.0- dev: false-- /exit/0.1.2:- resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==}- engines: {node: '>= 0.8.0'}- dev: true-- /external-editor/3.1.0:- resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==}- engines: {node: '>=4'}- dependencies:- chardet: 0.7.0- iconv-lite: 0.4.24- tmp: 0.0.33- dev: true-- /fast-decode-uri-component/1.0.1:- resolution: {integrity: sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==}- dev: false-- /fast-deep-equal/3.1.3:- resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}-- /fast-diff/1.2.0:- resolution: {integrity: sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==}- dev: true-- /fast-glob/3.2.12:- resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==}- engines: {node: '>=8.6.0'}- dependencies:- '@nodelib/fs.stat': 2.0.5- '@nodelib/fs.walk': 1.2.8- glob-parent: 5.1.2- merge2: 1.4.1- micromatch: 4.0.5-- /fast-json-stable-stringify/2.1.0:- resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}- dev: true-- /fast-json-stringify/5.0.5:- resolution: {integrity: sha512-NGXE7I6dBcSTM1pprcLEIQ6nHp424mDn8ABleM17Sp7XkyPLlbIDed41/VhUiqnLICX7XiOoFsNHx/nnJ8qhig==}- dependencies:- ajv: 8.11.0- ajv-formats: 2.1.1- deepmerge: 4.2.2- fast-uri: 2.1.0- rfdc: 1.3.0- dev: false-- /fast-jwt/2.0.2:- resolution: {integrity: sha512-XE/gRruEjQOfqnhxosaKIdyNgwatWERQzzZEn8mgHNeUGBEklnH2iQvHYn+K20EGGbkuaLvlmCUmb2hyI/v9kA==}- engines: {node: '>=14 <20'}- dependencies:- asn1.js: 5.4.1- ecdsa-sig-formatter: 1.0.11- mnemonist: 0.39.5- dev: false-- /fast-levenshtein/2.0.6:- resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}- dev: true-- /fast-querystring/1.0.0:- resolution: {integrity: sha512-3LQi62IhQoDlmt4ULCYmh17vRO2EtS7hTSsG4WwoKWgV7GLMKBOecEh+aiavASnLx8I2y89OD33AGLo0ccRhzA==}- dependencies:- fast-decode-uri-component: 1.0.1- dev: false-- /fast-redact/3.1.1:- resolution: {integrity: sha512-odVmjC8x8jNeMZ3C+rPMESzXVSEU8tSWSHv9HFxP2mm89G/1WwqhrerJDQm9Zus8X6aoRgQDThKqptdNA6bt+A==}- engines: {node: '>=6'}- dev: false-- /fast-safe-stringify/2.1.1:- resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==}- dev: false-- /fast-uri/2.1.0:- resolution: {integrity: sha512-qKRta6N7BWEFVlyonVY/V+BMLgFqktCUV0QjT259ekAIlbVrMaFnFLxJ4s/JPl4tou56S1BzPufI60bLe29fHA==}- dev: false-- /fastfall/1.5.1:- resolution: {integrity: sha512-KH6p+Z8AKPXnmA7+Iz2Lh8ARCMr+8WNPVludm1LGkZoD2MjY6LVnRMtTKhkdzI+jr0RzQWXKzKyBJm1zoHEL4Q==}- engines: {node: '>=0.10.0'}- dependencies:- reusify: 1.0.4- dev: false-- /fastify-plugin/3.0.1:- resolution: {integrity: sha512-qKcDXmuZadJqdTm6vlCqioEbyewF60b/0LOFCcYN1B6BIZGlYJumWWOYs70SFYLDAH4YqdE1cxH/RKMG7rFxgA==}- dev: false-- /fastify-plugin/4.3.0:- resolution: {integrity: sha512-M3+i368lV0OYTJ5TfClIoPKEKSOF7112iiPdwgfSR0gN98BjA1Nk+c6oBHtfcVt9KiMxl+EQKHC1QNWo3ZOpYQ==}- dev: false-- /fastify-plugin/4.4.0:- resolution: {integrity: sha512-ovwFQG2qNy3jcCROiWpr94Hs0le+c7N/3t7m9aVwbFhkxcR/esp2xu25dP8e617HpQdmeDv+gFX4zagdUhDByw==}- dev: false-- /fastify-socket.io/[email protected]:- resolution: {integrity: sha512-j5mgvHZpQ0Iiz9HyKwGdLOQGjFKH/6KOwx8esxCIBkIjtiQkdC8e4J1xX4JAMISLfTJOY9EHQG/1MmU/9cXaog==}- peerDependencies:- socket.io: ^4.4.0- dependencies:- fastify-plugin: 3.0.1- socket.io: 4.5.4- dev: false-- /fastify/4.11.0:- resolution: {integrity: sha512-JteZ8pjEqd+6n+azQnQfSJV8MUMxAmxbvC2Dx/Mybj039Lf/u3kda9Kq84uy/huCpqCzZoyHIZS5JFGF3wLztw==}- dependencies:- '@fastify/ajv-compiler': 3.3.1- '@fastify/error': 3.0.0- '@fastify/fast-json-stringify-compiler': 4.1.0- abstract-logging: 2.0.1- avvio: 8.2.0- content-type: 1.0.4- find-my-way: 7.3.1- light-my-request: 5.6.1- pino: 8.6.1- process-warning: 2.0.0- proxy-addr: 2.0.7- rfdc: 1.3.0- secure-json-parse: 2.5.0- semver: 7.3.8- tiny-lru: 10.0.1- transitivePeerDependencies:- - supports-color- dev: false-- /fastparallel/2.4.1:- resolution: {integrity: sha512-qUmhxPgNHmvRjZKBFUNI0oZuuH9OlSIOXmJ98lhKPxMZZ7zS/Fi0wRHOihDSz0R1YiIOjxzOY4bq65YTcdBi2Q==}- dependencies:- reusify: 1.0.4- xtend: 4.0.2- dev: false-- /fastparse/1.1.2:- resolution: {integrity: sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==}- dev: false-- /fastq/1.13.0:- resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==}- dependencies:- reusify: 1.0.4-- /fastseries/1.7.2:- resolution: {integrity: sha512-dTPFrPGS8SNSzAt7u/CbMKCJ3s01N04s4JFbORHcmyvVfVKmbhMD1VtRbh5enGHxkaQDqWyLefiKOGGmohGDDQ==}- dependencies:- reusify: 1.0.4- xtend: 4.0.2- dev: false-- /figures/3.2.0:- resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==}- engines: {node: '>=8'}- dependencies:- escape-string-regexp: 1.0.5- dev: true-- /file-entry-cache/6.0.1:- resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==}- engines: {node: ^10.12.0 || >=12.0.0}- dependencies:- flat-cache: 3.0.4- dev: true-- /fill-range/7.0.1:- resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}- engines: {node: '>=8'}- dependencies:- to-regex-range: 5.0.1-- /find-my-way/7.3.1:- resolution: {integrity: sha512-kGvM08SOkqvheLcuQ8GW9t/H901Qb9rZEbcNWbXopzy4jDRoaJpJoObPSKf4MnQLZ20ZTp7rL5MpF6rf+pqmyg==}- engines: {node: '>=14'}- dependencies:- fast-deep-equal: 3.1.3- fast-querystring: 1.0.0- safe-regex2: 2.0.0- dev: false-- /find-up/3.0.0:- resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==}- engines: {node: '>=6'}- dependencies:- locate-path: 3.0.0- dev: false-- /find-up/4.1.0:- resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}- engines: {node: '>=8'}- dependencies:- locate-path: 5.0.0- path-exists: 4.0.0- dev: false-- /find-up/5.0.0:- resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}- engines: {node: '>=10'}- dependencies:- locate-path: 6.0.0- path-exists: 4.0.0- dev: true-- /flat-cache/3.0.4:- resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==}- engines: {node: ^10.12.0 || >=12.0.0}- dependencies:- flatted: 3.2.5- rimraf: 3.0.2- dev: true-- /flatted/3.2.5:- resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==}- dev: true-- /flowbite-svelte/0.28.0:- resolution: {integrity: sha512-7karX+1pmvSb9FOKWWBKls4G97o4iqiAFjxxcBJBWZopM3aqhHSf5+8EthuyFQZRiHMiPwvMnE5kWHvzsDCqsw==}- engines: {node: '>=16.0.0', npm: '>=7.0.0'}- dependencies:- '@popperjs/core': 2.11.6- classnames: 2.3.2- flowbite: 1.5.4- dev: true-- /flowbite/1.5.4:- resolution: {integrity: sha512-A4VTeJE+aHSbwrMzWvpTADhNgX8Njpb3DqRL26pFkOupklPg8cmNstZK8cXrFnBPxomOiX/OazZnhQM1BIZADQ==}- dependencies:- '@popperjs/core': 2.11.6- mini-svg-data-uri: 1.4.4- dev: true-- /form-data-encoder/2.1.2:- resolution: {integrity: sha512-FCaIOVTRA9E0siY6FeXid7D5yrCqpsErplUkE2a1BEiKj1BE9z6FbKB4ntDTwC4NVLie9p+4E9nX4mWwEOT05A==}- engines: {node: '>= 14.17'}- dev: false-- /format-specifiers/1.0.0:- resolution: {integrity: sha512-/xcmy6xn/DsR+V6flFj3E47yCbrsk70r90moAMENVkKckUPUG9CRE79S/2xajLVx1iADIoWx+1R304uMXB/riQ==}- dev: false-- /forwarded/0.2.0:- resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==}- engines: {node: '>= 0.6'}- dev: false-- /fraction.js/4.2.0:- resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==}-- /fresh/0.5.2:- resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==}- engines: {node: '>= 0.6'}- dev: false-- /fs-constants/1.0.0:- resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}- dev: false-- /fs.realpath/1.0.0:- resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}-- /fsevents/2.3.2:- resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}- engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}- os: [darwin]- requiresBuild: true- optional: true-- /function-bind/1.1.1:- resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==}-- /function-timeout/0.1.1:- resolution: {integrity: sha512-0NVVC0TaP7dSTvn1yMiy6d6Q8gifzbvQafO46RtLG/kHJUBNd+pVRGOBoK44wNBvtSPUJRfdVvkFdD3p0xvyZg==}- engines: {node: '>=14.16'}- dev: false-- /function.name/1.0.13:- resolution: {integrity: sha512-mVrqdoy5npWZyoXl4DxCeuVF6delDcQjVS9aPdvLYlBxtMTZDR2B5GVEQEoM1jJyspCqg3C0v4ABkLE7tp9xFA==}- dependencies:- noop6: 1.0.9- dev: false-- /function.prototype.name/1.1.5:- resolution: {integrity: sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- define-properties: 1.1.4- es-abstract: 1.20.1- functions-have-names: 1.2.3- dev: true-- /functions-have-names/1.2.3:- resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}- dev: true-- /generate-password/1.7.0:- resolution: {integrity: sha512-WPCtlfy0jexf7W5IbwxGUgpIDvsZIohbI2DAq2Q6TSlKKis+G4GT9sxvPxrZUGL8kP6WUXMWNqYnxY6DDKAdFA==}- dev: false-- /get-intrinsic/1.1.1:- resolution: {integrity: sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==}- dependencies:- function-bind: 1.1.1- has: 1.0.3- has-symbols: 1.0.3-- /get-stream/6.0.1:- resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==}- engines: {node: '>=10'}- dev: false-- /get-symbol-description/1.0.0:- resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- get-intrinsic: 1.1.1- dev: true-- /get-value/3.0.1:- resolution: {integrity: sha512-mKZj9JLQrwMBtj5wxi6MH8Z5eSKaERpAwjg43dPtlGI1ZVEgH/qC7T8/6R2OBSUA+zzHBZgICsVJaEIV2tKTDA==}- engines: {node: '>=6.0'}- dependencies:- isobject: 3.0.1- dev: false-- /glob-parent/5.1.2:- resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}- engines: {node: '>= 6'}- dependencies:- is-glob: 4.0.3-- /glob-parent/6.0.2:- resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}- engines: {node: '>=10.13.0'}- dependencies:- is-glob: 4.0.3-- /glob/7.2.3:- resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}- dependencies:- fs.realpath: 1.0.0- inflight: 1.0.6- inherits: 2.0.4- minimatch: 3.1.2- once: 1.4.0- path-is-absolute: 1.0.1- dev: true-- /glob/8.0.3:- resolution: {integrity: sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==}- engines: {node: '>=12'}- dependencies:- fs.realpath: 1.0.0- inflight: 1.0.6- inherits: 2.0.4- minimatch: 5.1.0- once: 1.4.0- dev: false-- /globals/13.15.0:- resolution: {integrity: sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==}- engines: {node: '>=8'}- dependencies:- type-fest: 0.20.2- dev: true-- /globals/13.19.0:- resolution: {integrity: sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ==}- engines: {node: '>=8'}- dependencies:- type-fest: 0.20.2- dev: true-- /globals/9.18.0:- resolution: {integrity: sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==}- engines: {node: '>=0.10.0'}- dev: true-- /globalyzer/0.1.0:- resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==}- dev: true-- /globby/11.1.0:- resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}- engines: {node: '>=10'}- dependencies:- array-union: 2.1.0- dir-glob: 3.0.1- fast-glob: 3.2.12- ignore: 5.2.0- merge2: 1.4.1- slash: 3.0.0- dev: true-- /globrex/0.1.2:- resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==}- dev: true-- /got/12.5.3:- resolution: {integrity: sha512-8wKnb9MGU8IPGRIo+/ukTy9XLJBwDiCpIf5TVzQ9Cpol50eMTpBq2GAuDsuDIz7hTYmZgMgC1e9ydr6kSDWs3w==}- engines: {node: '>=14.16'}- dependencies:- '@sindresorhus/is': 5.3.0- '@szmarczak/http-timer': 5.0.1- cacheable-lookup: 7.0.0- cacheable-request: 10.2.1- decompress-response: 6.0.0- form-data-encoder: 2.1.2- get-stream: 6.0.1- http2-wrapper: 2.1.11- lowercase-keys: 3.0.0- p-cancelable: 3.0.0- responselike: 3.0.0- dev: false-- /graceful-fs/4.2.10:- resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==}- dev: true-- /grapheme-splitter/1.0.4:- resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==}- dev: true-- /has-ansi/2.0.0:- resolution: {integrity: sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==}- engines: {node: '>=0.10.0'}- dependencies:- ansi-regex: 2.1.1- dev: true-- /has-bigints/1.0.2:- resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==}- dev: true-- /has-flag/3.0.0:- resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==}- engines: {node: '>=4'}-- /has-flag/4.0.0:- resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}- engines: {node: '>=8'}- dev: true-- /has-property-descriptors/1.0.0:- resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==}- dependencies:- get-intrinsic: 1.1.1- dev: true-- /has-symbols/1.0.3:- resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==}- engines: {node: '>= 0.4'}-- /has-tostringtag/1.0.0:- resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==}- engines: {node: '>= 0.4'}- dependencies:- has-symbols: 1.0.3- dev: true-- /has-value/2.0.2:- resolution: {integrity: sha512-ybKOlcRsK2MqrM3Hmz/lQxXHZ6ejzSPzpNabKB45jb5qDgJvKPa3SdapTsTLwEb9WltgWpOmNax7i+DzNOk4TA==}- engines: {node: '>=6'}- dependencies:- get-value: 3.0.1- has-values: 2.0.1- dev: false-- /has-values/2.0.1:- resolution: {integrity: sha512-+QdH3jOmq9P8GfdjFg0eJudqx1FqU62NQJ4P16rOEHeRdl7ckgwn6uqQjzYE0ZoHVV/e5E2esuJ5Gl5+HUW19w==}- engines: {node: '>=6'}- dependencies:- kind-of: 6.0.3- dev: false-- /has/1.0.3:- resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==}- engines: {node: '>= 0.4.0'}- dependencies:- function-bind: 1.1.1-- /hexoid/1.0.0:- resolution: {integrity: sha512-QFLV0taWQOZtvIRIAdBChesmogZrtuXvVWsFHZTk2SU+anspqZ2vMnoLg7IE1+Uk16N19APic1BuF8bC8c2m5g==}- engines: {node: '>=8'}- dev: false-- /home-or-tmp/2.0.0:- resolution: {integrity: sha512-ycURW7oUxE2sNiPVw1HVEFsW+ecOpJ5zaj7eC0RlwhibhRBod20muUN8qu/gzx956YrLolVvs1MTXwKgC2rVEg==}- engines: {node: '>=0.10.0'}- dependencies:- os-homedir: 1.0.2- os-tmpdir: 1.0.2- dev: true-- /hosted-git-info/2.8.9:- resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==}-- /http-cache-semantics/4.1.0:- resolution: {integrity: sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==}- dev: false-- /http-errors/2.0.0:- resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==}- engines: {node: '>= 0.8'}- dependencies:- depd: 2.0.0- inherits: 2.0.4- setprototypeof: 1.2.0- statuses: 2.0.1- toidentifier: 1.0.1- dev: false-- /http-headers/3.0.2:- resolution: {integrity: sha512-87E1I+2Wg4dxxz4rcxElo3dxO/w1ZtgL1yA0Sb6vH3qU16vRKq1NjWQv9SCY3ly2OQROcoxHZOUpmelS+k6wOw==}- dependencies:- next-line: 1.1.0- dev: false-- /http2-wrapper/2.1.11:- resolution: {integrity: sha512-aNAk5JzLturWEUiuhAN73Jcbq96R7rTitAoXV54FYMatvihnpD2+6PUgU4ce3D/m5VDbw+F5CsyKSF176ptitQ==}- engines: {node: '>=10.19.0'}- dependencies:- quick-lru: 5.1.1- resolve-alpn: 1.2.1- dev: false-- /https-proxy-agent/5.0.1:- resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==}- engines: {node: '>= 6'}- dependencies:- agent-base: 6.0.2- debug: 4.3.4- transitivePeerDependencies:- - supports-color- dev: false-- /human-interval/2.0.1:- resolution: {integrity: sha512-r4Aotzf+OtKIGQCB3odUowy4GfUDTy3aTWTfLd7ZF2gBCy3XW3v/dJLRefZnOFFnjqs5B1TypvS8WarpBkYUNQ==}- dependencies:- numbered: 1.1.0- dev: false-- /human-signals/3.0.1:- resolution: {integrity: sha512-rQLskxnM/5OCldHo+wNXbpVgDn5A17CUoKX+7Sokwaknlq7CdSnphy0W39GU8dw59XiCXmFXDg4fRuckQRKewQ==}- engines: {node: '>=12.20.0'}- dev: false-- /iconv-lite/0.4.24:- resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}- engines: {node: '>=0.10.0'}- dependencies:- safer-buffer: 2.1.2- dev: true-- /ieee754/1.2.1:- resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==}- dev: false-- /ignore-by-default/1.0.1:- resolution: {integrity: sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==}- dev: true-- /ignore/5.2.0:- resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==}- engines: {node: '>= 4'}- dev: true-- /import-fresh/3.3.0:- resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}- engines: {node: '>=6'}- dependencies:- parent-module: 1.0.1- resolve-from: 4.0.0- dev: true-- /imurmurhash/0.1.4:- resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}- engines: {node: '>=0.8.19'}- dev: true-- /indent-string/5.0.0:- resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==}- engines: {node: '>=12'}- dev: false-- /inflight/1.0.6:- resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}- dependencies:- once: 1.4.0- wrappy: 1.0.2-- /inherits/2.0.4:- resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}-- /ini/1.3.8:- resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==}- dev: false-- /inquirer/7.0.0:- resolution: {integrity: sha512-rSdC7zelHdRQFkWnhsMu2+2SO41mpv2oF2zy4tMhmiLWkcKbOAs87fWAJhVXttKVwhdZvymvnuM95EyEXg2/tQ==}- engines: {node: '>=6.0.0'}- dependencies:- ansi-escapes: 4.3.2- chalk: 2.4.2- cli-cursor: 3.1.0- cli-width: 2.2.1- external-editor: 3.1.0- figures: 3.2.0- lodash: 4.17.21- mute-stream: 0.0.8- run-async: 2.4.1- rxjs: 6.6.7- string-width: 4.2.3- strip-ansi: 5.2.0- through: 2.3.8- dev: true-- /internal-slot/1.0.3:- resolution: {integrity: sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==}- engines: {node: '>= 0.4'}- dependencies:- get-intrinsic: 1.1.1- has: 1.0.3- side-channel: 1.0.4- dev: true-- /invariant/2.2.4:- resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==}- dependencies:- loose-envify: 1.4.0- dev: true-- /ip-regex/5.0.0:- resolution: {integrity: sha512-fOCG6lhoKKakwv+C6KdsOnGvgXnmgfmp0myi3bcNwj3qfwPAxRKWEuFhvEFF7ceYIz6+1jRZ+yguLFAmUNPEfw==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}- dev: false-- /ipaddr.js/1.9.1:- resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}- engines: {node: '>= 0.10'}- dev: false-- /is-array-buffer/2.0.0:- resolution: {integrity: sha512-O7i/ai40oYpKKdGc4svMkDTeZpYeYuX3QhqD4nPMnwJ1XSEeYn84FI96hnp87YUst6V1fLSWXh5qMosIRLLDQw==}- dev: false-- /is-arrayish/0.2.1:- resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==}-- /is-arrayish/0.3.2:- resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==}- dev: false-- /is-bigint/1.0.4:- resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==}- dependencies:- has-bigints: 1.0.2- dev: true-- /is-binary-path/2.1.0:- resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}- engines: {node: '>=8'}- dependencies:- binary-extensions: 2.2.0-- /is-boolean-object/1.1.2:- resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- has-tostringtag: 1.0.0- dev: true-- /is-buffer/2.0.5:- resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==}- engines: {node: '>=4'}- dev: false-- /is-callable/1.2.4:- resolution: {integrity: sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==}- engines: {node: '>= 0.4'}- dev: true-- /is-core-module/2.9.0:- resolution: {integrity: sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==}- dependencies:- has: 1.0.3-- /is-date-object/1.0.5:- resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==}- engines: {node: '>= 0.4'}- dependencies:- has-tostringtag: 1.0.0- dev: true-- /is-extglob/1.0.0:- resolution: {integrity: sha512-7Q+VbVafe6x2T+Tu6NcOf6sRklazEPmBoB3IWk3WdGZM2iGUwU/Oe3Wtq5lSEkDTTlpp8yx+5t4pzO/i9Ty1ww==}- engines: {node: '>=0.10.0'}- dev: false-- /is-extglob/2.1.1:- resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}- engines: {node: '>=0.10.0'}-- /is-finite/1.1.0:- resolution: {integrity: sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==}- engines: {node: '>=0.10.0'}- dev: true-- /is-fullwidth-code-point/3.0.0:- resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}- engines: {node: '>=8'}- dev: true-- /is-glob/2.0.1:- resolution: {integrity: sha512-a1dBeB19NXsf/E0+FHqkagizel/LQw2DjSQpvQrj3zT+jYPpaUCryPnrQajXKFLCMuf4I6FhRpaGtw4lPrG6Eg==}- engines: {node: '>=0.10.0'}- dependencies:- is-extglob: 1.0.0- dev: false-- /is-glob/4.0.3:- resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}- engines: {node: '>=0.10.0'}- dependencies:- is-extglob: 2.1.1-- /is-invalid-path/0.1.0:- resolution: {integrity: sha512-aZMG0T3F34mTg4eTdszcGXx54oiZ4NtHSft3hWNJMGJXUUqdIj3cOZuHcU0nCWWcY3jd7yRe/3AEm3vSNTpBGQ==}- engines: {node: '>=0.10.0'}- dependencies:- is-glob: 2.0.1- dev: false-- /is-ip/4.0.0:- resolution: {integrity: sha512-4B4XA2HEIm/PY+OSpeMBXr8pGWBYbXuHgjMAqrwbLO3CPTCAd9ArEJzBUKGZtk9viY6+aSfadGnWyjY3ydYZkw==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}- dependencies:- ip-regex: 5.0.0- dev: false-- /is-ip/5.0.0:- resolution: {integrity: sha512-uhmKwcdWJ1nTmBdoBxdHilfJs4qdLBIvVHKRels2+UCZmfcfefuQWziadaYLpN7t/bUrJOjJHv+R1di1q7Q1HQ==}- engines: {node: '>=14.16'}- dependencies:- ip-regex: 5.0.0- super-regex: 0.2.0- dev: false-- /is-negative-zero/2.0.2:- resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==}- engines: {node: '>= 0.4'}- dev: true-- /is-number-object/1.0.7:- resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==}- engines: {node: '>= 0.4'}- dependencies:- has-tostringtag: 1.0.0- dev: true-- /is-number/7.0.0:- resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}- engines: {node: '>=0.12.0'}-- /is-path-inside/3.0.3:- resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==}- engines: {node: '>=8'}- dev: true-- /is-plain-obj/2.1.0:- resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==}- engines: {node: '>=8'}- dev: false-- /is-port-reachable/4.0.0:- resolution: {integrity: sha512-9UoipoxYmSk6Xy7QFgRv2HDyaysmgSG75TFQs6S+3pDM7ZhKTF/bskZV+0UlABHzKjNVhPjYCLfeZUEg1wXxig==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}- dev: false-- /is-regex/1.1.4:- resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- has-tostringtag: 1.0.0- dev: true-- /is-regexp/3.1.0:- resolution: {integrity: sha512-rbku49cWloU5bSMI+zaRaXdQHXnthP6DZ/vLnfdSKyL4zUzuWnomtOEiZZOd+ioQ+avFo/qau3KPTc7Fjy1uPA==}- engines: {node: '>=12'}- dev: false-- /is-shared-array-buffer/1.0.2:- resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==}- dependencies:- call-bind: 1.0.2- dev: true-- /is-stream/2.0.1:- resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}- engines: {node: '>=8'}- dev: false-- /is-stream/3.0.0:- resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}- dev: false-- /is-string-and-not-blank/0.0.2:- resolution: {integrity: sha512-FyPGAbNVyZpTeDCTXnzuwbu9/WpNXbCfbHXLpCRpN4GANhS00eEIP5Ef+k5HYSNIzIhdN9zRDoBj6unscECvtQ==}- engines: {node: '>=6.4.0'}- dependencies:- is-string-blank: 1.0.1- dev: false-- /is-string-blank/1.0.1:- resolution: {integrity: sha512-9H+ZBCVs3L9OYqv8nuUAzpcT9OTgMD1yAWrG7ihlnibdkbtB850heAmYWxHuXc4CHy4lKeK69tN+ny1K7gBIrw==}- dev: false-- /is-string/1.0.7:- resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==}- engines: {node: '>= 0.4'}- dependencies:- has-tostringtag: 1.0.0- dev: true-- /is-symbol/1.0.4:- resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==}- engines: {node: '>= 0.4'}- dependencies:- has-symbols: 1.0.3-- /is-utf8/0.2.1:- resolution: {integrity: sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==}- dev: false-- /is-uuid/1.0.2:- resolution: {integrity: sha512-tCByphFcJgf2qmiMo5hMCgNAquNSagOetVetDvBXswGkNfoyEMvGH1yDlF8cbZbKnbVBr4Y5/rlpMz9umxyBkQ==}- dev: false-- /is-valid-path/0.1.1:- resolution: {integrity: sha512-+kwPrVDu9Ms03L90Qaml+79+6DZHqHyRoANI6IsZJ/g8frhnfchDOBCa0RbQ6/kdHt5CS5OeIEyrYznNuVN+8A==}- engines: {node: '>=0.10.0'}- dependencies:- is-invalid-path: 0.1.0- dev: false-- /is-weakref/1.0.2:- resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==}- dependencies:- call-bind: 1.0.2- dev: true-- /iserror/0.0.2:- resolution: {integrity: sha512-oKGGrFVaWwETimP3SiWwjDeY27ovZoyZPHtxblC4hCq9fXxed/jasx+ATWFFjCVSRZng8VTMsN1nDnGo6zMBSw==}- dev: false-- /isexe/2.0.0:- resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}-- /isobject/3.0.1:- resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==}- engines: {node: '>=0.10.0'}- dev: false-- /isobject/4.0.0:- resolution: {integrity: sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==}- engines: {node: '>=0.10.0'}- dev: false-- /js-cookie/3.0.1:- resolution: {integrity: sha512-+0rgsUXZu4ncpPxRL+lNEptWMOWl9etvPHc/koSRp6MPwpRYAhmk0dUG00J4bxVV3r9uUzfo24wW0knS07SKSw==}- engines: {node: '>=12'}- dev: false-- /js-sdsl/4.1.5:- resolution: {integrity: sha512-08bOAKweV2NUC1wqTtf3qZlnpOX/R2DU9ikpjOHs0H+ibQv3zpncVQg6um4uYtRtrwIX8M4Nh3ytK4HGlYAq7Q==}- dev: true-- /js-tokens/3.0.2:- resolution: {integrity: sha512-RjTcuD4xjtthQkaWH7dFlH85L+QaVtSoOyGdZ3g6HFhS9dFNDfLyqgm2NFe2X6cQpeFmt0452FJjFG5UameExg==}- dev: true-- /js-tokens/4.0.0:- resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}-- /js-yaml/4.1.0:- resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}- hasBin: true- dependencies:- argparse: 2.0.1-- /jsesc/0.5.0:- resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==}- hasBin: true- dev: true-- /jsesc/1.3.0:- resolution: {integrity: sha512-Mke0DA0QjUWuJlhsE0ZPPhYiJkRap642SmI/4ztCFaUs6V2AiH1sfecc+57NgaryfAA2VR3v6O+CSjC1jZJKOA==}- hasBin: true- dev: true-- /json-buffer/3.0.1:- resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==}- dev: false-- /json-parse-better-errors/1.0.2:- resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==}- dev: true-- /json-parse-even-better-errors/2.3.1:- resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==}- dev: false-- /json-schema-traverse/0.4.1:- resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}- dev: true-- /json-schema-traverse/1.0.0:- resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}- dev: false-- /json-stable-stringify-without-jsonify/1.0.1:- resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}- dev: true-- /json5/0.5.1:- resolution: {integrity: sha512-4xrs1aW+6N5DalkqSVA8fxh458CXvR99WU8WLKmq4v8eWAL86Xo3BVqyd3SkA9wEVjCMqyvvRRkshAdOnBp5rw==}- hasBin: true- dev: true-- /json5/2.2.3:- resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==}- engines: {node: '>=6'}- hasBin: true-- /jsonwebtoken/9.0.0:- resolution: {integrity: sha512-tuGfYXxkQGDPnLJ7SibiQgVgeDgfbPq2k2ICcbgqW8WxWLBAxKQM/ZCu/IT8SOSwmaYl4dpTFCW5xZv7YbbWUw==}- engines: {node: '>=12', npm: '>=6'}- dependencies:- jws: 3.2.2- lodash: 4.17.21- ms: 2.1.3- semver: 7.3.8- dev: false-- /jwa/1.4.1:- resolution: {integrity: sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==}- dependencies:- buffer-equal-constant-time: 1.0.1- ecdsa-sig-formatter: 1.0.11- safe-buffer: 5.2.1- dev: false-- /jws/3.2.2:- resolution: {integrity: sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==}- dependencies:- jwa: 1.4.1- safe-buffer: 5.2.1- dev: false-- /keyv/4.5.0:- resolution: {integrity: sha512-2YvuMsA+jnFGtBareKqgANOEKe1mk3HKiXu2fRmAfyxG0MJAywNhi5ttWA3PMjl4NmpyjZNbFifR2vNjW1znfA==}- dependencies:- json-buffer: 3.0.1- dev: false-- /kind-of/6.0.3:- resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==}- engines: {node: '>=0.10.0'}- dev: false-- /kleur/4.1.5:- resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==}- engines: {node: '>=6'}- dev: true-- /last-commit-log/3.2.0:- resolution: {integrity: sha512-3YerFSLpX+YorC/JlAZdtDRx0R1TP50TgxpiC3hCF/rhM12b8/izZkduprDQ5BcJacBqN740fJAyEG+1flZ3Ag==}- dependencies:- dotgitconfig: 1.1.2- dev: false-- /levn/0.4.1:- resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}- engines: {node: '>= 0.8.0'}- dependencies:- prelude-ls: 1.2.1- type-check: 0.4.0- dev: true-- /light-my-request/5.6.1:- resolution: {integrity: sha512-sbJnC1UBRivi9L1kICr3CESb82pNiPNB3TvtdIrZZqW0Qh8uDXvoywMmWKZlihDcmw952CMICCzM+54LDf+E+g==}- dependencies:- cookie: 0.5.0- process-warning: 2.0.0- set-cookie-parser: 2.5.1- dev: false-- /lil-http-terminator/1.2.2:- resolution: {integrity: sha512-2n6gKJIKgPjy4JfSlwsQnAA7wK4SEA1cegqdsYwr7qObVfIHdELjDGjEcYWJanfF/u/mRzIT2WPqhpzC6R9pZw==}- engines: {node: '>=8'}- dev: false-- /lilconfig/2.0.6:- resolution: {integrity: sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg==}- engines: {node: '>=10'}-- /lines-and-columns/1.2.4:- resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}- dev: false-- /load-json-file/4.0.0:- resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==}- engines: {node: '>=4'}- dependencies:- graceful-fs: 4.2.10- parse-json: 4.0.0- pify: 3.0.0- strip-bom: 3.0.0- dev: true-- /locate-path/3.0.0:- resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==}- engines: {node: '>=6'}- dependencies:- p-locate: 3.0.0- path-exists: 3.0.0- dev: false-- /locate-path/5.0.0:- resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}- engines: {node: '>=8'}- dependencies:- p-locate: 4.1.0- dev: false-- /locate-path/6.0.0:- resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}- engines: {node: '>=10'}- dependencies:- p-locate: 5.0.0- dev: true-- /lodash-es/4.17.21:- resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==}- dev: false-- /lodash._baseiteratee/4.7.0:- resolution: {integrity: sha512-nqB9M+wITz0BX/Q2xg6fQ8mLkyfF7MU7eE+MNBNjTHFKeKaZAPEzEg+E8LWxKWf1DQVflNEn9N49yAuqKh2mWQ==}- dependencies:- lodash._stringtopath: 4.8.0- dev: false-- /lodash._basetostring/4.12.0:- resolution: {integrity: sha512-SwcRIbyxnN6CFEEK4K1y+zuApvWdpQdBHM/swxP962s8HIxPO3alBH5t3m/dl+f4CMUug6sJb7Pww8d13/9WSw==}- dev: false-- /lodash._baseuniq/4.6.0:- resolution: {integrity: sha512-Ja1YevpHZctlI5beLA7oc5KNDhGcPixFhcqSiORHNsp/1QTv7amAXzw+gu4YOvErqVlMVyIJGgtzeepCnnur0A==}- dependencies:- lodash._createset: 4.0.3- lodash._root: 3.0.1- dev: false-- /lodash._createset/4.0.3:- resolution: {integrity: sha512-GTkC6YMprrJZCYU3zcqZj+jkXkrXzq3IPBcF/fIPpNEAB4hZEtXU8zp/RwKOvZl43NUmwDbyRk3+ZTbeRdEBXA==}- dev: false-- /lodash._root/3.0.1:- resolution: {integrity: sha512-O0pWuFSK6x4EXhM1dhZ8gchNtG7JMqBtrHdoUFUWXD7dJnNSUze1GuyQr5sOs0aCvgGeI3o/OJW8f4ca7FDxmQ==}- dev: false-- /lodash._stringtopath/4.8.0:- resolution: {integrity: sha512-SXL66C731p0xPDC5LZg4wI5H+dJo/EO4KTqOMwLYCH3+FmmfAKJEZCm6ohGpI+T1xwsDsJCfL4OnhorllvlTPQ==}- dependencies:- lodash._basetostring: 4.12.0- dev: false-- /lodash.castarray/4.4.0:- resolution: {integrity: sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==}- dev: false-- /lodash.isplainobject/4.0.6:- resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==}- dev: false-- /lodash.merge/4.6.2:- resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}-- /lodash.uniqby/4.5.0:- resolution: {integrity: sha512-IRt7cfTtHy6f1aRVA5n7kT8rgN3N1nH6MOWLcHfpWG2SH19E3JksLK38MktLxZDhlAjCP9jpIXkOnRXlu6oByQ==}- dependencies:- lodash._baseiteratee: 4.7.0- lodash._baseuniq: 4.6.0- dev: false-- /lodash/4.17.21:- resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}-- /loose-envify/1.4.0:- resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}- hasBin: true- dependencies:- js-tokens: 4.0.0- dev: true-- /lower-case/1.1.4:- resolution: {integrity: sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA==}- dev: false-- /lowercase-keys/3.0.0:- resolution: {integrity: sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}- dev: false-- /lru-cache/4.1.5:- resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==}- dependencies:- pseudomap: 1.0.2- yallist: 2.1.2- dev: true-- /lru-cache/6.0.0:- resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}- engines: {node: '>=10'}- dependencies:- yallist: 4.0.0-- /lru_map/0.3.3:- resolution: {integrity: sha512-Pn9cox5CsMYngeDbmChANltQl+5pi6XmTrraMSzhPmMBbmgcxmqWry0U3PGapCU1yB4/LqCcom7qhHZiF/jGfQ==}- dev: false-- /magic-string/0.25.9:- resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==}- dependencies:- sourcemap-codec: 1.4.8- dev: true-- /magic-string/0.26.7:- resolution: {integrity: sha512-hX9XH3ziStPoPhJxLq1syWuZMxbDvGNbVchfrdCtanC7D13888bMFow61x8axrx+GfHLtVeAx2kxL7tTGRl+Ow==}- engines: {node: '>=12'}- dependencies:- sourcemap-codec: 1.4.8-- /make-error/1.3.6:- resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==}- dev: false-- /maybe-combine-errors/1.0.0:- resolution: {integrity: sha512-eefp6IduNPT6fVdwPp+1NgD0PML1NU5P6j1Mj5nz1nidX8/sWY7119WL8vTAHgqfsY74TzW0w1XPgdYEKkGZ5A==}- engines: {node: '>=10'}- dev: false-- /memorystream/0.3.1:- resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==}- engines: {node: '>= 0.10.0'}- dev: true-- /merge-options/3.0.4:- resolution: {integrity: sha512-2Sug1+knBjkaMsMgf1ctR1Ujx+Ayku4EdJN4Z+C2+JzoeF7A3OZ9KM2GY0CpQS51NR61LTurMJrRKPhSs3ZRTQ==}- engines: {node: '>=10'}- dependencies:- is-plain-obj: 2.1.0- dev: false-- /merge-stream/2.0.0:- resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}- dev: false-- /merge2/1.4.1:- resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}- engines: {node: '>= 8'}-- /micromatch/4.0.5:- resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==}- engines: {node: '>=8.6'}- dependencies:- braces: 3.0.2- picomatch: 2.3.1-- /mime-db/1.52.0:- resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}- engines: {node: '>= 0.6'}- dev: false-- /mime-types/2.1.35:- resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}- engines: {node: '>= 0.6'}- dependencies:- mime-db: 1.52.0- dev: false-- /mime/1.6.0:- resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==}- engines: {node: '>=4'}- hasBin: true- dev: false-- /mimic-fn/2.1.0:- resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==}- engines: {node: '>=6'}- dev: true-- /mimic-fn/4.0.0:- resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==}- engines: {node: '>=12'}- dev: false-- /mimic-response/3.1.0:- resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==}- engines: {node: '>=10'}- dev: false-- /mimic-response/4.0.0:- resolution: {integrity: sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}- dev: false-- /min-indent/1.0.1:- resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==}- engines: {node: '>=4'}- dev: true-- /mini-svg-data-uri/1.4.4:- resolution: {integrity: sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==}- hasBin: true- dev: true-- /minimalistic-assert/1.0.1:- resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==}- dev: false-- /minimatch/3.1.2:- resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}- dependencies:- brace-expansion: 1.1.11- dev: true-- /minimatch/5.1.0:- resolution: {integrity: sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==}- engines: {node: '>=10'}- dependencies:- brace-expansion: 2.0.1- dev: false-- /minimist/1.2.0:- resolution: {integrity: sha512-7Wl+Jz+IGWuSdgsQEJ4JunV0si/iMhg42MnQQG6h1R6TNeVenp4U9x5CC5v/gYqz/fENLQITAWXidNtVL0NNbw==}- dev: true-- /minimist/1.2.7:- resolution: {integrity: sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==}-- /mkdirp-classic/0.5.3:- resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==}- dev: false-- /mkdirp/0.5.6:- resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==}- hasBin: true- dependencies:- minimist: 1.2.7- dev: true-- /mnemonist/0.39.5:- resolution: {integrity: sha512-FPUtkhtJ0efmEFGpU14x7jGbTB+s18LrzRL2KgoWz9YvcY3cPomz8tih01GbHwnGk/OmkOKfqd/RAQoc8Lm7DQ==}- dependencies:- obliterator: 2.0.4- dev: false-- /mri/1.2.0:- resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}- engines: {node: '>=4'}- dev: true-- /ms/2.0.0:- resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==}-- /ms/2.1.2:- resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}-- /ms/2.1.3:- resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}-- /mute-stream/0.0.8:- resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==}- dev: true-- /nan/2.16.0:- resolution: {integrity: sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA==}- dev: false- optional: true-- /nanoclone/0.2.1:- resolution: {integrity: sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==}- dev: false-- /nanoid/3.3.4:- resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==}- engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}- hasBin: true-- /natural-compare-lite/1.4.0:- resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==}- dev: true-- /natural-compare/1.4.0:- resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}- dev: true-- /negotiator/0.6.3:- resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==}- engines: {node: '>= 0.6'}- dev: false-- /next-line/1.1.0:- resolution: {integrity: sha512-+I10J3wKNoKddNxn0CNpoZ3eTZuqxjNM3b1GImVx22+ePI+Y15P8g/j3WsbP0fhzzrFzrtjOAoq5NCCucswXOQ==}- dev: false-- /nice-try/1.0.5:- resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==}- dev: true-- /no-case/2.3.2:- resolution: {integrity: sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==}- dependencies:- lower-case: 1.1.4- dev: false-- /node-fetch/2.6.0:- resolution: {integrity: sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==}- engines: {node: 4.x || >=6.0.0}- dev: true-- /node-forge/1.3.1:- resolution: {integrity: sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==}- engines: {node: '>= 6.13.0'}- dev: false-- /node-os-utils/1.3.7:- resolution: {integrity: sha512-fvnX9tZbR7WfCG5BAy3yO/nCLyjVWD6MghEq0z5FDfN+ZXpLWNITBdbifxQkQ25ebr16G0N7eRWJisOcMEHG3Q==}- dev: false-- /node-releases/2.0.6:- resolution: {integrity: sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==}-- /nodemon/2.0.20:- resolution: {integrity: sha512-Km2mWHKKY5GzRg6i1j5OxOHQtuvVsgskLfigG25yTtbyfRGn/GNvIbRyOf1PSCKJ2aT/58TiuUsuOU5UToVViw==}- engines: {node: '>=8.10.0'}- hasBin: true- dependencies:- chokidar: 3.5.3- debug: [email protected]- ignore-by-default: 1.0.1- minimatch: 3.1.2- pstree.remy: 1.1.8- semver: 5.7.1- simple-update-notifier: 1.0.7- supports-color: 5.5.0- touch: 3.1.0- undefsafe: 2.0.5- dev: true-- /noop6/1.0.9:- resolution: {integrity: sha512-DB3Hwyd89dPr5HqEPg3YHjzvwh/mCqizC1zZ8vyofqc+TQRyPDnT4wgXXbLGF4z9YAzwwTLi8pNLhGqcbSjgkA==}- dev: false-- /nopt/1.0.10:- resolution: {integrity: sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==}- hasBin: true- dependencies:- abbrev: 1.1.1- dev: true-- /normalize-package-data/2.5.0:- resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==}- dependencies:- hosted-git-info: 2.8.9- resolve: 1.22.1- semver: 5.7.1- validate-npm-package-license: 3.0.4-- /normalize-path/3.0.0:- resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}- engines: {node: '>=0.10.0'}-- /normalize-range/0.1.2:- resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==}- engines: {node: '>=0.10.0'}-- /normalize-url/7.2.0:- resolution: {integrity: sha512-uhXOdZry0L6M2UIo9BTt7FdpBDiAGN/7oItedQwPKh8jh31ZlvC8U9Xl/EJ3aijDHaywXTW3QbZ6LuCocur1YA==}- engines: {node: '>=12.20'}- dev: false-- /npm-run-all/4.1.5:- resolution: {integrity: sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==}- engines: {node: '>= 4'}- hasBin: true- dependencies:- ansi-styles: 3.2.1- chalk: 2.4.2- cross-spawn: 6.0.5- memorystream: 0.3.1- minimatch: 3.1.2- pidtree: 0.3.1- read-pkg: 3.0.0- shell-quote: 1.7.4- string.prototype.padend: 3.1.3- dev: true-- /npm-run-path/5.1.0:- resolution: {integrity: sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}- dependencies:- path-key: 4.0.0- dev: false-- /numbered/1.1.0:- resolution: {integrity: sha512-pv/ue2Odr7IfYOO0byC1KgBI10wo5YDauLhxY6/saNzAdAs0r1SotGCPzzCLNPL0xtrAwWRialLu23AAu9xO1g==}- dev: false-- /object-assign/4.1.1:- resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}- engines: {node: '>=0.10.0'}- dev: false-- /object-hash/3.0.0:- resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==}- engines: {node: '>= 6'}-- /object-inspect/1.12.1:- resolution: {integrity: sha512-Y/jF6vnvEtOPGiKD1+q+X0CiUYRQtEHp89MLLUJ7TUivtH8Ugn2+3A7Rynqk7BRsAoqeOQWnFnjpDrKSxDgIGA==}-- /object-keys/1.1.1:- resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}- engines: {node: '>= 0.4'}- dev: true-- /object.assign/4.1.2:- resolution: {integrity: sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- define-properties: 1.1.4- has-symbols: 1.0.3- object-keys: 1.1.1- dev: true-- /obliterator/2.0.4:- resolution: {integrity: sha512-lgHwxlxV1qIg1Eap7LgIeoBWIMFibOjbrYPIPJZcI1mmGAI2m3lNYpK12Y+GBdPQ0U1hRwSord7GIaawz962qQ==}- dev: false-- /on-exit-leak-free/2.1.0:- resolution: {integrity: sha512-VuCaZZAjReZ3vUwgOB8LxAosIurDiAW0s13rI1YwmaP++jvcxP77AWoQvenZebpCA2m8WC1/EosPYPMjnRAp/w==}- dev: false-- /on-finished/2.4.1:- resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==}- engines: {node: '>= 0.8'}- dependencies:- ee-first: 1.1.1- dev: false-- /once/1.4.0:- resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}- dependencies:- wrappy: 1.0.2-- /onetime/5.1.2:- resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==}- engines: {node: '>=6'}- dependencies:- mimic-fn: 2.1.0- dev: true-- /onetime/6.0.0:- resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==}- engines: {node: '>=12'}- dependencies:- mimic-fn: 4.0.0- dev: false-- /opencollective-setup/1.4.1:- resolution: {integrity: sha512-XdYWl35SewxvjJCeuFQSkuL1elwOsGYXpzT0/vOaszC16KNmHi1NoLfiN/YJiw/VeP4E+DYVI906oGsXp0b77g==}- engines: {node: 11.8.0, npm: 6.5.0}- hasBin: true- dependencies:- chalk: 2.4.2- debug: 4.1.1- detect-indent: 6.0.0- inquirer: 7.0.0- minimist: 1.2.0- node-fetch: 2.6.0- transitivePeerDependencies:- - supports-color- dev: true-- /optionator/0.9.1:- resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==}- engines: {node: '>= 0.8.0'}- dependencies:- deep-is: 0.1.4- fast-levenshtein: 2.0.6- levn: 0.4.1- prelude-ls: 1.2.1- type-check: 0.4.0- word-wrap: 1.2.3- dev: true-- /os-homedir/1.0.2:- resolution: {integrity: sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==}- engines: {node: '>=0.10.0'}- dev: true-- /os-tmpdir/1.0.2:- resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==}- engines: {node: '>=0.10.0'}- dev: true-- /p-all/4.0.0:- resolution: {integrity: sha512-QXqMc8PpYu0gmNM6VcKP0uYqeI+dtvSNeaDb8ktnNjposr+nftHHCSYbj/S/oUceF6R868jw1XOxkJKUSiHgEQ==}- engines: {node: '>=12.20'}- dependencies:- p-map: 5.5.0- dev: false-- /p-cancelable/3.0.0:- resolution: {integrity: sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==}- engines: {node: '>=12.20'}- dev: false-- /p-finally/1.0.0:- resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==}- engines: {node: '>=4'}- dev: false-- /p-is-promise/3.0.0:- resolution: {integrity: sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==}- engines: {node: '>=8'}- dev: false-- /p-limit/2.3.0:- resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==}- engines: {node: '>=6'}- dependencies:- p-try: 2.2.0- dev: false-- /p-limit/3.1.0:- resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}- engines: {node: '>=10'}- dependencies:- yocto-queue: 0.1.0-- /p-limit/4.0.0:- resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}- dependencies:- yocto-queue: 1.0.0- dev: false-- /p-locate/3.0.0:- resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==}- engines: {node: '>=6'}- dependencies:- p-limit: 2.3.0- dev: false-- /p-locate/4.1.0:- resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==}- engines: {node: '>=8'}- dependencies:- p-limit: 2.3.0- dev: false-- /p-locate/5.0.0:- resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==}- engines: {node: '>=10'}- dependencies:- p-limit: 3.1.0- dev: true-- /p-map-series/2.1.0:- resolution: {integrity: sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q==}- engines: {node: '>=8'}- dev: false-- /p-map/5.5.0:- resolution: {integrity: sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==}- engines: {node: '>=12'}- dependencies:- aggregate-error: 4.0.1- dev: false-- /p-throttle/5.0.0:- resolution: {integrity: sha512-iXBFjW4kP/5Ivw7uC9EDnj+/xo3pNn4Rws3zgMGPwXnWTv1M3P0LVdZxLrqRUI5JK0Fp3Du0bt6lCaVrI3WF7g==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}- dev: false-- /p-timeout/3.2.0:- resolution: {integrity: sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==}- engines: {node: '>=8'}- dependencies:- p-finally: 1.0.0- dev: false-- /p-try/2.2.0:- resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==}- engines: {node: '>=6'}- dev: false-- /p-wait-for/3.2.0:- resolution: {integrity: sha512-wpgERjNkLrBiFmkMEjuZJEWKKDrNfHCKA1OhyN1wg1FrLkULbviEy6py1AyJUgZ72YWFbZ38FIpnqvVqAlDUwA==}- engines: {node: '>=8'}- dependencies:- p-timeout: 3.2.0- dev: false-- /parent-module/1.0.1:- resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}- engines: {node: '>=6'}- dependencies:- callsites: 3.1.0- dev: true-- /parse-app-info/4.0.3:- resolution: {integrity: sha512-TGU0xhNyzyhBkYhrUqBGXu5JT9E5EMIkh6vgv3Vq/nh8iz3CROqY7ohVTj4H6FcioyKTE7FG2AtAuhomGb1mUQ==}- engines: {node: '>=7.0.0'}- dependencies:- last-commit-log: 3.2.0- lodash: 4.17.21- read-pkg-up: 7.0.1- semver: 7.3.8- dev: false-- /parse-err/0.0.12:- resolution: {integrity: sha512-q9bGpXmSFfTCAoz0/YfZB62p73h3SXP4YpZNnVHQXC9svNSrhZtzqubqtztL37YWmMsdINHOMimg8aC1EKNg7g==}- engines: {node: '>=6.4.0'}- dependencies:- iserror: 0.0.2- dev: false-- /parse-json/4.0.0:- resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==}- engines: {node: '>=4'}- dependencies:- error-ex: 1.3.2- json-parse-better-errors: 1.0.2- dev: true-- /parse-json/5.2.0:- resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==}- engines: {node: '>=8'}- dependencies:- '@babel/code-frame': 7.18.6- error-ex: 1.3.2- json-parse-even-better-errors: 2.3.1- lines-and-columns: 1.2.4- dev: false-- /parse-request/5.1.0:- resolution: {integrity: sha512-CzdzrgihIpIOwQ12hDBln1qbltwDSTle/JkXKggLqrxFVMygcRPKiR6BnI2Za4opOcQgB6S4pt/bijD8tyrA3Q==}- engines: {node: '>=14'}- dependencies:- browser-hrtime: 1.1.8- bson-objectid: 2.0.4- convert-hrtime: 3.0.0- cookie: 0.5.0- credit-card-type: 9.1.0- debug: 4.3.4- fast-safe-stringify: 2.1.1- http-headers: 3.0.2- is-array-buffer: 2.0.0- is-buffer: 2.0.5- is-stream: 2.0.1- is-uuid: 1.0.2- ms: 2.1.3- no-case: 2.3.2- qs: 6.11.0- rfdc: 1.3.0- sensitive-fields: 0.0.9- url-parse: 1.5.10- transitivePeerDependencies:- - supports-color- dev: false-- /path-exists/3.0.0:- resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==}- engines: {node: '>=4'}- dev: false-- /path-exists/4.0.0:- resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}- engines: {node: '>=8'}-- /path-is-absolute/1.0.1:- resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}- engines: {node: '>=0.10.0'}- dev: true-- /path-key/2.0.1:- resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==}- engines: {node: '>=4'}- dev: true-- /path-key/3.1.1:- resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}- engines: {node: '>=8'}-- /path-key/4.0.0:- resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==}- engines: {node: '>=12'}- dev: false-- /path-parse/1.0.7:- resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}-- /path-type/3.0.0:- resolution: {integrity: sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==}- engines: {node: '>=4'}- dependencies:- pify: 3.0.0- dev: true-- /path-type/4.0.0:- resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}- engines: {node: '>=8'}- dev: true-- /pick-deep/1.0.0:- resolution: {integrity: sha512-Uy0VUtabou1sPl/vVClBFrWi4Ae/D3Vqu44FJawmm4lnduu5E16ykw8kh15fiUeLQ6lbmXQ0EMr3YIsqpLZl+A==}- engines: {node: '>=6.0.0'}- dependencies:- '@strikeentco/get': 1.0.1- '@strikeentco/set': 1.0.2- dev: false-- /picocolors/1.0.0:- resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}-- /picomatch/2.3.1:- resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}- engines: {node: '>=8.6'}-- /pidtree/0.3.1:- resolution: {integrity: sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==}- engines: {node: '>=0.10'}- hasBin: true- dev: true-- /pify/2.3.0:- resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}- engines: {node: '>=0.10.0'}-- /pify/3.0.0:- resolution: {integrity: sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==}- engines: {node: '>=4'}- dev: true-- /pino-abstract-transport/1.0.0:- resolution: {integrity: sha512-c7vo5OpW4wIS42hUVcT5REsL8ZljsUfBjqV/e2sFxmFEFZiq1XLUp5EYLtuDH6PEHq9W1egWqRbnLUP5FuZmOA==}- dependencies:- readable-stream: 4.1.0- split2: 4.1.0- dev: false-- /pino-std-serializers/6.0.0:- resolution: {integrity: sha512-mMMOwSKrmyl+Y12Ri2xhH1lbzQxwwpuru9VjyJpgFIH4asSj88F2csdMwN6+M5g1Ll4rmsYghHLQJw81tgZ7LQ==}- dev: false-- /pino/8.6.1:- resolution: {integrity: sha512-fi+V2K98eMZjQ/uEHHSiMALNrz7HaFdKNYuyA3ZUrbH0f1e8sPFDmeRGzg7ZH2q4QDxGnJPOswmqlEaTAZeDPA==}- hasBin: true- dependencies:- atomic-sleep: 1.0.0- fast-redact: 3.1.1- on-exit-leak-free: 2.1.0- pino-abstract-transport: 1.0.0- pino-std-serializers: 6.0.0- process-warning: 2.0.0- quick-format-unescaped: 4.0.4- real-require: 0.2.0- safe-stable-stringify: 2.3.1- sonic-boom: 3.2.0- thread-stream: 2.2.0- dev: false-- /pkg-up/3.1.0:- resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==}- engines: {node: '>=8'}- dependencies:- find-up: 3.0.0- dev: false-- /playwright-core/1.28.0:- resolution: {integrity: sha512-nJLknd28kPBiCNTbqpu6Wmkrh63OEqJSFw9xOfL9qxfNwody7h6/L3O2dZoWQ6Oxcm0VOHjWmGiCUGkc0X3VZA==}- engines: {node: '>=14'}- hasBin: true- dev: true-- /postcss-import/[email protected]:- resolution: {integrity: sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==}- engines: {node: '>=10.0.0'}- peerDependencies:- postcss: ^8.0.0- dependencies:- postcss: 8.4.19- postcss-value-parser: 4.2.0- read-cache: 1.0.0- resolve: 1.22.1-- /postcss-js/[email protected]:- resolution: {integrity: sha512-77QESFBwgX4irogGVPgQ5s07vLvFqWr228qZY+w6lW599cRlK/HmnlivnnVUxkjHnCu4J16PDMHcH+e+2HbvTQ==}- engines: {node: ^12 || ^14 || >= 16}- peerDependencies:- postcss: ^8.3.3- dependencies:- camelcase-css: 2.0.1- postcss: 8.4.19-- /postcss-load-config/[email protected]:- resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==}- engines: {node: '>= 10'}- peerDependencies:- postcss: '>=8.0.9'- ts-node: '>=9.0.0'- peerDependenciesMeta:- postcss:- optional: true- ts-node:- optional: true- dependencies:- lilconfig: 2.0.6- postcss: 8.4.19- yaml: 1.10.2-- /postcss-nested/[email protected]:- resolution: {integrity: sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==}- engines: {node: '>=12.0'}- peerDependencies:- postcss: ^8.2.14- dependencies:- postcss: 8.4.19- postcss-selector-parser: 6.0.10-- /postcss-selector-parser/6.0.10:- resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==}- engines: {node: '>=4'}- dependencies:- cssesc: 3.0.0- util-deprecate: 1.0.2-- /postcss-value-parser/4.2.0:- resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}-- /postcss/8.4.19:- resolution: {integrity: sha512-h+pbPsyhlYj6N2ozBmHhHrs9DzGmbaarbLvWipMRO7RLS+v4onj26MPFXA5OBYFxyqYhUJK456SwDcY9H2/zsA==}- engines: {node: ^10 || ^12 || >=14}- dependencies:- nanoid: 3.3.4- picocolors: 1.0.0- source-map-js: 1.0.2-- /prelude-ls/1.2.1:- resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}- engines: {node: '>= 0.8.0'}- dev: true-- /prettier-linter-helpers/1.0.0:- resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==}- engines: {node: '>=6.0.0'}- dependencies:- fast-diff: 1.2.0- dev: true-- /prettier-plugin-svelte/2.8.1_nryolsexf6k3znhuh4uzpugsem:- resolution: {integrity: sha512-KA3K1J3/wKDnCxW7ZDRA/QL2Q67N7Xs3gOERqJ5X1qFjq1DdnN3K1R29scSKwh+kA8FF67pXbYytUpvN/i3iQw==}- peerDependencies:- prettier: ^1.16.4 || ^2.0.0- svelte: ^3.2.0- dependencies:- prettier: 2.7.1- svelte: 3.53.1- dev: true-- /prettier/2.7.1:- resolution: {integrity: sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==}- engines: {node: '>=10.13.0'}- hasBin: true- dev: true-- /prettier/2.8.2:- resolution: {integrity: sha512-BtRV9BcncDyI2tsuS19zzhzoxD8Dh8LiCx7j7tHzrkz8GFXAexeWFdi22mjE1d16dftH2qNaytVxqiRTGlMfpw==}- engines: {node: '>=10.13.0'}- hasBin: true- dev: true-- /prisma/4.8.1:- resolution: {integrity: sha512-ZMLnSjwulIeYfaU1O6/LF6PEJzxN5par5weykxMykS9Z6ara/j76JH3Yo2AH3bgJbPN4Z6NeCK9s5fDkzf33cg==}- engines: {node: '>=14.17'}- hasBin: true- requiresBuild: true- dependencies:- '@prisma/engines': 4.8.1- dev: false-- /private/0.1.8:- resolution: {integrity: sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==}- engines: {node: '>= 0.6'}- dev: true-- /process-warning/2.0.0:- resolution: {integrity: sha512-+MmoAXoUX+VTHAlwns0h+kFUWFs/3FZy+ZuchkgjyOu3oioLAo2LB5aCfKPh2+P9O18i3m43tUEv3YqttSy0Ww==}- dev: false-- /property-expr/2.0.5:- resolution: {integrity: sha512-IJUkICM5dP5znhCckHSv30Q4b5/JA5enCtkRHYaOVOAocnH/1BQEYTC5NMfT3AVl/iXKdr3aqQbQn9DxyWknwA==}- dev: false-- /proxy-addr/2.0.7:- resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}- engines: {node: '>= 0.10'}- dependencies:- forwarded: 0.2.0- ipaddr.js: 1.9.1- dev: false-- /pseudomap/1.0.2:- resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==}- dev: true-- /pstree.remy/1.1.8:- resolution: {integrity: sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==}- dev: true-- /public-ip/6.0.1:- resolution: {integrity: sha512-1/Mxa1MKrAQ4jF5IalECSBtB0W1FAtnG+9c5X16jjvV/Gx9fiRy7xXIrHlBGYjnTlai0zdZkM3LrpmASavmAEg==}- engines: {node: '>=14.16'}- dependencies:- aggregate-error: 4.0.1- dns-socket: 4.2.2- got: 12.5.3- is-ip: 4.0.0- dev: false-- /pump/3.0.0:- resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==}- dependencies:- end-of-stream: 1.4.4- once: 1.4.0- dev: false-- /punycode/2.1.1:- resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==}- engines: {node: '>=6'}-- /qs/6.11.0:- resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==}- engines: {node: '>=0.6'}- dependencies:- side-channel: 1.0.4- dev: false-- /querystringify/2.2.0:- resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==}- dev: false-- /queue-microtask/1.2.3:- resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}-- /quick-format-unescaped/4.0.4:- resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==}- dev: false-- /quick-lru/5.1.1:- resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==}- engines: {node: '>=10'}-- /range-parser/1.2.1:- resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==}- engines: {node: '>= 0.6'}- dev: false-- /read-cache/1.0.0:- resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}- dependencies:- pify: 2.3.0-- /read-pkg-up/7.0.1:- resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==}- engines: {node: '>=8'}- dependencies:- find-up: 4.1.0- read-pkg: 5.2.0- type-fest: 0.8.1- dev: false-- /read-pkg/3.0.0:- resolution: {integrity: sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==}- engines: {node: '>=4'}- dependencies:- load-json-file: 4.0.0- normalize-package-data: 2.5.0- path-type: 3.0.0- dev: true-- /read-pkg/5.2.0:- resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==}- engines: {node: '>=8'}- dependencies:- '@types/normalize-package-data': 2.4.1- normalize-package-data: 2.5.0- parse-json: 5.2.0- type-fest: 0.6.0- dev: false-- /readable-stream/3.6.0:- resolution: {integrity: sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==}- engines: {node: '>= 6'}- dependencies:- inherits: 2.0.4- string_decoder: 1.3.0- util-deprecate: 1.0.2- dev: false-- /readable-stream/4.1.0:- resolution: {integrity: sha512-sVisi3+P2lJ2t0BPbpK629j8wRW06yKGJUcaLAGXPAUhyUxVJm7VsCTit1PFgT4JHUDMrGNR+ZjSKpzGaRF3zw==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dependencies:- abort-controller: 3.0.0- dev: false-- /readdirp/3.6.0:- resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}- engines: {node: '>=8.10.0'}- dependencies:- picomatch: 2.3.1-- /real-require/0.2.0:- resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==}- engines: {node: '>= 12.13.0'}- dev: false-- /regenerate/1.4.2:- resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==}- dev: true-- /regenerator-runtime/0.11.1:- resolution: {integrity: sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==}- dev: true-- /regenerator-runtime/0.13.9:- resolution: {integrity: sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==}- dev: false-- /regenerator-transform/0.10.1:- resolution: {integrity: sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==}- dependencies:- babel-runtime: 6.26.0- babel-types: 6.26.0- private: 0.1.8- dev: true-- /regexp.prototype.flags/1.4.3:- resolution: {integrity: sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- define-properties: 1.1.4- functions-have-names: 1.2.3- dev: true-- /regexpp/3.2.0:- resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==}- engines: {node: '>=8'}- dev: true-- /regexpu-core/2.0.0:- resolution: {integrity: sha512-tJ9+S4oKjxY8IZ9jmjnp/mtytu1u3iyIQAfmI51IKWH6bFf7XR1ybtaO6j7INhZKXOTYADk7V5qxaqLkmNxiZQ==}- dependencies:- regenerate: 1.4.2- regjsgen: 0.2.0- regjsparser: 0.1.5- dev: true-- /regjsgen/0.2.0:- resolution: {integrity: sha512-x+Y3yA24uF68m5GA+tBjbGYo64xXVJpbToBaWCoSNSc1hdk6dfctaRWrNFTVJZIIhL5GxW8zwjoixbnifnK59g==}- dev: true-- /regjsparser/0.1.5:- resolution: {integrity: sha512-jlQ9gYLfk2p3V5Ag5fYhA7fv7OHzd1KUH0PRP46xc3TgwjwgROIW572AfYg/X9kaNq/LJnu6oJcFRXlIrGoTRw==}- hasBin: true- dependencies:- jsesc: 0.5.0- dev: true-- /repeating/2.0.1:- resolution: {integrity: sha512-ZqtSMuVybkISo2OWvqvm7iHSWngvdaW3IpsT9/uP8v4gMi591LY6h35wdOfvQdWCKFWZWm2Y1Opp4kV7vQKT6A==}- engines: {node: '>=0.10.0'}- dependencies:- is-finite: 1.1.0- dev: true-- /require-from-string/2.0.2:- resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}- engines: {node: '>=0.10.0'}- dev: false-- /requires-port/1.0.0:- resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==}- dev: false-- /resolve-alpn/1.2.1:- resolution: {integrity: sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==}- dev: false-- /resolve-from/4.0.0:- resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}- engines: {node: '>=4'}- dev: true-- /resolve/1.22.1:- resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==}- hasBin: true- dependencies:- is-core-module: 2.9.0- path-parse: 1.0.7- supports-preserve-symlinks-flag: 1.0.0-- /responselike/3.0.0:- resolution: {integrity: sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==}- engines: {node: '>=14.16'}- dependencies:- lowercase-keys: 3.0.0- dev: false-- /restore-cursor/3.1.0:- resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==}- engines: {node: '>=8'}- dependencies:- onetime: 5.1.2- signal-exit: 3.0.7- dev: true-- /ret/0.2.2:- resolution: {integrity: sha512-M0b3YWQs7R3Z917WRQy1HHA7Ba7D8hvZg6UE5mLykJxQVE2ju0IXbGlaHPPlkY+WN7wFP+wUMXmBFA0aV6vYGQ==}- engines: {node: '>=4'}- dev: false-- /reusify/1.0.4:- resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==}- engines: {iojs: '>=1.0.0', node: '>=0.10.0'}-- /rfdc/1.3.0:- resolution: {integrity: sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==}- dev: false-- /rimraf/2.7.1:- resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==}- hasBin: true- dependencies:- glob: 7.2.3- dev: true-- /rimraf/3.0.2:- resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}- hasBin: true- dependencies:- glob: 7.2.3- dev: true-- /rollup/2.79.1:- resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==}- engines: {node: '>=10.0.0'}- hasBin: true- optionalDependencies:- fsevents: 2.3.2- dev: true-- /run-async/2.4.1:- resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==}- engines: {node: '>=0.12.0'}- dev: true-- /run-parallel/1.2.0:- resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}- dependencies:- queue-microtask: 1.2.3-- /rxjs/6.6.7:- resolution: {integrity: sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==}- engines: {npm: '>=2.0.0'}- dependencies:- tslib: 1.14.1- dev: true-- /sade/1.8.1:- resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==}- engines: {node: '>=6'}- dependencies:- mri: 1.2.0- dev: true-- /safe-buffer/5.1.2:- resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}- dev: true-- /safe-buffer/5.2.1:- resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}- dev: false-- /safe-regex2/2.0.0:- resolution: {integrity: sha512-PaUSFsUaNNuKwkBijoAPHAK6/eM6VirvyPWlZ7BAQy4D+hCvh4B6lIG+nPdhbFfIbP+gTGBcrdsOaUs0F+ZBOQ==}- dependencies:- ret: 0.2.2- dev: false-- /safe-stable-stringify/2.3.1:- resolution: {integrity: sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==}- engines: {node: '>=10'}- dev: false-- /safe-timers/1.1.0:- resolution: {integrity: sha512-9aqY+v5eMvmRaluUEtdRThV1EjlSElzO7HuCj0sTW9xvp++8iJ9t/RWGNWV6/WHcUJLHpyT2SNf/apoKTU2EpA==}- dev: false-- /safer-buffer/2.1.2:- resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}-- /sander/0.5.1:- resolution: {integrity: sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==}- dependencies:- es6-promise: 3.3.1- graceful-fs: 4.2.10- mkdirp: 0.5.6- rimraf: 2.7.1- dev: true-- /secure-json-parse/2.5.0:- resolution: {integrity: sha512-ZQruFgZnIWH+WyO9t5rWt4ZEGqCKPwhiw+YbzTwpmT9elgLrLcfuyUiSnwwjUiVy9r4VM3urtbNF1xmEh9IL2w==}- dev: false-- /semver/5.7.1:- resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==}- hasBin: true-- /semver/7.0.0:- resolution: {integrity: sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==}- hasBin: true- dev: true-- /semver/7.3.8:- resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==}- engines: {node: '>=10'}- hasBin: true- dependencies:- lru-cache: 6.0.0-- /send/0.18.0:- resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==}- engines: {node: '>= 0.8.0'}- dependencies:- debug: 2.6.9- depd: 2.0.0- destroy: 1.2.0- encodeurl: 1.0.2- escape-html: 1.0.3- etag: 1.8.1- fresh: 0.5.2- http-errors: 2.0.0- mime: 1.6.0- ms: 2.1.3- on-finished: 2.4.1- range-parser: 1.2.1- statuses: 2.0.1- transitivePeerDependencies:- - supports-color- dev: false-- /sensitive-fields/0.0.9:- resolution: {integrity: sha512-6oGOAj9wPBKEuzJxqrN1sxMHJKbWOg7D2zNYOXaKrDC4lP6FpAw2MVuZd4okp/KqtRxkgLMweEd6HM1+c4m8Yg==}- dev: false-- /set-cookie-parser/2.5.1:- resolution: {integrity: sha512-1jeBGaKNGdEq4FgIrORu/N570dwoPYio8lSoYLWmX7sQ//0JY08Xh9o5pBcgmHQ/MbsYp/aZnOe1s1lIsbLprQ==}- dev: false-- /setprototypeof/1.2.0:- resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}- dev: false-- /shebang-command/1.2.0:- resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==}- engines: {node: '>=0.10.0'}- dependencies:- shebang-regex: 1.0.0- dev: true-- /shebang-command/2.0.0:- resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}- engines: {node: '>=8'}- dependencies:- shebang-regex: 3.0.0-- /shebang-regex/1.0.0:- resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==}- engines: {node: '>=0.10.0'}- dev: true-- /shebang-regex/3.0.0:- resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}- engines: {node: '>=8'}-- /shell-quote/1.7.4:- resolution: {integrity: sha512-8o/QEhSSRb1a5i7TFR0iM4G16Z0vYB2OQVs4G3aAFXjn3T6yEx8AZxy1PgDF7I00LZHYA3WxaSYIf5e5sAX8Rw==}-- /side-channel/1.0.4:- resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==}- dependencies:- call-bind: 1.0.2- get-intrinsic: 1.1.1- object-inspect: 1.12.1-- /signal-exit/3.0.7:- resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}-- /simple-swizzle/0.2.2:- resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==}- dependencies:- is-arrayish: 0.3.2- dev: false-- /simple-update-notifier/1.0.7:- resolution: {integrity: sha512-BBKgR84BJQJm6WjWFMHgLVuo61FBDSj1z/xSFUIozqO6wO7ii0JxCqlIud7Enr/+LhlbNI0whErq96P2qHNWew==}- engines: {node: '>=8.10.0'}- dependencies:- semver: 7.0.0- dev: true-- /slash/1.0.0:- resolution: {integrity: sha512-3TYDR7xWt4dIqV2JauJr+EJeW356RXijHeUlO+8djJ+uBXPn8/2dpzBc8yQhh583sVvc9CvFAeQVgijsH+PNNg==}- engines: {node: '>=0.10.0'}- dev: true-- /slash/3.0.0:- resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}- engines: {node: '>=8'}- dev: true-- /socket.io-adapter/2.4.0:- resolution: {integrity: sha512-W4N+o69rkMEGVuk2D/cvca3uYsvGlMwsySWV447y99gUPghxq42BxqLNMndb+a1mm/5/7NeXVQS7RLa2XyXvYg==}- dev: false-- /socket.io-client/4.5.3:- resolution: {integrity: sha512-I/hqDYpQ6JKwtJOf5ikM+Qz+YujZPMEl6qBLhxiP0nX+TfXKhW4KZZG8lamrD6Y5ngjmYHreESVasVCgi5Kl3A==}- engines: {node: '>=10.0.0'}- dependencies:- '@socket.io/component-emitter': 3.1.0- debug: 4.3.4- engine.io-client: 6.2.3- socket.io-parser: 4.2.1- transitivePeerDependencies:- - bufferutil- - supports-color- - utf-8-validate- dev: false-- /socket.io-parser/4.2.1:- resolution: {integrity: sha512-V4GrkLy+HeF1F/en3SpUaM+7XxYXpuMUWLGde1kSSh5nQMN4hLrbPIkD+otwh6q9R6NOQBN4AMaOZ2zVjui82g==}- engines: {node: '>=10.0.0'}- dependencies:- '@socket.io/component-emitter': 3.1.0- debug: 4.3.4- transitivePeerDependencies:- - supports-color- dev: false-- /socket.io/4.5.4:- resolution: {integrity: sha512-m3GC94iK9MfIEeIBfbhJs5BqFibMtkRk8ZpKwG2QwxV0m/eEhPIV4ara6XCF1LWNAus7z58RodiZlAH71U3EhQ==}- engines: {node: '>=10.0.0'}- dependencies:- accepts: 1.3.8- base64id: 2.0.0- debug: 4.3.4- engine.io: 6.2.1- socket.io-adapter: 2.4.0- socket.io-parser: 4.2.1- transitivePeerDependencies:- - bufferutil- - supports-color- - utf-8-validate- dev: false-- /sonic-boom/3.2.0:- resolution: {integrity: sha512-SbbZ+Kqj/XIunvIAgUZRlqd6CGQYq71tRRbXR92Za8J/R3Yh4Av+TWENiSiEgnlwckYLyP0YZQWVfyNC0dzLaA==}- dependencies:- atomic-sleep: 1.0.0- dev: false-- /sorcery/0.10.0:- resolution: {integrity: sha512-R5ocFmKZQFfSTstfOtHjJuAwbpGyf9qjQa1egyhvXSbM7emjrtLXtGdZsDJDABC85YBfVvrOiGWKSYXPKdvP1g==}- hasBin: true- dependencies:- buffer-crc32: 0.2.13- minimist: 1.2.7- sander: 0.5.1- sourcemap-codec: 1.4.8- dev: true-- /source-map-js/1.0.2:- resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==}- engines: {node: '>=0.10.0'}-- /source-map-support/0.4.18:- resolution: {integrity: sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==}- dependencies:- source-map: 0.5.7- dev: true-- /source-map/0.5.7:- resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==}- engines: {node: '>=0.10.0'}- dev: true-- /sourcemap-codec/1.4.8:- resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==}- deprecated: Please use @jridgewell/sourcemap-codec instead-- /spdx-correct/3.1.1:- resolution: {integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==}- dependencies:- spdx-expression-parse: 3.0.1- spdx-license-ids: 3.0.11-- /spdx-exceptions/2.3.0:- resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==}-- /spdx-expression-parse/3.0.1:- resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==}- dependencies:- spdx-exceptions: 2.3.0- spdx-license-ids: 3.0.11-- /spdx-license-ids/3.0.11:- resolution: {integrity: sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==}-- /split-ca/1.0.1:- resolution: {integrity: sha512-Q5thBSxp5t8WPTTJQS59LrGqOZqOsrhDGDVm8azCqIBjSBd7nd9o2PM+mDulQQkh8h//4U6hFZnc/mul8t5pWQ==}- dev: false-- /split2/4.1.0:- resolution: {integrity: sha512-VBiJxFkxiXRlUIeyMQi8s4hgvKCSjtknJv/LVYbrgALPwf5zSKmEwV9Lst25AkvMDnvxODugjdl6KZgwKM1WYQ==}- engines: {node: '>= 10.x'}- dev: false-- /ssh-config/4.2.0:- resolution: {integrity: sha512-GZtg/g6ZSki0AUhpw0bgB4jLkfPnxf/Qjw1tRsTq+KWD+eqJe5c4Ggaihp+csaLtesUnUOte924a7kwVNJbt7A==}- dev: false-- /ssh2/1.10.0:- resolution: {integrity: sha512-OnKAAmf4j8wCRrXXZv3Tp5lCZkLJZtgZbn45ELiShCg27djDQ3XFGvIzuGsIsf4hdHslP+VdhA9BhUQdTdfd9w==}- engines: {node: '>=10.16.0'}- requiresBuild: true- dependencies:- asn1: 0.2.6- bcrypt-pbkdf: 1.0.2- optionalDependencies:- cpu-features: 0.0.4- nan: 2.16.0- dev: false-- /statuses/2.0.1:- resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==}- engines: {node: '>= 0.8'}- dev: false-- /steed/1.1.3:- resolution: {integrity: sha512-EUkci0FAUiE4IvGTSKcDJIQ/eRUP2JJb56+fvZ4sdnguLTqIdKjSxUe138poW8mkvKWXW2sFPrgTsxqoISnmoA==}- dependencies:- fastfall: 1.5.1- fastparallel: 2.4.1- fastq: 1.13.0- fastseries: 1.7.2- reusify: 1.0.4- dev: false-- /stream-wormhole/1.1.0:- resolution: {integrity: sha512-gHFfL3px0Kctd6Po0M8TzEvt3De/xu6cnRrjlfYNhwbhLPLwigI2t1nc6jrzNuaYg5C4YF78PPFuQPzRiqn9ew==}- engines: {node: '>=4.0.0'}- dev: false-- /string-width/4.2.3:- resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}- engines: {node: '>=8'}- dependencies:- emoji-regex: 8.0.0- is-fullwidth-code-point: 3.0.0- strip-ansi: 6.0.1- dev: true-- /string.prototype.padend/3.1.3:- resolution: {integrity: sha512-jNIIeokznm8SD/TZISQsZKYu7RJyheFNt84DUPrh482GC8RVp2MKqm2O5oBRdGxbDQoXrhhWtPIWQOiy20svUg==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- define-properties: 1.1.4- es-abstract: 1.20.1- dev: true-- /string.prototype.trimend/1.0.5:- resolution: {integrity: sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog==}- dependencies:- call-bind: 1.0.2- define-properties: 1.1.4- es-abstract: 1.20.1- dev: true-- /string.prototype.trimstart/1.0.5:- resolution: {integrity: sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg==}- dependencies:- call-bind: 1.0.2- define-properties: 1.1.4- es-abstract: 1.20.1- dev: true-- /string_decoder/1.3.0:- resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==}- dependencies:- safe-buffer: 5.2.1- dev: false-- /strip-ansi/3.0.1:- resolution: {integrity: sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==}- engines: {node: '>=0.10.0'}- dependencies:- ansi-regex: 2.1.1- dev: true-- /strip-ansi/5.2.0:- resolution: {integrity: sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==}- engines: {node: '>=6'}- dependencies:- ansi-regex: 4.1.1- dev: true-- /strip-ansi/6.0.1:- resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}- engines: {node: '>=8'}- dependencies:- ansi-regex: 5.0.1- dev: true-- /strip-ansi/7.0.1:- resolution: {integrity: sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==}- engines: {node: '>=12'}- dependencies:- ansi-regex: 6.0.1- dev: false-- /strip-bom/2.0.0:- resolution: {integrity: sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==}- engines: {node: '>=0.10.0'}- dependencies:- is-utf8: 0.2.1- dev: false-- /strip-bom/3.0.0:- resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}- engines: {node: '>=4'}-- /strip-final-newline/3.0.0:- resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==}- engines: {node: '>=12'}- dev: false-- /strip-indent/3.0.0:- resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==}- engines: {node: '>=8'}- dependencies:- min-indent: 1.0.1- dev: true-- /strip-json-comments/3.1.1:- resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}- engines: {node: '>=8'}- dev: true-- /super-regex/0.2.0:- resolution: {integrity: sha512-WZzIx3rC1CvbMDloLsVw0lkZVKJWbrkJ0k1ghKFmcnPrW1+jWbgTkTEWVtD9lMdmI4jZEz40+naBxl1dCUhXXw==}- engines: {node: '>=14.16'}- dependencies:- clone-regexp: 3.0.0- function-timeout: 0.1.1- time-span: 5.1.0- dev: false-- /supports-color/2.0.0:- resolution: {integrity: sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==}- engines: {node: '>=0.8.0'}- dev: true-- /supports-color/5.5.0:- resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==}- engines: {node: '>=4'}- dependencies:- has-flag: 3.0.0-- /supports-color/7.2.0:- resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}- engines: {node: '>=8'}- dependencies:- has-flag: 4.0.0- dev: true-- /supports-preserve-symlinks-flag/1.0.0:- resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}- engines: {node: '>= 0.4'}-- /svelte-check/2.9.2_mocwzvuqzrhb37u7s4hjvvzl3i:- resolution: {integrity: sha512-DRi8HhnCiqiGR2YF9ervPGvtoYrheE09cXieCTEqeTPOTJzfoa54Py8rovIBv4bH4n5HgZYIyTQ3DDLHQLl2uQ==}- hasBin: true- peerDependencies:- svelte: ^3.24.0- dependencies:- '@jridgewell/trace-mapping': 0.3.9- chokidar: 3.5.3- fast-glob: 3.2.12- import-fresh: 3.3.0- picocolors: 1.0.0- sade: 1.8.1- svelte: 3.53.1- svelte-preprocess: 4.10.7_zvomijbcridzqoac2pmmvk4irq- typescript: 4.9.4- transitivePeerDependencies:- - '@babel/core'- - coffeescript- - less- - node-sass- - postcss- - postcss-load-config- - pug- - sass- - stylus- - sugarss- dev: true-- /svelte-hmr/[email protected]:- resolution: {integrity: sha512-BiKB4RZ8YSwRKCNVdNxK/GfY+r4Kjgp9jCLEy0DuqAKfmQtpL38cQK3afdpjw4sqSs4PLi3jIPJIFp259NkZtA==}- engines: {node: ^12.20 || ^14.13.1 || >= 16}- peerDependencies:- svelte: '>=3.19.0'- dependencies:- svelte: 3.53.1- dev: true-- /svelte-preprocess/4.10.7_mvbmsfnr3ibpjsbee6imjcb33m:- resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==}- engines: {node: '>= 9.11.2'}- requiresBuild: true- peerDependencies:- '@babel/core': ^7.10.2- coffeescript: ^2.5.1- less: ^3.11.3 || ^4.0.0- node-sass: '*'- postcss: ^7 || ^8- postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0- pug: ^3.0.0- sass: ^1.26.8- stylus: ^0.55.0- sugarss: ^2.0.0- svelte: ^3.23.0- typescript: ^3.9.5 || ^4.0.0- peerDependenciesMeta:- '@babel/core':- optional: true- coffeescript:- optional: true- less:- optional: true- node-sass:- optional: true- postcss:- optional: true- postcss-load-config:- optional: true- pug:- optional: true- sass:- optional: true- stylus:- optional: true- sugarss:- optional: true- typescript:- optional: true- dependencies:- '@types/pug': 2.0.6- '@types/sass': 1.43.1- detect-indent: 6.1.0- magic-string: 0.25.9- postcss: 8.4.19- sorcery: 0.10.0- strip-indent: 3.0.0- svelte: 3.53.1- typescript: 4.9.3- dev: true-- /svelte-preprocess/4.10.7_zvomijbcridzqoac2pmmvk4irq:- resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==}- engines: {node: '>= 9.11.2'}- requiresBuild: true- peerDependencies:- '@babel/core': ^7.10.2- coffeescript: ^2.5.1- less: ^3.11.3 || ^4.0.0- node-sass: '*'- postcss: ^7 || ^8- postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0- pug: ^3.0.0- sass: ^1.26.8- stylus: ^0.55.0- sugarss: ^2.0.0- svelte: ^3.23.0- typescript: ^3.9.5 || ^4.0.0- peerDependenciesMeta:- '@babel/core':- optional: true- coffeescript:- optional: true- less:- optional: true- node-sass:- optional: true- postcss:- optional: true- postcss-load-config:- optional: true- pug:- optional: true- sass:- optional: true- stylus:- optional: true- sugarss:- optional: true- typescript:- optional: true- dependencies:- '@types/pug': 2.0.6- '@types/sass': 1.43.1- detect-indent: 6.1.0- magic-string: 0.25.9- postcss: 8.4.19- sorcery: 0.10.0- strip-indent: 3.0.0- svelte: 3.53.1- typescript: 4.9.4- dev: true-- /svelte-select/4.4.7:- resolution: {integrity: sha512-fIf9Z8rPI6F8naHZ9wjXT0Pv5gLyhdHAFkHFJnCfVVfELE8e82uOoF0xEVQP6Kir+b4Q5yOvNAzZ61WbSU6A0A==}- dev: false-- /svelte/3.53.1:- resolution: {integrity: sha512-Q4/hHkktZogGhN5iqxqSi9sjEVoe/NbIxX4hXEHoasTxj+TxEQVAq66LnDMdAZxjmsodkoI5F3slqsS68U7FNw==}- engines: {node: '>= 8'}-- /sveltekit-i18n/[email protected]:- resolution: {integrity: sha512-6eygICleGCSL7elY7A3trF8XUhV+mlW56ZSoD0UUKXlw+Y6u0MTTHDq48u1LyY73SfnlbPHXgTarhTjZ0BvUKA==}- peerDependencies:- svelte: ^3.x- dependencies:- '@sveltekit-i18n/base': [email protected]- '@sveltekit-i18n/parser-default': 1.0.3- svelte: 3.53.1- dev: false-- /tailwindcss-scrollbar/[email protected]:- resolution: {integrity: sha512-egipxw4ooQDh94x02XQpPck0P0sfwazwoUGfA9SedPATIuYDR+6qe8d31Gl7YsSMRiOKDkkqfI0kBvEw9lT/Hg==}- peerDependencies:- tailwindcss: '>= 2.x.x'- dependencies:- tailwindcss: [email protected]- dev: true-- /tailwindcss/[email protected]:- resolution: {integrity: sha512-AhwtHCKMtR71JgeYDaswmZXhPcW9iuI9Sp2LvZPo9upDZ7231ZJ7eA9RaURbhpXGVlrjX4cFNlB4ieTetEb7hQ==}- engines: {node: '>=12.13.0'}- hasBin: true- peerDependencies:- postcss: ^8.0.9- dependencies:- arg: 5.0.2- chokidar: 3.5.3- color-name: 1.1.4- detective: 5.2.1- didyoumean: 1.2.2- dlv: 1.1.3- fast-glob: 3.2.12- glob-parent: 6.0.2- is-glob: 4.0.3- lilconfig: 2.0.6- micromatch: 4.0.5- normalize-path: 3.0.0- object-hash: 3.0.0- picocolors: 1.0.0- postcss: 8.4.19- postcss-import: [email protected]- postcss-js: [email protected]- postcss-load-config: [email protected]- postcss-nested: [email protected]- postcss-selector-parser: 6.0.10- postcss-value-parser: 4.2.0- quick-lru: 5.1.1- resolve: 1.22.1- transitivePeerDependencies:- - ts-node-- /tar-fs/2.0.1:- resolution: {integrity: sha512-6tzWDMeroL87uF/+lin46k+Q+46rAJ0SyPGz7OW7wTgblI273hsBqk2C1j0/xNadNLKDTUL9BukSjB7cwgmlPA==}- dependencies:- chownr: 1.1.4- mkdirp-classic: 0.5.3- pump: 3.0.0- tar-stream: 2.2.0- dev: false-- /tar-stream/2.2.0:- resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==}- engines: {node: '>=6'}- dependencies:- bl: 4.1.0- end-of-stream: 1.4.4- fs-constants: 1.0.0- inherits: 2.0.4- readable-stream: 3.6.0- dev: false-- /text-decoding/1.0.0:- resolution: {integrity: sha512-/0TJD42KDnVwKmDK6jj3xP7E2MG7SHAOG4tyTgyUCRPdHwvkquYNLEQltmdMa3owq3TkddCVcTsoctJI8VQNKA==}- dev: false-- /text-table/0.2.0:- resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}- dev: true-- /thread-stream/2.2.0:- resolution: {integrity: sha512-rUkv4/fnb4rqy/gGy7VuqK6wE1+1DOCOWy4RMeaV69ZHMP11tQKZvZSip1yTgrKCMZzEMcCL/bKfHvSfDHx+iQ==}- dependencies:- real-require: 0.2.0- dev: false-- /through/2.3.8:- resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==}- dev: true-- /time-span/5.1.0:- resolution: {integrity: sha512-75voc/9G4rDIJleOo4jPvN4/YC4GRZrY8yy1uU4lwrB3XEQbWve8zXoO5No4eFrGcTAMYyoY67p8jRQdtA1HbA==}- engines: {node: '>=12'}- dependencies:- convert-hrtime: 5.0.0- dev: false-- /tiny-glob/0.2.9:- resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==}- dependencies:- globalyzer: 0.1.0- globrex: 0.1.2- dev: true-- /tiny-lru/10.0.1:- resolution: {integrity: sha512-Vst+6kEsWvb17Zpz14sRJV/f8bUWKhqm6Dc+v08iShmIJ/WxqWytHzCTd6m88pS33rE2zpX34TRmOpAJPloNCA==}- engines: {node: '>=6'}- dev: false-- /tmp/0.0.33:- resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==}- engines: {node: '>=0.6.0'}- dependencies:- os-tmpdir: 1.0.2- dev: true-- /to-fast-properties/1.0.3:- resolution: {integrity: sha512-lxrWP8ejsq+7E3nNjwYmUBMAgjMTZoTI+sdBOpvNyijeDLa29LUn9QaoXAHv4+Z578hbmHHJKZknzxVtvo77og==}- engines: {node: '>=0.10.0'}- dev: true-- /to-regex-range/5.0.1:- resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}- engines: {node: '>=8.0'}- dependencies:- is-number: 7.0.0-- /toidentifier/1.0.1:- resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}- engines: {node: '>=0.6'}- dev: false-- /toposort/2.0.2:- resolution: {integrity: sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg==}- dev: false-- /touch/3.1.0:- resolution: {integrity: sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==}- hasBin: true- dependencies:- nopt: 1.0.10- dev: true-- /trim-right/1.0.1:- resolution: {integrity: sha512-WZGXGstmCWgeevgTL54hrCuw1dyMQIzWy7ZfqRJfSmJZBwklI15egmQytFP6bPidmw3M8d5yEowl1niq4vmqZw==}- engines: {node: '>=0.10.0'}- dev: true-- /ts-node/10.8.2_awa2wsr5thmg3i7jqycphctjfq:- resolution: {integrity: sha512-LYdGnoGddf1D6v8REPtIH+5iq/gTDuZqv2/UJUU7tKjuEU8xVZorBM+buCGNjj+pGEud+sOoM4CX3/YzINpENA==}- hasBin: true- peerDependencies:- '@swc/core': '>=1.2.50'- '@swc/wasm': '>=1.2.50'- '@types/node': '*'- typescript: '>=2.7'- peerDependenciesMeta:- '@swc/core':- optional: true- '@swc/wasm':- optional: true- dependencies:- '@cspotcode/source-map-support': 0.8.1- '@tsconfig/node10': 1.0.8- '@tsconfig/node12': 1.0.9- '@tsconfig/node14': 1.0.1- '@tsconfig/node16': 1.0.2- '@types/node': 18.11.18- acorn: 8.8.0- acorn-walk: 8.2.0- arg: 4.1.3- create-require: 1.1.1- diff: 4.0.2- make-error: 1.3.6- typescript: 4.9.4- v8-compile-cache-lib: 3.0.1- yn: 3.1.1- dev: false-- /tsconfig-paths/4.1.2:- resolution: {integrity: sha512-uhxiMgnXQp1IR622dUXI+9Ehnws7i/y6xvpZB9IbUVOPy0muvdvgXeZOn88UcGPiT98Vp3rJPTa8bFoalZ3Qhw==}- engines: {node: '>=6'}- dependencies:- json5: 2.2.3- minimist: 1.2.7- strip-bom: 3.0.0-- /tslib/1.14.1:- resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}-- /tslib/2.4.1:- resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==}- dev: true-- /tsutils/[email protected]:- resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}- engines: {node: '>= 6'}- peerDependencies:- typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'- dependencies:- tslib: 1.14.1- typescript: 4.9.3- dev: true-- /tsutils/[email protected]:- resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}- engines: {node: '>= 6'}- peerDependencies:- typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'- dependencies:- tslib: 1.14.1- typescript: 4.9.4- dev: true-- /tweetnacl/0.14.5:- resolution: {integrity: sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==}- dev: false-- /type-check/0.4.0:- resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}- engines: {node: '>= 0.8.0'}- dependencies:- prelude-ls: 1.2.1- dev: true-- /type-fest/0.20.2:- resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==}- engines: {node: '>=10'}- dev: true-- /type-fest/0.21.3:- resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==}- engines: {node: '>=10'}- dev: true-- /type-fest/0.6.0:- resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==}- engines: {node: '>=8'}- dev: false-- /type-fest/0.8.1:- resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==}- engines: {node: '>=8'}- dev: false-- /types-fastify-socket.io/0.0.1:- resolution: {integrity: sha512-dewtZotQV8A/oOsQ781K6D3BbEhEbygWRQMV+P2BIVu0+II+T3ZAkl3em2KxnuPperK0Ar2gMjCpxb3xa1TQAQ==}- dev: true-- /typescript/4.9.3:- resolution: {integrity: sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==}- engines: {node: '>=4.2.0'}- hasBin: true- dev: true-- /typescript/4.9.4:- resolution: {integrity: sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==}- engines: {node: '>=4.2.0'}- hasBin: true-- /typpy/2.3.11:- resolution: {integrity: sha512-Jh/fykZSaxeKO0ceMAs6agki9T5TNA9kiIR6fzKbvafKpIw8UlNlHhzuqKyi5lfJJ5VojJOx9tooIbyy7vHV/g==}- dependencies:- function.name: 1.0.13- dev: false-- /unbox-primitive/1.0.2:- resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==}- dependencies:- call-bind: 1.0.2- has-bigints: 1.0.2- has-symbols: 1.0.3- which-boxed-primitive: 1.0.2- dev: true-- /undefsafe/2.0.5:- resolution: {integrity: sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==}- dev: true-- /unique-names-generator/4.7.1:- resolution: {integrity: sha512-lMx9dX+KRmG8sq6gulYYpKWZc9RlGsgBR6aoO8Qsm3qvkSJ+3rAymr+TnV8EDMrIrwuFJ4kruzMWM/OpYzPoow==}- engines: {node: '>=8'}- dev: false-- /unset-value/2.0.1:- resolution: {integrity: sha512-2hvrBfjUE00PkqN+q0XP6yRAOGrR06uSiUoIQGZkc7GxvQ9H7v8quUPNtZjMg4uux69i8HWpIjLPUKwCuRGyNg==}- engines: {node: '>=10'}- dependencies:- has-value: 2.0.2- isobject: 4.0.0- dev: false-- /update-browserslist-db/[email protected]:- resolution: {integrity: sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==}- hasBin: true- peerDependencies:- browserslist: '>= 4.21.0'- dependencies:- browserslist: 4.21.4- escalade: 3.1.1- picocolors: 1.0.0-- /uri-js/4.4.1:- resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}- dependencies:- punycode: 2.1.1-- /url-parse/1.5.10:- resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==}- dependencies:- querystringify: 2.2.0- requires-port: 1.0.0- dev: false-- /util-deprecate/1.0.2:- resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}-- /v8-compile-cache-lib/3.0.1:- resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}- dev: false-- /validate-npm-package-license/3.0.4:- resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==}- dependencies:- spdx-correct: 3.1.1- spdx-expression-parse: 3.0.1-- /vary/1.1.2:- resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}- engines: {node: '>= 0.8'}- dev: false-- /vite/3.2.4:- resolution: {integrity: sha512-Z2X6SRAffOUYTa+sLy3NQ7nlHFU100xwanq1WDwqaiFiCe+25zdxP1TfCS5ojPV2oDDcXudHIoPnI1Z/66B7Yw==}- engines: {node: ^14.18.0 || >=16.0.0}- hasBin: true- peerDependencies:- '@types/node': '>= 14'- less: '*'- sass: '*'- stylus: '*'- sugarss: '*'- terser: ^5.4.0- peerDependenciesMeta:- '@types/node':- optional: true- less:- optional: true- sass:- optional: true- stylus:- optional: true- sugarss:- optional: true- terser:- optional: true- dependencies:- esbuild: 0.15.15- postcss: 8.4.19- resolve: 1.22.1- rollup: 2.79.1- optionalDependencies:- fsevents: 2.3.2- dev: true-- /which-boxed-primitive/1.0.2:- resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==}- dependencies:- is-bigint: 1.0.4- is-boolean-object: 1.1.2- is-number-object: 1.0.7- is-string: 1.0.7- is-symbol: 1.0.4- dev: true-- /which/1.3.1:- resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==}- hasBin: true- dependencies:- isexe: 2.0.0- dev: true-- /which/2.0.2:- resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}- engines: {node: '>= 8'}- hasBin: true- dependencies:- isexe: 2.0.0-- /word-wrap/1.2.3:- resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==}- engines: {node: '>=0.10.0'}- dev: true-- /wrappy/1.0.2:- resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}-- /ws/8.2.3:- resolution: {integrity: sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==}- engines: {node: '>=10.0.0'}- peerDependencies:- bufferutil: ^4.0.1- utf-8-validate: ^5.0.2- peerDependenciesMeta:- bufferutil:- optional: true- utf-8-validate:- optional: true- dev: false-- /xmlhttprequest-ssl/2.0.0:- resolution: {integrity: sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==}- engines: {node: '>=0.4.0'}- dev: false-- /xtend/4.0.2:- resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==}- engines: {node: '>=0.4'}-- /yallist/2.1.2:- resolution: {integrity: sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==}- dev: true-- /yallist/4.0.0:- resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}-- /yaml/1.10.2:- resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}- engines: {node: '>= 6'}-- /yn/3.1.1:- resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==}- engines: {node: '>=6'}- dev: false-- /yocto-queue/0.1.0:- resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}- engines: {node: '>=10'}-- /yocto-queue/1.0.0:- resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==}- engines: {node: '>=12.20'}- dev: false-- /yup/0.32.9:- resolution: {integrity: sha512-Ci1qN+i2H0XpY7syDQ0k5zKQ/DoxO0LzPg8PAR/X4Mpj6DqaeCoIYEEjDJwhArh3Fa7GWbQQVDZKeXYlSH4JMg==}- engines: {node: '>=10'}- dependencies:- '@babel/runtime': 7.18.3- '@types/lodash': 4.14.182- lodash: 4.17.21- lodash-es: 4.17.21- nanoclone: 0.2.1- property-expr: 2.0.5- toposort: 2.0.2- dev: falsediff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamldeleted file mode 100644index bd646fe6b4..0000000000--- a/pnpm-workspace.yaml+++ /dev/null@@ -1,3 +0,0 @@-prefer-workspace-packages: true-packages:- - 'apps/*'\ No newline at end of filediff --git a/postcss.config.js b/postcss.config.jsnew file mode 100644index 0000000000..33ad091d26--- /dev/null+++ b/postcss.config.js@@ -0,0 +1,6 @@+module.exports = {+ plugins: {+ tailwindcss: {},+ autoprefixer: {},+ },+}diff --git a/public/.htaccess b/public/.htaccessnew file mode 100644index 0000000000..3aec5e27e5--- /dev/null+++ b/public/.htaccess@@ -0,0 +1,21 @@+<IfModule mod_rewrite.c>+ <IfModule mod_negotiation.c>+ Options -MultiViews -Indexes+ </IfModule>++ RewriteEngine On++ # Handle Authorization Header+ RewriteCond %{HTTP:Authorization} .+ RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]++ # Redirect Trailing Slashes If Not A Folder...+ RewriteCond %{REQUEST_FILENAME} !-d+ RewriteCond %{REQUEST_URI} (.+)/$+ RewriteRule ^ %1 [L,R=301]++ # Send Requests To Front Controller...+ RewriteCond %{REQUEST_FILENAME} !-d+ RewriteCond %{REQUEST_FILENAME} !-f+ RewriteRule ^ index.php [L]+</IfModule>diff --git a/apps/api/.prettierignore b/public/favicon.icosimilarity index 100%rename from apps/api/.prettierignorerename to public/favicon.icodiff --git a/public/index.php b/public/index.phpnew file mode 100644index 0000000000..1d69f3a289--- /dev/null+++ b/public/index.php@@ -0,0 +1,55 @@+<?php++use Illuminate\Contracts\Http\Kernel;+use Illuminate\Http\Request;++define('LARAVEL_START', microtime(true));++/*+|--------------------------------------------------------------------------+| Check If The Application Is Under Maintenance+|--------------------------------------------------------------------------+|+| If the application is in maintenance / demo mode via the "down" command+| we will load this file so that any pre-rendered content can be shown+| instead of starting the framework, which could cause an exception.+|+*/++if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {+ require $maintenance;+}++/*+|--------------------------------------------------------------------------+| Register The Auto Loader+|--------------------------------------------------------------------------+|+| Composer provides a convenient, automatically generated class loader for+| this application. We just need to utilize it! We'll simply require it+| into the script here so we don't need to manually load our classes.+|+*/++require __DIR__.'/../vendor/autoload.php';++/*+|--------------------------------------------------------------------------+| Run The Application+|--------------------------------------------------------------------------+|+| Once we have the application, we can handle the incoming request using+| the application's HTTP kernel. Then, we will send the response back+| to this client's browser, allowing them to enjoy our application.+|+*/++$app = require_once __DIR__.'/../bootstrap/app.php';++$kernel = $app->make(Kernel::class);++$response = $kernel->handle(+ $request = Request::capture()+)->send();++$kernel->terminate($request, $response);diff --git a/public/robots.txt b/public/robots.txtnew file mode 100644index 0000000000..eb0536286f--- /dev/null+++ b/public/robots.txt@@ -0,0 +1,2 @@+User-agent: *+Disallow:diff --git a/resources/css/app.css b/resources/css/app.cssnew file mode 100644index 0000000000..bd6213e1df--- /dev/null+++ b/resources/css/app.css@@ -0,0 +1,3 @@+@tailwind base;+@tailwind components;+@tailwind utilities;\ No newline at end of filediff --git a/resources/js/app.js b/resources/js/app.jsnew file mode 100644index 0000000000..e59d6a0adf--- /dev/null+++ b/resources/js/app.js@@ -0,0 +1 @@+import './bootstrap';diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.jsnew file mode 100644index 0000000000..3d76085882--- /dev/null+++ b/resources/js/bootstrap.js@@ -0,0 +1,32 @@+/**+ * We'll load the axios HTTP library which allows us to easily issue requests+ * to our Laravel back-end. This library automatically handles sending the+ * CSRF token as a header based on the value of the "XSRF" token cookie.+ */++// import axios from 'axios';+// window.axios = axios;++// window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';++/**+ * Echo exposes an expressive API for subscribing to channels and listening+ * for events that are broadcast by Laravel. Echo and event broadcasting+ * allows your team to easily build robust real-time web applications.+ */++// import Echo from 'laravel-echo';++// import Pusher from 'pusher-js';+// window.Pusher = Pusher;++// window.Echo = new Echo({+// broadcaster: 'pusher',+// key: import.meta.env.VITE_PUSHER_APP_KEY,+// cluster: import.meta.env.VITE_PUSHER_APP_CLUSTER ?? 'mt1',+// wsHost: import.meta.env.VITE_PUSHER_HOST ? import.meta.env.VITE_PUSHER_HOST : `ws-${import.meta.env.VITE_PUSHER_APP_CLUSTER}.pusher.com`,+// wsPort: import.meta.env.VITE_PUSHER_PORT ?? 80,+// wssPort: import.meta.env.VITE_PUSHER_PORT ?? 443,+// forceTLS: (import.meta.env.VITE_PUSHER_SCHEME ?? 'https') === 'https',+// enabledTransports: ['ws', 'wss'],+// });diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.phpnew file mode 100644index 0000000000..da211600d9--- /dev/null+++ b/resources/views/welcome.blade.php@@ -0,0 +1,18 @@+<!DOCTYPE html>+<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">++<head>+ <meta charset="utf-8">+ <meta name="viewport" content="width=device-width, initial-scale=1">+ <title>{{ $title ?? 'Coolify' }}</title>+ <meta name="csrf-token" content="{{ csrf_token() }}">+ @vite(['resources/js/app.js', 'resources/css/app.css'])+</head>++<body class="antialiased">+ <h1 class="text-3xl font-bold">+ Hello from Coolify!+ </h1>+</body>++</html>diff --git a/routes/api.php b/routes/api.phpnew file mode 100644index 0000000000..889937e11a--- /dev/null+++ b/routes/api.php@@ -0,0 +1,19 @@+<?php++use Illuminate\Http\Request;+use Illuminate\Support\Facades\Route;++/*+|--------------------------------------------------------------------------+| API Routes+|--------------------------------------------------------------------------+|+| Here is where you can register API routes for your application. These+| routes are loaded by the RouteServiceProvider and all of them will+| be assigned to the "api" middleware group. Make something great!+|+*/++Route::middleware('auth:sanctum')->get('/user', function (Request $request) {+ return $request->user();+});diff --git a/routes/channels.php b/routes/channels.phpnew file mode 100644index 0000000000..5d451e1fae--- /dev/null+++ b/routes/channels.php@@ -0,0 +1,18 @@+<?php++use Illuminate\Support\Facades\Broadcast;++/*+|--------------------------------------------------------------------------+| Broadcast Channels+|--------------------------------------------------------------------------+|+| Here you may register all of the event broadcasting channels that your+| application supports. The given channel authorization callbacks are+| used to check if an authenticated user can listen to the channel.+|+*/++Broadcast::channel('App.Models.User.{id}', function ($user, $id) {+ return (int) $user->id === (int) $id;+});diff --git a/routes/console.php b/routes/console.phpnew file mode 100644index 0000000000..e05f4c9a1b--- /dev/null+++ b/routes/console.php@@ -0,0 +1,19 @@+<?php++use Illuminate\Foundation\Inspiring;+use Illuminate\Support\Facades\Artisan;++/*+|--------------------------------------------------------------------------+| Console Routes+|--------------------------------------------------------------------------+|+| This file is where you may define all of your Closure based console+| commands. Each Closure is bound to a command instance allowing a+| simple approach to interacting with each command's IO methods.+|+*/++Artisan::command('inspire', function () {+ $this->comment(Inspiring::quote());+})->purpose('Display an inspiring quote');diff --git a/routes/web.php b/routes/web.phpnew file mode 100644index 0000000000..d259f33ea8--- /dev/null+++ b/routes/web.php@@ -0,0 +1,18 @@+<?php++use Illuminate\Support\Facades\Route;++/*+|--------------------------------------------------------------------------+| Web Routes+|--------------------------------------------------------------------------+|+| Here is where you can register web routes for your application. These+| routes are loaded by the RouteServiceProvider and all of them will+| be assigned to the "web" middleware group. Make something great!+|+*/++Route::get('/', function () {+ return view('welcome');+});diff --git a/storage/app/.gitignore b/storage/app/.gitignorenew file mode 100644index 0000000000..8f4803c056--- /dev/null+++ b/storage/app/.gitignore@@ -0,0 +1,3 @@+*+!public/+!.gitignorediff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignorenew file mode 100644index 0000000000..d6b7ef32c8--- /dev/null+++ b/storage/app/public/.gitignore@@ -0,0 +1,2 @@+*+!.gitignorediff --git a/storage/framework/.gitignore b/storage/framework/.gitignorenew file mode 100644index 0000000000..05c4471f2b--- /dev/null+++ b/storage/framework/.gitignore@@ -0,0 +1,9 @@+compiled.php+config.php+down+events.scanned.php+maintenance.php+routes.php+routes.scanned.php+schedule-*+services.jsondiff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignorenew file mode 100644index 0000000000..01e4a6cda9--- /dev/null+++ b/storage/framework/cache/.gitignore@@ -0,0 +1,3 @@+*+!data/+!.gitignorediff --git a/storage/framework/cache/data/.gitignore b/storage/framework/cache/data/.gitignorenew file mode 100644index 0000000000..d6b7ef32c8--- /dev/null+++ b/storage/framework/cache/data/.gitignore@@ -0,0 +1,2 @@+*+!.gitignorediff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignorenew file mode 100644index 0000000000..d6b7ef32c8--- /dev/null+++ b/storage/framework/sessions/.gitignore@@ -0,0 +1,2 @@+*+!.gitignorediff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignorenew file mode 100644index 0000000000..d6b7ef32c8--- /dev/null+++ b/storage/framework/testing/.gitignore@@ -0,0 +1,2 @@+*+!.gitignorediff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignorenew file mode 100644index 0000000000..d6b7ef32c8--- /dev/null+++ b/storage/framework/views/.gitignore@@ -0,0 +1,2 @@+*+!.gitignorediff --git a/storage/logs/.gitignore b/storage/logs/.gitignorenew file mode 100644index 0000000000..d6b7ef32c8--- /dev/null+++ b/storage/logs/.gitignore@@ -0,0 +1,2 @@+*+!.gitignorediff --git a/tailwind.config.js b/tailwind.config.jsnew file mode 100644index 0000000000..8df2fccaff--- /dev/null+++ b/tailwind.config.js@@ -0,0 +1,11 @@+/** @type {import('tailwindcss').Config} */+module.exports = {+ content: [+ "./resources/**/*.blade.php",+ "./resources/**/*.js",+ ],+ theme: {+ extend: {},+ },+ plugins: [],+}diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.phpnew file mode 100644index 0000000000..cc68301129--- /dev/null+++ b/tests/CreatesApplication.php@@ -0,0 +1,21 @@+<?php++namespace Tests;++use Illuminate\Contracts\Console\Kernel;+use Illuminate\Foundation\Application;++trait CreatesApplication+{+ /**+ * Creates the application.+ */+ public function createApplication(): Application+ {+ $app = require __DIR__.'/../bootstrap/app.php';++ $app->make(Kernel::class)->bootstrap();++ return $app;+ }+}diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.phpnew file mode 100644index 0000000000..8364a84e2b--- /dev/null+++ b/tests/Feature/ExampleTest.php@@ -0,0 +1,19 @@+<?php++namespace Tests\Feature;++// use Illuminate\Foundation\Testing\RefreshDatabase;+use Tests\TestCase;++class ExampleTest extends TestCase+{+ /**+ * A basic test example.+ */+ public function test_the_application_returns_a_successful_response(): void+ {+ $response = $this->get('/');++ $response->assertStatus(200);+ }+}diff --git a/tests/TestCase.php b/tests/TestCase.phpnew file mode 100644index 0000000000..2932d4a69d--- /dev/null+++ b/tests/TestCase.php@@ -0,0 +1,10 @@+<?php++namespace Tests;++use Illuminate\Foundation\Testing\TestCase as BaseTestCase;++abstract class TestCase extends BaseTestCase+{+ use CreatesApplication;+}diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.phpnew file mode 100644index 0000000000..5773b0ceb7--- /dev/null+++ b/tests/Unit/ExampleTest.php@@ -0,0 +1,16 @@+<?php++namespace Tests\Unit;++use PHPUnit\Framework\TestCase;++class ExampleTest extends TestCase+{+ /**+ * A basic test example.+ */+ public function test_that_true_is_true(): void+ {+ $this->assertTrue(true);+ }+}diff --git a/vite.config.js b/vite.config.jsnew file mode 100644index 0000000000..ede21f48cc--- /dev/null+++ b/vite.config.js@@ -0,0 +1,29 @@+import { defineConfig } from "vite";+import laravel from "laravel-vite-plugin";++export default defineConfig({+ server: {+ host: "0.0.0.0",+ hmr: process.env.GITPOD_WORKSPACE_URL+ ? {+ // Due to port fowarding, we have to replace+ // 'https' with the forwarded port, as this+ // is the URI created by Gitpod.+ host: process.env.GITPOD_WORKSPACE_URL.replace(+ "https://",+ "5173-"+ ),+ protocol: "wss",+ clientPort: 443,+ }+ : {+ host: "localhost",+ },+ },+ plugins: [+ laravel({+ input: ["resources/css/app.css", "resources/js/app.js"],+ refresh: true,+ }),+ ],+});