Перейти к содержанию

Apache Solr Deployment Overview on Server

Prerequisites

The following parameters are required for the application to function correctly:

Parameter Value
Domain zone hostkey.in
Internal port 3000
External port 443
Path (external) /

FQDN of the final panel on hostkey.in domain

Domain template for application access:

Parameter Value
Prefix apache-solr
Domain hostkey.in
Full template apache-solr{Server_ID_from_Invapi}.hostkey.in

File and Directory Structure

The following directories are used in the system to store configurations and data:

  • /root/nginx — Nginx proxy working directory.

  • /data/nginx/user_conf.d — Directory containing custom Nginx configurations.

  • /data/nginx/nginx-certbot.env — Environment variables file for Certbot.

Application Installation Process

Deployment is carried out in a Docker container using the jonasal/nginx-certbot:latest image. The application works alongside an Nginx proxy server, which manages SSL certificates via Certbot.

Docker Containers and Execution

The infrastructure uses docker compose. The main service is nginx, running in host mode to ensure direct port access.

Command to start containers from the /root/nginx directory:

docker compose up -d

Permissions Settings

Access rights for the main directories:

  • Directory /root/nginx: owner root, group root, mode 0755.

  • Configuration file /root/nginx/compose.yml: owner root, group root, mode 0644.

Available Ports for Connection

Port Purpose Protocol
3000 Internal application port (internal) TCP
443 External access via HTTPS TCP

Starting and Stopping the Application

Container state management is performed using docker compose commands:

  • Start: docker compose up -d (executed in the /root/nginx directory).

  • Stop: docker compose down.

question_mark
Я могу вам чем-то помочь?
question_mark
ИИ Помощник ×