kms-tools icon indicating copy to clipboard operation
kms-tools copied to clipboard

Unable to start docker

Open ikxin opened this issue 1 year ago • 4 comments

          Unable to start docker.
Bun v1.1.27 (Linux arm64)

18696 |   module.exports = [

18697 |   module.exports = [

18698 |   module.exports = [

18699 |   module.exports = [

18700 |   module.exports = [

18701 |   module.exports = [

                                        ^

error: Failed to connect

 errno: 103

  code: "ECONNREFUSED"

      at createConnection (/$bunfs/root/kms-tools:18701:33)

      at module code (/$bunfs/root/kms-tools:34688:57)

Docker Compose:


services:
  kms-tools:
    build: .
    ports:
      - 3000:3000
    restart: unless-stopped
  db:
    image: mysql:8
    restart: always
    environment:
      MYSQL_DATABASE: 'db'
      MYSQL_USER: 'kmstool'
      MYSQL_PASSWORD: 'password'
      MYSQL_ROOT_PASSWORD: 'otherpassword'
    ports:
      - '3306:3306'
    volumes:
      - /var/www/vhosts/eniyiweb.net/lisans.eniyiweb.net/db:/var/lib/mysql

volumes:
  my-db:

Originally posted by @eniyiweb in https://github.com/ikxin/kms-tools/issues/24#issuecomment-2345761118

ikxin avatar Sep 14 '24 06:09 ikxin

@eniyiweb I have added a GitHub Action to automatically build the latest version and push it to Docker Hub, please try again.

ikxin avatar Sep 14 '24 06:09 ikxin

@eniyiweb I have added a GitHub Action to automatically build the latest version and push it to Docker Hub, please try again.

Hello, thank you for the response but the problem still persists.

eniyiweb avatar Sep 14 '24 10:09 eniyiweb

@eniyiweb Pass the following environment variables into docker

DATABASE_URL = 'mysql://root:password@localhost:3306/database'

ikxin avatar Sep 14 '24 11:09 ikxin

@eniyiweb Pass the following environment variables into docker

DATABASE_URL = 'mysql://root:password@localhost:3306/database'

It works now, but when I define the "ENABLE_VLMCSD=true" environment it gives the following error.

Bun v1.1.27 (Linux arm64)

Elysia is running at on port http://localhost:3000/ ...

bun: command not found: pkill

ENOENT: No such file or directory

   errno: -2

 syscall: "posix_spawn"

   path: "./service/binaries/vlmcsd-linux-arm64"

      at /$bunfs/root/kms-tools:34733:31

eniyiweb avatar Sep 16 '24 10:09 eniyiweb