質問編集履歴

3

コードの変更

2021/02/20 00:32

投稿

Atsushi_5858
Atsushi_5858

スコア6

test CHANGED
File without changes
test CHANGED
@@ -520,7 +520,7 @@
520
520
 
521
521
 
522
522
 
523
- MYSQL_VERSION=latest
523
+ MYSQL_VERSION=5.2
524
524
 
525
525
  MYSQL_DATABASE=default
526
526
 

2

コードの追加

2021/02/20 00:31

投稿

Atsushi_5858
Atsushi_5858

スコア6

test CHANGED
File without changes
test CHANGED
@@ -6,6 +6,16 @@
6
6
 
7
7
 
8
8
 
9
+ ###開発環境
10
+
11
+
12
+
13
+ Laravel 7.25
14
+
15
+ PHP 7.3
16
+
17
+
18
+
9
19
  ### 発生している問題・エラーメッセージ
10
20
 
11
21
 
@@ -644,7 +654,7 @@
644
654
 
645
655
 
646
656
 
647
- ここに問題に対してしたことを記載しください。
657
+ デプロイは成功しているようなので、作成したアプリがインストールされているか確認しました
648
658
 
649
659
 
650
660
 
@@ -659,3 +669,9 @@
659
669
  [AWS laravel + laradock をデプロイ](https://laraweb.net/tutorial/6578/)
660
670
 
661
671
  [AWS体験ハンズオン](https://www.dropbox.com/home?preview=AWS%E4%BD%93%E9%A8%93%E3%83%8F%E3%83%B3%E3%82%BA%E3%82%AA%E3%83%B3%E3%80%9C2019_04_02.pdf)
672
+
673
+
674
+
675
+ あまり、同じようなエラー文がネット上になかったため、質問させて頂きました。
676
+
677
+ お忙しい中恐縮ですが、よろしくお願いいたします。

1

コードの追加

2021/02/19 14:45

投稿

Atsushi_5858
Atsushi_5858

スコア6

test CHANGED
File without changes
test CHANGED
@@ -18,9 +18,623 @@
18
18
 
19
19
 
20
20
 
21
+ ```dockercomposeyml
22
+
23
+ version: '3.5'
24
+
25
+
26
+
27
+ networks:
28
+
29
+ frontend:
30
+
31
+ driver: ${NETWORKS_DRIVER}
32
+
33
+ backend:
34
+
35
+ driver: ${NETWORKS_DRIVER}
36
+
37
+
38
+
39
+ volumes:
40
+
41
+ mysql:
42
+
43
+ driver: ${VOLUMES_DRIVER}
44
+
45
+ percona:
46
+
47
+ driver: ${VOLUMES_DRIVER}
48
+
49
+ mssql:
50
+
51
+ driver: ${VOLUMES_DRIVER}
52
+
53
+ postgres:
54
+
55
+ driver: ${VOLUMES_DRIVER}
56
+
57
+ memcached:
58
+
59
+ driver: ${VOLUMES_DRIVER}
60
+
61
+ redis:
62
+
63
+ driver: ${VOLUMES_DRIVER}
64
+
65
+ neo4j:
66
+
67
+ driver: ${VOLUMES_DRIVER}
68
+
69
+ mariadb:
70
+
71
+ driver: ${VOLUMES_DRIVER}
72
+
73
+ mongo:
74
+
75
+ driver: ${VOLUMES_DRIVER}
76
+
77
+ minio:
78
+
79
+ driver: ${VOLUMES_DRIVER}
80
+
81
+ rethinkdb:
82
+
83
+ driver: ${VOLUMES_DRIVER}
84
+
85
+ phpmyadmin:
86
+
87
+ driver: ${VOLUMES_DRIVER}
88
+
89
+ adminer:
90
+
91
+ driver: ${VOLUMES_DRIVER}
92
+
93
+ aerospike:
94
+
95
+ driver: ${VOLUMES_DRIVER}
96
+
97
+ caddy:
98
+
99
+ driver: ${VOLUMES_DRIVER}
100
+
101
+ meilisearch:
102
+
103
+ driver: ${VOLUMES_DRIVER}
104
+
105
+ elasticsearch:
106
+
107
+ driver: ${VOLUMES_DRIVER}
108
+
109
+ mosquitto:
110
+
111
+ driver: ${VOLUMES_DRIVER}
112
+
113
+ confluence:
114
+
115
+ driver: ${VOLUMES_DRIVER}
116
+
117
+ sonarqube:
118
+
119
+ driver: ${VOLUMES_DRIVER}
120
+
121
+ cassandra:
122
+
123
+ driver: ${VOLUMES_DRIVER}
124
+
125
+ graylog:
126
+
127
+ driver: ${VOLUMES_DRIVER}
128
+
129
+ docker-in-docker:
130
+
131
+ driver: ${VOLUMES_DRIVER}
132
+
133
+ react:
134
+
135
+ driver: ${VOLUMES_DRIVER}
136
+
137
+
138
+
139
+ services:
140
+
21
141
  ```
22
142
 
143
+
144
+
23
- ソースコード
145
+ ```envexample
146
+
147
+ ###########################################################
148
+
149
+ ###################### General Setup ######################
150
+
151
+ ###########################################################
152
+
153
+
154
+
155
+ ### Paths #################################################
156
+
157
+
158
+
159
+ # Point to the path of your applications code on your host
160
+
161
+ APP_CODE_PATH_HOST=../
162
+
163
+
164
+
165
+ # Point to where the `APP_CODE_PATH_HOST` should be in the container
166
+
167
+ APP_CODE_PATH_CONTAINER=/var/www
168
+
169
+
170
+
171
+ # You may add flags to the path `:cached`, `:delegated`. When using Docker Sync add `:nocopy`
172
+
173
+ APP_CODE_CONTAINER_FLAG=:cached
174
+
175
+
176
+
177
+ # Choose storage path on your machine. For all storage systems
178
+
179
+ DATA_PATH_HOST=~/.laradock/data
180
+
181
+
182
+
183
+ ### Drivers ################################################
184
+
185
+
186
+
187
+ # All volumes driver
188
+
189
+ VOLUMES_DRIVER=local
190
+
191
+
192
+
193
+ # All Networks driver
194
+
195
+ NETWORKS_DRIVER=bridge
196
+
197
+
198
+
199
+ ### Docker compose files ##################################
200
+
201
+
202
+
203
+ # Select which docker-compose files to include. If using docker-sync append `:docker-compose.sync.yml` at the end
204
+
205
+ COMPOSE_FILE=docker-compose.yml
206
+
207
+
208
+
209
+ # Change the separator from : to ; on Windows
210
+
211
+ COMPOSE_PATH_SEPARATOR=:
212
+
213
+
214
+
215
+ # Define the prefix of container names. This is useful if you have multiple projects that use laradock to have separate containers per project.
216
+
217
+ COMPOSE_PROJECT_NAME=laradock
218
+
219
+
220
+
221
+ ### PHP Version ###########################################
222
+
223
+
224
+
225
+ # Select a PHP version of the Workspace and PHP-FPM containers (Does not apply to HHVM).
226
+
227
+ # Accepted values: 7.4 - 7.3 - 7.2 - 7.1 - 7.0 - 5.6
228
+
229
+ PHP_VERSION=7.3
230
+
231
+
232
+
233
+ ### Phalcon Version ###########################################
234
+
235
+
236
+
237
+ # Select a Phalcon version of the Workspace and PHP-FPM containers (Does not apply to HHVM). Accepted values: 3.4.0+
238
+
239
+ PHALCON_VERSION=4.0.5
240
+
241
+
242
+
243
+ ### PHP Interpreter #######################################
244
+
245
+
246
+
247
+ # Select the PHP Interpreter. Accepted values: hhvm - php-fpm
248
+
249
+ PHP_INTERPRETER=php-fpm
250
+
251
+
252
+
253
+ ### Docker Host IP ########################################
254
+
255
+
256
+
257
+ # Enter your Docker Host IP (will be appended to /etc/hosts). Default is `10.0.75.1`
258
+
259
+ DOCKER_HOST_IP=10.0.75.1
260
+
261
+
262
+
263
+ ### Remote Interpreter ####################################
264
+
265
+
266
+
267
+ # Choose a Remote Interpreter entry matching name. Default is `laradock`
268
+
269
+ PHP_IDE_CONFIG=serverName=laradock
270
+
271
+
272
+
273
+ ### PHP DOWNGRADEOPENSSL TLS AND SECLEVEL #################
274
+
275
+
276
+
277
+ PHP_DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL=false
278
+
279
+
280
+
281
+ ### Windows Path ##########################################
282
+
283
+
284
+
285
+ # A fix for Windows users, to ensure the application path works
286
+
287
+ COMPOSE_CONVERT_WINDOWS_PATHS=1
288
+
289
+
290
+
291
+ ### Environment ###########################################
292
+
293
+
294
+
295
+ # If you need to change the sources (i.e. to China), set CHANGE_SOURCE to true
296
+
297
+ CHANGE_SOURCE=false
298
+
299
+ # Set CHANGE_SOURCE and UBUNTU_SOURCE option if you want to change the Ubuntu system sources.list file.
300
+
301
+ UBUNTU_SOURCE=aliyun
302
+
303
+ # Set ORACLE INSTANT_CLIENT_MIRROR option if you want to use Intranet improve download, you can download files first
304
+
305
+ ORACLE_INSTANT_CLIENT_MIRROR=https://github.com/diogomascarenha/oracle-instantclient/raw/master/
306
+
307
+
308
+
309
+ ### Docker Sync ###########################################
310
+
311
+
312
+
313
+ # If you are using Docker Sync. For `osx` use 'native_osx', for `windows` use 'unison', for `linux` docker-sync is not required
314
+
315
+ DOCKER_SYNC_STRATEGY=native_osx
316
+
317
+
318
+
319
+ ### Install Oh My ZSH! ####################################
320
+
321
+
322
+
323
+ # If you want to use "Oh My ZSH!" with Laravel autocomplete plugin, set SHELL_OH_MY_ZSH to true.
324
+
325
+
326
+
327
+ SHELL_OH_MY_ZSH=false
328
+
329
+ SHELL_OH_MY_ZSH_AUTOSUGESTIONS=false
330
+
331
+ SHELL_OH_MY_ZSH_ALIASES=false
332
+
333
+
334
+
335
+ ###########################################################
336
+
337
+ ################ Containers Customization #################
338
+
339
+ ###########################################################
340
+
341
+
342
+
343
+ ### WORKSPACE #############################################
344
+
345
+
346
+
347
+ WORKSPACE_BASE_IMAGE_TAG_PREFIX=latest
348
+
349
+ WORKSPACE_COMPOSER_GLOBAL_INSTALL=true
350
+
351
+ WORKSPACE_COMPOSER_AUTH=false
352
+
353
+ WORKSPACE_COMPOSER_REPO_PACKAGIST=
354
+
355
+ WORKSPACE_NVM_NODEJS_ORG_MIRROR=
356
+
357
+ WORKSPACE_INSTALL_NODE=true
358
+
359
+ WORKSPACE_NODE_VERSION=node
360
+
361
+ WORKSPACE_NPM_REGISTRY=
362
+
363
+ WORKSPACE_NPM_FETCH_RETRIES=2
364
+
365
+ WORKSPACE_NPM_FETCH_RETRY_FACTOR=10
366
+
367
+ WORKSPACE_NPM_FETCH_RETRY_MINTIMEOUT=10000
368
+
369
+ WORKSPACE_NPM_FETCH_RETRY_MAXTIMEOUT=60000
370
+
371
+ WORKSPACE_INSTALL_PNPM=false
372
+
373
+ WORKSPACE_INSTALL_YARN=true
374
+
375
+ WORKSPACE_YARN_VERSION=latest
376
+
377
+ WORKSPACE_INSTALL_NPM_GULP=true
378
+
379
+ WORKSPACE_INSTALL_NPM_BOWER=false
380
+
381
+ WORKSPACE_INSTALL_NPM_VUE_CLI=true
382
+
383
+ WORKSPACE_INSTALL_NPM_ANGULAR_CLI=false
384
+
385
+ WORKSPACE_INSTALL_PHPREDIS=true
386
+
387
+ WORKSPACE_INSTALL_WORKSPACE_SSH=false
388
+
389
+ WORKSPACE_INSTALL_SUBVERSION=false
390
+
391
+ WORKSPACE_INSTALL_BZ2=false
392
+
393
+ WORKSPACE_INSTALL_GMP=false
394
+
395
+ WORKSPACE_INSTALL_XDEBUG=false
396
+
397
+ WORKSPACE_INSTALL_PCOV=false
398
+
399
+ WORKSPACE_INSTALL_PHPDBG=false
400
+
401
+ WORKSPACE_INSTALL_SSH2=false
402
+
403
+ WORKSPACE_INSTALL_LDAP=false
404
+
405
+ WORKSPACE_INSTALL_SOAP=false
406
+
407
+ WORKSPACE_INSTALL_XSL=false
408
+
409
+ WORKSPACE_INSTALL_SMB=false
410
+
411
+ WORKSPACE_INSTALL_IMAP=false
412
+
413
+ WORKSPACE_INSTALL_MONGO=false
414
+
415
+ WORKSPACE_INSTALL_AMQP=false
416
+
417
+ WORKSPACE_INSTALL_CASSANDRA=false
418
+
419
+ WORKSPACE_INSTALL_GEARMAN=false
420
+
421
+ WORKSPACE_INSTALL_MSSQL=false
422
+
423
+ WORKSPACE_INSTALL_DRUSH=false
424
+
425
+ WORKSPACE_DRUSH_VERSION=8.1.17
426
+
427
+ WORKSPACE_INSTALL_DRUPAL_CONSOLE=false
428
+
429
+ WORKSPACE_INSTALL_WP_CLI=false
430
+
431
+ WORKSPACE_INSTALL_AEROSPIKE=false
432
+
433
+ WORKSPACE_INSTALL_OCI8=false
434
+
435
+ WORKSPACE_INSTALL_V8JS=false
436
+
437
+ WORKSPACE_INSTALL_LARAVEL_ENVOY=false
438
+
439
+ WORKSPACE_INSTALL_LARAVEL_INSTALLER=false
440
+
441
+ WORKSPACE_INSTALL_DEPLOYER=false
442
+
443
+ WORKSPACE_INSTALL_PRESTISSIMO=false
444
+
445
+ WORKSPACE_INSTALL_LINUXBREW=false
446
+
447
+ WORKSPACE_INSTALL_MC=false
448
+
449
+
450
+
451
+ ### PHP_FPM_NEW_RELIC #####################################
452
+
453
+
454
+
455
+ PHP_FPM_NEW_RELIC=false
456
+
457
+ PHP_FPM_NEW_RELIC_KEY=0000
458
+
459
+ PHP_FPM_NEW_RELIC_APP_NAME=app_name
460
+
461
+
462
+
463
+ ### NGINX #################################################
464
+
465
+
466
+
467
+ NGINX_HOST_HTTP_PORT=80
468
+
469
+ NGINX_HOST_HTTPS_PORT=443
470
+
471
+ NGINX_HOST_LOG_PATH=./logs/nginx/
472
+
473
+ NGINX_SITES_PATH=./nginx/sites/
474
+
475
+ NGINX_PHP_UPSTREAM_CONTAINER=php-fpm
476
+
477
+ NGINX_PHP_UPSTREAM_PORT=9000
478
+
479
+ NGINX_SSL_PATH=./nginx/ssl/
480
+
481
+
482
+
483
+
484
+
485
+ ### APACHE ################################################
486
+
487
+
488
+
489
+ APACHE_HOST_HTTP_PORT=80
490
+
491
+ APACHE_HOST_HTTPS_PORT=443
492
+
493
+ APACHE_HOST_LOG_PATH=./logs/apache2
494
+
495
+ APACHE_SITES_PATH=./apache2/sites
496
+
497
+ APACHE_PHP_UPSTREAM_CONTAINER=php-fpm
498
+
499
+ APACHE_PHP_UPSTREAM_PORT=9000
500
+
501
+ APACHE_PHP_UPSTREAM_TIMEOUT=60
502
+
503
+ APACHE_DOCUMENT_ROOT=/var/www/
504
+
505
+ APACHE_INSTALL_HTTP2=false
506
+
507
+
508
+
509
+ ### MYSQL #################################################
510
+
511
+
512
+
513
+ MYSQL_VERSION=latest
514
+
515
+ MYSQL_DATABASE=default
516
+
517
+ MYSQL_USER=default
518
+
519
+ MYSQL_PASSWORD=secret
520
+
521
+ MYSQL_PORT=3306
522
+
523
+ MYSQL_ROOT_PASSWORD=root
524
+
525
+ MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d
526
+
527
+
528
+
529
+ ### MSSQL #################################################
530
+
531
+
532
+
533
+ MSSQL_DATABASE=master
534
+
535
+ MSSQL_PASSWORD="yourStrong(!)Password"
536
+
537
+ MSSQL_PORT=1433
538
+
539
+
540
+
541
+ ### MARIADB ###############################################
542
+
543
+
544
+
545
+ MARIADB_VERSION=latest
546
+
547
+ MARIADB_DATABASE=default
548
+
549
+ MARIADB_USER=default
550
+
551
+ MARIADB_PASSWORD=secret
552
+
553
+ MARIADB_PORT=3306
554
+
555
+ MARIADB_ROOT_PASSWORD=root
556
+
557
+ MARIADB_ENTRYPOINT_INITDB=./mariadb/docker-entrypoint-initdb.d
558
+
559
+
560
+
561
+ ### SQS ##############################################
562
+
563
+
564
+
565
+ SQS_NODE_HOST_PORT=9324
566
+
567
+ SQS_MANAGEMENT_HTTP_HOST_PORT=9325
568
+
569
+
570
+
571
+ ### MEILISEARCH ###########################################
572
+
573
+
574
+
575
+ MEILISEARCH_HOST_PORT=7700
576
+
577
+ MEILISEARCH_KEY=masterkey
578
+
579
+
580
+
581
+ ### ELASTICSEARCH #########################################
582
+
583
+
584
+
585
+ ELASTICSEARCH_HOST_HTTP_PORT=9200
586
+
587
+ ELASTICSEARCH_HOST_TRANSPORT_PORT=9300
588
+
589
+
590
+
591
+ ### SELENIUM ##############################################
592
+
593
+
594
+
595
+ SELENIUM_PORT=4444
596
+
597
+
598
+
599
+ ### MINIO #################################################
600
+
601
+
602
+
603
+ MINIO_PORT=9000
604
+
605
+
606
+
607
+ ### PHP MY ADMIN ##########################################
608
+
609
+
610
+
611
+ # Accepted values: mariadb - mysql
612
+
613
+
614
+
615
+ PMA_DB_ENGINE=mysql
616
+
617
+
618
+
619
+ # Credentials/Port:
620
+
621
+
622
+
623
+ PMA_USER=default
624
+
625
+ PMA_PASSWORD=secret
626
+
627
+ PMA_ROOT_PASSWORD=secret
628
+
629
+ PMA_PORT=8081
630
+
631
+ PMA_MAX_EXECUTION_TIME=600
632
+
633
+ PMA_MEMORY_LIMIT=256M
634
+
635
+ PMA_UPLOAD_LIMIT=2G
636
+
637
+
24
638
 
25
639
  ```
26
640