Production Installation
Docker
If Docker has not been installed before, please install it. Nothing will work without it [Installation Guide Link]
Set Environment Variables
Example: https://github.com/CodeBattles-nn/codebattles/blob/new_backend/.env.example
DB_USER=dfvdsdfvsdswvdfvdsvdfvdf
DB_PASSWORD=dvnsevhjeiwurowuqvhjevfvuodfb
DB_NAME=cb
Select Your Architecture
To install, you need to download the repository and deploy the Docker compose Container
pulling images from the repository:
docker compose -f prod-docker-compose.yml pull
starting:
docker compose -f prod-docker-compose.yml up
After this, please configure the programming languages. This is described on the next page
Last updated
Was this helpful?