|
|
@ -35,9 +35,21 @@ There are three things to think about when adding a service:
|
|
|
|
|
|
|
|
|
|
|
|
Generally, zitadel has some cli commands that we have put in scripts in the zitadel folder.
|
|
|
|
Generally, zitadel has some cli commands that we have put in scripts in the zitadel folder.
|
|
|
|
|
|
|
|
|
|
|
|
2. How to expose as a subdomain in caddy?
|
|
|
|
2. How to expose as a subdomain?
|
|
|
|
|
|
|
|
|
|
|
|
You will want to make a Caddyfile, which will get mounted by the Caddy compose file.
|
|
|
|
Add a volume mount of your reverse proxy config to your compose file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# in the services: part of your compose file
|
|
|
|
|
|
|
|
caddy:
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- ./some-service/Proxyfile:/etc/caddy.d/some-service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Proxyfile looks something like
|
|
|
|
|
|
|
|
someservice.{$DOMAIN} {
|
|
|
|
|
|
|
|
reverse_proxy someservice:4321
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3. How will this be backed up and restored?
|
|
|
|
3. How will this be backed up and restored?
|
|
|
|
|
|
|
|
|
|
|
|