I need to deploy a docker image where nginx+rtmp module run. I can deploy it but I I’m not sure it’s running and when I try to connect to it, connection fails.
This is my fly.toml file
app = "rtmp"
primary_region = "ams"
[build]
dockerfile = "Dockerfile.rtmp"
[[services]]
internal_port = 1935
protocol = "tcp"
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
[[services.ports]]
handlers = []
port = 1935
[[services.tcp_checks]]
grace_period = "1s"
interval = "1m"
restart_limit = 0
timeout = "2s"
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
My docker file is basically something on this line
FROM tiangolo/nginx-rtmp:latest
...
That image runs nginx with the RTMP module enabled. When I deploy it the machines appears as paused.