You can run Membrane from the command line. The only prerequisite is having Java installed. Please refer to the getting started guide for detailed instructions.
Membrane can be deployed and run as a Docker container.
Docker automates the deployment of applications in containers. You create a Docker image once, which contains all the necessary information and software required by your application. Then, you can deploy as many containers as you need.
- Set up the Docker-Engine
Docker is available in various repositories. Just have a look at Install Docker Engine and install your Docker Engine.
- Create a Membrane Docker Image
Below is an example of a Membrane Dockerfile. You can also take a look at
FROM anapsix/alpine-java RUN apk update && apk add curl wget openssl RUN curl -s https://api.github.com/repos/membrane/service-proxy/releases | grep browser_download_url | head -n 1 | cut -d '"' -f 4 | xargs wget -P /opt RUN cd /opt && \ ls -la && \ unzip *.zip && \ rm *.zip && \ ln -s membrane-service-proxy-* membrane COPY proxies.xml /opt/membrane/conf/ EXPOSE 8000-9900 ENTRYPOINT ["/opt/membrane/service-proxy.sh"]