-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
57 lines (52 loc) · 1.2 KB
/
docker-compose.test.yml
File metadata and controls
57 lines (52 loc) · 1.2 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
services:
test-db:
image: mysql:8.4
command: --mysql-native-password=ON
environment:
- MYSQL_DATABASE=${DB_NAME}
- MYSQL_ROOT_PASSWORD=${DB_PASS}
restart: always
healthcheck:
test: ['CMD', 'mysqladmin', 'ping', '-h', '127.0.0.1']
interval: 2s
timeout: 2s
retries: 10
ports:
- ${DB_PORT}:3306
volumes:
- test-data:/var/lib/mysql
networks:
- test-network
test-redis:
image: arm64v8/redis:8-alpine
command: redis-server --requirepass ${REDIS_PASSWORD}
restart: unless-stopped
ports:
- ${REDIS_PORT}:6379
depends_on:
test-db:
condition: service_healthy
networks:
- test-network
test-clickhouse:
image: clickhouse/clickhouse-server:24.12-alpine
environment:
CLICKHOUSE_USER: ${CLICKHOUSE_USER}
CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD}
CLICKHOUSE_DB: ${CLICKHOUSE_DB}
restart: always
ports:
- ${CLICKHOUSE_PORT}:8123
networks:
- test-network
stripe-api:
image: stripe/stripe-mock:latest-arm64
ports:
- 12111:12111
- 12112:12112
networks:
- test-network
volumes:
test-data:
networks:
test-network: