Skip to content

Updates

To update the deployment of the application, follow these steps:

  1. Navigate to the Application Directory
    Change to the directory where the compose.yml file is located.

    cd /opt/rooms
    
  2. Pull the Latest Changes Fetch the latest version of the compose.yml file from the remote repository to ensure you have the most recent configurations.

    cp /remote/compose.yml compose.yml
    
  3. Update Environment Variables If there are any changes to the environment variables, update the .env file accordingly.

    cp /remote/.env .env
    
  4. Update the Application Use Docker Compose to pull the latest images and recreate the containers with the updated configurations.

    docker compose pull
    docker compose up -d
    
  5. Verify the Update Check the status of the containers to ensure they are running correctly after the update.

    docker compose ps
    
  6. Check Application Logs

    Review the logs to confirm that the application is functioning as expected.

    docker compose logs -f