services:
  axia4-web:
    image: ghcr.io/axia4/axia4:main
    # Optional: Build from local Dockerfile for development
    build:
      context: .
      dockerfile: Dockerfile.dev
    container_name: axia4-app
    ports:
      - "882:80"
    volumes:
      # Mount the DATA directory for persistent storage
      - ./DATA:/DATA
      # Optional: Mount the application code for development
      - ./public_html:/var/www/html
    restart: unless-stopped
