/H-at-H-docker

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

Primary LanguageDockerfile

Hentai@Home on Docker

Tags

arm32: For arm32v6 arm32v7
arm64: For arm64v8
x86-64: For x64(Linux)
x86: For x32(Linux)

I can't offer image for windows due to the limitation of the DockerHub's Autobuild system.

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 btdwv/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 btdwv/hentaiathome

Update:

#Stop
sudo docker stop h_at_h

#Delete
sudo docker rm h_at_h

#Delete old image
sudo docker rmi btdwv/hentaiathome

#Pull new image
sudo docker pull btdwv/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 btdwv/hentaiathome