1 Star 0 Fork 38

cytxiamen@126.com/FeatureProbe

forked from Feature Probe/FeatureProbe 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 3.01 KB
一键复制 编辑 原始数据 按行查看 历史
# This docker compose setup configures:
# - the Feature Probe API instance + the necessary backing MySQL database
# - the Feature Probe UI
# - the Feature Probe Server
# - the Feature Probe OpenAPI Document
version: "2.3"
services:
backendAPI:
image: featureprobe/api
ports:
- "4008:4008"
environment:
- spring.datasource.jdbc-url=jdbc:mysql://database:13306/feature_probe?useSSL=false&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false&rewriteBatchedStatements=TRUE&useSSL=false&serverTimezone=Asia/Shanghai
- spring.profiles.active=online
- spring.jpa.show-sql=false
- logging.level.root=INFO
- logging.level.org.hibernate.SQL=INFO
- logging.level.org.hibernate.type.descriptor.sql.BasicBinder=INFO
- app.analysis-url=http://analysisAPI:4006/analysis
- app.server-base-urls=http://127.0.0.1:4009/server
- server.port=4008
- TZ=Asia/Shanghai
networks:
- featureProbeNet
depends_on:
- database
- analysisAPI
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:4008/actuator/health"]
timeout: 5s
interval: 10s
retries: 10
serverAPI:
image: featureprobe/server
ports:
- "4007:4007"
- "4011:4011"
environment:
- RUST_LOG=info
- FP_SERVER_PORT=4007
- FP_REALTIME_PORT=4011
- FP_TOGGLES_URL=http://backendAPI:4008/internal/server/toggles
- FP_EVENTS_URL=http://backendAPI:4008/internal/server/events
- FP_KEYS_URL=http://backendAPI:4008/internal/server/sdk_keys
- FP_ANALYSIS_URL=http://analysisAPI:4006/events
- FP_REFRESH_SECONDS=3
- TZ=Asia/Shanghai
networks:
- featureProbeNet
depends_on:
backendAPI:
condition: service_healthy
analysisAPI:
condition: service_started
ui:
image: featureprobe/ui
ports:
- "4009:4009"
environment:
- TZ=Asia/Shanghai
volumes:
- ./nginx_configs/default.conf:/etc/nginx/conf.d/default.conf
networks:
- featureProbeNet
depends_on:
- backendAPI
- serverAPI
- redoc
- database
analysisAPI:
image: featureprobe/analysis
ports:
- "4006:4006"
environment:
- TZ=Asia/Shanghai
- app.datasource.jdbcUrl=jdbc:mysql://database:13306/feature_probe_events
- app.datasource.username=root
- app.datasource.password=root
- spring.profiles.active=online
networks:
- featureProbeNet
depends_on:
- database
database:
image: mariadb:10.5.8
ports:
- "13306:13306"
networks:
- featureProbeNet
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=feature_probe
- MYSQL_TCP_PORT=13306
volumes:
- ./init_scripts/db:/docker-entrypoint-initdb.d
redoc:
image: redocly/redoc
ports:
- "4010:4010"
environment:
- SPEC_URL=/api/v3/api-docs.yaml
- PORT=4010
- PAGE_TITLE=Feature Probe OpenAPI
networks:
- featureProbeNet
networks:
featureProbeNet:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xmms_cytxiamen/FeatureProbe.git
git@gitee.com:xmms_cytxiamen/FeatureProbe.git
xmms_cytxiamen
FeatureProbe
FeatureProbe
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385