services: manga-reader: build: . container_name: manga-reader restart: unless-stopped environment: - TZ=America/El_Salvador - PORT=3352 - DATA_DIR=/app/data - MANGA_DIR=/mangas # Cada cuántas horas se buscan capítulos nuevos de los mangas seguidos. - CHECK_INTERVAL_HOURS=${CHECK_INTERVAL_HOURS:-3} # URL con la que se abre la web desde las notificaciones. - PUBLIC_URL=${PUBLIC_URL:-http://192.168.1.141:3352} # Pon "false" cuando ya hayas creado las cuentas que necesites. # (Si no hay ningún usuario, el primero siempre puede registrarse.) - ALLOW_SIGNUP=${ALLOW_SIGNUP:-true} volumes: # SQLite con usuarios, sesiones e historial de lectura. - ./data:/app/data # Mangas descargados: /Capitulo NNNN.cbz + cover.jpg - /zdata/media/mangas:/mangas ports: # Local del servidor, LAN y Tailscale. - "127.0.0.1:3352:3352" - "192.168.1.141:3352:3352" - "${IP_TAILSCALE:-100.125.134.51}:3352:3352" read_only: true tmpfs: - /tmp cap_drop: - ALL security_opt: - no-new-privileges:true logging: driver: json-file options: max-size: "10m" max-file: "3"