refactor: 优化内嵌UI
This commit is contained in:
parent
5b32a0f813
commit
f2b99b501d
|
|
@ -11,15 +11,15 @@ services:
|
|||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "-h", "localhost", "-p", "6379", "-a", "JetLinks@redis", "ping"]
|
||||
test: [ "CMD", "redis-cli", "-h", "localhost", "-p", "6379", "-a", "JetLinks@redis", "ping" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
postgres:
|
||||
image: timescale/timescaledb:latest-pg16
|
||||
container_name: jetlinks-ce-postgres
|
||||
# ports:
|
||||
# - "5432:5432" # 仅供jetlinks-ce访问
|
||||
# ports:
|
||||
# - "5432:5432" # 仅供jetlinks-ce访问
|
||||
volumes:
|
||||
- "./data/postgres:/var/lib/postgresql/data"
|
||||
environment:
|
||||
|
|
@ -28,7 +28,7 @@ services:
|
|||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
TZ: Asia/Shanghai
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-U", "postgres"]
|
||||
test: [ "CMD", "pg_isready", "-U", "postgres" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
|
@ -82,3 +82,11 @@ services:
|
|||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
# ui: # 如果通过访问内嵌的前端存在问题,可以使用这个镜像
|
||||
# image: registry.cn-shenzhen.aliyuncs.com/jetlinks/jetlinks-ui-vue:2.11.0
|
||||
# ports:
|
||||
# - "9000:9000"
|
||||
# environment:
|
||||
# API_BASE_PATH: "http://jetlinks:8848/"
|
||||
# TZ: Asia/Shanghai
|
||||
|
||||
|
|
|
|||
|
|
@ -175,31 +175,7 @@
|
|||
<!--UI 相关依赖-->
|
||||
<dependency>
|
||||
<groupId>org.jetlinks.ui</groupId>
|
||||
<artifactId>jetlinks-ui-resource</artifactId>
|
||||
<version>${jetlinks.ui.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.jetlinks.ui</groupId>
|
||||
<artifactId>device-manager</artifactId>
|
||||
<version>${jetlinks.ui.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.jetlinks.ui</groupId>
|
||||
<artifactId>notify-manager</artifactId>
|
||||
<version>${jetlinks.ui.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.jetlinks.ui</groupId>
|
||||
<artifactId>rule-engine-manager</artifactId>
|
||||
<version>${jetlinks.ui.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.jetlinks.ui</groupId>
|
||||
<artifactId>authentication-manager</artifactId>
|
||||
<artifactId>jetlinks-community</artifactId>
|
||||
<version>${jetlinks.ui.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
|
|
|||
Loading…
Reference in New Issue