fluffy-bunny / zitadel-traefik-secure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zitadel Postrges Traefik Secure

This repo is a minimal template to use Traefik v2 on localhost with HTTPS support.

To get started, just clone this repo:

Thanks

traefik-v2-https-ssl-localhost
jimsgarage zitadel
jimsgargage youtube

git clone https://github.com/fluffy-bunny/zitadel-traefik-secure.git

Next, go to the root of the repo (cd zitadel-traefik-secure) and generate certificates using mkcert :

# If it's the firt install of mkcert, run
mkcert -install

# Generate certificate for domain "localhost.dev"

mkcert -cert-file certs/local-cert.pem -key-file certs/local-key.pem "localhost.dev" "*.localhost.dev"  

Create networks that will be used by Traefik:

docker network create proxy

Now, start containers with :

# Start Zitadel
docker-compose -f docker-compose.yml up -d
 

You can now go to your browser at whoami.localhost.dev, enjoy 🚀 !
You can now go to your browser at zitadel.localhost.dev, enjoy 🚀 !
You can now go to your browser at pgadmin.localhost.dev, enjoy 🚀 !
You can now go to your browser at smtp.localhost.dev, enjoy 🚀 !

Note: you can access to Træfik dashboard at: traefik.localhost.dev

Don't forget that you can also map TCP and UDP through Træfik.

hosts file Windows

127.0.0.1 localhost.dev traefik.localhost.dev whoami.localhost.dev smtp.localhost.dev zitadel.localhost.dev pgadmin.localhost.dev

Zitadel SMTP

I configured zitadel to use SMTP4DEV

smtp4dev:25

smtp4dev localhost

License

MIT

About

License:MIT License


Languages

Language:Shell 100.0%