This is the Dashboard for the Micare project. It was created using next.js and the T3 stack with PostgreSQL and Keycloak.
This is a T3 Stack project bootstrapped with create-t3-app
.
We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.
If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our Discord and ask for help.
To learn more about the T3 Stack, take a look at the following resources:
- Documentation
- Learn the T3 Stack — Check out these awesome tutorials
You can check out the create-t3-app GitHub repository — your feedback and contributions are welcome!
Follow our deployment guides for Vercel, Netlify and Docker for more information.
Access container with postgres
user
docker exec -it -u postgres mapseh_postgres bash
Dump db into tmp
folder
pg_dump keycloak > /tmp/dump.sql
Copy dump outside of container
docker cp /tmp/dump.sql <output path>
Copy content of dump in multipledb
. Remember to preserve \c keycloak
command during copy and to not format the file.
In nginx.conf add the following
http {
...
fastcgi_buffers 32 32k;
fastcgi_buffer_size 64k;
proxy_buffer_size 256k;
proxy_buffers 4 512k;
proxy_busy_buffers_size 512k;
}
Remember to add to maps-eh client -> service account role -> assign role -> realm-management/realm-admin