feat: relay id data photos to server

This commit is contained in:
José Oliveira 2021-03-17 13:53:20 +00:00 committed by Josh Harvey
parent 04e583b47d
commit c221437618
5 changed files with 94 additions and 3 deletions

View file

@ -15,6 +15,7 @@ POSTGRES_PASS=postgres123
OFAC_DATA_DIR=$CONFIG_DIR/ofac
IDPHOTOCARD_DIR=$CONFIG_DIR/idphotocard
FRONTCAMERA_DIR=$CONFIG_DIR/frontcamera
IDCARDDATA_DIR=$CONFIG_DIR/idcarddata
mkdir -p $CERT_DIR
mkdir -p $CONFIG_DIR >> $LOG_FILE 2>&1
@ -113,7 +114,8 @@ cat <<EOF > $CONFIG_DIR/lamassu.json
}
],
"idPhotoCardDir": "$IDPHOTOCARD_DIR",
"frontCameraDir": "$FRONTCAMERA_DIR"
"frontCameraDir": "$FRONTCAMERA_DIR",
"idCardDataDir": "$IDCARDDATA_DIR"
}
EOF