Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.45 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.45 KB

Deploy ActivityPods to production

This guide will help you to deploy ActivityPods' backend and frontend to a production environment.

It includes:

  • Traefik to orchestrate domain names and certificates
  • Apache Jena Fuseki triplestore to store semantic data (on port 3030)
  • Redis to cache data and store the emails queue
  • Arena to view the emails queue (on port 4567)
  • The frontend
  • The backend

Configuration

In docker-compose.yml:

  • Replace domain.com by your domain name
  • Replace app.domain.com by the domain name of the frontend app
  • Replace myemail@mydomain.com by your email address (this is for Let's encrypt certificates)
  • Replace mypassword with the password you want for the Fuseki admin

In backend/app/.env.local:

  • Replace domain.com by your domain name
  • Replace mypassword by the previously set Fuseki password

Any file added to the backend/app directory will be copied to the backend source code, eventually overwriting existing files.

In frontend/app/.env.local:

  • Replace https://mydomain.com/ with base URL of the backend
  • Set a MapBox access token for REACT_APP_MAPBOX_ACCESS_TOKEN
  • Replace any other env variable you want (app name, description, colors...)

Launch

docker-compose build
docker-compose up -d