Add Docker support and migrate data paths to /DATA/

Co-authored-by: naielv <109038805+naielv@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-25 20:17:21 +00:00
parent f4200cbbd6
commit 4067a323fb
12 changed files with 263 additions and 8 deletions

26
docker-compose.yml Normal file
View File

@@ -0,0 +1,26 @@
version: '3.8'
services:
axia4-web:
build: .
container_name: axia4-app
ports:
- "${WEB_PORT:-8080}:80"
volumes:
# Mount the DATA directory for persistent storage
- ${DATA_DIR:-./DATA}:/DATA
# Optional: Mount the application code for development
# - ./public_html:/var/www/html
environment:
- APACHE_DOCUMENT_ROOT=/var/www/html
restart: unless-stopped
networks:
- axia4-network
networks:
axia4-network:
driver: bridge
volumes:
data:
driver: local