Try to deploy Docker image app
hi im trying to deploy this app as a cctv server
https://github.com/bluenviron/mediamtx?tab=readme-ov-file#docker-image
(i also add custom command to enable some config in the app)
this is how i setup in my dokploy like in the images i attach.
the problem is the container is not running, it only created it.
Is there any wrong step ?
GitHub
GitHub - bluenviron/mediamtx: Ready-to-use SRT / WebRTC / RTSP / RT...
Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams. - bluenviron/mediamtx



18 Replies
Hello , I will try to install later and will tell you if was working
thanks, can try this command to enable the API , and access it through port 9997
docker run --rm -it -e MTX_API=yes -e MTX_APIADDRESS=0.0.0.0:9997 --name cctv_server -d bluenviron/mediamtx:latest

In my case is working
Put this command on NixPacks
In env
do i need to expose port to access that API ? because i still cant access port 9997
Yes
And if you expose port need to rebuild project
i already add expose ports, domain and rebuild the project, but i still cant access the API




Logs can I see?
in the logs i also didnt see the api running in 9997

Deployment logs ?

Enviroment?
oh nvm, i wrong set the env --,
btw thanks for the fast response 😄

so how can i remove redundant container, ? do i need to enable daily clean up ?
Yes
ok thanks again
You are Welcome