Local Mangaplus
Home
  • Introduction
  • Installation
  • Architecture
GitHub
Home
  • Introduction
  • Installation
  • Architecture
GitHub
  • Guide

    • Introduction
    • Installation
    • Architecture
  • Development

    • Contributing
    • Roadmap

Installation

There are two main ways to install Local MangaPlus: using a pre-built Docker image (recommended for most users) or building the application from the source code.

Docker (Recommended)

This is the easiest and fastest way to get started.

Run Command

You can run the application with a single docker run command. This will pull the latest image from the GitHub Container Registry and start it.

docker run -d \
  --name local-mangaplus \
  -p 8080:80 \
  -v local_mangaplus_data:/app/var \
  --restart unless-stopped \
  ghcr.io/treast/local-mangaplus:latest

After running the command, the application will be available at http://localhost:8080.

Note: The first port number in -p 8080:80 can be changed to any port you prefer on your host machine. The volume local_mangaplus_data will store the application's database and downloaded chapters, ensuring your data persists even if you update or recreate the container.

Docker Compose

If you prefer using docker-compose, you can use the following configuration in your compose.yaml file:

services:
  local_mangaplus:
    image: ghcr.io/treast/local-mangaplus:latest
    container_name: local-mangaplus
    restart: unless-stopped
    ports:
      - "8080:80"
    volumes:
      - local_mangaplus_data:/app/var

volumes:
  local_mangaplus_data:

Save this as compose.yaml and run docker-compose up -d. The application will be available at http://localhost:8080.

Build it Yourself

If you want to modify the code or contribute to the project, you'll need to build the application from the source.

Prerequisites

  • Docker
  • Task (recommended)
  • Git

1. Clone the Repository

First, clone the project from GitHub:

git clone https://github.com/Treast/local-mangaplus.git
cd local-mangaplus

2. Install Dependencies

The project uses composer for PHP dependencies and npm for frontend dependencies. The provided Taskfile.yml simplifies this process.

# This will install both composer and npm dependencies
task install

3. Setup Environment

Copy the development environment file:

cp .env .env.local

This file contains the default configuration for the development environment. You may edit it if needed (e.g., to change ports).

4. Database Setup

The application uses Doctrine Migrations to manage the database schema. Run the following command to create the database and apply the migrations:

task db:migrate

5. Run the Application

Now you can build and start the Docker containers for the development environment.

# Build the images
task build

# Start the containers in detached mode
task up

The application should now be running and accessible at https://localhost. The development environment uses Caddy to provide automatic HTTPS.

Edit this page
Last Updated: 05/02/2026, 04:35
Contributors: Vincent Riva
Prev
Introduction
Next
Architecture