diff --git a/.drone.yml b/.drone.yml index 295eb0d..a0e5bbb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -103,9 +103,9 @@ steps: port: 31245 script: - cd /data/kami - - BRANCH=${DRONE_BRANCH} docker compose --profile bind_card pull - - BRANCH=${DRONE_BRANCH} docker compose --profile bind_card down - - BRANCH=${DRONE_BRANCH} docker compose --profile bind_card up -d + - BRANCH=${DRONE_BRANCH} docker compose --profile jd_bind_card_server pull + - BRANCH=${DRONE_BRANCH} docker compose --profile jd_bind_card_server down + - BRANCH=${DRONE_BRANCH} docker compose --profile jd_bind_card_server up -d when: changeset: includes: [ bind_card/** ] diff --git a/.gitignore b/.gitignore index 7e8de98..2670e80 100644 --- a/.gitignore +++ b/.gitignore @@ -1,71 +1,71 @@ # IDE -.idea/ -.vscode/ -*.swp -*.swo -.DS_Store +**/.idea/ +**/.vscode/ +**/*.swp +**/*.swo +**/.DS_Store # Python -__pycache__/ -*.py[cod] -*$py.class -*.so -.Python -env/ -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -*.egg-info/ -.installed.cfg -*.egg +**/__pycache__/ +**/*.py[cod] +**/*$py.class +**/*.so +**/.Python +**/env/ +**/build/ +**/develop-eggs/ +**/dist/ +**/downloads/ +**/eggs/ +**/.eggs/ +**/lib/ +**/lib64/ +**/parts/ +**/sdist/ +**/var/ +**/*.egg-info/ +**/.installed.cfg +**/*.egg # Node.js -node_modules/ -npm-debug.log -yarn-debug.log -yarn-error.log +**/node_modules/ +**/npm-debug.log +**/yarn-debug.log +**/yarn-error.log # Docker -.docker/ -docker-compose.override.yml +**/.docker/ +**/docker-compose.override.yml # Logs -*.log -logs/ -log/ +**/*.log +**/logs/ +**/log/ # Environment variables -.env -.env.local -.env.*.local +**/.env +**/.env.local +**/.env.*.local # Temporary files -*.tmp -*.temp -.temp/ -tmp/ -temp/ +**/*.tmp +**/*.temp +**/.temp/ +**/tmp/ +**/temp/ # Build output -dist/ -build/ -out/ -target/ +**/dist/ +**/build/ +**/out/ +**/target/ # Coverage -coverage/ -.coverage -htmlcov/ +**/coverage/ +**/.coverage +**/htmlcov/ # Cache -.cache/ -.pytest_cache/ -.mypy_cache/ \ No newline at end of file +**/.cache/ +**/.pytest_cache/ +**/.mypy_cache/ \ No newline at end of file diff --git a/babel_channel/app.py b/babel_channel/app.py index f5df4cd..6247ed1 100644 --- a/babel_channel/app.py +++ b/babel_channel/app.py @@ -241,7 +241,7 @@ def get_sign(func, body, uuid, version): "platform": "android", "version": version }) - unidbg_url = "http://127.0.0.1:9999/api/jd/encrypt" + unidbg_url = "http://unidbg_boot_server:9999/api/jd/encrypt" response_jd = requests.request("POST", url=unidbg_url, headers=headers_jd, data=payload) res = response_jd.json() params = parse_qs(res["data"]) diff --git a/bind_card/static/.gitkeep b/bind_card/static/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/bind_card/templates/.gitkeep b/bind_card/templates/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/unidbg_boot_server/Dockerfile b/unidbg_boot_server/Dockerfile index 6cfc49d..74ae859 100644 --- a/unidbg_boot_server/Dockerfile +++ b/unidbg_boot_server/Dockerfile @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \ COPY unidbg-boot-server.jar app.jar # 设置环境变量 -ENV PORT=8080 +ENV PORT=9999 ENV JAVA_OPTS="-Xms512m -Xmx1024m" # 暴露端口