-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose.yaml
More file actions
48 lines (44 loc) 路 887 Bytes
/
Copy pathcompose.yaml
File metadata and controls
48 lines (44 loc) 路 887 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
40
41
42
43
44
45
46
47
48
services:
nats:
image: nats:2.11
ports:
- "4223:4222"
- "6223:6222"
- "8223:8222"
dragonfly:
image: docker.dragonflydb.io/dragonflydb/dragonfly:latest
command: --maxmemory=4g
ports:
- "6379:6379"
ulimits:
memlock:
soft: -1
hard: -1
typesense:
image: typesense/typesense:28.0
ports:
- "8108:8108"
command: >
--data-dir /data
--api-key=xyz
--enable-cors
volumes:
- typesense_data:/data
db:
image: postgres:18
ports:
- '5433:5432'
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mysecretpassword
POSTGRES_DB: rocksky
volumes:
- pgdata:/var/lib/postgresql/18/docker
healthcheck:
test: ['CMD', 'pg_isready']
interval: 10s
timeout: 5s
retries: 5
volumes:
pgdata:
typesense_data: