Multi-tenant application example
Change the db_host
at init.sql
to your local ip address
docker-compose up
http://localhost:3002/
http://localhost:3002/users?slug=tenant1
http://localhost:3002/users?slug=tenant2
Multi-tenant application example
Change the db_host
at init.sql
to your local ip address
docker-compose up
http://localhost:3002/
http://localhost:3002/users?slug=tenant1
http://localhost:3002/users?slug=tenant2