-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (38 loc) · 1.12 KB
/
docker-compose.yml
File metadata and controls
39 lines (38 loc) · 1.12 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
name: solis
services:
web:
image: ghcr.io/rector-labs/solis:latest
container_name: solis-web
restart: unless-stopped
ports:
- "8001:3001"
environment:
- NODE_ENV=production
- REPORTS_DIR=/app/reports
- DATA_DIR=/app/data
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
- QUERY_API_MODEL=${QUERY_API_MODEL}
- RESEND_API_KEY=${RESEND_API_KEY}
- DIGEST_FROM_EMAIL=${DIGEST_FROM_EMAIL}
- DIGEST_UNSUBSCRIBE_SECRET=${DIGEST_UNSUBSCRIBE_SECRET}
- DIGEST_API_SECRET=${DIGEST_API_SECRET}
- ENABLE_X402=${ENABLE_X402}
- X402_RECEIVER_ADDRESS=${X402_RECEIVER_ADDRESS}
- X402_PRICE_CENTS=${X402_PRICE_CENTS}
volumes:
- /home/solis/solis/reports:/app/reports:ro
- /home/solis/solis/data:/app/data:rw
deploy:
resources:
limits:
memory: 1G
cpus: '1.5'
reservations:
memory: 256M
cpus: '0.5'
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3001/"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s