This project is the database of the application educa-utf. It uses PocketBase as the Database
The following command is only for LINUX
To serve the application run
UTF_AUTH_TOKEN=meutokendeautenticacao ./pocketbase serve
ou
source secrets.txt && ./pocketbase serve
We are using JavaScript to extend the functionalities of the DB, you can find them at pb_hooks/
The collections schema can be found at pb_schema.json
it was generated with the built in export collections
functionality. Have a look at this issue for more info pocketbase/pocketbase#816.
Repositório no Docker-hubhttps://hub.docker.com/r/zrafaf/educa_utf_pocketbase
- Install Docker on your machine.
- Build your container:
docker build -t educa_utf_pocketbase .
. - Tag you image
docker tag educa_utf_pocketbase zrafaf/educa_utf_pocketbase
- Publish your image
docker push zrafaf/educa_utf_pocketbase
- Run your container:
docker run -p 3000:3000 educa_utf_pocketbase
.
You can view your images created with docker images
.