Deploying describo online into production - Arkisto-Platform/describo-online GitHub Wiki

Setting up for production is similar to setting up for development except that you don't need the source code.

  1. Set up an Azure application so the app can auth to onedrive.
  2. Set up an okta organisation.
  3. Copy the production folder to your server
    1. The file docker-compose.yml is a docker compose file you can use (alternately, if you have a swarm use the file production-stack.yml to start a stack) - edit variables and stuff as required. Be sure to allow port 443 from the UI if you enable SSL (which you did right?)
    2. Update nginx.conf: if you've set up SSL on your server be sure to update the nginx config as required.
  4. Copy configuration/example-configuration.json to production-configuration.json on the server and configure. Put it in the same folder as the compose/stack file.
  5. To override the default type definitions create your own (or edit the inbuilt at https://github.com/Arkisto-Platform/arkisto-type-definitions/tree/master/types and then mount them into the api container at /srv/type-definitions.json and /srv/type-definitions-lookup.json.
  6. Start the service: docker-compose up -d