-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
36 lines (34 loc) · 977 Bytes
/
docker-compose.yml
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
services:
typesense:
image: typesense/typesense:27.1
ports:
- ${FORWARD_TYPESENSE_PORT:-8108}:8108
environment:
TYPESENSE_DATA_DIR: ${TYPESENSE_DATA_DIR:-/typesense-data}
TYPESENSE_API_KEY: ${TYPESENSE_API_KEY:-xyz}
TYPESENSE_ENABLE_CORS: ${TYPESENSE_ENABLE_CORS:-true}
volumes:
- sail-typesense:/typesense-data
healthcheck:
test:
- CMD
- wget
- '--no-verbose'
- '--spider'
- 'http://localhost:8108/health'
retries: 5
timeout: 7s
soketi:
image: quay.io/soketi/soketi:latest-16-alpine
environment:
SOKETI_DEBUG: ${SOKETI_DEBUG:-1}
SOKETI_METRICS_SERVER_PORT: 9601
SOKETI_DEFAULT_APP_ID: ${PUSHER_APP_ID}
SOKETI_DEFAULT_APP_KEY: ${PUSHER_APP_KEY}
SOKETI_DEFAULT_APP_SECRET: ${PUSHER_APP_SECRET}
ports:
- ${PUSHER_PORT:-6001}:6001
- ${PUSHER_METRICS_PORT:-9601}:9601
volumes:
sail-typesense:
driver: local