context-hub/docker-compose.yml

29 lines
574 B
YAML

version: '3.8'
services:
context-hub:
build: .
container_name: context-hub
restart: unless-stopped
ports:
- "3093:8000"
volumes:
- ./data:/app/data
- ./templates:/app/templates
- ./static:/app/static
- ./app:/app/app
env_file:
- .env
networks:
- n8n
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
n8n:
external: true