2023-11-03 21:39:52 +08:00
|
|
|
version: '1.5.0'
|
2023-11-02 16:33:12 +08:00
|
|
|
services:
|
2023-11-03 21:55:22 +08:00
|
|
|
tsddwukongim:
|
2023-11-03 21:39:52 +08:00
|
|
|
image: registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.1.8
|
2023-11-02 16:33:12 +08:00
|
|
|
restart: always
|
|
|
|
ports:
|
2023-11-03 21:55:22 +08:00
|
|
|
- "${PANEL_APP_PORT_WK_TCP}:5100"
|
|
|
|
- "${PANEL_APP_PORT_WK_WS}:5200"
|
|
|
|
- "${PANEL_APP_PORT_WK_WEB_SERVER}:5300"
|
2023-11-02 16:33:12 +08:00
|
|
|
volumes:
|
|
|
|
- ./wukongim:/root/wukongim
|
|
|
|
environment:
|
|
|
|
- WK_MODE=release
|
|
|
|
- WK_EXTERNAL_IP=${EXTERNAL_IP}
|
|
|
|
- WK_CONVERSATION_ON=true
|
|
|
|
- WK_WEBHOOK_GRPCADDR=tangsengdaodaoserver:6979
|
|
|
|
- WK_DATASOURCE_ADDR=http://tangsengdaodaoserver:8090/v1/datasource
|
|
|
|
- WK_DATASOURCE_CHANNELINFOON=true
|
|
|
|
- WK_TOKENAUTHON=true
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
2023-11-03 21:55:22 +08:00
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
tangsengdaodaoserver:
|
2023-11-03 21:39:52 +08:00
|
|
|
image: registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaoserver:v1.5.0
|
2023-11-02 16:33:12 +08:00
|
|
|
restart: always
|
|
|
|
command: "api"
|
|
|
|
healthcheck:
|
|
|
|
test: "wget -q -Y off -O /dev/null http://localhost:8090/v1/ping > /dev/null 2>&1"
|
|
|
|
interval: 10s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 3
|
|
|
|
depends_on:
|
|
|
|
- tsddwukongim
|
|
|
|
ports:
|
2023-11-03 21:39:52 +08:00
|
|
|
- "${PANEL_APP_PORT_TS_APP_HTTP}:8090"
|
2023-11-02 16:33:12 +08:00
|
|
|
volumes:
|
|
|
|
- ./tsdd:/home/tsdddata
|
|
|
|
environment:
|
|
|
|
- TS_MODE=release
|
|
|
|
- TS_WUKONGIM_APIURL=http://tsddwukongim:5001
|
|
|
|
- TS_DB_MYSQLADDR=${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@tcp(${PANEL_DB_HOST}:${PANEL_DB_PORT})/${PANEL_DB_NAME}?charset=utf8mb4&parseTime=true&loc=Local
|
|
|
|
- TS_DB_REDISADDR=${TS_DB_REDIS_HOST}:${TS_DB_REDIS_PORT}
|
|
|
|
- TS_DB_REDISPASS=${TS_DB_REDISPASS}
|
|
|
|
- TS_EXTERNAL_IP=${EXTERNAL_IP}
|
|
|
|
- TS_SMSCODE=${TS_SMSCODE}
|
|
|
|
- TS_ADMINPWD=${TS_ADMINPWD}
|
|
|
|
- TS_FILESERVICE=minio
|
|
|
|
- TS_MINIO_URL=http://${MINIO_HOST}:${MINIO_PORT}
|
|
|
|
- TS_MINIO_ACCESSKEYID=${MINIO_ROOT_USER}
|
|
|
|
- TS_MINIO_SECRETACCESSKEY=${MINIO_ROOT_PASSWORD}
|
|
|
|
- TS_AVATAR_DEFAULTBASEURL=https://api.multiavatar.com/{avatar}.png
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
2023-11-03 21:55:22 +08:00
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
tangsengdaodaoweb:
|
2023-11-03 21:39:52 +08:00
|
|
|
image: registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaoweb:v1.0.0
|
2023-11-02 16:33:12 +08:00
|
|
|
restart: always
|
|
|
|
environment:
|
2023-11-03 21:39:52 +08:00
|
|
|
- API_URL=http://${EXTERNAL_IP}:${PANEL_APP_PORT_TS_APP_HTTP}/
|
2023-11-02 16:33:12 +08:00
|
|
|
ports:
|
2023-11-03 21:39:52 +08:00
|
|
|
- "${PANEL_APP_PORT_TS_APP_WEB}:80"
|
2023-11-02 16:33:12 +08:00
|
|
|
networks:
|
|
|
|
- 1panel-network
|
2023-11-03 21:55:22 +08:00
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
tangsengdaodaomanager:
|
2023-11-03 21:39:52 +08:00
|
|
|
image: registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaomanager:v1.0.0
|
2023-11-02 16:33:12 +08:00
|
|
|
restart: always
|
|
|
|
environment:
|
2023-11-03 21:39:52 +08:00
|
|
|
- API_URL=http://${EXTERNAL_IP}:${PANEL_APP_PORT_TS_APP_HTTP}/
|
2023-11-02 16:33:12 +08:00
|
|
|
ports:
|
2023-11-03 21:39:52 +08:00
|
|
|
- "${PANEL_APP_PORT_TS_APP_MANAGER}:80"
|
2023-11-02 16:33:12 +08:00
|
|
|
networks:
|
|
|
|
- 1panel-network
|
2023-11-03 21:55:22 +08:00
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
2023-11-02 16:33:12 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|