Hi team, Is it possible to run two instances of kr...
# ory-selfhosting
r
Hi team, Is it possible to run two instances of kratos pointing to the same database? The reason being that each instance will have it's own domain? Has anyone tried this or would this cause db issues?
d
Hey. Ory Kratos does not store any state, hence you can run two instances of it without any problems pointing to the same database. Cookie domain is configured via config files, hence there will be no problem by running it.
r
@damp-sunset-69236 cheers mate 🙂 I'll have a go at it
Seems like it partially works. The only issue is emails, it looks like the first service to pick up the emails fires them off and if it is branded differently you will most likely get differently branded emails.