30 Commits
Author SHA1 Message Date
Justin Lin cb4b9f429a fix: set mongodb version to 6 2024-10-21 13:43:58 +08:00
Justin Lin a901ce005c fix: pass env file to containers directly 2024-10-21 12:53:39 +08:00
Justin Lin 44ecd3b87a fix: mounting quest home into production container 2024-10-21 12:11:24 +08:00
Justin Lin 1888781a47 fix: copy entrypoint into quest container. Disable mounting for entrypoint & public key. Use Env to pass ssh public key into container. 2024-10-21 11:54:32 +08:00
Justin Lin 91ebaec22c feat: update document and remove some debug logging 2024-10-14 18:32:02 +08:00
wancat 5b0d1f92c4 setup docker prod 2024-02-05 13:13:34 +08:00
Lin, Hung-Shin a6b51a08e5 fix: mount log folder in test and production 2023-11-21 10:19:33 +08:00
wancat 2028075240 feat: setup admin env in prod compose 2023-11-19 14:51:36 +08:00
wancat f9e0fade3b fix: update quest image name 2023-11-18 22:25:05 +08:00
wancat 7d25c7efaa feat: update workflows
* build images with automatic tags
* separate staging and production deployment
* reuse workflows
2023-11-18 18:05:42 +08:00
wancat c438756bde feat: update CI/CD work, compose, and README 2023-11-16 21:13:18 +08:00
Lin, Hung-Shin 10e9d89349 Update deployment (#58)
* Update ci_cd.yml

Remove deployment scripts, moved to authorized_keys instead.

* Update docker-compose.prod.yml to always restart
2023-11-05 23:27:50 +08:00
Lin, Hung-Shin 4c2f3f5397 feat: put survey and bug report url to backend (#57)
* feat: put survey and bug report url to backend

* fix: centralize hardcoded url to config

* fix: validate url before redirecting
2023-11-03 21:32:12 +08:00
Lin, Hung-Shin 72aded98b1 feat: move out env from docker-compose.prod.yml 2023-11-02 12:39:25 +08:00
Lin, Hung-Shin 14043b3f12 feat: specify trust proxies 2023-11-02 12:11:15 +08:00
Lin, Hung-Shin f18ec35a9f feat: generate secure secret key and prevent default 2023-11-01 14:19:18 +08:00
wancat 11bc793b12 refactor: separate createSession to sessionManager 2023-10-30 22:10:25 +08:00
Lin, Hung-Shin 579d53a273 feat: refactor dockerfiles
* combine dev and prod into multi-stages dockerfile
* replace node with node:20-alpine to reduce image size
2023-10-29 17:41:38 +08:00
wancat 20927fe8aa feat: docker setup & deployment 2023-10-14 19:43:13 +08:00
Annie Huang ad5344c98b feat: github auth 2023-10-12 16:12:07 +08:00
Lin, Hung-Shin 6e7597dca0 fix: update document, accept env from shell in prod 2023-10-11 14:51:00 +08:00
Lin, Hung-Shin 33582a4827 fix: add baseUrl in passport oauth 2023-10-11 14:46:07 +08:00
Lin, Hung-Shin a79b66ed8d fix: remove env_file field but subsistute from shell 2023-10-05 13:31:15 +08:00
Lin, Hung-Shin aac1592957 fix: add env for google client id & secret 2023-10-05 12:25:42 +08:00
wancat 4b43ab5050 fix: add build base image in CI/CD workflow 2023-09-10 19:03:31 +08:00
wancat d8f8605df9 fix: deployment
+ include api-docs in nginx
+ include quests in docker compose
+ update README
2023-08-22 12:11:58 +08:00
wancat 9aa9367f9e refactor: move quests out of server
+ move quests from server/quests to ./quests
+ add frontend image in docker compose development
2023-08-22 11:48:44 +08:00
wancat e54ae32960 feat: add frontend nginx image 2023-08-22 11:16:37 +08:00
wancat c3030b22be feat: add mongo init script, use root in app image 2023-07-31 17:19:03 +08:00
wancat 9376e16f72 Success to send command to api
+ require sourcing entrypoint.sh manually
2023-07-26 00:12:10 +08:00