1
0
Fork 1
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-01-19 02:48:37 +00:00
mangadex_at_home/docker
2023-04-07 20:51:29 +00:00
..
grafana Update metrics 2021-05-21 15:23:49 +00:00
prometheus Update to next-gen 2021-01-24 04:55:11 +00:00
dashboard.png Fix prom/grafana version, and update grafana + dash to 7.4 2021-02-21 18:19:49 +00:00
docker-compose.yml Docker compose changes 2023-04-07 20:51:29 +00:00
README.md Docker compose changes 2023-04-07 20:51:29 +00:00

Run with Docker

⚠ This is a bit more involved of a setup than just running the jar ⚠

Prerequisites

Docker Desktop for your operating system.

Once installed, you can check that it works by opening a command prompt and running

docker run -it hello-world

Run as a standalone container

Note Changes to the docker-compose.yml are coming, and as such, this instruction page will get reworked a bit.

Use either a specific image, preferrably the latest image published

While it might work, using registry.gitlab.com/mangadex-pub/mangadex_at_home:latest is a bad idea as we do not guarantee forward-compatibility

Run with Prometheus and Grafana (i.e. dashboards)

Quickstart

  1. Install docker-compose. Follow the steps here

  2. Copy the docker directory somewhere on the drive you want to use as cache storage*

    a. edit docker-compose.yml and replace registry.gitlab.com/mangadex-pub/mangadex_at_home:<version> with the appropriate version

  3. Copy your settings.yaml inside that directory (it should be next to docker-compose.yml)

  4. Run docker-compose up -d from within this directory

  5. That's it. You should now check the following:

Notes

The pre-made configuration is hardcoded both public port 443 and this directory structure:

<directory where you run 'docker-compose up'>

    Folders/files copied from the git repository
    -> prometheus/... - pre-made config
    -> grafana/... - pre-made config
    -> docker-compose.yml

    Your settings.yaml
    -> settings.yaml

    Created by the containers
    -> data/
        -> cache - the client's image cache
        -> prometheus - prometheus database files
        -> grafana - grafana files

All of this is configurable to suit your needs but is not recommended unless you are familiar with Docker already.