redzilla icon indicating copy to clipboard operation
redzilla copied to clipboard

can not create instance without any error in log

Open galenzhao opened this issue 6 years ago • 0 comments

follow the README to setup :

git clone https://github.com/muka/redzilla.git
cd redzilla/

modify docker-compose.yml:

REDZILLA_DOMAIN: nodered.xxxx.ltd
ports:
  - 13000:3000

then

docker-compose up -d

root@www:/mnt/vdb/redzilla# docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                     NAMES
aef0b18c1d6c        opny/redzilla       "/redzilla"         7 minutes ago       Up 7 minutes        0.0.0.0:13000->3000/tcp   redzilla_redzilla_1

curl -X POST http://redzilla.nodered.xxxx.ltd:13000/v2/instances/auto -I
HTTP/1.1 200 OK
Date: Sat, 28 Sep 2019 11:54:33 GMT
Content-Length: 0

but

curl http://auto.nodered.xxxx.ltd:13000/
{"code":404,"message":"Not Found"}

the log

root@www:/mnt/vdb/redzilla# docker logs redzilla_redzilla_1
time="2019-09-28T12:04:00Z" level=info msg="Starting API at :3000"
[GIN] 2019/09/28 - 12:04:12 | 404 |    1.010992ms |    x.x.x.x | GET      /
[GIN] 2019/09/28 - 12:04:15 | 404 |     596.616µs |    x.x.x.x | GET      /
[GIN] 2019/09/28 - 12:15:24 | 404 |     597.511µs |    x.x.x.x | GET      /
[GIN] 2019/09/28 - 12:16:55 | 200 |       1.789µs |    x.x.x.x | POST     /v2/instances/auto

galenzhao avatar Sep 28 '19 12:09 galenzhao