LockedIn / docker-compose.yml
JermaineAI's picture
deployed progress
2818f92
raw
history blame contribute delete
630 Bytes
services:
lockedin-ai-service:
build:
context: .
dockerfile: Dockerfile
image: lockedin-ai-service:production
env_file:
- .env
environment:
ENVIRONMENT: production
PORT: 7860
SQLITE_DB_PATH: /data/lockedin_cache.db
ports:
- "7860:7860"
volumes:
- lockedin-cache:/data
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:7860/health', timeout=5).read()"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
volumes:
lockedin-cache: