feat: classroom status filter + export button + menu (departments/notifications)

This commit is contained in:
2026-07-06 14:43:13 +08:00
parent fb6d99266e
commit 4b02012634
3 changed files with 48 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ services:
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-gongxue_2024}
MYSQL_DATABASE: ${DB_DATABASE:-gongxue}
MYSQL_DATABASE: gongxue
MYSQL_CHARSET: utf8mb4
MYSQL_COLLATION: utf8mb4_unicode_ci
ports:
@@ -15,6 +15,42 @@ services:
volumes:
- mysql_data:/var/lib/mysql
command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 5s
retries: 10
backend:
build:
context: .
dockerfile: apps/server/Dockerfile
container_name: gongxue_backend
restart: always
environment:
DB_TYPE: mysql
DB_HOST: mysql
DB_PORT: 3306
DB_USERNAME: root
DB_PASSWORD: ${MYSQL_ROOT_PASSWORD:-gongxue_2024}
DB_DATABASE: gongxue
DB_SYNCHRONIZE: "false"
JWT_SECRET: ${JWT_SECRET:-gongxue-jwt-prod-2026-k3y}
JWT_EXPIRES_IN: 24h
PORT: 3000
depends_on:
mysql:
condition: service_healthy
frontend:
build:
context: .
dockerfile: apps/admin/Dockerfile
container_name: gongxue_frontend
restart: always
ports:
- "9527:80"
depends_on:
- backend
volumes:
mysql_data: