Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start docker #27

Closed
ikxin opened this issue Sep 14, 2024 · 4 comments
Closed

Unable to start docker #27

ikxin opened this issue Sep 14, 2024 · 4 comments

Comments

@ikxin
Copy link
Owner

ikxin commented Sep 14, 2024

          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 #24 (comment)

@ikxin ikxin changed the title Unable to start docker. Unable to start docker Sep 14, 2024
@ikxin
Copy link
Owner Author

ikxin commented Sep 14, 2024

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

@eniyiweb
Copy link

@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.

@ikxin
Copy link
Owner Author

ikxin commented Sep 14, 2024

@eniyiweb Pass the following environment variables into docker

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

@eniyiweb
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants