You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This uses iam.example.local and api.example.local domains. Ensure they point to the Gateway IP (envoyproxy) eg by adding an entry to `/etc/hosts` like
34
-
35
-
```sh
36
-
127.0.0.1 api.example.local iam.example.local
37
-
```
38
-
39
33
### [docker-compose.yaml](./docker-compose.yaml)
40
34
41
35
Adjust the docker-compose.yaml
42
36
43
37
- Free up port 80 from envoy for zitadel's initial configuration via management API which requires end-to-end HTTP/2 support.
44
-
envoyproxy config in docker doesn't support (our xds-server incomplete) HTTP/2 yet; on [k8s](https://raw.githubusercontent.com/edgeflare/pgo/refs/heads/main/k8s.yaml) everything works fine.
38
+
envoyproxy config in docker doesn't support (we gotta finish xds-server) HTTP/2 yet.
39
+
On [k8s](https://raw.githubusercontent.com/edgeflare/pgo/refs/heads/main/k8s.yaml) everything works fine.
45
40
46
41
```yaml
47
42
envoy:
@@ -66,10 +61,10 @@ docker compose up -d
66
61
Any OIDC compliant Identity Provider (eg ZITADEL, Keycloak, Auth0) can be used.
Once done, revert the ports (use 80 for envoy), and `docker compose restart`
76
+
After configuring, revert the ports (use 80 for envoy), and `docker compose down && docker compose up -d`
82
77
83
-
#### pgo rest
84
78
85
-
Visit http://iam.example.local, login and regenerate client-secret for oauth2-proxy client in edge project. Then adjust `internal/util/pgo/config.yaml`
86
-
87
-
> `pgo rest` container fails because of proxy issues. It can be run locally
88
-
89
-
```sh
90
-
go install github.com/edgeflare/pgo@latest # or download from release page
Visit ZITADEL UI (eg at iam.192-168-0-121.sslip.io), login (see docker-compose.yaml) and regenerate client-secret for oauth2-proxy client in edge project.
81
+
Then update `internal/util/pgo/config.yaml` with the values. Again, `docker compose down && docker compose up -d`
97
82
98
-
###### realtime/replication eg sync users from auth-db to app-db
83
+
####`pgo rest`: PostgREST-compatible REST API
99
84
100
-
Create table in sink-db. See pgo repo for more examples
85
+
Create a table in app-db for REST and pipeline demo. See pgo repo for more examples
0 commit comments