Compare commits
1 Commits
4409454cfe
...
add-nginx-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
434e261943 |
18
.github/workflows/renovate.yml
vendored
18
.github/workflows/renovate.yml
vendored
@@ -22,24 +22,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install node
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: "22"
|
|
||||||
|
|
||||||
- name: Install bun
|
- name: Install bun
|
||||||
uses: oven-sh/setup-bun@v2
|
uses: oven-sh/setup-bun@v2
|
||||||
|
|
||||||
- name: Cache Bun global packages
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/.bun/install/global
|
|
||||||
key: ${{ runner.os }}-bun-global-renovate-40
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-bun-global-
|
|
||||||
|
|
||||||
- name: Install Renovate
|
- name: Install Renovate
|
||||||
run: bun install -g renovate@40
|
run: bun install -g renovate re2
|
||||||
|
|
||||||
|
- name: Echo repository
|
||||||
|
run: echo ${{ github.repository }}
|
||||||
|
|
||||||
- name: Run renovate
|
- name: Run renovate
|
||||||
run: LOG_LEVEL=${{ github.event.inputs.log_level || 'INFO' }} renovate --token ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }}
|
run: LOG_LEVEL=${{ github.event.inputs.log_level || 'INFO' }} renovate --token ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }}
|
||||||
|
|||||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -2,9 +2,9 @@ name: Test
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|||||||
13
LICENSE
13
LICENSE
@@ -1,13 +0,0 @@
|
|||||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
||||||
Version 2, December 2004
|
|
||||||
|
|
||||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
|
||||||
|
|
||||||
Everyone is permitted to copy and distribute verbatim or modified
|
|
||||||
copies of this license document, and changing it is allowed as long
|
|
||||||
as the name is changed.
|
|
||||||
|
|
||||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
||||||
|
|
||||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
|
||||||
32
README.md
32
README.md
@@ -1,31 +1 @@
|
|||||||
# Example App Store Template
|
# example-appstore
|
||||||
|
|
||||||
This repository serves as a template for creating your own custom app store for the Runtipi platform. Use this as a starting point to create and share your own collection of applications.
|
|
||||||
|
|
||||||
## Repository Structure
|
|
||||||
|
|
||||||
- **apps/**: Contains individual app directories
|
|
||||||
|
|
||||||
- Each app has its own folder (e.g., `whoami/`) with the following structure:
|
|
||||||
- `config.json`: App configuration file
|
|
||||||
- `docker-compose.json`: Docker setup for the app
|
|
||||||
- `metadata/`: Contains app visuals and descriptions
|
|
||||||
- `description.md`: Markdown description of the app
|
|
||||||
- `logo.jpg`: App logo image
|
|
||||||
|
|
||||||
- **tests/**: Contains test files for the app store
|
|
||||||
|
|
||||||
- `apps.test.ts`: Test suite for validating apps
|
|
||||||
|
|
||||||
## Getting Started
|
|
||||||
|
|
||||||
This repository is intended to serve as a template for creating your own app store. Follow these steps to get started:
|
|
||||||
|
|
||||||
1. Click the "Use this template" button to create a new repository based on this template
|
|
||||||
2. Customize the apps or add your own app folders in the `apps/` directory
|
|
||||||
3. Test your app store by using it with Runtipi
|
|
||||||
|
|
||||||
## Documentation
|
|
||||||
|
|
||||||
For detailed instructions on creating your own app store, please refer to the official guide:
|
|
||||||
[Create Your Own App Store Guide](https://runtipi.io/docs/guides/create-your-own-app-store)
|
|
||||||
@@ -6,13 +6,7 @@ import path from 'node:path'
|
|||||||
|
|
||||||
const getApps = async () => {
|
const getApps = async () => {
|
||||||
const appsDir = await fs.promises.readdir(path.join(process.cwd(), 'apps'))
|
const appsDir = await fs.promises.readdir(path.join(process.cwd(), 'apps'))
|
||||||
|
return appsDir
|
||||||
const appDirs = appsDir.filter((app) => {
|
|
||||||
const stat = fs.statSync(path.join(process.cwd(), 'apps', app))
|
|
||||||
return stat.isDirectory()
|
|
||||||
})
|
|
||||||
|
|
||||||
return appDirs
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const getFile = async (app: string, file: string) => {
|
const getFile = async (app: string, file: string) => {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"utilities"
|
"utilities"
|
||||||
],
|
],
|
||||||
"description": "Tiny Go webserver that prints OS information and HTTP request to output.",
|
"description": "Tiny Go webserver that prints OS information and HTTP request to output.",
|
||||||
"tipi_version": 2,
|
"tipi_version": 1,
|
||||||
"version": "v1.11.0",
|
"version": "v1.11.0",
|
||||||
"source": "https://github.com/traefik/whoami",
|
"source": "https://github.com/traefik/whoami",
|
||||||
"exposable": true,
|
"exposable": true,
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
"amd64"
|
"amd64"
|
||||||
],
|
],
|
||||||
"created_at": 1745082405284,
|
"created_at": 1745082405284,
|
||||||
"updated_at": 1745674974072,
|
"updated_at": 1745082405284,
|
||||||
"dynamic_config": true,
|
"dynamic_config": true,
|
||||||
"form_fields": []
|
"form_fields": []
|
||||||
}
|
}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
export default {
|
|
||||||
allowedCommands: ["bun ./scripts/update-config.ts", "bun install && bun run test"],
|
|
||||||
};
|
|
||||||
@@ -11,15 +11,12 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bun": "latest",
|
"@types/bun": "^1.2.10",
|
||||||
"@types/node": "^22.14.1"
|
"@types/node": "^22.14.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@runtipi/common": "^0.8.0",
|
"@runtipi/common": "^0.8.0",
|
||||||
"bun": "^1.2.10",
|
"bun": "^1.2.10",
|
||||||
"zod-validation-error": "^3.4.0"
|
"zod-validation-error": "^3.4.0"
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"typescript": "^5.0.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,13 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"automerge": false,
|
|
||||||
"extends": [
|
"extends": [
|
||||||
"config:recommended"
|
"config:recommended"
|
||||||
],
|
],
|
||||||
"addLabels": [
|
"addLabels": [
|
||||||
"renovate"
|
"renovate"
|
||||||
],
|
],
|
||||||
"enabledManagers": ["regex"],
|
|
||||||
"automergeStrategy": "rebase",
|
"automergeStrategy": "rebase",
|
||||||
|
"ignoreTests": true,
|
||||||
"customManagers": [
|
"customManagers": [
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
@@ -25,18 +24,17 @@
|
|||||||
{
|
{
|
||||||
"matchUpdateTypes": [
|
"matchUpdateTypes": [
|
||||||
"minor",
|
"minor",
|
||||||
"major",
|
|
||||||
"patch",
|
"patch",
|
||||||
"pin",
|
"pin",
|
||||||
"digest"
|
"digest"
|
||||||
],
|
],
|
||||||
"automerge": false
|
"automerge": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchDepTypes": [
|
"matchDepTypes": [
|
||||||
"devDependencies"
|
"devDependencies"
|
||||||
],
|
],
|
||||||
"automerge": false
|
"automerge": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchPackageNames": [
|
"matchPackageNames": [
|
||||||
@@ -51,8 +49,7 @@
|
|||||||
],
|
],
|
||||||
"postUpgradeTasks": {
|
"postUpgradeTasks": {
|
||||||
"commands": [
|
"commands": [
|
||||||
"bun ./scripts/update-config.ts {{packageFile}} {{newVersion}}",
|
"bun ./scripts/update-config.ts {{packageFile}} {{newVersion}}"
|
||||||
"bun install && bun run test"
|
|
||||||
],
|
],
|
||||||
"fileFilters": [
|
"fileFilters": [
|
||||||
"**/*"
|
"**/*"
|
||||||
|
|||||||
Reference in New Issue
Block a user