# Docker Compose for Nextcloud 28 with SQLite (no external DB service)
# Usage: docker compose -f docker/sqlite/docker-compose.yml up -d
#
# Part of Issue #192 (database portability).

services:
  nextcloud:
    image: nextcloud:28-apache
    restart: unless-stopped
    ports:
      - "8082:80"
    environment:
      SQLITE_DATABASE: nextcloud
      NEXTCLOUD_ADMIN_USER: admin
      NEXTCLOUD_ADMIN_PASSWORD: admin
      NEXTCLOUD_TRUSTED_DOMAINS: "localhost"
    volumes:
      - nc_data:/var/www/html
      - ../../:/app-src:ro

volumes:
  nc_data:
