/H-at-H-docker

Dockerfile of Hentai@Home (arm,x64,x86)

Primary LanguageDockerfile

Hentai@Home on Docker

Support platforms:

linux/amd64
linux/arm64
linux/arm
linux/ppc64le
linux/386

For i386/x32:

Eclipse temurin don't have images for i386/x32 , i use ibmjava instead.
So use tag disappear9/hentaiathome:i386

Deploy

Replace /DOWNLOAD_DIR YOUR_CLIENT_KEY YOUR_PORT with yours.

The format of YOUR_CLIENT_KEY

"$Client ID"-"$Client Key" like this: 000000-ABCDEFGHIJKLMN1234OP

About YOUR_PORT

https://ehwiki.org/wiki/Technical_Issues#Ports

Run command below:

#Pull image
sudo docker pull disappear9/hentaiathome

#Create volume for caches and logs
sudo docker volume create h_at_h_data

#Run it
sudo docker run -d --name h_at_h -p YOUR_PORT:YOUR_PORT -v h_at_h_data:/hath/data -v /DOWNLOAD_DIR:/hath/download -e HatH_KEY=YOUR_CLIENT_KEY disappear9/hentaiathome

Update:

#Stop
sudo docker stop h_at_h

#Delete
sudo docker rm h_at_h

#Delete old image
sudo docker rmi disappear9/hentaiathome

#Pull new image
sudo docker pull disappear9/hentaiathome

#Run it
sudo docker run -d --name h_at_h -p YOUR_PORT:YOUR_PORT -v h_at_h_data:/hath/data -v /DOWNLOAD_DIR:/hath/download disappear9/hentaiathome
Or
sudo docker run -d --name h_at_h --net host -v h_at_h_data:/hath/data -v /DOWNLOAD_DIR:/hath/download disappear9/hentaiathome
If you want to change port in the future.

For Unraid user:

Add this to Template repositories: https://github.com/Disappear9/dockerfile-other
Okay? unraid removed Template Repositories😅

About Port:

(Container Port) and (Host Port) should be identical, 
or you could just switch to (Advanced View), and set (Network Type) to (Host).

Changelog

2020/10/06 Graceful shutdown
2021/06/09 DockerHUB has stopped free plan from using Autobuild feature, until i found other ways to update image, there will not have any update.
2021/07/01 Now using Github action to build image.
2022/06/04 Use Eclipse temurin images.