Pbuddy0's picture
Set up CompreFace with port forwarding
f5a37ad
Raw History Blame Contribute Delete
271 Bytes
#!/bin/bash
set -e
# Forward HF Space port (8000) to CompreFace's internal port (80)
socat TCP-LISTEN:8000,fork,reuseaddr TCP:127.0.0.1:80 &
# Start supervisord (CompreFace process manager) in foreground
exec /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf