Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template fixed SuiteCRM #675

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions templates/suitecrm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ export function generate(input: Input): Output {
`SUITECRM_DATABASE_NAME=$(PROJECT_NAME)`,
`SUITECRM_DATABASE_USER=mariadb`,
`SUITECRM_DATABASE_PASSWORD=${mariaPassword}`,
`SUITECRM_ENABLE_HTTPS=yes`,
`SUITECRM_HOST=$(PRIMARY_DOMAIN)`,
`SUITECRM_USERNAME=${input.suitecrmUsername || "admin"}`,
`SUITECRM_PASSWORD=${input.suitecrmPassword || "admin"}`,
`SUITECRM_EMAIL=${input.suitecrmEmail || "[email protected]"}`,
`SUITECRM_USERNAME=${input.suitecrmUsername}`,
`SUITECRM_PASSWORD=${input.suitecrmPassword}`,
`SUITECRM_EMAIL=${input.suitecrmEmail}`,
].join("\n"),
source: { type: "image", image: input.appServiceImage },
domains: [{ host: "$(EASYPANEL_DOMAIN)", port: 8080 }],
Expand Down
2 changes: 2 additions & 0 deletions templates/suitecrm/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,14 @@ schema:
suitecrmUsername:
type: string
title: Username
default: admin
suitecrmPassword:
type: string
title: Password
suitecrmEmail:
type: string
title: Email
default: [email protected]
appServiceName:
type: string
title: App Service Name
Expand Down