-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
41 lines (37 loc) · 939 Bytes
/
docker-compose.example.yml
File metadata and controls
41 lines (37 loc) · 939 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
services:
reader:
build:
context: .
dockerfile: Dockerfile
ports:
- "444:4444"
volumes:
- ./config.yml:/app/config/config.yml
environment:
# Server configuration
- READER_PORT=4444
- READER_POOL_SIZE=5
# Browser configuration
- READER_CHROME_PATH=/usr/bin/chromium
- READER_BROWSER_TIMEOUT=30
- READER_MAX_RETRIES=3
# AI configuration
- READER_AI_ENABLED=true
- READER_AI_ENDPOINT=https://ai.bitop.dev/v1
- READER_AI_KEY=your-api-key-here
- READER_AI_MODEL=vltr-mistral-small
# Logging configuration
- READER_LOG_LEVEL=info
- READER_LOG_JSON=true
- READER_LOG_CALLER=true
# Timezone
- TZ=America/New_York
restart: unless-stopped
shm_size: '2gb'
privileged: true
deploy:
resources:
limits:
memory: 1G
reservations:
memory: 512M