代码拉取完成,页面将自动刷新
同步操作将从 Feature Probe/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: "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:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。