mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-11 17:08:08 +00:00
Fix trailing whitespace
This commit is contained in:
@@ -459,7 +459,7 @@ services:
|
||||
- mysql_data:/var/lib/mysql
|
||||
|
||||
volumes:
|
||||
mysql_data:
|
||||
mysql_data:
|
||||
```
|
||||
|
||||
### 11.5.33 其它指令
|
||||
|
||||
@@ -18,15 +18,15 @@ flowchart TD
|
||||
Port8000[":8000"]
|
||||
Django ~~~ Port8000
|
||||
end
|
||||
|
||||
|
||||
subgraph DB ["db 服务"]
|
||||
direction TB
|
||||
Postgres["PostgreSQL<br/>数据库"]
|
||||
end
|
||||
|
||||
|
||||
Django -- ":5432" --> Postgres
|
||||
end
|
||||
|
||||
|
||||
Browser["localhost:8000<br/>(浏览器访问)"]
|
||||
Port8000 --> Browser
|
||||
```
|
||||
|
||||
@@ -18,15 +18,15 @@ flowchart TD
|
||||
Port3000[":3000"]
|
||||
Rails ~~~ Port3000
|
||||
end
|
||||
|
||||
|
||||
subgraph DB ["db 服务"]
|
||||
direction TB
|
||||
Postgres["PostgreSQL<br/>数据库"]
|
||||
end
|
||||
|
||||
|
||||
Rails -- ":5432" --> Postgres
|
||||
end
|
||||
|
||||
|
||||
Browser["localhost:3000"]
|
||||
Port3000 --> Browser
|
||||
```
|
||||
|
||||
@@ -27,7 +27,7 @@ services:
|
||||
image: mysql:8.0
|
||||
container_name: wordpress_db
|
||||
restart: always
|
||||
command:
|
||||
command:
|
||||
# 使用原生密码认证(旧版 WP 兼容性)
|
||||
|
||||
- --default-authentication-plugin=mysql_native_password
|
||||
|
||||
Reference in New Issue
Block a user