02 / docker-compose.yml
22333Misaka's picture
Upload 6 files
9f72602 verified
raw
history blame contribute delete
653 Bytes
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