Commit 5485872f authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

set port to 38080

parent f6b139c9
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -13,8 +13,12 @@ make up
# REST API

```shell
# 定义变量
# 定义ENDPOINT_URL
ENDPOINT_URL="http://localhost:8080"
# 空间应用中心
ENDPOINT_URL="http://192.168.25.153:38080"
# 之江实验室
ENDPOINT_URL="http://10.200.60.244:38080"

# 获取token
TOKEN=$(curl -X POST "${ENDPOINT_URL}/auth/token" \
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ services:
    <<: *airflow-common
    command: api-server
    ports:
      - "8080:8080"
      - "38080:8080"
    healthcheck:
      test: ["CMD", "curl", "--fail", "http://localhost:8080/api/v2/version"]
      interval: 30s