This gist contains the Dockerfile used to generate the docker image for Politeia.
This docker setup is intended only for development purposes. Do not rely on it for production setup.
-
Get the image:
docker pull fabolafio/politeia
-
Run the container:
docker run -d -p 4443:4443 politeia
Now you should have politeiawww running on port 4443 of your localhost.
- Install docker
- Copy the Dockerfile into the root of Politeia
- run
docker build -t my-politeia-image .
Politeiawww has a CMS mode used for managing contractors invoivces and payments.
To run politeia on this mode, execute:
docker run -d -p 4443:4443 -e MODE=cmswww politeia