Skip to content

With Docker

You can evaluate the program with:

docker run -it --rm -p 3000:3000 ddvk/rmfakecloud

To setup it for normal ussage, you'll use need to setup a volume to store user configuration and documents:

docker run -it --rm -p 3000:3000 -v ./data:/data -e JWT_SECRET_KEY='something' ddvk/rmfakecloud

Explore others configuration variables on the dedicated page.

docker-compose file

version: "3"
services:
  rmfakecloud:
    image: ddvk/rmfakecloud
    container_name: rmfakecloud
    restart: unless-stopped
    env_file:
      - env
    volumes:
      - ./data:/data

In this example, an external file named env is provided that contains the environment variables. Any of the ways to set environment variables for docker compose will work.

For the possible environment variables, please have a look in the configuration section.

Rebuild the image

You can use the script dockerbuild.sh or there is a make rule:

make docker