Make sure you have Docker and Docker-Compose installed. On Debian based systems you can install it with the following setup https://docs.docker.com/engine/install/debian/
Run the following commands and a complete production setup is created.
The docker setup is created according to the docker-compose.yaml in the root directory. This will create a own virtual network and some persistent storage volumes.
* Postgress data. This is used for Postgress database files
* Redis data. This is used for Redis storage
* TUSD data. This is used for the temporary file uploads that are being processed
* Static files data. This is used for Django static files served by NGINX
During installation the following docker containers will be created:
* Postgress DB server
* Redis DB server
* The Upload Service Daemon sever (TUSD)
* Django REST API server
* Django background scheduler server
* NGINX TUSD frontend server
* NGINX API frontend server
Only the NGINX containers have an connection with the outside world. By default you have:
* REST API and admin on http://localhost:1337/api/redoc/ and http://localhost:1337/api/admin/
* TUSD Upload server on http://localhost:1080/files
Settings
========
You can change the Docker setup by changing the settings in the file docker/project.env. Every setting has some explanation what is does or where it is fore.