Added a custom entrypoint script and finished off the saving feature of the admin page.

This commit is contained in:
2025-07-03 12:19:22 +10:00
parent 7237db7d52
commit 80119002e9
5 changed files with 61 additions and 54 deletions

View File

@@ -15,6 +15,7 @@
services:
app:
image: php:8.2-apache
hostname: app
container_name: app
ports:
- "8080:80"
@@ -22,10 +23,13 @@ services:
- ./app/:/var/www/html:Z
- ./lib:/var/www/html/lib:Z
- ./${HLBDAT:-dat.live}:/var/www/html/dat:Z
- ./entrypoint.sh:/entrypoint.sh:Z
entrypoint: ["bash", "/entrypoint.sh"]
networks:
- labnet
adm:
image: php:8.2-apache
hostname: adm
container_name: adm
ports:
- "8081:80"
@@ -33,6 +37,8 @@ services:
- ./adm/:/var/www/html:Z
- ./lib:/var/www/html/lib:Z
- ./${HLBDAT:-dat.live}:/var/www/html/dat:Z
- ./entrypoint.sh:/entrypoint.sh:Z
entrypoint: ["bash", "/entrypoint.sh"]
networks:
- labnet
networks: