Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitda8feea

Browse files
author
dmitriy
committed
fixed issue with .env for CI
1 parent938fbc5 commitda8feea

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

‎app/Console/Commands/DbWaitDatabase.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public function handle(DB $db)
3737
$db::select('SHOW TABLES');
3838
return0;
3939
}catch (QueryException$e) {
40-
echo$e->getMessage();
4140
sleep(self::WAIT_SLEEP_TIME);
4241
continue;
4342
}

‎docker-compose-ci.yml‎

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,29 @@ services:
55
laravel:
66
image:laravel:latest
77
build:
8-
context:./
8+
context:.
99
dockerfile:./docker/development/Dockerfile
1010
container_name:laravel
11+
expose:
12+
-"80"
13+
-"443"
1114
ports:
12-
-"8084:80"
13-
links:
15+
-"80:80"
16+
-"443:443"
17+
depends_on:
1418
-mysql
1519

1620
mysql:
17-
image:mysql:5.7
21+
image:mysql:8.0
1822
container_name:mysql
19-
#command: --default-authentication-plugin=mysql_native_password
23+
command:--default-authentication-plugin=mysql_native_password
2024
environment:
2125
-MYSQL_ROOT_PASSWORD=secret
2226
-MYSQL_DATABASE=laravel
27+
expose:
28+
-"33061"
2329
ports:
24-
-"33071:3306"
30+
-"33061:3306"
2531
volumes:
2632
-./storage/mysql-data:/var/lib/mysql
2733
-./docker/development/init-db.sql:/docker-entrypoint-initdb.d/init-db.sql

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp