Future AI
  • 📌Future-AI | Introduction
  • 🗣️Official social networks
  • 🥳Fairlaunch - Pinksale
  • Overview Future-AI
    • 🔹The beginning of AI
      • 🔹Success of IA
    • 🌐GPT-3
      • 🌐How does GPT-3 work?
      • 🌐What are the uses of GPT-3?
    • 🔹Telegram Bot
      • 🔹Twitter Bot
      • 🔹Discord Bot
      • 🔹More bots
    • 🌐Metaverse
      • 🌐Future-AI Metaverse
      • 🌐iNFT Protocol
    • 🔹Decentralized App
    • 🔹Brigde
      • ☑️Dapp Brigde
    • 🌐Future-AI Characters
    • 🔹Copy Trader
    • 🌐DAOGovernance
    • 🔹Wallet Future-AI
      • 🔹Download Trust Wallet
      • 🔹Future-AI integration with Trust Wallet
    • 🌐Staking
      • 🔹Parcels
    • 🔹Yield Farming
    • 🌐Future-AI Providers
      • AI Provider Integration
    • 🔹Future-AI Executors
      • 🔹AI Executor File Integrity
      • 🔹Data Source Provider
      • 🔹Thesis case provider
      • 🔹Script Developer
      • 🔹AI Executor
      • 🔹AI Executor with Docker
      • 🔹AI Executor Incentive Mechanism
  • token future-ai
    • 🌐Tokenomics
    • 🔹Token metrics
    • 🌐Roadmap
    • 🔹KYC & Audit
    • 🌐Team
Powered by GitBook
On this page
  1. Overview Future-AI
  2. Future-AI Executors

AI Executor with Docker

Installation

0. Hardware specification

A dedicated machine that can keep the program running continuously. The program supports Linux, Windows & MacOS.

Minimum requirement:

2vCPUs
2GB RAM

1. Docker & docker-compose

With docker, the AI Executor program can run on any platforms. As a result, it is a must to install and download Docker. Docker-compose is a tool for defining & running multi-container Docker applications. It is convenient to use docker-compose to work with Docker containers.

Next, please create a file called: docker-compose.yml that has the following content:

version: '3.3'
services:
  ai_executor:
    container_name: ai_executor
    image: future-ai/ai-executor:0.0.1
    tty: true
    environment:
      - PIN=${PIN}
      - DOCKER=true
    restart: on-failure
    logging:
      driver: "local"
      options:
        max-size: "100m"
        max-file: "3"
    volumes:
      - ./:/workspace
    command: ./aifuture-executor-process

2. Download the executor zip file

Shell (Mac, Linux):

wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=180aYBeOlakKorDpHsaHImR1pFlHEGZ26' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=180aYBeOlakKorDpHsaHImR1pFlHEGZ26" -O executor.zip && rm /tmp/cookies.txt && unzip executor.zip

3. Configure the .env file

The .env file in the zip configures the network, wallet, and other basic variables for your program to use. All the key-value pairs are heavily commented already. If you still have questions about them, freel free to ask us, the Future-AI team.

4. File checksum (optional but recommended)

5. Start the container & program

Shell (Mac, Linux):

Type:

PIN=<your-pin-for-encrypted-mnemonic> docker-compose up -d

Windows:

with powershell:

$Env:PIN = "<your-pin-for-encrypted-mnemonic>" && docker-compose up -d

If you do not use an encrypted mnemonic, then you don't have to type in the PIN variable.

6. Monitoring the program

To view the program's log, please type the following:

docker-compose logs -f --tail=100 ai_executor
PreviousAI ExecutorNextAI Executor Incentive Mechanism

Last updated 2 years ago

Please follow to verify your executable.

this guildeline
🔹
🔹
Page cover image