diff --git a/.env.example b/.env.example index 23cc91e..cbb8bbf 100644 --- a/.env.example +++ b/.env.example @@ -7,7 +7,7 @@ QIP_HOST_PORT=8000 QIP_DATA_HOST_DIR=/docker_data # 生产务必修改 -AUTH_TOKEN_SECRET=change-me-to-a-long-random-string +AUTH_TOKEN_SECRET=Sto1234@ DEFAULT_SUPERADMIN_USERNAME=admin DEFAULT_SUPERADMIN_PASSWORD=Sto1234@ DEFAULT_SUPERADMIN_DISPLAY_NAME=系统超管 diff --git a/Jenkinsfile b/Jenkinsfile index 051d85b..3f653bf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline { agent any environment { - DEPLOY_DIR = '/opt/quality-inspection-platform' + DEPLOY_DIR = '/docker_data/quality-inspection-platform' SSH_SERVER = '10.20.30.42' } @@ -41,7 +41,7 @@ pipeline { sshTransfer( sourceFiles: '**/*', excludes: '.git/**, .venv/**, __pycache__/**, node_modules/**, *.pyc, .env', - remoteDirectory: "${DEPLOY_DIR}", + remoteDirectory: "quality-inspection-platform", removePrefix: '', cleanRemote: true, execTimeout: 600000,