Add some docker stuff

This commit is contained in:
Paul Friederichsen 2021-12-22 16:42:28 -06:00
parent e7d77b37b5
commit 24da1d24c6
3 changed files with 14 additions and 2 deletions

7
docs/docker.md Normal file
View File

@ -0,0 +1,7 @@
---
title: Docker
hide:
- toc
---
--8<-- "static/build_files/docker/README.md"

View File

@ -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:

View File

@ -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 .