@@ -4,7 +4,6 @@ services:
44 container_name : beidou-server
55 # nightly 为每日构建
66 image : ghcr.io/beidoums/beidou-server:nightly
7- # 自己构建..
87 # build:
98 # context: .
109 # dockerfile: Dockerfile-server
@@ -17,7 +16,6 @@ services:
1716 - " 8484:8484"
1817 # Channels.
1918 - " 7575-7577:7575-7577"
20- # 如果要挂载wz scripts 取消注释 volumes 设置
2119 # 注意 命令行参数的优先级高于 application.yml 配置文件
2220 volumes :
2321 - ./beidou-server-nightly:/opt/server
@@ -30,10 +28,12 @@ services:
3028 - --gms.service.localhost=127.0.0.1
3129 # 如果前端访问失败,可以尝试修改↓
3230 # - --app.vue=<前端url>
33- # 生产环境请自行生成密钥,并关闭 swagger
34- # - --jwt.secret=50da066e-6080-40f5-a173-86bd27d4f674
35- # - --springdoc.api-docs.enabled=true
36- # - --springdoc.swagger-ui.enabled=true
31+ # !!! 生产环境务必自行生成密钥(可以使用以下指令来生成) , 并关闭 swagger !!!
32+ # powershell: -join ((1..10) | ForEach { '{0:x2}' -f (Get-Random -Maximum 256) })
33+ # bash : openssl rand -hex 10
34+ # - --jwt.secret=<your secret key here>
35+ # - --springdoc.api-docs.enabled=false
36+ # - --springdoc.swagger-ui.enabled=false
3737 healthcheck :
3838 test : ["CMD", "sh", "-c", "netstat -tunlp | grep 0.0.0.0:8484 || exit 1"]
3939 interval : 10s
@@ -49,11 +49,9 @@ services:
4949 container_name : beidou-ui
5050 # nightly 为每日构建
5151 image : ghcr.io/beidoums/beidou-ui:nightly
52- # 自己构建..
5352 # build:
5453 # context: .
5554 # dockerfile: Dockerfile-ui
56- # 可以挂载出来 修改端口,添加证书
5755 # volumes:
5856 # - ./nginx-ui.conf:/etc/nginx/conf.d/default.conf
5957 ports :
@@ -68,8 +66,8 @@ services:
6866 container_name : beidou-db
6967 image : mysql:8.4.0
7068 environment :
71- # mysql root 默认密码
72- MYSQL_ROOT_PASSWORD : " root"
69+ # mysql root 密码
70+ MYSQL_ROOT_PASSWORD : " root"
7371 # ports:
7472 # - "3306:3306"
7573 volumes :
0 commit comments