Add authserver module
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:8.0.46
|
||||
container_name: authserver-mysql
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3306"
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root123456
|
||||
MYSQL_DATABASE: authserver
|
||||
MYSQL_USER: auth
|
||||
MYSQL_PASSWORD: auth
|
||||
TZ: Asia/Shanghai
|
||||
command:
|
||||
- --character-set-server=utf8mb4
|
||||
- --collation-server=utf8mb4_unicode_ci
|
||||
- --default-authentication-plugin=mysql_native_password
|
||||
volumes:
|
||||
- ./data/mysql:/var/lib/mysql
|
||||
Reference in New Issue
Block a user