Skip to content

Latest commit

 

History

History
91 lines (58 loc) · 2.4 KB

digital-ocean.md

File metadata and controls

91 lines (58 loc) · 2.4 KB

Digital Ocean

Create Droplet

In this section, we are going to create a Droplet. For more information, refer to official guide.

  1. First, Click Droplets from the dropdown

  1. Select Data Region and a Basic $6/mo Droplet type

  1. Select Authentication Method. In this example, we are going to use Password

  1. After a while you should be able to see your droplet created successfully

How to Connect to your Droplet

For Windows follow this guide.

For Mac/Linux, follow this guide.

Install Docker

  1. curl -fsSL https://get.docker.com -o get-docker.sh
    
  2. sudo sh get-docker.sh
    
  3. Install docket-compose:
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
  1. Set permission:
sudo chmod +x /usr/local/bin/docker-compose

Setup

  1. Clone the repo
git clone https://github.com/FlowiseAI/Flowise.git
  1. Cd into docker folder
cd Flowise && cd docker
  1. Create a .env file and specify PORT. You can use your favourit editor. I'll use nano
nano .env

  1. (Optional) You can also specify FLOWISE_USERNAME and FLOWISE_PASSWORD for app level authorization. See more setting-username-and-password.md
  2. Then press Ctrl + X to Exit, and Y to save the file
  3. Run docker compose
docker-compose up -d
  1. You can then view the app: "Your Public IPv4 DNS":3000. Example: 176.63.19.226:3000
  2. You can bring the app down by:
docker-compose stop
  1. You can pull from latest image by:
docker pull flowiseai/flowise