2024-05-29 16:34:10 +08:00
|
|
|
version: "3"
|
2023-10-23 22:00:14 +08:00
|
|
|
|
|
|
|
services:
|
|
|
|
apisix-dashboard:
|
2023-11-01 10:11:37 +08:00
|
|
|
image: registry.cn-qingdao.aliyuncs.com/dataease/apisix-dashboard:3.0.1-alpine
|
2023-10-23 22:00:14 +08:00
|
|
|
container_name: apisix-dashboard
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ${DE_BASE}/dataease2.0/apisix/dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml
|
|
|
|
ports:
|
2024-07-29 18:42:17 +08:00
|
|
|
- ${DE_APISIX_DASHBOARD_PORT}:9000
|
2023-10-23 22:00:14 +08:00
|
|
|
networks:
|
|
|
|
dataease-network:
|
|
|
|
|
|
|
|
apisix:
|
2023-11-01 10:11:37 +08:00
|
|
|
image: registry.cn-qingdao.aliyuncs.com/dataease/apisix:3.6.0-debian
|
2023-10-23 22:00:14 +08:00
|
|
|
container_name: apisix
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Shanghai
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ${DE_BASE}/dataease2.0/apisix/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
|
|
|
|
- ${DE_BASE}/dataease2.0/apisix/logs:/usr/local/apisix/logs
|
2024-06-28 11:00:06 +08:00
|
|
|
- ${DE_BASE}/dataease2.0/apisix/plugins/cas-auth.lua:/usr/local/apisix/apisix/plugins/cas-auth.lua
|
2024-07-11 16:48:00 +08:00
|
|
|
- ${DE_BASE}/dataease2.0/apisix/plugins/openid-connect.lua:/usr/local/apisix/apisix/plugins/openid-connect.lua
|
2023-10-23 22:00:14 +08:00
|
|
|
depends_on:
|
|
|
|
- etcd
|
|
|
|
ports:
|
2024-07-29 18:42:17 +08:00
|
|
|
- ${DE_APISIX_PORT}:9080
|
2023-10-23 22:00:14 +08:00
|
|
|
networks:
|
|
|
|
dataease-network:
|
|
|
|
|
|
|
|
etcd:
|
2023-11-01 10:11:37 +08:00
|
|
|
image: registry.cn-qingdao.aliyuncs.com/dataease/etcd:3.5.10
|
2023-10-23 22:00:14 +08:00
|
|
|
container_name: apisix-etcd
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ${DE_BASE}/dataease2.0/data/etcd_data:/bitnami/etcd
|
|
|
|
environment:
|
|
|
|
ETCD_ENABLE_V2: "true"
|
|
|
|
ALLOW_NONE_AUTHENTICATION: "yes"
|
|
|
|
ETCD_ADVERTISE_CLIENT_URLS: "http://apisix-etcd:2379"
|
|
|
|
networks:
|
|
|
|
dataease-network:
|