Commit Graph

17 Commits

Author SHA1 Message Date
Fu Zi Xiang b934664b8c
feat: redirect to web if login from web 2023-11-22 13:25:51 +08:00
Fu Zi Xiang 61527f723b
feat: allow headers to passed to gotrue for redirect_to 2023-11-22 12:45:49 +08:00
Zack 1cc1158d36
feat: Metrics (#141)
* feat: added basic monitoring stack

* docs(grafana): import steps and recommended imports

* feat(metric): api metrics

* feat(prometheus): add appflowy cloud metric scraping job

* fix: put back tracing logger

* feat: middleware for path counter

* feat: added gotrue to prometheus metrics

* feat: added nginx to prometheus metrics

* feat: added latency and result to metrics

* feat(nginx): set request id to header

* feat: added request id in nginx

* feat: simplify metric collection

* feat: added simple grafana dashboard for appflowy cloud

* feat(logging): added logging stack

* docs: improve monitoring docs

* docs: added known common issues

* feat: give persistence

* feat: add exemplars

* fix: docker compose volumes

* feat(grafana): add trace id to prometheus datasource

* feat(grafana): improve dashboard to include exemplars
2023-11-02 15:34:00 +08:00
Zack d8c0107489
feat: Portainer (#123)
* feat: add portainer to docker compose for monitoring

* feat: add portainer docker compose dev

* feat: add portainer init password
2023-10-19 10:36:26 +08:00
Zack d6c0b7780b
feat: Minio web nginx (#122)
* feat: add minio web UI

* fix: minio redirect url

* fix: simplify minio config
2023-10-18 13:35:19 +08:00
Zack ebc2e7ebf6
feat: nginx add gotrue path rewrite (#121)
* feat: nginx add gotrue path rewrite

* fix: prefix gotrue for gotrue url
2023-10-17 13:58:31 +08:00
Zack d638c01763
feat: added oauth login for admin (#119)
* doc: added deployment guide for appflowy cloud

* feat: added oauth login for admin

* feat: specify redirect_url

* feat: implemented google oauth

* fix: default value for redirect_to

* fix: add check for location hash
2023-10-17 10:21:06 +08:00
Fu Zi Xiang 9ff3a830d9
feat: use pgadmin as recommended from official 2023-10-12 23:39:58 +08:00
Zack 119adf53e4
feat: Pgadmin (#112)
* feat: added pgadmi

* feat: add pgadmin to nginx config for reverse proxy
2023-10-12 16:39:13 +08:00
Zack 8023efae97
feat: add admin frontend project (#102)
* feat: add admin frontend project

* feat: session token WIP

* feat: session token WIP - 2

* feat: session token and dev ease

* feat: added logout

* extractor for access token

* feat: added funtionality to show all users

* feat: show user list on frontend

* feat: user details

* fix: remove unneeded print statements

* chore: enable back to docker-compose.yml

* fix: integration tests

* feat: added redis session

* feat: change to session management using redis

* feat: add email to display at home page

* feat: added logging, logout

* feat: use redirect temporary

* feat: added add user by email

* feat: added add user set password web ui

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-10-11 22:17:41 +08:00
Nathan.fooo 9918a6fe43
chore: ws nginx config (#100) 2023-10-05 22:32:19 +08:00
Nathan.fooo d3186cc07a
feat: websocket config (#99)
* chore: enable tls feature

* chore: update ws client

* chore: update ws client

* chore: expost database entities

* chore: update ws nginx config

* chore: rename error file

* chore: fix clippy
2023-10-05 17:43:50 +08:00
Nathan.fooo 4a279bc108
chore: config nginx (#93)
* chore: config nginx

* chore: update nginx
2023-10-04 22:11:46 +08:00
Nathan.fooo c0aea377d0
test: test with dev client (#91)
* test: test with dev client

* chore: add nginx conf

* chore: fix clippy

* chore: disable docker in lint
2023-10-04 21:43:21 +08:00
Fu Zi Xiang 2352f3dcab
fix: add authorize for gotrue 2023-09-18 20:57:36 +08:00
Fu Zi Xiang 79c8b9478f
feat: nginx reroute callback and verify 2023-09-18 20:49:54 +08:00
Zack 6c4bbbbf7f
feat: Nginx (#57)
* feat: added nginx to docker-compose

* ci: base64 decode for cert and key

* test: fix: wrap secert with double quote

* fix: revert previous cert dir

* feat: use 443 for default https port in nginx

* fix: correct 443 (from 433)

* fix: use correct github action secrets

* fix: use docker compose force recreate

* fix: use another crt and key

* fix: use appflowy cloud crt and key
2023-09-18 11:42:18 +08:00