gitbitex / gitbitex-new

an open source cryptocurrency exchange
Apache License 2.0
230 stars 84 forks source link

error in running with docker #2

Closed erfanhemmati closed 2 years ago

erfanhemmati commented 2 years ago

Hello i have done all of docker instructions and commands. but still project does not available in my localhost. is there any instructions/command which i should to do? something like installing java requirements, jdk and ...?

erfanhemmati commented 2 years ago

@greensheng

greensheng commented 2 years ago

@greensheng

Execute docker ps and check that all containers are started correctly


CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 408396d21712 greensheng/gitbitex "java -cp /app/res..." 3 minutes ago Up 3 minutes gitbitex f30f51d6c166 redis "docker-entrypoint..." 19 hours ago Up 19 hours redis-server d2b5d5c30eae bitnami/kafka:latest "/opt/bitnami/scri..." 19 hours ago Up 19 hours kafka-server ed42ae9b2076 bitnami/zookeeper:latest "/opt/bitnami/scri..." 19 hours ago Up 19 hours zookeeper-server 50c88962a29b mysql:5.7 "docker-entrypoint..." 2 days ago Up 2 days mysql

erfanhemmati commented 2 years ago

image this is my containers

erfanhemmati commented 2 years ago

image but i can not open web interface

greensheng commented 2 years ago

image this is my containers

I didn't see kafka-server. Didn't you start Kafka?

erfanhemmati commented 2 years ago

image its here

greensheng commented 2 years ago

image its here

docker logs gitbitex check the log

erfanhemmati commented 2 years ago

i am getting a lots of error. image

greensheng commented 2 years ago

i am getting a lots of error. image

This is TradeMaker running, you can close it, just for demonstration purposes, keep getting the latest trade from binance, and then place an order on gitbitex.

greensheng commented 2 years ago

Did you restart gitbitex after starting kafka-server?

erfanhemmati commented 2 years ago

yes i restarted but web interface does not work

erfanhemmati commented 2 years ago

i am getting a lots of error. image

This is TradeMaker running, you can close it, just for demonstration purposes, keep getting the latest trade from binance, and then place an order on gitbitex.

how can i disable it?

greensheng commented 2 years ago

i am getting a lots of error. image

This is TradeMaker running, you can close it, just for demonstration purposes, keep getting the latest trade from binance, and then place an order on gitbitex.

how can i disable it?

docker pull greensheng/gitbitex docker stop gitbitex docker rm gitbitex docker run ....

erfanhemmati commented 2 years ago

image

now i dont have any error but why web interface and services does not working?

erfanhemmati commented 2 years ago

change the port can solve the problem?

greensheng commented 2 years ago

You seem to be running docker on windows, you need to check your docker network to see if your host can access the docker port

erfanhemmati commented 2 years ago

yes iam using docker desktop on windows

erfanhemmati commented 2 years ago

is there any maker and taker concept in this project?

greensheng commented 2 years ago

is there any maker and taker concept in this project?

I don't quite understand what you mean.