-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #619 from PAWECOGmbH/revert-618-development
Revert "start: initial setup routine"
- Loading branch information
Showing
2 changed files
with
192 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
|
||
<cfscript> | ||
// Datasource | ||
variables.datasource = "saaster_dev"; | ||
// Theme (default_theme or custom_theme) | ||
variables.activeTheme = "custom_theme"; | ||
// Environment | ||
variables.environment = "dev" // "dev" or "prod" | ||
// Enter the URL of your live project (incl. http:// or https://) | ||
variables.mainURL = "http://localhost:8080"; | ||
// Password for the Scheduler (url.pass) | ||
variables.schedulePassword = "saaster2024"; | ||
// #################################### | ||
// APPLICATION SETTINGS | ||
// #################################### | ||
// The name of your application.cfc / make sure its unique | ||
variables.applicationname = "saaster_dev"; | ||
// Please use the timespan tag directly | ||
variables.sessiontimeout = createTimespan(00,03,00,00); | ||
// You can use "modern" or "classic" for lucee pdf print | ||
variables.pdf_type = "classic"; | ||
// RequestTimeout in seconds | ||
variables.requesttimeout = 6000; | ||
// Set allowed image file types | ||
variables.imageFileTypes = ["jpeg","png","jpg","gif","bmp"]; // Svg and webp will not work for image file upload | ||
variables.documentsFileTypes = ["pdf", "zip", "doc", "docx", "ppt", "pptx", "xls", "xlsx", "csv", "mp4", "mov", "mp3"]; | ||
// Default meta tags | ||
variables.metaTitle = "The Saaster Company Ltd."; | ||
variables.metaDescription = "This is a demo application using Saaster as a base software"; | ||
variables.metaHTML = ""; | ||
// #################################### | ||
// API SETTINGS | ||
// #################################### | ||
variables.apiSecret = ""; | ||
variables.apiReloadPassword = ""; | ||
// #################################### | ||
// OPERATOR SETTINGS | ||
// #################################### | ||
// Here you can choose any name | ||
variables.appName = "SaaSTER"; | ||
// Enter the name of the operator (Your company) | ||
variables.appOwner = "The SaaSTER Company ltd."; | ||
// From which e-mail address should the system e-mails be sent? | ||
variables.fromEmail = "SaaSTER Company <[email protected]>"; | ||
// Enter the email address of the administrator | ||
variables.toEmail = "[email protected]"; | ||
// Enter an email address for error messages | ||
variables.errorEmail = "[email protected]"; | ||
// #################################### | ||
// CUSTOMER SETTINGS | ||
// #################################### | ||
// To simulate a customer in local environment, enter a public IP address here. | ||
// variables.usersIP = "62.171.127.255"; // CH | ||
variables.usersIP = "146.70.62.238"; // DE | ||
// #################################### | ||
// PAYREXX SETTINGS | ||
// #################################### | ||
// The basic URL to the Payrexx API | ||
variables.payrexxAPIurl = "https://api.payrexx.com/v1.0/"; | ||
// Your personal Payrexx instance | ||
variables.payrexxAPIinstance = ""; | ||
// Your API key from Payrexx | ||
variables.payrexxAPIkey = ""; | ||
// Look and feel of your payment page (id from Payrexx) | ||
variables.payrexxDesignID = ""; | ||
// Webhook directory for developing environment | ||
variables.payrexxWebhookDev = ""; | ||
// The webhook password that is specified in the url variable | ||
variables.payrexxWebhookPassword = ""; | ||
// PSP IDs (comma separated list without spaces) | ||
variables.payrexxPSPs = ""; | ||
// #################################### | ||
// GOOGLE RECAPTCHA V2 | ||
// #################################### | ||
variables.reCAPTCHA_site_key = ""; | ||
variables.reCAPTCHA_secret = ""; | ||
// #################################### | ||
// Footer text variable | ||
// #################################### | ||
cfsavecontent (variable="variables.footerText") { | ||
echo("<div><p>Open source software running under the <a href='https://github.com/git/git-scm.com/blob/main/MIT-LICENSE.txt' target='_blank'>MIT license</a> - #dateFormat(now(), 'yyyy')# by #variables.appOwner#</p></div>"); | ||
} | ||
// #################################### | ||
// Email settings | ||
// #################################### | ||
// General | ||
variables.mailMaxWidthContent = 660; | ||
variables.fontFamily = "Arial, Helvetica, sans-serif"; | ||
variables.mailbodyBGColor = "f4f4f4"; | ||
variables.mailContentbgColor = "ffffff"; | ||
variables.fontSizeTitle = 14; | ||
variables.fontColorText = "000000"; | ||
variables.fontSizeText = 14; | ||
// Header | ||
variables.headerBGColor = "206bc4"; | ||
variables.headerFontColor = "ffffff"; | ||
variables.headerFontSize = 14; | ||
// Buttons | ||
variables.buttonBGColor = "206bc4"; | ||
variables.buttonFontColor = "ffffff"; | ||
variables.buttonFontSize = 14; | ||
</cfscript> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## Project name | ||
COMPOSE_PROJECT_NAME=saaster # Must be unique on docker host. | ||
|
||
## Lucee settings | ||
# Keep the Lucee image name for setup, then replace with your own later. | ||
# Default: lucee/lucee:6.0-nginx | ||
LUCEE_IMAGE=lucee/lucee | ||
LUCEE_IMAGE_VERSION=6.0-nginx | ||
LUCEE_CONTAINER_NAME=saaster_lucee # Must be unique on docker host. | ||
LUCEE_PORT=8080 # Must be unique on docker host. | ||
LUCEE_ADMIN_PASSWORD=defaultpass | ||
|
||
## MySQL settings | ||
MYSQL_PORT=3306 # Must be unique on docker host. In Lucee Admin please set to 3306. | ||
MYSQL_ROOT_PASSWORD=defaultpass | ||
MYSQL_CONTAINER_NAME=saaster_mysql_host # Will be the MySQL host/server. | ||
MYSQL_DATABASE=saaster_db # Must be unique on docker host. | ||
MYSQL_USER=mysql_user | ||
MYSQL_PASSWORD=mysql_password | ||
|
||
## Flyway settings | ||
# core: Migrations for Saaster core tables | ||
# myapp: Migrations for your application's own tables | ||
FLYWAY_DB_FOLDER=core # core or myapp | ||
FLYWAY_MIGRATION_TYPE=migrate # migrate or repair | ||
FLYWAY_CONTAINER_NAME=saaster_flyway # Must be unique on docker host. | ||
|
||
## Inbucket settings (development environment) | ||
INBUCKET_CONTAINER_NAME=saaster_inbucket # Will be used as the SMTP server in Lucee. | ||
INBUCKET_SMTP_PORT=2500 # Must be unique on docker host. In Lucee Admin please set to 2500. | ||
INBUCKET_WEB_PORT=9000 # Must be unique on docker host. | ||
INBUCKET_POP3_PORT=1100 # Must be unique on docker host. | ||
|
||
|
||
## Backup settings | ||
|
||
# Backup path on the remote server | ||
REMOTE_BACKUP_PATH=/backups | ||
|
||
# Server information for SCP Transfer | ||
SERVER_USER=root | ||
SERVER_IP=xxx.xxx.xxx.xxx | ||
SSH_KEY_PATH=~/.ssh/id_rsa |