diff --git a/apps/dashy/4.7.21/.env.sample b/apps/dashy/4.7.21/.env.sample new file mode 100644 index 000000000..909059904 --- /dev/null +++ b/apps/dashy/4.7.21/.env.sample @@ -0,0 +1,2 @@ +CONTAINER_NAME="dashy" +PANEL_APP_PORT_HTTP="40219" diff --git a/apps/dashy/4.7.21/data.yml b/apps/dashy/4.7.21/data.yml new file mode 100644 index 000000000..5851ab8b0 --- /dev/null +++ b/apps/dashy/4.7.21/data.yml @@ -0,0 +1,19 @@ +additionalProperties: + formFields: + - default: 40209 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + label: + en: 'Port' + zh: '端口' + zh-Hant: '埠' + ja: 'ポート' + ko: '포트' + ru: 'Порт' + ms: 'Port' + pt-br: 'Porta' + required: true + rule: paramPort + type: number diff --git a/apps/dashy/4.7.21/data/item-icons/.gitkeep b/apps/dashy/4.7.21/data/item-icons/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/apps/dashy/4.7.21/data/user-data/conf.yml b/apps/dashy/4.7.21/data/user-data/conf.yml new file mode 100644 index 000000000..5f0b012ad --- /dev/null +++ b/apps/dashy/4.7.21/data/user-data/conf.yml @@ -0,0 +1,47 @@ +--- +# Page meta info, like heading, footer text and nav links +pageInfo: + title: Dashy + description: Welcome to your new dashboard! + navLinks: + - title: GitHub + path: https://github.com/Lissy93/dashy + - title: Documentation + path: https://dashy.to/docs + +# Optional app settings and configuration +appConfig: + theme: colorful + +# Main content - An array of sections, each containing an array of items +sections: +- name: Getting Started + icon: fas fa-rocket + items: + - title: Dashy Live + description: Development a project management links for Dashy + icon: https://i.ibb.co/qWWpD0v/astro-dab-128.png + url: https://live.dashy.to/ + target: newtab + - title: GitHub + description: Source Code, Issues and Pull Requests + url: https://github.com/lissy93/dashy + icon: favicon + - title: Docs + description: Configuring & Usage Documentation + provider: Dashy.to + icon: far fa-book + url: https://dashy.to/docs + - title: Showcase + description: See how others are using Dashy + url: https://github.com/Lissy93/dashy/blob/master/docs/showcase.md + icon: far fa-grin-hearts + - title: Config Guide + description: See full list of configuration options + url: https://github.com/Lissy93/dashy/blob/master/docs/configuring.md + icon: fas fa-wrench + - title: Support + description: Get help with Dashy, raise a bug, or get in contact + url: https://github.com/Lissy93/dashy/blob/master/.github/SUPPORT.md + icon: far fa-hands-helping + \ No newline at end of file diff --git a/apps/dashy/4.7.21/docker-compose.yml b/apps/dashy/4.7.21/docker-compose.yml new file mode 100644 index 000000000..dfedb8b93 --- /dev/null +++ b/apps/dashy/4.7.21/docker-compose.yml @@ -0,0 +1,28 @@ +services: + dashy: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - ./data/user-data/conf.yml:/app/user-data/conf.yml + - ./data/item-icons:/app/user-data/item-icons + environment: + - NODE_ENV=production + - UID=1000 + - GID=1000 + healthcheck: + test: ['CMD', 'node', '/app/services/healthcheck'] + interval: 1m30s + timeout: 10s + retries: 3 + start_period: 40s + image: lissy93/dashy:4.7.21 + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/dashy/4.7.21/scripts/init.sh b/apps/dashy/4.7.21/scripts/init.sh new file mode 100755 index 000000000..03006254f --- /dev/null +++ b/apps/dashy/4.7.21/scripts/init.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -euo pipefail + +mkdir -p data/user-data data/item-icons +touch data/user-data/conf.yml +chown -R 1000:1000 data diff --git a/apps/dashy/4.7.21/scripts/uninstall.sh b/apps/dashy/4.7.21/scripts/uninstall.sh new file mode 100755 index 000000000..249446094 --- /dev/null +++ b/apps/dashy/4.7.21/scripts/uninstall.sh @@ -0,0 +1,4 @@ +#!/bin/bash +set -euo pipefail + +docker compose down diff --git a/apps/dashy/4.7.21/scripts/upgrade.sh b/apps/dashy/4.7.21/scripts/upgrade.sh new file mode 100755 index 000000000..03006254f --- /dev/null +++ b/apps/dashy/4.7.21/scripts/upgrade.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -euo pipefail + +mkdir -p data/user-data data/item-icons +touch data/user-data/conf.yml +chown -R 1000:1000 data