Enhance Docker setup and local development: bind database directory, update PHP server command, and add local dev router to prevent exposure of sensitive files

This commit is contained in:
David Dyer committed 2026-10-25 14:38:09 -04:00
1 parent 02551eebbc
commit 3286bce6b1
6 files changed
+84 -3

No files matched your search

+7
View File
@@ -16,8 +16,15 @@ services:
- type: bind
source: /DATA/AppData/theoldfitz/www
target: /var/www/html
# Database lives outside the web root so Apache can't serve it.
# FITZ_DATA_DIR defaults to the CasaOS dev host's path; set it in a
# .env file next to this compose file on the VPS.
- type: bind
source: ${FITZ_DATA_DIR:-/DATA/AppData/theoldfitz/data}
target: /var/www/data
environment:
- TZ=America/Indiana/Indianapolis
- FITZ_DB_PATH=/var/www/data/fitz.sqlite
labels:
icon: https://www.php.net/images/logos/php-logo.svg