Python (Dash) + Redis + Gunicorn on Docker Compose.
Alvaro Velasco Prieto
Documentation in progress... (Available 31/07/2024)
In order to deploy this web app you will use Docker & Docker Compose. To install these tools type the following commands: Update your system:
$ sudo apt-get updateInstall Docker:
$ sudo apt-get install docker-ce docker-ce-cli containerd.ioInstall docker-compose:
$ sudo apt install docker-composeTo obtain all files in the directory use the following command:
$ git clone https://github.com/AlvaroVelascoPrieto/ProjectRedCodeOnce you have downloaded the files from the repository, access the folder and build the web image with the following command:
Development mode:
$ sudo docker build -f app/Dockerfile.dev -t app . Deployment mode
$ sudo docker build -f app/Dockerfile -t app . Now build the data aquisition image:
$ sudo docker build -f recepcion/Dockerfile -t app2 . After building the images you can deploy all the services using docker-compose:
$ sudo docker compose up Once this process is complete the app wil be running locally on port 8050. (http://localhost:8050/).