chore(config): Update production database and Sentinel configuration

This commit is contained in:
2025-04-13 21:55:35 +08:00
parent 7520d56e0a
commit ede0eee58a
4 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -9,12 +9,14 @@ services:
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: video_platform
MYSQL_USER: video
MYSQL_PASSWORD: video123
ports:
- "3306:3306"
volumes:
- mysql_data:/var/lib/mysql
- ./sql:/docker-entrypoint-initdb.d
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --default-authentication-plugin=mysql_native_password
networks:
- video-network