A docker repo for building some necessities for backend.
- Go to your Firebase's project service accounts.
- Click Generate New Private Key.
- Save as
serviceAccountKey.json
in/back
folder.
- Cannot use fetch() with Docker's internal network, currently using lvh.me, because fuck Google
- Firebase Storage takes quite long to refresh, and back-end fails to find the file. Maybe will implement front-end to save files to a Docker volume to process, then upload the file to Firebase.
sudo apt install git-lfs
cd OCR-Docker &&\
git submodule update --init
docker-compose up --build -d
Server is available at localhost:8000/
.
All images are saved in Firebase Storage.
From TokisakiKurumi2001 and Smithienious.