forked from vas3k/TaxHacker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.coolify.yml
More file actions
63 lines (61 loc) · 1.67 KB
/
docker-compose.coolify.yml
File metadata and controls
63 lines (61 loc) · 1.67 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
52
53
54
55
56
57
58
59
60
61
62
63
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "7331:7331"
environment:
- NODE_ENV=production
- PORT=7331
- SELF_HOSTED_MODE=true
- DISABLE_SIGNUP=true
- UPLOAD_PATH=/app/data/uploads
- DATABASE_URL=postgresql://taxhacker:taxhacker@taxhacker-db:5432/taxhacker
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET}
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
- GOOGLE_MODEL_NAME=${GOOGLE_MODEL_NAME:-gemini-2.5-flash}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- OPENAI_MODEL_NAME=${OPENAI_MODEL_NAME:-gpt-4o-mini}
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY:-}
- OPENROUTER_MODEL_NAME=${OPENROUTER_MODEL_NAME:-google/gemini-2.5-flash}
volumes:
- taxhacker-data:/app/data
restart: unless-stopped
depends_on:
taxhacker-db:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:7331/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
logging:
driver: "local"
options:
max-size: "100M"
max-file: "3"
taxhacker-db:
image: pgvector/pgvector:pg17
environment:
- POSTGRES_USER=taxhacker
- POSTGRES_PASSWORD=taxhacker
- POSTGRES_DB=taxhacker
volumes:
- taxhacker-pgdata:/var/lib/postgresql/data
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U taxhacker -d taxhacker"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
logging:
driver: "local"
options:
max-size: "50M"
max-file: "2"
volumes:
taxhacker-data:
taxhacker-pgdata: