mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-25 00:00:52 -04:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| da2708abe5 | |||
| febf344d33 | |||
| ae15398b6c | |||
| b28f6046dd | |||
| 91b823450c | |||
| 085fba611c | |||
| f8d633c751 |
+9
-11
@@ -1,18 +1,16 @@
|
|||||||
FROM crystallang/crystal:0.32.0
|
FROM crystallang/crystal:0.32.1-alpine AS builder
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y curl
|
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
|
|
||||||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
|
||||||
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y nodejs yarn libsqlite3-dev
|
|
||||||
|
|
||||||
WORKDIR /Mango
|
WORKDIR /Mango
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY package*.json .
|
COPY package*.json .
|
||||||
|
RUN apk add --no-cache yarn yaml sqlite-static \
|
||||||
|
&& make static
|
||||||
|
|
||||||
RUN make && make install
|
FROM library/alpine
|
||||||
|
|
||||||
CMD ["mango"]
|
WORKDIR /
|
||||||
|
|
||||||
|
COPY --from=builder /Mango/mango .
|
||||||
|
|
||||||
|
CMD ["./mango"]
|
||||||
|
|||||||
@@ -75,6 +75,25 @@ mangadex:
|
|||||||
- `scan_interval_minutes` can be any non-negative integer. Setting it to `0` disables the periodic scan
|
- `scan_interval_minutes` can be any non-negative integer. Setting it to `0` disables the periodic scan
|
||||||
- `log_level` can be `debug`, `info`, `warn`, `error`, `fatal` or `off`. Setting it to `off` disables the logging
|
- `log_level` can be `debug`, `info`, `warn`, `error`, `fatal` or `off`. Setting it to `off` disables the logging
|
||||||
|
|
||||||
|
### Library Structure
|
||||||
|
|
||||||
|
You can organize your `.cbz/.zip` files in nested folders in the library directory. Here's an example:
|
||||||
|
|
||||||
|
```
|
||||||
|
.
|
||||||
|
├── Manga 1
|
||||||
|
│ ├── Volume 1.cbz
|
||||||
|
│ ├── Volume 2.cbz
|
||||||
|
│ ├── Volume 3.cbz
|
||||||
|
│ └── Volume 4.zip
|
||||||
|
└── Manga 2
|
||||||
|
└── Vol. 1
|
||||||
|
└── Ch.1 - Ch.3
|
||||||
|
├── 1.zip
|
||||||
|
├── 2.zip
|
||||||
|
└── 3.zip
|
||||||
|
```
|
||||||
|
|
||||||
### Initial Login
|
### Initial Login
|
||||||
|
|
||||||
On the first run, Mango would log the default username and a randomly generated password to STDOUT. You are advised to immediately change the password.
|
On the first run, Mango would log the default username and a randomly generated password to STDOUT. You are advised to immediately change the password.
|
||||||
|
|||||||
Reference in New Issue
Block a user