services: app: build: context: . target: runtime ports: # Host port comes from .env (HTTP_PORT). Default 8080 matches the # APP_BASE_URL default in .env.example. Container side is fixed at # 80 (Apache). Keep APP_BASE_URL in sync if you change it. - "${HTTP_PORT:-8080}:80" env_file: .env volumes: - ./data:/var/www/data restart: unless-stopped