first
continuous-integration/drone/push Build is failing Details

master
NY 4 weeks ago
parent f5fc93ab86
commit 4cd655ff5f

@ -63,12 +63,7 @@ steps:
- cd /workspace/prdUploader
- docker build -t prduploader:latest .
- echo "Running Docker container..."
- |
if docker run -p 11000:11000 prduploader:latest; then
echo "Deployment successful, cleaning up old container and image..."
else
echo "Deployment failed, keeping old container and image."
fi
- docker-compose up -d
- rm -rf myapp
- echo "Deployment finished"

@ -14,11 +14,10 @@ import (
)
type SsoRegisterParams struct {
Account string `json:"account"` // 注册账号
Password string `json:"password"` // 密码
Mobile string `json:"mobile"` // 手机号
Email string `json:"email"` // 邮箱(可选)
Invite string `json:"invite"` // 邀请码
Invite string `json:"invite"` // 邀请码(可选)
Captcha string `json:"captcha"` // 验证码
}

@ -12,7 +12,6 @@ import (
type SsoLoginParams struct {
Mobile string `json:"mobile"` // 登陆手机号
Password string `json:"passWord"` // 密码
//Captcha string `json:"captcha"` // 验证码
}
type SsoLoginResponse struct {

@ -0,0 +1,7 @@
version: '3.8'
services:
prduploader:
image: prduploader:latest
ports:
- "11000:11000"

@ -33,7 +33,7 @@ Type = redis
Host = 47.112.165.44
Port = 6379
PassWord = `afasdf12313%%%^^^^`
Name = default
Name = 8
MaxIdle = 10
###

Loading…
Cancel
Save