Skip to content

Commit

Permalink
remove project name
Browse files Browse the repository at this point in the history
  • Loading branch information
deiucanta committed Aug 2, 2024
1 parent c757a4f commit a8e169a
Show file tree
Hide file tree
Showing 534 changed files with 50 additions and 1,624 deletions.
1 change: 0 additions & 1 deletion scripts/build-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ async function run() {
);
Object.entries(meta.schema.properties).forEach((entry: any) => {
const [key, value] = entry;
if (key === "projectName") return;
lines.push(
`${value.title ?? key} | ${value.description ?? "-"} | ${
meta.schema.required.includes(key as any) ? "yes" : "no"
Expand Down
8 changes: 1 addition & 7 deletions templates/2fauth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export function generate(input: Input): Output {
services.push({
type: input.databaseType,
data: {
projectName: input.projectName,
serviceName: input.databaseServiceName,
password: databasePassword,
},
Expand Down Expand Up @@ -69,11 +68,7 @@ export function generate(input: Input): Output {
const redisPassword = randomPassword();
services.push({
type: "redis",
data: {
projectName: input.projectName,
serviceName: input.redisServiceName,
password: redisPassword,
},
data: { serviceName: input.redisServiceName, password: redisPassword },
});
appEnv.push(
`REDIS_HOST=$(PROJECT_NAME)_${input.redisServiceName}`,
Expand All @@ -85,7 +80,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
env: appEnv.join("\n"),
source: {
Expand Down
4 changes: 0 additions & 4 deletions templates/2fauth/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,12 @@ contributors:
schema:
type: object
required:
- projectName
- appServiceName
- appServiceImage
- databaseType
- databaseServiceName
- redisServiceName
properties:
projectName:
type: string
title: Project Name
appServiceName:
type: string
title: App Service Name
Expand Down
2 changes: 0 additions & 2 deletions templates/ackee/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
env: [
`WAIT_HOSTS=$(PROJECT_NAME)_${input.databaseServiceName}:27017`,
Expand All @@ -32,7 +31,6 @@ export function generate(input: Input): Output {
services.push({
type: "mongo",
data: {
projectName: input.projectName,
serviceName: input.databaseServiceName,
image: "mongo:4",
password: mongoPassword,
Expand Down
4 changes: 0 additions & 4 deletions templates/ackee/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,12 @@ contributors:
schema:
type: object
required:
- projectName
- ackeeUsername
- ackeePassword
- appServiceName
- appServiceImage
- databaseServiceName
properties:
projectName:
type: string
title: Project Name
ackeeUsername:
type: string
title: Ackee Username
Expand Down
8 changes: 1 addition & 7 deletions templates/activepieces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
env: [
`AP_ENVIRONMENT=prod`,
Expand Down Expand Up @@ -52,17 +51,12 @@ export function generate(input: Input): Output {

services.push({
type: "redis",
data: {
projectName: input.projectName,
serviceName: input.redisServiceName,
password: redisPassword,
},
data: { serviceName: input.redisServiceName, password: redisPassword },
});

services.push({
type: "postgres",
data: {
projectName: input.projectName,
serviceName: input.databaseServiceName,
password: databasePassword,
},
Expand Down
4 changes: 0 additions & 4 deletions templates/activepieces/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,11 @@ contributors:
schema:
type: object
required:
- projectName
- appServiceName
- appServiceImage
- databaseServiceName
- redisServiceName
properties:
projectName:
type: string
title: Project Name
appServiceName:
type: string
title: App Service Name
Expand Down
1 change: 0 additions & 1 deletion templates/actualbudget/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
source: {
type: "image",
Expand Down
4 changes: 0 additions & 4 deletions templates/actualbudget/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,9 @@ contributors:
schema:
type: object
required:
- projectName
- appServiceName
- appServiceImage
properties:
projectName:
type: string
title: Project Name
appServiceName:
type: string
title: App Service Name
Expand Down
1 change: 0 additions & 1 deletion templates/adguardhome/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
source: { type: "image", image: input.appServiceImage },
domains: [{ host: "$(EASYPANEL_DOMAIN)", port: 3000 }],
Expand Down
4 changes: 0 additions & 4 deletions templates/adguardhome/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,9 @@ contributors:
schema:
type: object
required:
- projectName
- appServiceName
- appServiceImage
properties:
projectName:
type: string
title: Project Name
appServiceName:
type: string
title: App Service Name
Expand Down
1 change: 0 additions & 1 deletion templates/adminer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
source: {
type: "image",
Expand Down
4 changes: 0 additions & 4 deletions templates/adminer/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,9 @@ contributors:
schema:
type: object
required:
- projectName
- appServiceName
- appServiceImage
properties:
projectName:
type: string
title: Project Name
appServiceName:
type: string
title: App Service Name
Expand Down
1 change: 0 additions & 1 deletion templates/alltube/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
source: { type: "image", image: input.appServiceImage },
domains: [{ host: "$(EASYPANEL_DOMAIN)", port: 24488 }],
Expand Down
4 changes: 0 additions & 4 deletions templates/alltube/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,9 @@ contributors:
schema:
type: object
required:
- projectName
- appServiceName
- appServiceImage
properties:
projectName:
type: string
title: Project Name
alltubeTitle:
type: string
title: Title
Expand Down
1 change: 0 additions & 1 deletion templates/ampache/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
source: { type: "image", image: input.appServiceImage },
domains: [
Expand Down
4 changes: 0 additions & 4 deletions templates/ampache/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,10 @@ contributors:
schema:
type: object
required:
- projectName
- appServiceName
- appServiceImage
- appMediaHostPath
properties:
projectName:
type: string
title: Project Name
appServiceName:
type: string
title: App Service Name
Expand Down
1 change: 0 additions & 1 deletion templates/anonupload/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
env: [
`ADMIN_EMAIL=${input.appEmail}`,
Expand Down
4 changes: 0 additions & 4 deletions templates/anonupload/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,12 @@ contributors:
schema:
type: object
required:
- projectName
- appServiceName
- appServiceImage
- appEmail
- appPassword
- appContactEmail
properties:
projectName:
type: string
title: Project Name
appServiceName:
type: string
title: App Service Name
Expand Down
2 changes: 0 additions & 2 deletions templates/answer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export function generate(input: Input): Output {
services.push({
type: input.databaseType,
data: {
projectName: input.projectName,
serviceName: input.databaseServiceName,
password: databasePassword,
},
Expand All @@ -46,7 +45,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
env: appEnv.join("\n"),
deploy: { command: "sleep 15; /entrypoint.sh" },
Expand Down
4 changes: 0 additions & 4 deletions templates/answer/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ contributors:
schema:
type: object
required:
- projectName
- appServiceName
- appServiceImage
- adminName
Expand All @@ -43,9 +42,6 @@ schema:
- databaseType
- databaseServiceName
properties:
projectName:
type: string
title: Project Name
appServiceName:
type: string
title: App Service Name
Expand Down
1 change: 0 additions & 1 deletion templates/appsmith/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
source: {
type: "image",
Expand Down
4 changes: 0 additions & 4 deletions templates/appsmith/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,9 @@ contributors:
schema:
type: object
required:
- projectName
- appServiceName
- appServiceImage
properties:
projectName:
type: string
title: Project Name
appServiceName:
type: string
title: App Service Name
Expand Down
1 change: 0 additions & 1 deletion templates/appwrite/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export function generate(input: Input): Output {
services.push({
type: "compose",
data: {
projectName: input.projectName,
serviceName: input.serviceName,
source: {
type: "git",
Expand Down
4 changes: 0 additions & 4 deletions templates/appwrite/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@ contributors:
schema:
type: object
required:
- projectName
- serviceName
properties:
projectName:
type: string
title: Project Name
serviceName:
type: string
title: Service Name
Expand Down
1 change: 0 additions & 1 deletion templates/audiobookshelf/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
source: { type: "image", image: input.appServiceImage },
domains: [
Expand Down
4 changes: 0 additions & 4 deletions templates/audiobookshelf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,10 @@ contributors:
schema:
type: object
required:
- projectName
- appServiceName
- appServiceImage
- hostPath
properties:
projectName:
type: string
title: Project Name
appServiceName:
type: string
title: App Service Name
Expand Down
8 changes: 1 addition & 7 deletions templates/authorizer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export function generate(input: Input): Output {
services.push({
type: "app",
data: {
projectName: input.projectName,
serviceName: input.appServiceName,
env: [
`ENV=production`,
Expand All @@ -33,19 +32,14 @@ export function generate(input: Input): Output {
services.push({
type: "postgres",
data: {
projectName: input.projectName,
serviceName: input.databaseServiceName,
password: databasePassword,
},
});

services.push({
type: "redis",
data: {
projectName: input.projectName,
serviceName: input.redisServiceName,
password: redisPassword,
},
data: { serviceName: input.redisServiceName, password: redisPassword },
});

return { services };
Expand Down
Loading

0 comments on commit a8e169a

Please sign in to comment.