-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.yml
More file actions
39 lines (37 loc) · 859 Bytes
/
test.yml
File metadata and controls
39 lines (37 loc) · 859 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
33
34
35
36
37
38
39
services:
test-mysql:
container_name: test-mysql
image: mysql:8.4.5
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: kokomen-test
TZ: Asia/Seoul
LANG: C.UTF-8
MYSQL_INIT_CONNECT: "SET NAMES utf8mb4"
command:
[
"mysqld",
"--character-set-server=utf8mb4",
"--collation-server=utf8mb4_general_ci"
]
ports:
- 13306:3306
healthcheck:
test: [ "CMD", "mysqladmin", "ping", "-h", "localhost" ]
interval: 5s
timeout: 3s
retries: 5
test-redis:
container_name: test-redis
image: valkey/valkey:8.0.1
ports:
- 16379:6379
volumes:
- kokomen-test-redis-data:/data
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 5s
timeout: 3s
retries: 5
volumes:
kokomen-test-redis-data: