This commit is contained in:
2026-04-12 13:35:18 +08:00
parent 18ea388cc7
commit b2b43b8e12

View File

@@ -7,10 +7,10 @@ services:
container_name: performance-mysql container_name: performance-mysql
restart: unless-stopped restart: unless-stopped
environment: environment:
MYSQL_ROOT_PASSWORD: rootpassword MYSQL_ROOT_PASSWORD: 123456
MYSQL_DATABASE: employee_performance MYSQL_DATABASE: employee_performance
MYSQL_USER: app_user MYSQL_USER: app_user
MYSQL_PASSWORD: app_password MYSQL_PASSWORD: 123456
ports: ports:
- "33306:3306" - "33306:3306"
volumes: volumes:
@@ -19,7 +19,7 @@ services:
networks: networks:
- app-network - app-network
healthcheck: healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-prootpassword"] test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p123456"]
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5
@@ -43,7 +43,7 @@ services:
DB_HOST: db DB_HOST: db
DB_PORT: 3306 DB_PORT: 3306
DB_USER: app_user DB_USER: app_user
DB_PASSWORD: app_password DB_PASSWORD: 123456
DB_NAME: employee_performance DB_NAME: employee_performance
JWT_SECRET: your_jwt_secret_here_change_in_production JWT_SECRET: your_jwt_secret_here_change_in_production
FASTGPT_API_KEY: ${FASTGPT_API_KEY:-your_fastgpt_api_key_here} FASTGPT_API_KEY: ${FASTGPT_API_KEY:-your_fastgpt_api_key_here}