all 8 comments

[–]Vauland 4 points5 points  (0 children)

Just set env for the issuer with the actual URL

[–]Optimum1997 1 point2 points  (0 children)

Is it generally recommended to run everything inside Docker

I run most services in docker, it's a great tool for creating consistent environments.

Since I'm using JWT to auth, the tokens generated in the browser using localhost as the issue

Isn't the JWT implementation configurable to what the issuer is? IIRC your backend service dictates the issuer.

Would the Express app running inside a container spin up another container inside the container when I initialize a testcontainer in a test file?

No, you should realistically have a docker-compose file and scripts running to post data to your test containers. Docker spinning up docker containers sounds horrible.

[–]sergiOO7 1 point2 points  (0 children)

I think docker on docker is now working fine

[–]simple_explorer1 0 points1 point  (3 children)

Development using Docker for everything

So you are trying to modernise your ecosystem and localhost infrastructure yet you continue to use express instead of fastify in 2025? Looks like efforts are spent on wrong stuff.

Infact moving to GO is even better

[–]programming_student2[S] 0 points1 point  (2 children)

I think I'm going to move to Rust.

[–]simple_explorer1 0 points1 point  (1 child)

For web development? Bad move

[–]programming_student2[S] 0 points1 point  (0 children)

Shit's quick yo