Attempting a simpler configuration. Podman doesn't like it. Moving to Docker for sanity check.

This commit is contained in:
2025-07-03 09:56:47 +10:00
parent 4ce23cc392
commit 5c77dbc2a3
179 changed files with 10 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
<?php
header("Content-Type: application/json");
include('lib.php');
include('lib/main.php');
$ret = array( "err" => "unknown command" );
if ( in_array("cmd", array_keys($_GET)) and $_GET["cmd"] == "get" ) {
$ret = getEvents();

0
web/lib.php → adm/lib.php Normal file → Executable file
View File

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 79 KiB

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

View File

@@ -1,8 +1,8 @@
<!DOCTYPE html>
<?php
require 'lib.php';
require 'vendor/autoload.php';
require 'lib/main.php';
require 'lib/vendor/autoload.php';
use Michelf\Markdown;
?>

0
app/lib.php Normal file
View File

View File

@@ -5,28 +5,22 @@ services:
ports:
- "8080:80"
volumes:
- ./web/:/var/www/html:Z
- ./vendor/:/var/www/html/vendor:Z
- ./lib.php:/var/www/html/lib.php:Z
- ./app/:/var/www/html:Z
- ./lib:/var/www/html/lib:Z
- ./dat.live:/var/www/html/dat:Z
networks:
- labnet
profiles:
- app
cal:
adm:
image: php:8.2-apache
container_name: cal
container_name: adm
ports:
- "8080:80"
- "8081:80"
volumes:
- ./cal/:/var/www/html:Z
- ./vendor/:/var/www/html/vendor:Z
- ./lib.php:/var/www/html/lib.php:Z
- ./adm/:/var/www/html:Z
- ./lib:/var/www/html/lib:Z
- ./dat.live:/var/www/html/dat:Z
networks:
- labnet
profiles:
- cal
networks:
labnet:
external: true

View File

Some files were not shown because too many files have changed in this diff Show More