Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.29 KB

README-build.md

File metadata and controls

37 lines (22 loc) · 1.29 KB

Build your own docker images

This guide explains how to build your own docker Open Pryv.io docker images.

Prerequisites:

Prepare the various assets, run the following commands from the docker/ directory:

  • bash ../scripts/setup-app-web-auth3.bash
  • bash ../scripts/setup-assets.bash
  • bash ../scripts/setup-admin-key.bash

with external SSL

Run TAG=latest docker-compose -f local/docker-compose.no-ssl-build.yml up --build

  • Config file local/dockerized-config-no-ssl.json
  • launch API on http://localhost:3000

After images are built, you can run the command above just without "--build" part.

with built-in SSL

Fetch the rec-la SSL certificates:

  • Run bash ../scripts/download-recla-certificates.sh

Run TAG=latest docker-compose -f local/docker-compose.with-ssl-build.yml up --build

  • Config file local/dockerized-config.json
  • Launch API on https://my-computer.rec.la:4443

After images are built, you can run the command above just without "--build" part.