Custom directive for Zitadel.

This commit is contained in:
2024-12-22 11:52:46 -05:00
parent 4a28bf3785
commit 1df03ee939
+15 -10
View File
@@ -6988,16 +6988,21 @@ services:
expose: expose:
- 8080 - 8080
labels: labels:
- swag=enable swag: enable
- swag_proto=http swag_proto: http
- swag_port=8080 swag_port: 8080
- swag_url=zitadel.${MY_TLD} swag_url: id.${MY_TLD}
- swag_server_custom_directive="http2 on;" swag_server_custom_directive: |
- homepage.group=System Administration http2 on;
- homepage.name=Zitadel location / {
- homepage.href=https://id.${MY_TLD} grpc_pass grpc://zitadel:8080;
- homepage.icon=zitadel.svg grpc_set_header Host $host;
- homepage.description=Centralized authentication management }
homepage.group: System Administration
homepage.name: Zitadel
homepage.href: https://id.${MY_TLD}
homepage.icon: zitadel.svg
homepage.description: Centralized authentication management
volumes: volumes:
- ${DOCKER_VOLUME_CONFIG}/zitadel/config.yaml:/config.yaml - ${DOCKER_VOLUME_CONFIG}/zitadel/config.yaml:/config.yaml
- ${DOCKER_VOLUME_CONFIG}/zitadel/init-steps.yaml:/init-steps.yaml - ${DOCKER_VOLUME_CONFIG}/zitadel/init-steps.yaml:/init-steps.yaml