Sign inSign up

bloodstar/jd

By bloodstar

Updated over 5 years ago

fix supermanito/jd error

Image
0

2.5K

bloodstar/jd repository overview

modified docker-entrypoint.sh

if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ]; then
  set -- node "$@"
fi

pm2 start /jd/panel/ecosystem.config.js

sleep 600
#exec "$@"

then, you can run it!

原镜像的几个错误修正,特别是最后一行注释掉

version: "3"
services:
  jd:
    container_name:  jd
    image:  bloodstar/jd:latest
    hostname: jd
    volumes:
      - ${USERDIR}/jd/scripts:/jd/scripts
      - ${USERDIR}/jd/config:/jd/config
      - ${USERDIR}/jd/log:/jd/log
    environment:
      - PUID=0
      - PGID=0
      - TZ=${TZ}
      - ENABLE_HANGUP=true
      - CRZAY_JOY_COIN_ENABLE=Y
      - ENABLE_WEB_PANEL=true
    ports:
      - "5678:5678"
    restart: always
    network_mode: bridge 

上面环境变量自己替换,脚本下载到${USERDIR}/jd/scripts里面运行

Tag summary

Content type

Image

Digest

Size

104.9 MB

Last updated

over 5 years ago

docker pull bloodstar/jd