- Run
pipenv install
- Create
instance\application.conf
and provide the following
MASTER_PASSWORD = "somethingdifferentthanthesecretkey"
SECRET_KEY = "pleasechangemetosomethingdifferent"
SECURITY_PASSWORD_SALT = "something_super_secret_change_in_production"
- Run
pipenv run python manage.py run
version: '3.7'
services:
reflex-api:
environment:
- REFLEX_ES_URL=es01:9200
- REFLEX_ES_USERNAME=elastic
- REFLEX_ES_PASSWORD=password
- REFLEX_ES_CA=/ca.crt
- REFLEX_ES_CERT_VERIFY=true
- REFLEX_RECOVERY_MODE=false
image: zeroonesec/reflex-api:elastic-backend
container_name: reflex-api
volumes:
- ./application.conf:/instance/application.conf
- ./ca.crt:/ca.crt
reflex-ui:
image: zeroonesec/reflex-ui:elastic-migration
container_name: reflex-ui
ports:
- 80:80
- 443:443
- Create a new file called
application.conf
- Add the following entries and change the values
MASTER_PASSWORD = "somethingdifferentthanthesecretkey"
SECRET_KEY = "pleasechangemetosomethingdifferent"
SECURITY_PASSWORD_SALT = "something_super_secret_change_in_production"
- Change
REFLEX_ES_URL
to the hostnames of your Elasticsearch cluster - Change
REFLEX_ES_USERNAME
andREFLEX_ES_PASSWORD
- Optional, supply a CA cert if connecting to Elasticsearch over TLS
- Optional, set
REFLEX_ES_CERT_VERIFY=true
to make sure certs are valid - Bring the containers up
- Run
docker exec reflex-api sh -c "pipenv run python setup.py"
to perform initial setup - Navigate to https://localhost
- Login as admin@reflexsoar.com\reflex