Drahten

Docker deployment

Make sure that the prerequisites have been met before continuing

Instances

Application services

The convenience of docker compose makes it possible to run exactly what is needed:

Run all services: Navigate to the root directory of the project -> Drahten\Compose\ and run docker-compose up After this stop the following containers:

Run the stopped containers once the setup-1 container has stopped. This signals that the elasticsearch containers are started properly. The stoping of the above containers is needed because if the elasticsearch containers are not fully started the services would not be able to make proper connection with the elasticsearch instancies and would not work.

⚠ Caution

Remember that the elasticsearch and postgresql containers would need TSL certificates and local variables for passwords and other user information. In the docker-compose.yml file there are env_file sections. Generate the following files (the names of the files are not important and you can replace them if you want, just make shure that the docker-compose.yml will point to the new names):