-
Notifications
You must be signed in to change notification settings - Fork 361
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (32 loc) · 878 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (32 loc) · 878 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
version: '3'
services:
typesense:
image: 'typesense/typesense:30.1'
ports:
- '8108:8108'
environment:
TYPESENSE_DATA_DIR: '/typesense-data'
TYPESENSE_API_KEY: 'xyz'
TYPESENSE_ENABLE_CORS: true
volumes:
- 'typesense-data:/typesense-data'
healthcheck:
test:
- CMD
- wget
- '--no-verbose'
- '--spider'
- 'http://localhost:8108/health'
retries: 5
timeout: 7s
meilisearch:
image: 'getmeili/meilisearch:latest'
ports:
- '7700:7700'
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"]
retries: 3
timeout: 5s
volumes:
typesense-data:
driver: local