forked from allgpt-co/QuickVoice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
51 lines (47 loc) · 1.24 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
51 lines (47 loc) · 1.24 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
47
48
49
50
51
name: quickvoice-dev
services:
postgres:
image: postgres:16
container_name: quickvoice-dev-postgres
restart: unless-stopped
# Dev-only credentials; keep the port bound to localhost.
environment:
POSTGRES_USER: quickvoice
POSTGRES_PASSWORD: quickvoice
POSTGRES_DB: quickvoice
ports:
- "127.0.0.1:${POSTGRES_PORT:-5432}:5432"
volumes:
- quickvoice_postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U quickvoice -d quickvoice"]
interval: 5s
timeout: 5s
retries: 20
start_period: 5s
redis:
image: redis:7
container_name: quickvoice-dev-redis
restart: unless-stopped
command: ["redis-server", "--appendonly", "yes"]
ports:
- "127.0.0.1:${REDIS_PORT:-6379}:6379"
volumes:
- quickvoice_redis_data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 20
start_period: 5s
mailpit:
image: axllent/mailpit:v1.23
container_name: quickvoice-dev-mailpit
restart: unless-stopped
profiles: ["mail"]
ports:
- "127.0.0.1:1025:1025"
- "127.0.0.1:8025:8025"
volumes:
quickvoice_postgres_data:
quickvoice_redis_data: