Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.56 KB

File metadata and controls

55 lines (39 loc) · 1.56 KB

Installation Steps

  1. Clone the project from GitHub
    Open a terminal and run the following command:
   git clone https://github.com/AZIRARM/nodify.git
  1. Navigate to the project directory

    cd nodify
  2. Configure environment variables The docker-compose.yml file uses several environment variables. Default values are provided, but you can override them by creating a .env file at the root of the project or by exporting them before running Docker.

    Example .env file:

    # Database
    MONGO_URL=mongodb://mongo:27017/nodify
    
    # Redis (optional)
    # If REDIS_URL is not provided, nodify-api will default to redis://redis:6379
    REDIS_URL=redis://localhost:6379
    
    # Nodify Core
    ADMIN_PWD=Admin123              # Default admin password (change in production!)
    API_URL=http://localhost:1080   # URL of the Nodify API
    TZ=Europe/Paris                 # Timezone (configurable)
    
    # Nodify API
    # (inherits MONGO_URL, TZ, and can use REDIS_URL)
    
    # Nodify UI
    CORE_URL=http://nodify-core:8080
    API_URL=http://localhost:1080

    ⚠️ Make sure to update sensitive values such as ADMIN_PWD for production environments. ⚠️ The REDIS_URL variable is optional; if not set, the application will use the default Redis service defined in docker-compose.yml.

  3. Start the services

    docker compose up -d
  4. Access the application