forked from waooAI/waoowaoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
32 lines (31 loc) · 827 Bytes
/
Copy pathdocker-compose.test.yml
File metadata and controls
32 lines (31 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
mysql:
image: mysql:8.0
container_name: waoowaoo-test-mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: waoowaoo_test
MYSQL_ROOT_HOST: "%"
ports:
- "3307:3306"
command:
- "--default-authentication-plugin=mysql_native_password"
- "--sql_mode=STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION"
healthcheck:
test: ["CMD-SHELL", "mysqladmin ping -h 127.0.0.1 -uroot -proot"]
interval: 5s
timeout: 5s
retries: 30
start_period: 15s
redis:
image: redis:7-alpine
container_name: waoowaoo-test-redis
ports:
- "6380:6379"
command: ["redis-server", "--appendonly", "no"]
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 30
start_period: 5s