Skip to content

piotrswiecik/carsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deployment notes

Local setup

Dockerizing Next app - you must use standalone mode in next config.

Configuring network locally is tricky. Option one is to use a hacky workaround by adding fake identity server domain to /etc/hosts. You also need to use separate vars for NEXTAUTH_URL and NEXTAUTH_URL_INTERNAL. The second one is used by all server side calls - they will go to "docker-relevant" address, while client side calls with be directed to localhost so that they work inside the browser.

mkcert - used for docker ingress.

mkcert -install
mkcert -key-file carsite.com.key -cert-file carsite.com.crt app.carsite.com api.carsite.com id.carsite.com

About

.NET microservices demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published