Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 896 Bytes

INSTALL.md

File metadata and controls

39 lines (33 loc) · 896 Bytes

Install

  1. Clone the repo:

    git clone https://github.com/dimara/keda
    
  2. Create the Docker image:

    docker build -t keda:latest .
    
  3. Create a self-signed SSL certificate:

    openssl req -x509 -newkey rsa:4096 \
      -keyout keda.key \
      -out keda.pem \
      -sha256 -days 3650 -nodes \
      -subj "/C=GR/ST=Attica/L=Athens/O=KedaZ/OU=Reception/CN=KedaZ"
    
  4. Start the container:

    docker run -d --name keda \
          -p 8443:443 \
          -v $PWD/keda.key:/etc/ssl/private/keda.key \
          -v $PWD/keda.pem:/etc/ssl/certs/keda.pem \
          -v $PWD/db.sqlite3:/keda/db.sqlite3 \
          keda:latest
    
  5. Create super user:

    docker exec -ti keda \
           python manage.py createsuperuser \
               --username admin --email=admin@example.com
    
  6. Open your browser and visit https://127.0.0.1:8443/.