Compare commits

..

1 Commits

Author SHA1 Message Date
Nicolas Meienberger
434e261943 Add Nginx app 2025-04-25 09:00:23 +02:00
11 changed files with 16 additions and 84 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -22,24 +22,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install bun
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
run: bun install -g renovate@40
run: bun install -g renovate re2
- name: Echo repository
run: echo ${{ github.repository }}
- name: Run renovate
run: LOG_LEVEL=${{ github.event.inputs.log_level || 'INFO' }} renovate --token ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }}

View File

@@ -2,9 +2,9 @@ name: Test
on:
push:
branches: [main]
branches: [ main ]
pull_request:
branches: [main]
branches: [ main ]
jobs:
test:

13
LICENSE
View File

@@ -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.

View File

@@ -1,31 +1 @@
# Example App Store Template
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)
# example-appstore

View File

@@ -6,13 +6,7 @@ import path from 'node:path'
const getApps = async () => {
const appsDir = await fs.promises.readdir(path.join(process.cwd(), 'apps'))
const appDirs = appsDir.filter((app) => {
const stat = fs.statSync(path.join(process.cwd(), 'apps', app))
return stat.isDirectory()
})
return appDirs
return appsDir
};
const getFile = async (app: string, file: string) => {

View File

@@ -9,7 +9,7 @@
"utilities"
],
"description": "Tiny Go webserver that prints OS information and HTTP request to output.",
"tipi_version": 2,
"tipi_version": 1,
"version": "v1.11.0",
"source": "https://github.com/traefik/whoami",
"exposable": true,
@@ -18,7 +18,7 @@
"amd64"
],
"created_at": 1745082405284,
"updated_at": 1745674974072,
"updated_at": 1745082405284,
"dynamic_config": true,
"form_fields": []
}
}

BIN
bun.lockb

Binary file not shown.

View File

@@ -1,3 +0,0 @@
export default {
allowedCommands: ["bun ./scripts/update-config.ts", "bun install && bun run test"],
};

View File

@@ -11,15 +11,12 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@types/bun": "latest",
"@types/bun": "^1.2.10",
"@types/node": "^22.14.1"
},
"dependencies": {
"@runtipi/common": "^0.8.0",
"bun": "^1.2.10",
"zod-validation-error": "^3.4.0"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}

View File

@@ -1,14 +1,13 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automerge": false,
"extends": [
"config:recommended"
],
"addLabels": [
"renovate"
],
"enabledManagers": ["regex"],
"automergeStrategy": "rebase",
"ignoreTests": true,
"customManagers": [
{
"customType": "regex",
@@ -25,18 +24,17 @@
{
"matchUpdateTypes": [
"minor",
"major",
"patch",
"pin",
"digest"
],
"automerge": false
"automerge": true
},
{
"matchDepTypes": [
"devDependencies"
],
"automerge": false
"automerge": true
},
{
"matchPackageNames": [
@@ -51,8 +49,7 @@
],
"postUpgradeTasks": {
"commands": [
"bun ./scripts/update-config.ts {{packageFile}} {{newVersion}}",
"bun install && bun run test"
"bun ./scripts/update-config.ts {{packageFile}} {{newVersion}}"
],
"fileFilters": [
"**/*"