質問編集履歴
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -147,3 +147,125 @@
|
|
147
147
|
|
148
148
|
|
149
149
|
```
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
**docker-compose.yml**
|
158
|
+
|
159
|
+
```
|
160
|
+
|
161
|
+
version: "2"
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
volumes:
|
166
|
+
|
167
|
+
budget_db:
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
services:
|
172
|
+
|
173
|
+
web:
|
174
|
+
|
175
|
+
build: ./docker/web
|
176
|
+
|
177
|
+
ports:
|
178
|
+
|
179
|
+
- "80:80"
|
180
|
+
|
181
|
+
# - "8022:22"
|
182
|
+
|
183
|
+
links:
|
184
|
+
|
185
|
+
- db
|
186
|
+
|
187
|
+
- ruby
|
188
|
+
|
189
|
+
volumes:
|
190
|
+
|
191
|
+
- ./apps/budget_storage:/var/www/html/budget_storage
|
192
|
+
|
193
|
+
- ./apps/v-seisan:/var/www/v-seisan
|
194
|
+
|
195
|
+
- ./apps/v-ysnexcel:/var/www/v-ysnexcel
|
196
|
+
|
197
|
+
- ./apps/budget-management:/var/www/budget-management
|
198
|
+
|
199
|
+
- ./data/budget_storage:/var/www/budget_storage
|
200
|
+
|
201
|
+
- ./logs/apache:/var/log/apache2
|
202
|
+
|
203
|
+
# working_dir: /
|
204
|
+
|
205
|
+
container_name: vbweb
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
ruby:
|
210
|
+
|
211
|
+
build: ./docker/ruby
|
212
|
+
|
213
|
+
links:
|
214
|
+
|
215
|
+
- db
|
216
|
+
|
217
|
+
- memcached
|
218
|
+
|
219
|
+
ports:
|
220
|
+
|
221
|
+
- "3000:3000"
|
222
|
+
|
223
|
+
volumes:
|
224
|
+
|
225
|
+
- ./apps/budget:/root/app
|
226
|
+
|
227
|
+
working_dir: /root/app
|
228
|
+
|
229
|
+
command: ruby script/server -e development
|
230
|
+
|
231
|
+
# environment:
|
232
|
+
|
233
|
+
# - RAILS_RELATIVE_URL_ROOT=/budget
|
234
|
+
|
235
|
+
# - RAILS_ENV=development
|
236
|
+
|
237
|
+
container_name: vbrb
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
db:
|
242
|
+
|
243
|
+
build: ./docker/db
|
244
|
+
|
245
|
+
# mem_limit: 1000000000
|
246
|
+
|
247
|
+
ports:
|
248
|
+
|
249
|
+
- "5432:5432"
|
250
|
+
|
251
|
+
volumes:
|
252
|
+
|
253
|
+
- budget_db:/var/lib/postgresql/data
|
254
|
+
|
255
|
+
- ./initdb.d:/docker-entrypoint-initdb.d
|
256
|
+
|
257
|
+
# environment:
|
258
|
+
|
259
|
+
# - LANG="ja_JP.UTF-8"
|
260
|
+
|
261
|
+
container_name: vbdb
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
memcached:
|
266
|
+
|
267
|
+
image: "memcached:latest"
|
268
|
+
|
269
|
+
container_name: vbmem
|
270
|
+
|
271
|
+
```
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
**エラー表示**
|
11
|
+
**ブラウザ側のエラー表示**
|
12
12
|
|
13
13
|
![イメージ説明](cb3c84ee2ff4422a1475526a4d7b9d64.png)
|
14
14
|
|
@@ -18,7 +18,9 @@
|
|
18
18
|
|
19
19
|
**エラー内容としては以下です。**
|
20
20
|
|
21
|
+
```
|
22
|
+
|
21
|
-
|
23
|
+
vbweb | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.21.0.5. Set the 'ServerName' directive globally to suppress this message
|
22
24
|
|
23
25
|
vbrb | => Booting WEBrick...
|
24
26
|
|
@@ -133,3 +135,15 @@
|
|
133
135
|
vbrb | /root/.rbenv/versions/1.8.7-p375/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
|
134
136
|
|
135
137
|
vbrb | script/server:3
|
138
|
+
|
139
|
+
vbrb |
|
140
|
+
|
141
|
+
vbrb |
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
```
|