File size: 633 Bytes
a9ec4f6
c79824c
a9ec4f6
c79824c
24ccd4e
c79824c
4cc66a9
a9ec4f6
24ccd4e
 
c79824c
 
4cc66a9
a9ec4f6
 
 
 
c79824c
 
a9ec4f6
 
4cc66a9
a9ec4f6
 
 
 
 
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

services:
  finryver:
    build: .
    container_name: finryver
    ports:
      - "7860:7860"
    volumes:
      # Bind mount entire project for live code edits (includes data & config)
      - .:/app
    environment:
      - PYTHONUNBUFFERED=1
      - PORT=7860
      # Default agent settings (override with .env file)
      - AGENT_MODEL=gpt-3.5-turbo
      - AGENT_TEMPERATURE=0.1
      - AGENT_MAX_TOKENS=2000
    env_file:
      - .env
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:7860/docs"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s