version: "3.9"
services:
opentalk2html-notmd:
build:
context: .
dockerfile: Dockerfile
ports:
- "127.0.0.1:3000:3000"
environment:
- TRANSPORT=sse
- PORT=3000
- HOST=0.0.0.0
restart: unless-stopped
healthcheck:
test: ["CMD", "node", "-e", "const h=require('http');h.get('http://localhost:3000/health',r=>{let d='';r.on('data',c=>d+=c);r.on('end',()=>process.exit(d.includes('\"ok\"')?0:1))}).on('error',()=>process.exit(1))"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s