Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bug: docker-compose方式启动 apipark 一直自动重启 #310

@zzy-china

Description

@zzy-china

Current Behavior

version:1.8-beta
docker-compose方式启动服务,apipark一直自动重启
Image

Expected Behavior

apipark正常运行

Error Logs

mysql:
user_name: root
password: 123456
ip: apipark-mysql
port: 3306
db: "apipark"
redis:
user_name:
password: 123456
addr:
- apipark-redis:6379
nsq:
addr: apipark-nsq:4150
topic_prefix: apipark
port: 8288
error_log:
dir: work/logs
file_name: error.log
log_level: info
log_expire: 7d
log_period: day
curl -s -o /dev/null http://127.0.0.1:8288/api/v1/account/login
⏳ Waiting: Waiting for apipark to start...
✔ Passed: apipark has been installed successfully
ℹ Info: Executing: curl -X POST -s -i -H "Content-Type: application/json" -d '{"name":"admin","password":"12345678"}' "http://127.0.0.1:8288/api/v1/account/login/username"
✔ Passed: login success
ℹ Info: Executing: curl -X GET -s -i -H "Content-Type: application/json" -H "Cookie: session=b2a21513-aa93-4016-83f9-1f99040be740" -d '' "http://127.0.0.1:8288/api/v1/system/general"
✔ Passed: Apipark openapi address found: http://172.25.48.38:8099
Already initialized, skipping initialization.

Steps to Reproduce

docker-compose 方式启动

Environment

  • ApiPark version:1.8-beta
  • Operating system (run uname -a): x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions