代码拉取完成,页面将自动刷新
同步操作将从 DiDi-opensource/FeatureProbe 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# 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: "3.1"
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
- logging.level.root=INFO
- logging.level.org.hibernate.SQL=INFO
- logging.level.org.hibernate.type.descriptor.sql.BasicBinder=INFO
- server.port=4008
- TZ=Asia/Shanghai
networks:
- featureProbeNet
depends_on:
- database
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:4008/api/actuator/health"]
timeout: 5s
interval: 10s
retries: 5
serverAPI:
image: featureprobe/server
ports:
- "4007:4007"
environment:
- RUST_LOG=info
- FP_SERVER_PORT=4007
- FP_TOGGLES_URL=http://backendAPI:4008/api/server/toggles
- FP_EVENTS_URL=http://backendAPI:4008/api/server/events
- FP_KEYS_URL=http://backendAPI:4008/api/server/sdk_keys
- FP_REFRESH_SECONDS=3
- TZ=Asia/Shanghai
networks:
- featureProbeNet
depends_on:
backendAPI:
condition: service_healthy
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:
image: mariadb:10.5.8
ports:
- "13306:13306"
networks:
- featureProbeNet
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=feature_probe
- MYSQL_TCP_PORT=13306
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:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。