diff --git a/docs/docker.md b/docs/docker.md new file mode 100644 index 00000000..eda89d0a --- /dev/null +++ b/docs/docker.md @@ -0,0 +1,7 @@ +--- +title: Docker +hide: + - toc +--- + +--8<-- "static/build_files/docker/README.md" diff --git a/mkdocs.yml b/mkdocs.yml index a250cfba..1c9caaf2 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -14,7 +14,10 @@ nav: - PTR: - access_keys.md - PTR.md + - Advanced: + - docker.md - API: client_api.md + - changelog.md theme: name: material @@ -29,6 +32,7 @@ theme: - navigation.tabs - content.tabs.link - navigation.top + - search.suggest #- navigation.indexes icon: diff --git a/static/build_files/docker/README.md b/static/build_files/docker/README.md index 24e7dc40..f06bd6d2 100644 --- a/static/build_files/docker/README.md +++ b/static/build_files/docker/README.md @@ -16,7 +16,7 @@ As of `v359` hydrus understands IPFS `nocopy`. And can be easily run with go-ipf Read [Hydrus IPFS help](https://hydrusnetwork.github.io/hydrus/help/ipfs.html). Mount `HOST_PATH_DB/client_files` to `/data/client_files` in ipfs. Go manage the ipfs service and set the path to `/data/client_files`, you'll know where to put it in. Example compose file: -```yml +```yaml version: '3.8' volumes: tor-config: @@ -136,11 +136,12 @@ services: - tor-config:/var/lib/tor/hidden_service ``` Further containerized application of interest: + - [Hybooru](https://github.com/funmaker/hybooru): [Hydrus](https://github.com/hydrusnetwork/hydrus)-based booru-styled imageboard in React, inspired by [hyve](https://github.com/mserajnik/hyve/). - [hydownloader](https://github.com/thatfuckingbird/hydownloader): Alternative way of downloading and importing files. Decoupled from hydrus logic and limitations. ## Building -``` +```bash # Alpine (client) cd hydrus/ docker build -t ghcr.io/hydrusnetwork/hydrus:latest -f static/build_files/docker/client/Dockerfile .