Skip to content

nicdavidson/ghost_mvp

Repository files navigation

Ghost Camera MVP

A simple camera streaming solution using Docker, NGINX, and RTMP.

Server Setup (Digital Ocean)

  1. Clone this repository to your server:

    git clone <repository-url>
    cd ghost_mvp
    
  2. Run the setup script to create necessary files and directories:

    chmod +x setup.sh
    ./setup.sh
    

    This will create a default user (admin/ghost) for web access.

  3. Start the Docker containers:

    docker-compose up -d
    
  4. Your streaming server is now running! The web interface is available at:

    http://your-server-ip
    

Raspberry Pi Camera Setup

  1. Copy the raspberry_pi_setup.sh script to your Raspberry Pi

  2. Edit the script to set your server IP:

    nano raspberry_pi_setup.sh
    

    Update the SERVER_IP variable with your Digital Ocean server's IP address

  3. Make the script executable and run it:

    chmod +x raspberry_pi_setup.sh
    ./raspberry_pi_setup.sh
    

Accessing the Stream

  1. Open a web browser and navigate to http://your-server-ip
  2. Enter the login credentials (default: admin/ghost)
  3. The camera stream should appear in the web interface

Security Considerations

  • This setup uses basic authentication only
  • For production use, consider:
    • Adding HTTPS with Let's Encrypt
    • Implementing IP restrictions
    • Using stronger authentication methods

Customization

  • To change the login credentials, modify the setup.sh script
  • Edit nginx/nginx.conf to customize streaming settings
  • Modify web/index.html to customize the web interface

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published