質問編集履歴
6
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -291,3 +291,163 @@
|
|
291
291
|
npm ERR! /home/mastodon/live/npm-debug.log
|
292
292
|
|
293
293
|
```
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
追記 "cat npm-debug.log"
|
298
|
+
|
299
|
+
```
|
300
|
+
|
301
|
+
0 info it worked if it ends with ok
|
302
|
+
|
303
|
+
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'bugs', 'mastodon' ]
|
304
|
+
|
305
|
+
2 info using npm@2.15.11
|
306
|
+
|
307
|
+
3 info using node@v4.8.4
|
308
|
+
|
309
|
+
4 silly mapToRegistry name mastodon
|
310
|
+
|
311
|
+
5 silly mapToRegistry using default registry
|
312
|
+
|
313
|
+
6 silly mapToRegistry registry https://registry.npmjs.org/
|
314
|
+
|
315
|
+
7 silly mapToRegistry data Result {
|
316
|
+
|
317
|
+
7 silly mapToRegistry raw: 'mastodon',
|
318
|
+
|
319
|
+
7 silly mapToRegistry scope: null,
|
320
|
+
|
321
|
+
7 silly mapToRegistry name: 'mastodon',
|
322
|
+
|
323
|
+
7 silly mapToRegistry rawSpec: '',
|
324
|
+
|
325
|
+
7 silly mapToRegistry spec: 'latest',
|
326
|
+
|
327
|
+
7 silly mapToRegistry type: 'tag' }
|
328
|
+
|
329
|
+
8 silly mapToRegistry uri https://registry.npmjs.org/mastodon
|
330
|
+
|
331
|
+
9 verbose request uri https://registry.npmjs.org/mastodon/latest
|
332
|
+
|
333
|
+
10 verbose request no auth needed
|
334
|
+
|
335
|
+
11 info attempt registry request try #1 at 08:05:04
|
336
|
+
|
337
|
+
12 verbose request id 0bc7c855893a2a19
|
338
|
+
|
339
|
+
13 http request GET https://registry.npmjs.org/mastodon/latest
|
340
|
+
|
341
|
+
14 http 200 https://registry.npmjs.org/mastodon/latest
|
342
|
+
|
343
|
+
15 verbose headers { server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',
|
344
|
+
|
345
|
+
15 verbose headers etag: '"5RZ8EU19V8OYT4384IO6GJQ1U"',
|
346
|
+
|
347
|
+
15 verbose headers 'content-type': 'application/json',
|
348
|
+
|
349
|
+
15 verbose headers 'content-encoding': 'gzip',
|
350
|
+
|
351
|
+
15 verbose headers 'cache-control': 'max-age=300',
|
352
|
+
|
353
|
+
15 verbose headers 'content-length': '706',
|
354
|
+
|
355
|
+
15 verbose headers 'accept-ranges': 'bytes',
|
356
|
+
|
357
|
+
15 verbose headers date: 'Fri, 11 Aug 2017 23:05:04 GMT',
|
358
|
+
|
359
|
+
15 verbose headers via: '1.1 varnish',
|
360
|
+
|
361
|
+
15 verbose headers age: '0',
|
362
|
+
|
363
|
+
15 verbose headers connection: 'keep-alive',
|
364
|
+
|
365
|
+
15 verbose headers 'x-served-by': 'cache-nrt6134-NRT',
|
366
|
+
|
367
|
+
15 verbose headers 'x-cache': 'MISS',
|
368
|
+
|
369
|
+
15 verbose headers 'x-cache-hits': '0',
|
370
|
+
|
371
|
+
15 verbose headers 'x-timer': 'S1502492704.277999,VS0,VE494',
|
372
|
+
|
373
|
+
15 verbose headers vary: 'Accept-Encoding, Accept' }
|
374
|
+
|
375
|
+
16 silly get cb [ 200,
|
376
|
+
|
377
|
+
16 silly get { server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',
|
378
|
+
|
379
|
+
16 silly get etag: '"5RZ8EU19V8OYT4384IO6GJQ1U"',
|
380
|
+
|
381
|
+
16 silly get 'content-type': 'application/json',
|
382
|
+
|
383
|
+
16 silly get 'content-encoding': 'gzip',
|
384
|
+
|
385
|
+
16 silly get 'cache-control': 'max-age=300',
|
386
|
+
|
387
|
+
16 silly get 'content-length': '706',
|
388
|
+
|
389
|
+
16 silly get 'accept-ranges': 'bytes',
|
390
|
+
|
391
|
+
16 silly get date: 'Fri, 11 Aug 2017 23:05:04 GMT',
|
392
|
+
|
393
|
+
16 silly get via: '1.1 varnish',
|
394
|
+
|
395
|
+
16 silly get age: '0',
|
396
|
+
|
397
|
+
16 silly get connection: 'keep-alive',
|
398
|
+
|
399
|
+
16 silly get 'x-served-by': 'cache-nrt6134-NRT',
|
400
|
+
|
401
|
+
16 silly get 'x-cache': 'MISS',
|
402
|
+
|
403
|
+
16 silly get 'x-cache-hits': '0',
|
404
|
+
|
405
|
+
16 silly get 'x-timer': 'S1502492704.277999,VS0,VE494',
|
406
|
+
|
407
|
+
16 silly get vary: 'Accept-Encoding, Accept' } ]
|
408
|
+
|
409
|
+
17 verbose get saving mastodon to /root/.npm/registry.npmjs.org/mastodon/latest/.cache.json
|
410
|
+
|
411
|
+
18 verbose correctMkdir /root/.npm correctMkdir not in flight; initializing
|
412
|
+
|
413
|
+
19 silly bugs url https://github.com/jhayley/node-mastodon/issues
|
414
|
+
|
415
|
+
20 verbose stack Error: spawn xdg-open ENOENT
|
416
|
+
|
417
|
+
20 verbose stack at exports._errnoException (util.js:907:11)
|
418
|
+
|
419
|
+
20 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:189:32)
|
420
|
+
|
421
|
+
20 verbose stack at onErrorNT (internal/child_process.js:363:16)
|
422
|
+
|
423
|
+
20 verbose stack at nextTickCallbackWith2Args (node.js:511:9)
|
424
|
+
|
425
|
+
20 verbose stack at process._tickCallback (node.js:425:17)
|
426
|
+
|
427
|
+
21 verbose cwd /home/mastodon/live
|
428
|
+
|
429
|
+
22 error Linux 4.4.0-91-generic
|
430
|
+
|
431
|
+
23 error argv "/usr/bin/nodejs" "/usr/bin/npm" "bugs" "mastodon"
|
432
|
+
|
433
|
+
24 error node v4.8.4
|
434
|
+
|
435
|
+
25 error npm v2.15.11
|
436
|
+
|
437
|
+
26 error path xdg-open
|
438
|
+
|
439
|
+
27 error code ENOENT
|
440
|
+
|
441
|
+
28 error errno ENOENT
|
442
|
+
|
443
|
+
29 error syscall spawn xdg-open
|
444
|
+
|
445
|
+
30 error enoent spawn xdg-open ENOENT
|
446
|
+
|
447
|
+
30 error enoent This is most likely not a problem with npm itself
|
448
|
+
|
449
|
+
30 error enoent and is related to npm not being able to find a file.
|
450
|
+
|
451
|
+
31 verbose exit [ 1, true ]
|
452
|
+
|
453
|
+
```
|
5
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -172,241 +172,7 @@
|
|
172
172
|
|
173
173
|
|
174
174
|
|
175
|
-
追記
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
```
|
180
|
-
|
181
|
-
Name Command State Ports
|
182
|
-
|
183
|
-
-------------------------------------------------------------------------------------------------
|
184
|
-
|
185
|
-
live_db_1 docker-entrypoint.sh postgres Up 5432/tcp
|
186
|
-
|
187
|
-
live_redis_1 docker-entrypoint.sh redis ... Up 6379/tcp
|
188
|
-
|
189
|
-
live_sidekiq_1 bundle exec sidekiq -q def ... Restarting
|
190
|
-
|
191
|
-
live_streaming_1 npm run start Exit 1
|
192
|
-
|
193
|
-
live_web_1 bundle exec rails s -p 300 ... Up 0.0.0.0:3000->3000/tcp, 4000/tcp
|
194
|
-
|
195
|
-
```
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
```ここに言語を入力
|
202
|
-
|
203
|
-
Restarting live_sidekiq_1 ... done
|
204
|
-
|
205
|
-
Restarting live_web_1 ... done
|
206
|
-
|
207
|
-
Restarting live_streaming_1 ... error
|
208
|
-
|
209
|
-
Restarting live_db_1 ... done
|
210
|
-
|
211
|
-
Restarting live_redis_1 ... done
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
ERROR: for live_streaming_1 Cannot restart container 917c681cc4f0eb136b92bd98f2d88808bf56f6140e57c8098dc3ac333debff64: driver failed programming external connectivity on endpoint live_streaming_1 (58be437b85e18bff686fe20ea4ed67550ea394f9e65ca3087e317c4126348125): Error starting userland proxy: listen tcp 0.0.0.0:4000: bind: address already in use
|
216
|
-
|
217
|
-
```
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
追記 vi .env.production
|
222
|
-
|
223
|
-
```
|
224
|
-
|
225
|
-
"vi .env.production"
|
226
|
-
|
227
|
-
"一部xxxxで伏せております"
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
# Service dependencies
|
232
|
-
|
233
|
-
REDIS_HOST=localhost
|
234
|
-
|
235
|
-
REDIS_PORT=6379
|
236
|
-
|
237
|
-
# REDIS_DB=0
|
238
|
-
|
239
|
-
DB_HOST=localhost
|
240
|
-
|
241
|
-
DB_USER=mastodon
|
242
|
-
|
243
|
-
DB_NAME=mastodon
|
244
|
-
|
245
|
-
DB_PASS=fUbHKK0kwi
|
246
|
-
|
247
|
-
DB_PORT=5432
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
# Federation
|
252
|
-
|
253
|
-
LOCAL_DOMAIN=xxxx.com
|
254
|
-
|
255
|
-
LOCAL_HTTPS=true
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
# Use this only if you need to run mastodon on a different domain than the one used for federation.
|
260
|
-
|
261
|
-
# Do not use this unless you know exactly what you are doing.
|
262
|
-
|
263
|
-
# WEB_DOMAIN=mastodon.example.com
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
# Application secrets
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
# Registrations
|
272
|
-
|
273
|
-
# Single user mode will disable registrations and redirect frontpage to the first profile
|
274
|
-
|
275
|
-
# SINGLE_USER_MODE=true
|
276
|
-
|
277
|
-
# Prevent registrations with following e-mail domains
|
278
|
-
|
279
|
-
# EMAIL_DOMAIN_BLACKLIST=example1.com|example2.de|etc
|
280
|
-
|
281
|
-
# Only allow registrations with the following e-mail domains
|
282
|
-
|
283
|
-
# EMAIL_DOMAIN_WHITELIST=example1.com|example2.de|etc
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
# Optionally change default language
|
288
|
-
|
289
|
-
# DEFAULT_LOCALE=de
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
# E-mail configuration
|
294
|
-
|
295
|
-
# Note: Mailgun and SparkPost (https://sparkpo.st/smtp) each have good free tiers
|
296
|
-
|
297
|
-
SMTP_SERVER=xxxx
|
298
|
-
|
299
|
-
SMTP_PORT=587
|
300
|
-
|
301
|
-
SMTP_LOGIN=xxxx@xxxxx
|
302
|
-
|
303
|
-
SMTP_PASSWORD=xxxx
|
304
|
-
|
305
|
-
SMTP_FROM_ADDRESS=xxxx
|
306
|
-
|
307
|
-
#SMTP_DELIVERY_METHOD=smtp # delivery method can also be sendmail
|
308
|
-
|
309
|
-
#SMTP_AUTH_METHOD=plain
|
310
|
-
|
311
|
-
#SMTP_OPENSSL_VERIFY_MODE=peer
|
312
|
-
|
313
|
-
#SMTP_ENABLE_STARTTLS_AUTO=true
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
# PAPERCLIP_ROOT_PATH=/var/lib/mastodon/public-system
|
320
|
-
|
321
|
-
# PAPERCLIP_ROOT_URL=/system
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
# Optional asset host for multi-server setups
|
326
|
-
|
327
|
-
# CDN_HOST=assets.example.com
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
# S3 (optional)
|
332
|
-
|
333
|
-
# S3_ENABLED=true
|
334
|
-
|
335
|
-
# S3_BUCKET=
|
336
|
-
|
337
|
-
# AWS_ACCESS_KEY_ID=
|
338
|
-
|
339
|
-
# AWS_SECRET_ACCESS_KEY=
|
340
|
-
|
341
|
-
# S3_REGION=
|
342
|
-
|
343
|
-
# S3_PROTOCOL=http
|
344
|
-
|
345
|
-
# S3_HOSTNAME=192.168.1.123:9000
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
# S3 (Minio Config (optional) Please check Minio instance for details)
|
352
|
-
|
353
|
-
# S3_ENABLED=true
|
354
|
-
|
355
|
-
# S3_BUCKET=
|
356
|
-
|
357
|
-
# AWS_ACCESS_KEY_ID=
|
358
|
-
|
359
|
-
# AWS_SECRET_ACCESS_KEY=
|
360
|
-
|
361
|
-
# S3_REGION=
|
362
|
-
|
363
|
-
# S3_PROTOCOL=https
|
364
|
-
|
365
|
-
# S3_HOSTNAME=
|
366
|
-
|
367
|
-
# S3_ENDPOINT=
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
# Optional alias for S3 if you want to use Cloudfront or Cloudflare in front
|
372
|
-
|
373
|
-
# S3_CLOUDFRONT_HOST=
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
# Streaming API integration
|
378
|
-
|
379
|
-
# STREAMING_API_BASE_URL=
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
# Advanced settings
|
384
|
-
|
385
|
-
# If you need to use pgBouncer, you need to disable prepared statements:
|
386
|
-
|
387
|
-
# PREPARED_STATEMENTS=false
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
SWIFT_ENABLED=true
|
392
|
-
|
393
|
-
SWIFT_USERNAME=gncuxxxx
|
394
|
-
|
395
|
-
SWIFT_TENANT=gnctxxxx
|
396
|
-
|
397
|
-
SWIFT_PASSWORD=xxxxxx
|
398
|
-
|
399
|
-
SWIFT_AUTH_URL=https://identity.tyo1.conoha.io/v2.0/tokens
|
400
|
-
|
401
|
-
SWIFT_CONTAINER=xxxx
|
402
|
-
|
403
|
-
SWIFT_OBJECT_URL=https://object-storage.tyo1.conoha.io/v1/nc_5e3449a974304b8b9ed4f567462c8519/xxxx/
|
404
|
-
|
405
|
-
```
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
追記
|
175
|
+
追記 "docker logs live_streaming_1"
|
410
176
|
|
411
177
|
```
|
412
178
|
|
@@ -483,3 +249,45 @@
|
|
483
249
|
npm ERR! /mastodon/npm-debug.log
|
484
250
|
|
485
251
|
```
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
追記 "npm bugs mastodon"
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
```
|
260
|
+
|
261
|
+
npm ERR! Linux 4.4.0-91-generic
|
262
|
+
|
263
|
+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "bugs" "mastodon"
|
264
|
+
|
265
|
+
npm ERR! node v4.8.4
|
266
|
+
|
267
|
+
npm ERR! npm v2.15.11
|
268
|
+
|
269
|
+
npm ERR! path xdg-open
|
270
|
+
|
271
|
+
npm ERR! code ENOENT
|
272
|
+
|
273
|
+
npm ERR! errno ENOENT
|
274
|
+
|
275
|
+
npm ERR! syscall spawn xdg-open
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
npm ERR! enoent spawn xdg-open ENOENT
|
280
|
+
|
281
|
+
npm ERR! enoent This is most likely not a problem with npm itself
|
282
|
+
|
283
|
+
npm ERR! enoent and is related to npm not being able to find a file.
|
284
|
+
|
285
|
+
npm ERR! enoent
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
npm ERR! Please include the following file with any support request:
|
290
|
+
|
291
|
+
npm ERR! /home/mastodon/live/npm-debug.log
|
292
|
+
|
293
|
+
```
|
4
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -403,3 +403,83 @@
|
|
403
403
|
SWIFT_OBJECT_URL=https://object-storage.tyo1.conoha.io/v1/nc_5e3449a974304b8b9ed4f567462c8519/xxxx/
|
404
404
|
|
405
405
|
```
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
追記
|
410
|
+
|
411
|
+
```
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
> mastodon@ start /mastodon
|
416
|
+
|
417
|
+
> babel-node ./streaming/index.js --presets es2015,stage-2
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
info Starting streaming API server on port 4000
|
422
|
+
|
423
|
+
events.js:160
|
424
|
+
|
425
|
+
throw er; // Unhandled 'error' event
|
426
|
+
|
427
|
+
^
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
|
432
|
+
|
433
|
+
at Object.exports._errnoException (util.js:1018:11)
|
434
|
+
|
435
|
+
at exports._exceptionWithHostPort (util.js:1041:20)
|
436
|
+
|
437
|
+
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
npm ERR! Linux 4.4.0-89-generic
|
442
|
+
|
443
|
+
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "start"
|
444
|
+
|
445
|
+
npm ERR! node v6.11.1
|
446
|
+
|
447
|
+
npm ERR! npm v3.10.10
|
448
|
+
|
449
|
+
npm ERR! code ELIFECYCLE
|
450
|
+
|
451
|
+
npm ERR! mastodon@ start: `babel-node ./streaming/index.js --presets es2015,stage-2`
|
452
|
+
|
453
|
+
npm ERR! Exit status 1
|
454
|
+
|
455
|
+
npm ERR!
|
456
|
+
|
457
|
+
npm ERR! Failed at the mastodon@ start script 'babel-node ./streaming/index.js --presets es2015,stage-2'.
|
458
|
+
|
459
|
+
npm ERR! Make sure you have the latest version of node.js and npm installed.
|
460
|
+
|
461
|
+
npm ERR! If you do, this is most likely a problem with the mastodon package,
|
462
|
+
|
463
|
+
npm ERR! not with npm itself.
|
464
|
+
|
465
|
+
npm ERR! Tell the author that this fails on your system:
|
466
|
+
|
467
|
+
npm ERR! babel-node ./streaming/index.js --presets es2015,stage-2
|
468
|
+
|
469
|
+
npm ERR! You can get information on how to open an issue for this project with:
|
470
|
+
|
471
|
+
npm ERR! npm bugs mastodon
|
472
|
+
|
473
|
+
npm ERR! Or if that isn't available, you can get their info via:
|
474
|
+
|
475
|
+
npm ERR! npm owner ls mastodon
|
476
|
+
|
477
|
+
npm ERR! There is likely additional logging output above.
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
npm ERR! Please include the following file with any support request:
|
482
|
+
|
483
|
+
npm ERR! /mastodon/npm-debug.log
|
484
|
+
|
485
|
+
```
|
3
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -215,3 +215,191 @@
|
|
215
215
|
ERROR: for live_streaming_1 Cannot restart container 917c681cc4f0eb136b92bd98f2d88808bf56f6140e57c8098dc3ac333debff64: driver failed programming external connectivity on endpoint live_streaming_1 (58be437b85e18bff686fe20ea4ed67550ea394f9e65ca3087e317c4126348125): Error starting userland proxy: listen tcp 0.0.0.0:4000: bind: address already in use
|
216
216
|
|
217
217
|
```
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
追記 vi .env.production
|
222
|
+
|
223
|
+
```
|
224
|
+
|
225
|
+
"vi .env.production"
|
226
|
+
|
227
|
+
"一部xxxxで伏せております"
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
# Service dependencies
|
232
|
+
|
233
|
+
REDIS_HOST=localhost
|
234
|
+
|
235
|
+
REDIS_PORT=6379
|
236
|
+
|
237
|
+
# REDIS_DB=0
|
238
|
+
|
239
|
+
DB_HOST=localhost
|
240
|
+
|
241
|
+
DB_USER=mastodon
|
242
|
+
|
243
|
+
DB_NAME=mastodon
|
244
|
+
|
245
|
+
DB_PASS=fUbHKK0kwi
|
246
|
+
|
247
|
+
DB_PORT=5432
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
# Federation
|
252
|
+
|
253
|
+
LOCAL_DOMAIN=xxxx.com
|
254
|
+
|
255
|
+
LOCAL_HTTPS=true
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
# Use this only if you need to run mastodon on a different domain than the one used for federation.
|
260
|
+
|
261
|
+
# Do not use this unless you know exactly what you are doing.
|
262
|
+
|
263
|
+
# WEB_DOMAIN=mastodon.example.com
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
# Application secrets
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
# Registrations
|
272
|
+
|
273
|
+
# Single user mode will disable registrations and redirect frontpage to the first profile
|
274
|
+
|
275
|
+
# SINGLE_USER_MODE=true
|
276
|
+
|
277
|
+
# Prevent registrations with following e-mail domains
|
278
|
+
|
279
|
+
# EMAIL_DOMAIN_BLACKLIST=example1.com|example2.de|etc
|
280
|
+
|
281
|
+
# Only allow registrations with the following e-mail domains
|
282
|
+
|
283
|
+
# EMAIL_DOMAIN_WHITELIST=example1.com|example2.de|etc
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
# Optionally change default language
|
288
|
+
|
289
|
+
# DEFAULT_LOCALE=de
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
# E-mail configuration
|
294
|
+
|
295
|
+
# Note: Mailgun and SparkPost (https://sparkpo.st/smtp) each have good free tiers
|
296
|
+
|
297
|
+
SMTP_SERVER=xxxx
|
298
|
+
|
299
|
+
SMTP_PORT=587
|
300
|
+
|
301
|
+
SMTP_LOGIN=xxxx@xxxxx
|
302
|
+
|
303
|
+
SMTP_PASSWORD=xxxx
|
304
|
+
|
305
|
+
SMTP_FROM_ADDRESS=xxxx
|
306
|
+
|
307
|
+
#SMTP_DELIVERY_METHOD=smtp # delivery method can also be sendmail
|
308
|
+
|
309
|
+
#SMTP_AUTH_METHOD=plain
|
310
|
+
|
311
|
+
#SMTP_OPENSSL_VERIFY_MODE=peer
|
312
|
+
|
313
|
+
#SMTP_ENABLE_STARTTLS_AUTO=true
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
# PAPERCLIP_ROOT_PATH=/var/lib/mastodon/public-system
|
320
|
+
|
321
|
+
# PAPERCLIP_ROOT_URL=/system
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
# Optional asset host for multi-server setups
|
326
|
+
|
327
|
+
# CDN_HOST=assets.example.com
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
# S3 (optional)
|
332
|
+
|
333
|
+
# S3_ENABLED=true
|
334
|
+
|
335
|
+
# S3_BUCKET=
|
336
|
+
|
337
|
+
# AWS_ACCESS_KEY_ID=
|
338
|
+
|
339
|
+
# AWS_SECRET_ACCESS_KEY=
|
340
|
+
|
341
|
+
# S3_REGION=
|
342
|
+
|
343
|
+
# S3_PROTOCOL=http
|
344
|
+
|
345
|
+
# S3_HOSTNAME=192.168.1.123:9000
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
# S3 (Minio Config (optional) Please check Minio instance for details)
|
352
|
+
|
353
|
+
# S3_ENABLED=true
|
354
|
+
|
355
|
+
# S3_BUCKET=
|
356
|
+
|
357
|
+
# AWS_ACCESS_KEY_ID=
|
358
|
+
|
359
|
+
# AWS_SECRET_ACCESS_KEY=
|
360
|
+
|
361
|
+
# S3_REGION=
|
362
|
+
|
363
|
+
# S3_PROTOCOL=https
|
364
|
+
|
365
|
+
# S3_HOSTNAME=
|
366
|
+
|
367
|
+
# S3_ENDPOINT=
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
# Optional alias for S3 if you want to use Cloudfront or Cloudflare in front
|
372
|
+
|
373
|
+
# S3_CLOUDFRONT_HOST=
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
# Streaming API integration
|
378
|
+
|
379
|
+
# STREAMING_API_BASE_URL=
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
# Advanced settings
|
384
|
+
|
385
|
+
# If you need to use pgBouncer, you need to disable prepared statements:
|
386
|
+
|
387
|
+
# PREPARED_STATEMENTS=false
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
SWIFT_ENABLED=true
|
392
|
+
|
393
|
+
SWIFT_USERNAME=gncuxxxx
|
394
|
+
|
395
|
+
SWIFT_TENANT=gnctxxxx
|
396
|
+
|
397
|
+
SWIFT_PASSWORD=xxxxxx
|
398
|
+
|
399
|
+
SWIFT_AUTH_URL=https://identity.tyo1.conoha.io/v2.0/tokens
|
400
|
+
|
401
|
+
SWIFT_CONTAINER=xxxx
|
402
|
+
|
403
|
+
SWIFT_OBJECT_URL=https://object-storage.tyo1.conoha.io/v1/nc_5e3449a974304b8b9ed4f567462c8519/xxxx/
|
404
|
+
|
405
|
+
```
|
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -193,3 +193,25 @@
|
|
193
193
|
live_web_1 bundle exec rails s -p 300 ... Up 0.0.0.0:3000->3000/tcp, 4000/tcp
|
194
194
|
|
195
195
|
```
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
```ここに言語を入力
|
202
|
+
|
203
|
+
Restarting live_sidekiq_1 ... done
|
204
|
+
|
205
|
+
Restarting live_web_1 ... done
|
206
|
+
|
207
|
+
Restarting live_streaming_1 ... error
|
208
|
+
|
209
|
+
Restarting live_db_1 ... done
|
210
|
+
|
211
|
+
Restarting live_redis_1 ... done
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
ERROR: for live_streaming_1 Cannot restart container 917c681cc4f0eb136b92bd98f2d88808bf56f6140e57c8098dc3ac333debff64: driver failed programming external connectivity on endpoint live_streaming_1 (58be437b85e18bff686fe20ea4ed67550ea394f9e65ca3087e317c4126348125): Error starting userland proxy: listen tcp 0.0.0.0:4000: bind: address already in use
|
216
|
+
|
217
|
+
```
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -167,3 +167,29 @@
|
|
167
167
|
- ./public/system:/mastodon/public/system
|
168
168
|
|
169
169
|
```
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
追記2017/08/11
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
```
|
180
|
+
|
181
|
+
Name Command State Ports
|
182
|
+
|
183
|
+
-------------------------------------------------------------------------------------------------
|
184
|
+
|
185
|
+
live_db_1 docker-entrypoint.sh postgres Up 5432/tcp
|
186
|
+
|
187
|
+
live_redis_1 docker-entrypoint.sh redis ... Up 6379/tcp
|
188
|
+
|
189
|
+
live_sidekiq_1 bundle exec sidekiq -q def ... Restarting
|
190
|
+
|
191
|
+
live_streaming_1 npm run start Exit 1
|
192
|
+
|
193
|
+
live_web_1 bundle exec rails s -p 300 ... Up 0.0.0.0:3000->3000/tcp, 4000/tcp
|
194
|
+
|
195
|
+
```
|