mirror of
https://github.com/langgenius/dify.git
synced 2026-01-14 06:07:33 +08:00
Some checks are pending
autofix.ci / autofix (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
Main CI Pipeline / Check Changed Files (push) Waiting to run
Main CI Pipeline / API Tests (push) Blocked by required conditions
Main CI Pipeline / Web Tests (push) Blocked by required conditions
Main CI Pipeline / Style Check (push) Waiting to run
Main CI Pipeline / VDB Tests (push) Blocked by required conditions
Main CI Pipeline / DB Migration Test (push) Blocked by required conditions
64 lines
1.5 KiB
YAML
64 lines
1.5 KiB
YAML
services:
|
|
pd0:
|
|
image: pingcap/pd:v8.5.1
|
|
# ports:
|
|
# - "2379"
|
|
volumes:
|
|
- ./config/pd.toml:/pd.toml:ro
|
|
- ./volumes/data:/data
|
|
- ./volumes/logs:/logs
|
|
command:
|
|
- --name=pd0
|
|
- --client-urls=http://0.0.0.0:2379
|
|
- --peer-urls=http://0.0.0.0:2380
|
|
- --advertise-client-urls=http://pd0:2379
|
|
- --advertise-peer-urls=http://pd0:2380
|
|
- --initial-cluster=pd0=http://pd0:2380
|
|
- --data-dir=/data/pd
|
|
- --config=/pd.toml
|
|
- --log-file=/logs/pd.log
|
|
restart: on-failure
|
|
tikv:
|
|
image: pingcap/tikv:v8.5.1
|
|
volumes:
|
|
- ./volumes/data:/data
|
|
- ./volumes/logs:/logs
|
|
command:
|
|
- --addr=0.0.0.0:20160
|
|
- --advertise-addr=tikv:20160
|
|
- --status-addr=tikv:20180
|
|
- --data-dir=/data/tikv
|
|
- --pd=pd0:2379
|
|
- --log-file=/logs/tikv.log
|
|
depends_on:
|
|
- "pd0"
|
|
restart: on-failure
|
|
tidb:
|
|
image: pingcap/tidb:v8.5.1
|
|
# ports:
|
|
# - "4000:4000"
|
|
volumes:
|
|
- ./volumes/logs:/logs
|
|
command:
|
|
- --advertise-address=tidb
|
|
- --store=tikv
|
|
- --path=pd0:2379
|
|
- --log-file=/logs/tidb.log
|
|
depends_on:
|
|
- "tikv"
|
|
restart: on-failure
|
|
tiflash:
|
|
image: pingcap/tiflash:v8.5.1
|
|
volumes:
|
|
- ./config/tiflash.toml:/tiflash.toml:ro
|
|
- ./config/tiflash-learner.toml:/tiflash-learner.toml:ro
|
|
- ./volumes/data:/data
|
|
- ./volumes/logs:/logs
|
|
command:
|
|
- server
|
|
- --config-file=/tiflash.toml
|
|
depends_on:
|
|
- "tikv"
|
|
- "tidb"
|
|
restart: on-failure
|