GithubHelp home page GithubHelp logo

icearea / hath-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloverdefa/hath-docker

0.0 0.0 0.0 278 KB

hath-docker This is a H@H client program running on Docker.

Shell 56.40% Dockerfile 43.60%

hath-docker's Introduction

Usage

shell command

docker run \
--name hath \
--net host \
-v /path/to/hath/cache:/hath/cache \
-v /path/to/hath/data:/hath/data \ 
-v /path/to/hath/download:/hath/download \
-v /path/to/hath/log:/hath/log \
-v /path/to/hath/tmp:/hath/tmp \
-e HATH_CLIENT_ID=<HATH_CLIENT_ID> \
-e HATH_CLIENT_KEY=<HATH_CLIENT_KEY> \
-e TZ=<YOUR_TIMEZONE> \
-e PUID=<HOST_UID> \
-e PGID=<HOST_GID> \
-e UMASK=000 \
icearea/hath:latest

docker-compose.yml

  • network_mode: host
version: "3.8"

services:
  hath:  
    image: icearea/hath:latest
    container_name: hath
    network_mode: host
    restart: unless-stopped
    volumes:
      - /path/to/cache:/hath/cache
      - /path/to/data:/hath/data  
      - /path/to/download:/hath/download
      - /path/to/log:/hath/log
      - /path/to/tmp:/hath/tmp
    environment:
      HATH_CLIENT_ID: ${HATH_CLIENT_ID}
      HATH_CLIENT_KEY: ${HATH_CLIENT_KEY}
      TZ: YOUR_TIMEZONE
      PUID: ${HOST_UID}
      PGID: ${HOST_GID}
      UMASK: 000
  • network_mode: bridge
version: "3.8"

services:
  hath:  
    image: icearea/hath:latest
    container_name: hath
    restart: unless-stopped
    volumes:
      - /path/to/cache:/hath/cache
      - /path/to/data:/hath/data  
      - /path/to/download:/hath/download
      - /path/to/log:/hath/log
      - /path/to/tmp:/hath/tmp
    environment:
      HATH_CLIENT_ID: ${HATH_CLIENT_ID}
      HATH_CLIENT_KEY: ${HATH_CLIENT_KEY}
      HATH_OPT: --disable-ip-origin-check
      TZ: YOUR_TIMEZONE
      PUID: ${HOST_UID}
      PGID: ${HOST_GID}
      UMASK: 000
    networks:
      - hath

networks:
  hath:
    driver: bridge
  • .env
HATH_CLIENT_ID: 00000    
HATH_CLIENT_KEY: XxXxXxXxXxXxXxXxXxX
HOST_UID: 1000
HOST_GID: 1000

hath-docker's People

Contributors

cloverdefa avatar icearea 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.