File size: 653 Bytes
9f72602
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
name: business-gemini-new

services:
  app:
    build: .
    container_name: business-gemini-new
    restart: unless-stopped
    ports:
      - "8000:8000"
    volumes:
      - ./business_gemini_session.json:/app/business_gemini_session.json
      - ./index.html:/app/index.html
      - ./gemini.py:/app/gemini.py
    environment:
      - PYTHONUNBUFFERED=1
    healthcheck:
      test: [ "CMD", "python", "-c", "import requests; requests.get('http://localhost:8000/health', timeout=5)" ]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 5s
    networks:
      - gemini-network

networks:
  gemini-network:
    driver: bridge