質問編集履歴
1
ymlの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,59 +10,53 @@
|
|
10
10
|
|
11
11
|
services:
|
12
12
|
|
13
|
-
db:
|
13
|
+
db:
|
14
14
|
|
15
|
-
image: arm64v8/mariadb:10.5
|
15
|
+
image: arm64v8/mariadb:10.5
|
16
16
|
|
17
|
-
volumes:
|
17
|
+
volumes:
|
18
18
|
|
19
|
-
- db_data:/var/lib/mysql
|
19
|
+
- db_data:/var/lib/mysql
|
20
20
|
|
21
|
-
|
21
|
+
restart: always
|
22
22
|
|
23
|
-
|
23
|
+
environment:
|
24
24
|
|
25
|
-
|
25
|
+
MYSQL_ROOT_PASSWORD: somewordpress
|
26
26
|
|
27
|
-
|
27
|
+
MYSQL_DATABASE: wordpress
|
28
28
|
|
29
|
-
MYSQL_
|
29
|
+
MYSQL_USER: wordpress
|
30
30
|
|
31
|
-
MYSQL_DATABASE: wordpress
|
32
|
-
|
33
|
-
MYSQL_
|
31
|
+
MYSQL_PASSWORD: wordpress
|
34
|
-
|
35
|
-
MYSQL_PASSWORD: password
|
36
32
|
|
37
33
|
|
38
34
|
|
39
|
-
wordpress:
|
35
|
+
wordpress:
|
40
36
|
|
41
|
-
depends_on:
|
37
|
+
depends_on:
|
42
38
|
|
43
|
-
- db
|
39
|
+
- db
|
44
40
|
|
45
|
-
image: wordpress:
|
41
|
+
image: wordpress:latest
|
46
42
|
|
47
|
-
ports:
|
43
|
+
ports:
|
48
44
|
|
49
|
-
- "8000:80"
|
45
|
+
- "8000:80"
|
50
46
|
|
51
|
-
restart: always
|
47
|
+
restart: always
|
52
48
|
|
53
|
-
environment:
|
49
|
+
environment:
|
54
50
|
|
55
|
-
WORDPRESS_DB_HOST: db:3306
|
51
|
+
WORDPRESS_DB_HOST: db:3306
|
56
52
|
|
57
|
-
WORDPRESS_DB_USER: wordpress
|
53
|
+
WORDPRESS_DB_USER: wordpress
|
58
54
|
|
59
|
-
WORDPRESS_DB_PASSWORD:
|
55
|
+
WORDPRESS_DB_PASSWORD: wordpress
|
60
56
|
|
61
57
|
volumes:
|
62
58
|
|
63
59
|
db_data:
|
64
|
-
|
65
|
-
|
66
60
|
|
67
61
|
```
|
68
62
|
|