Add docker-compose setup for ani-cli-web
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
A local web UI for a system-wide `ani-cli` install.
|
||||
|
||||
Current version: `0.30.0`
|
||||
Current version: `0.30.1`
|
||||
|
||||
## Project Layout
|
||||
|
||||
@@ -11,6 +11,7 @@ ani-cli-web/
|
||||
app.py Public entrypoint, runtime wiring, watchlist domain logic, and CLI startup.
|
||||
app_support.py Shared runtime/state/config helpers plus queue and library file utilities.
|
||||
Dockerfile Container image build for system-wide ani-cli plus /app ani-cli-web.
|
||||
docker-compose.yaml Compose service for building and running the container with persistent mounts.
|
||||
queue_jobs.py Download queue and background watchlist-refresh workers.
|
||||
watchlist_identity.py Safer watchlist identity resolution for queued download jobs.
|
||||
title_matching.py Shared anime-title normalization and matching helpers.
|
||||
@@ -91,6 +92,24 @@ docker run --rm \
|
||||
ani-cli-web
|
||||
```
|
||||
|
||||
Or start the same setup with Compose:
|
||||
|
||||
```sh
|
||||
docker compose up --build -d
|
||||
```
|
||||
|
||||
The included `docker-compose.yaml` uses the same defaults as the `Dockerfile`, mounts `./downloads` to `/downloads`, mounts `./.ani-cli-web` to `/app/.ani-cli-web`, and lets you override build/runtime settings through environment variables such as:
|
||||
|
||||
```text
|
||||
ANI_CLI=https://github.com/pystardust/ani-cli.git
|
||||
ANI_CLI_BRANCH=master
|
||||
ANI_CLI_WEB=https://gitea.coreplay.eu/Dymas/ani-cli-web.git
|
||||
ANI_CLI_WEB_PORT=8421
|
||||
UPDATE_ON_START=false
|
||||
ANI_CLI_WEB_ALLOW_REMOTE=false
|
||||
ANI_CLI_WEB_REMOTE_TOKEN=
|
||||
```
|
||||
|
||||
Container defaults:
|
||||
|
||||
- `ani-cli` is installed at `/usr/local/bin/ani-cli`.
|
||||
|
||||
Reference in New Issue
Block a user