How to run the server
π Join our Skool community for support, premium content and more!
Be part of a growing community and help us create more content like this
Windows
- Install
Docker Desktopfrom the Windows Store - Install
wsl2if it's not already installed - Start
Docker Desktop - Click on
Terminalin the bottom right corner - Enter the following command to start the server
docker run -it --rm --name narrated-story-creator -p 8000:8000 gyoridavid/narrated-story-creator:latest
Now, you can open http://localhost:8000/health as a smoke-test.
You can use http://localhost:8000 as the server configuration inside n8n, however, if you are running n8n in a Docker container you need to use the http://host.docker.internal:8000 server address.
MacOS, Linux
Open a terminal, and run the docker command
docker run -it --rm --name narrated-story-creator -p 8000:8000 gyoridavid/narrated-story-creator:latest
Now, you can open http://localhost:8000/health as a smoke-test.
You can use http://localhost:8000 as the server configuration inside n8n, however, if you are running n8n in a Docker container you need to use the http://host.docker.internal:8000 server address.
Nvidia / Cuda support
If you have an NVidia GPU and the CUDA drivers are installed, you can unlock full GPU support for the whole video generation. Start the container with the following command:
docker run --rm --gpus=all -e NVIDIA_VISIBLE_DEVICES=all -e NVIDIA_DRIVER_CAPABILITIES=all -p 8000:8000 -it gyoridavid/narrated-story-creator:latest-cuda
Now, you can open http://localhost:8000/health as a smoke-test.
You can use http://localhost:8000 as the server configuration inside n8n, however, if you are running n8n in a Docker container you need to use the http://host.docker.internal:8000 server address.
What if I'm runnign n8n in the cloud?
- If you can run the server on the same VPS, you can just use either
http://localhost:8000orhttp://host.docker.internal:8000depending on your situation. - If you are running n8n cloud, you should use the address of the VPS - and the right port. Server management is out of the scope if this document.
- You can use localtunnel to proxy your locally running server to the cloud.