Improve DevOps

This commit is contained in:
patrick 2025-02-12 15:30:06 +00:00
parent 5680696c2e
commit debaa221e7
2 changed files with 5 additions and 5 deletions

View File

@ -22,8 +22,8 @@
*/
?>
<?
$DBHOST= "db";
$DBNAME= "mariadb";
$DBUSER= "mariadb";
$DBPASS= "mariadb";
$DBHOST= getenv("DBHOST") ?: "mariadb";
$DBNAME= getenv("DBNAME") ?: "mariadb";
$DBUSER= getenv("DBUSER") ?: "mariadb";
$DBPASS= getenv("DBPASS") ?: "mariadb";
?>

View File

@ -396,7 +396,7 @@ INSERT INTO `config` VALUES
('signaturepage_or_permissionform','signaturepage','Participant Registration','enum','signaturepage = Signature Page|permissionform = Permission Form',2775,'Change the name of the form that must be signed in order to participate in this fair to: <br><ul><li>Signature Page<li>Permission Form </ul>',-1),
('ethics_questions','yes','Participant Registration','yesno','',2550,'Ask if the project requires human and/or animal participants.',-1),
('FAIRYEAR','2025','Special','','',0,'',0),
('SFIABDIRECTORY','/content','Special','','',0,'',0),
('SFIABDIRECTORY','','Special','','',0,'',0),
('charity_number','','Fundraising','text','',200,'Charity Registration Number',2025),
('cheque_date_format','DDMMYYYY','Localization','enum','YYYYMMDD=YYYYMMDD|DDMMYYYY=DDMMYYYY|MMDDYYYY=MMDDYYYY',220,'Format for dates on printed cheques',2025),
('committee_personal_fields','phonehome,phonecell,phonework,fax,org','Committee Members','multisel','sex=Gender|phonehome=Home Phone|phonework=Work Phone|phonecell=Cell Phone|fax=Fax|org=Organization|birthdate=Birthdate|lang=Preferred Language|address=Address and PostalCode|city=City|province=Province|firstaid=First Aid and CPR',500,'Personal Information to ask for on the Committee Member profile page (in addition to Name and Email)',2025),