datarhei / restreamer

The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
https://docs.datarhei.com/restreamer/
Apache License 2.0
3.9k stars 445 forks source link

i want to create a core api and restreamer ui bundle. #830

Open alfaputra27 opened 3 weeks ago

alfaputra27 commented 3 weeks ago

hello sir, i need help.

i want to create a core api and restreamer ui bundle. how can i use the modified ui to be like a restreamer bundle that can be run at once?

ioppermann commented 3 weeks ago

In your modified clone of the UI repo, build the Docker image, e.g.: docker build -t customui:latest .

Then you clone the github.com/datarhei/restreamer repo and build the bundle with you modified UI: docker build --build-arg RESTREAMER_UI_IMAGE=customui:latest -t mybundle:latest .

The you can run your own bundle with docker run ... mybundle:latest

alfaputra27 commented 2 weeks ago

I tried to add and modify the core application. But why is it that every time I build the core image the docker code that I have edited is lost?

alfaputra27 commented 2 weeks ago

i have tried this

git clone git@github.com:datarhei/core.git cd core

docker build -t myappcore . docker build \ -f Dockerfile.bundle \ --build-arg CORE_IMAGE=myappcore \ --build-arg FFMPEG_IMAGE=datarhei/base:alpine-ffmpeg-latest \ -t core-bundle:dev .

The result is that the core code that I have edited is not there. My additional API is not there. What can I do sir, Please help inform immediately

thank you