-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
46 lines (43 loc) · 1.04 KB
/
docker-compose.test.yml
File metadata and controls
46 lines (43 loc) · 1.04 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
version: '3.8'
services:
test-postgres:
container_name: test-postgres
image: ankane/pgvector:latest
ports:
- "5434:5432"
environment:
SPRING_PROFILES_ACTIVE: test-int
POSTGRES_DB: taste_ci_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: test1234
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres -d taste_ci_test" ]
interval: 5s
timeout: 5s
retries: 5
test-redis:
image: redis:7
container_name: test-redis
ports:
- "6380:6379"
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 5s
timeout: 5s
retries: 5
test-rabbitmq:
image: rabbitmq:3-management
container_name: test-rabbitmq
ports:
- "5673:5672"
- "15673:15672"
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
healthcheck:
test: [ "CMD", "rabbitmqctl", "status" ]
interval: 5s
timeout: 10s
retries: 5