質問編集履歴
3
add tags
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
2
タイプミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -90,8 +90,6 @@
|
|
90
90
|
|
91
91
|
server {
|
92
92
|
|
93
|
-
server {
|
94
|
-
|
95
93
|
listen 80;
|
96
94
|
|
97
95
|
server_name example.net;
|
1
docker-composeの状態を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
|
30
30
|
|
31
|
-
##### Docker
|
31
|
+
##### Dockerfile
|
32
32
|
|
33
33
|
```
|
34
34
|
|
@@ -54,6 +54,36 @@
|
|
54
54
|
|
55
55
|
|
56
56
|
|
57
|
+
##### docker-compose
|
58
|
+
|
59
|
+
```
|
60
|
+
|
61
|
+
app:
|
62
|
+
|
63
|
+
build:
|
64
|
+
|
65
|
+
context: .
|
66
|
+
|
67
|
+
dockerfile: ./Dockerfile
|
68
|
+
|
69
|
+
environment:
|
70
|
+
|
71
|
+
- NODE_ENV=prod
|
72
|
+
|
73
|
+
- PORT=8081
|
74
|
+
|
75
|
+
volumes:
|
76
|
+
|
77
|
+
- /usr/share/nginx/html
|
78
|
+
|
79
|
+
ports:
|
80
|
+
|
81
|
+
- "8081:80"
|
82
|
+
|
83
|
+
```
|
84
|
+
|
85
|
+
|
86
|
+
|
57
87
|
##### Nginx
|
58
88
|
|
59
89
|
```
|