adjust for local use: change to mariadb:5.5,redirect to server http host

This commit is contained in:
ekin.tertemiz 2026-01-05 09:16:42 +01:00
commit 574c7fe92a
3 changed files with 12 additions and 13 deletions

View file

@ -1,18 +1,20 @@
name: help.verua.ch name: os-ticket
type: php type: php
docroot: "" docroot: ""
php_version: "7.4" php_version: "7.4"
webserver_type: nginx-fpm webserver_type: apache-fpm
xdebug_enabled: false xdebug_enabled: false
additional_hostnames: [] additional_hostnames: []
additional_fqdns: [] additional_fqdns: []
database: database:
type: mariadb type: mariadb
version: "10.11" version: "5.5"
use_dns_when_possible: true use_dns_when_possible: true
composer_version: "2" composer_version: "2"
web_environment: [] web_environment: []
corepack_enable: false corepack_enable: false
xhgui_https_port: "8142"
xhgui_http_port: "8143"
# Key features of DDEV's config.yaml: # Key features of DDEV's config.yaml:

View file

@ -1,10 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="2 url=http://help.verua.ch/help_FR/?&lang=de">
</head>
<body>
</body>
</html>

7
index.php Normal file
View file

@ -0,0 +1,7 @@
<?php
/**
* Redirect to french includes, but use german language
* Only french includes (and DB are being used therefore)
*/
header('Location: https://'.$_SERVER['HTTP_HOST'].'/help_FR/?&lang=de');