docker-compose.yml 409 B

1234567891011121314
  1. services:
  2. app:
  3. build:
  4. context: .
  5. target: runtime
  6. ports:
  7. # Host port comes from .env (HTTP_PORT). Default 8080 matches the
  8. # APP_BASE_URL default in .env.example. Container side is fixed at
  9. # 80 (Apache). Keep APP_BASE_URL in sync if you change it.
  10. - "${HTTP_PORT:-8080}:80"
  11. env_file: .env
  12. volumes:
  13. - ./data:/var/www/data
  14. restart: unless-stopped