We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72216b9 commit e41fc94Copy full SHA for e41fc94
1 file changed
scripts/docker-compose.test.yml
@@ -0,0 +1,29 @@
1
+services:
2
+ postgres:
3
+ image: postgres:15-alpine
4
+ environment:
5
+ POSTGRES_USER: a2a
6
+ POSTGRES_PASSWORD: a2a_password
7
+ POSTGRES_DB: a2a_test
8
+ ports:
9
+ - "5432:5432"
10
+ healthcheck:
11
+ test: ["CMD-SHELL", "pg_isready"]
12
+ interval: 10s
13
+ timeout: 5s
14
+ retries: 5
15
+
16
+ mysql:
17
+ image: mysql:8.0
18
19
+ MYSQL_ROOT_PASSWORD: root
20
+ MYSQL_DATABASE: a2a_test
21
+ MYSQL_USER: a2a
22
+ MYSQL_PASSWORD: a2a_password
23
24
+ - "3306:3306"
25
26
+ test: ["CMD-SHELL", "mysqladmin ping -h localhost -u root -proot"]
27
28
29
0 commit comments