Files
5g-iana-uc6-aio/config/client_config.Dockerfile
Tuan-Dat Tran 931652c494 Initial commit
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-12-31 13:36:22 +01:00

10 lines
525 B
Docker

FROM curlimages/curl:latest
# Use curl to send POST and GET requests
CMD curl -X GET -H "Content-Type: application/json" \
-d '{"node_ip": ["http://172.17.0.1:41002/upload"], "stream_ip": "172.17.0.1", "stream_url": "rtmp://172.17.0.1:31000/live/test"}' \
http://172.17.0.1:45000/demo/start && \
curl -X GET -H "Content-Type: application/json" \
-d '{"node_ip": ["http://172.17.0.1:51002/upload"], "stream_ip": "172.17.0.1", "stream_url": "rtmp://172.17.0.1:31000/live/test"}' \
http://172.17.0.1:55000/demo/start