gfa-status-test

Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
2025-11-11 14:48:26 +01:00
parent 570cd243e2
commit a543867ffd
2 changed files with 36 additions and 13 deletions
+32
View File
@@ -0,0 +1,32 @@
<VirtualHost *:80>
ServerName gfa-status.web.psi.ch
ServerAlias www.gfa-status.web.psi.ch
DocumentRoot /var/www/gfa-status.web.psi.ch/web
ErrorLog /proc/self/fd/2
CustomLog /proc/self/fd/1 combined
Header set Access-Control-Allow-Origin "*"
# PHP configuration
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler application/x-httpd-php
</FilesMatch>
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@gfa-status.web.psi.ch"
php_admin_value upload_tmp_dir /var/www/clients/client45/web70/tmp
php_admin_value session.save_path /var/www/clients/client45/web70/tmp
php_admin_value open_basedir /var/www/clients/client45/web70/web:/var/www/clients/client45/web70/private:/var/www/clients/client45/web70/tmp:/var/www/gfa-status.web.psi.ch/web:/tmp:/usr/share/php:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/var/www/error/
<Directory /var/www/gfa-status.web.psi.ch/web>
Options +FollowSymLinks +Includes
AllowOverride All
Require all granted
# SSI support
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</Directory>
</VirtualHost>
+4 -13
View File
@@ -24,14 +24,16 @@ services:
- public
- backend
# rfwtools
# gfa-status-test
apache:
image: gitea.psi.ch/images/php-apache:latest
container_name: apache_app
restart: always
volumes:
- /opt/webcontent/rfmwtools:/var/www/rfmwtools:ro
- ./apache/conf/rfmwtools.conf:/etc/apache2/sites-enabled/rfmwtools.conf:ro
- /opt/webcontent/gfa-status:/var/www/gfa-status:ro
- ./apache/conf/:/etc/apache2/sites-enabled/:ro
networks:
- backend
@@ -133,17 +135,6 @@ services:
networks:
- hedgedoc_backend
# Andreas Luedeke <andreas.luedeke@psi.ch>
# POC not running yet
gfa-status-test:
image: php:8.2-apache
container_name: gfa-status-test
volumes:
- /opt/webcontent/gfa-status/web:/var/www/html
restart: always
networks:
- backend
# Flechsig Uwe <uwe.flechsig@psi.ch>
# opticswiki (test setup)
# I assume gitea.psi.ch/images is the local image repository filled docker push