forked from dailydotdev/daily-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 774 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 774 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
volumes:
db:
redis:
search:
services:
db:
image: postgres:17-alpine
environment:
- POSTGRES_MULTIPLE_DATABASES=api,api_test
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=12345
volumes:
- ./pg-init-scripts:/docker-entrypoint-initdb.d
- db:/var/lib/postgresql/data
ports:
- "5432:5432"
command:
- "postgres"
- "-c"
- "wal_level=logical"
redis:
image: redis/redis-stack:7.2.0-v13
environment:
- REDIS_ARGS=--appendonly yes
volumes:
- redis:/data
ports:
- "6379:6379"
search:
image: getmeili/meilisearch:v1.9.0
restart: always
environment:
MEILI_MASTER_KEY: topsecret
volumes:
- search:/data.ms
ports:
- '7700:7700'