Skip to content

Commit ed68e93

Browse files
committed
Speed up local platform tests by ramfs
1 parent d095b26 commit ed68e93

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Platform/docker/docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ services:
99
environment:
1010
MYSQL_ROOT_PASSWORD: secret
1111
MYSQL_DATABASE: foo
12+
volumes:
13+
-
14+
type: tmpfs
15+
target: /var/lib/mysql
1216

1317
pgsql:
1418
image: postgres:13
@@ -18,6 +22,10 @@ services:
1822
POSTGRES_PASSWORD: secret
1923
POSTGRES_USER: root
2024
POSTGRES_DB: foo
25+
volumes:
26+
-
27+
type: tmpfs
28+
target: /var/lib/postgresql/data
2129

2230
php80:
2331
depends_on: [mysql, pgsql]

0 commit comments

Comments
 (0)