Skip to content

Commit ab04f65

Browse files
committed
update docs
1 parent ac49bd9 commit ab04f65

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/guide/deploy/Docker.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ title: Docker 部署
8787
fba_server:
8888
build:
8989
context: ../../../
90-
dockerfile: backend/backend.dockerfile
90+
dockerfile: backend/Dockerfile
9191
image: fba_server:latest
9292
container_name: fba_server
9393
restart: always
@@ -124,8 +124,7 @@ title: Docker 部署
124124
- fba_mysql:/var/lib/mysql
125125
networks:
126126
- fba_network
127-
command:
128-
--default-authentication-plugin=mysql_native_password
127+
command: --default-authentication-plugin=mysql_native_password
129128
--character-set-server=utf8mb4
130129
--collation-server=utf8mb4_general_ci
131130
--lower_case_table_names=1
@@ -231,7 +230,9 @@ title: Docker 部署
231230
fba_celery:
232231
build:
233232
context: ../../../
234-
dockerfile: backend/celery.dockerfile
233+
dockerfile: backend/Dockerfile
234+
args:
235+
- SERVICE_TYPE=celery
235236
image: fba_celery:latest
236237
ports:
237238
- "8555:8555"

0 commit comments

Comments
 (0)