GithubHelp home page GithubHelp logo

qxxaxxa / h-at-h-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from disappear9/h-at-h-docker

0.0 0.0 0.0 2.39 MB

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

Shell 32.87% Dockerfile 67.13%

h-at-h-docker's Introduction

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 ghcr.io/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 ghcr.io/disappear9/hentaiathome:latest

#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 ghcr.io/disappear9/hentaiathome

Update:

#Stop
sudo docker stop h_at_h

#Delete
sudo docker rm h_at_h

#Delete old image
sudo docker rmi ghcr.io/disappear9/hentaiathome

#Pull new image
sudo docker pull ghcr.io/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 ghcr.io/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 ghcr.io/disappear9/hentaiathome
If you want to change port in the future.

Using docker-compose:

version: '3'

services:
  h_at_h:
    image: ghcr.io/disappear9/hentaiathome:latest
    volumes:
      - h_at_h_data:/hath/data
      - /LOCAL_DOWNLOAD_FOLDER:/hath/download
    ports:
      - YOUR_PORT:YOUR_PORT
    restart: unless-stopped
    environment:
      - HatH_KEY=YOUR_CLIENT_ID-YOUR_CLIENT_KEY

volumes:
  h_at_h_data:

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.
2023/01/10 My DockerHub account got deleted for no reason, move image to ghcr.io
2023/09/16 Update to 1.6.2 & Add docker-compose to documentation

h-at-h-docker's People

Contributors

disappear9 avatar lamclam avatar tonyrl avatar btdwv avatar poorchameleon avatar pl77 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.