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.
- Set up an Azure application so the app can auth to onedrive.
- Set up an okta organisation.
- Copy the
productionfolder to your server- The file
docker-compose.ymlis a docker compose file you can use (alternately, if you have a swarm use the fileproduction-stack.ymlto 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?) - Update nginx.conf: if you've set up SSL on your server be sure to update the nginx config as required.
- The file
- Copy
configuration/example-configuration.jsontoproduction-configuration.jsonon the server and configure. Put it in the same folder as the compose/stack file. - 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
apicontainer at/srv/type-definitions.jsonand/srv/type-definitions-lookup.json. - Start the service:
docker-compose up -d