Compare commits

...

625 Commits

Author SHA1 Message Date
actions-user
9ab09cf73d tag version Cal.com version v3.8.6 2024-03-05 19:21:43 +00:00
actions-user
d599e5141b Auto updated submodule references 2024-03-05 04:04:30 +00:00
actions-user
a77008e07e Auto updated submodule references 2024-03-03 04:04:13 +00:00
actions-user
34dea39472 Auto updated submodule references 2024-03-02 04:04:20 +00:00
actions-user
8f7466f792 Auto updated submodule references 2024-03-01 04:05:07 +00:00
actions-user
6c25a87fcc Auto updated submodule references 2024-02-29 04:04:34 +00:00
actions-user
a8807a42d9 Auto updated submodule references 2024-02-28 04:05:14 +00:00
actions-user
366c915e22 Auto updated submodule references 2024-02-27 04:05:00 +00:00
actions-user
1f97b6dc1c Auto updated submodule references 2024-02-24 04:04:56 +00:00
actions-user
a20741607c Auto updated submodule references 2024-02-23 04:04:15 +00:00
actions-user
cbf5e2d75e Auto updated submodule references 2024-02-22 04:05:04 +00:00
actions-user
6aeae3c73f Auto updated submodule references 2024-02-21 04:04:12 +00:00
actions-user
9ebd35f90f Auto updated submodule references 2024-02-20 04:05:17 +00:00
actions-user
1004a05eaa Auto updated submodule references 2024-02-17 04:04:52 +00:00
actions-user
614fcc658d Auto updated submodule references 2024-02-16 04:04:38 +00:00
actions-user
c238de8a65 Auto updated submodule references 2024-02-15 04:04:32 +00:00
actions-user
cbbcca72e0 Auto updated submodule references 2024-02-14 04:04:22 +00:00
actions-user
9e4e764779 Auto updated submodule references 2024-02-13 04:04:12 +00:00
actions-user
617d7ec421 Auto updated submodule references 2024-02-12 04:04:30 +00:00
actions-user
12216641af Auto updated submodule references 2024-02-11 04:04:08 +00:00
actions-user
2b0f668f18 Auto updated submodule references 2024-02-10 04:04:51 +00:00
actions-user
924575106e Auto updated submodule references 2024-02-09 04:04:09 +00:00
Omar López
91015a7239 fix: add missing env variables (#325)
* fix: add missing env variables

* Added DATABASE_DIRECT_URL to README

* Updated text

* Added to build-time variable and removed default

* Removed extra connection string

---------

Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2024-02-08 10:06:08 -03:00
actions-user
70ecb7be40 Auto updated submodule references 2024-02-08 04:04:41 +00:00
actions-user
2343fbba23 Auto updated submodule references 2024-02-07 04:04:28 +00:00
actions-user
4324d2cf23 Auto updated submodule references 2024-02-06 04:04:36 +00:00
actions-user
8bf4b08540 Auto updated submodule references 2024-02-05 04:04:12 +00:00
actions-user
519002ff91 Auto updated submodule references 2024-02-04 04:04:11 +00:00
actions-user
3666764226 Auto updated submodule references 2024-02-03 04:04:17 +00:00
actions-user
c4cbe6e4e9 Auto updated submodule references 2024-02-01 04:05:01 +00:00
actions-user
15b7d4b5e4 Auto updated submodule references 2024-01-31 04:04:46 +00:00
actions-user
d2378bf66c Auto updated submodule references 2024-01-30 04:04:12 +00:00
actions-user
aff514fa86 Auto updated submodule references 2024-01-29 04:04:30 +00:00
actions-user
640f2e8cdc Auto updated submodule references 2024-01-28 04:04:21 +00:00
actions-user
dfa2544b6c Auto updated submodule references 2024-01-27 04:04:08 +00:00
actions-user
3200f0345a Auto updated submodule references 2024-01-26 04:05:07 +00:00
actions-user
e215762942 Auto updated submodule references 2024-01-25 04:04:28 +00:00
actions-user
46125e05e3 Auto updated submodule references 2024-01-24 04:04:42 +00:00
Syed Ali Shahbaz
4872e2ccdb Merge pull request #322 from calcom/fix/prerelease-check-build-issues
Attempt to fix pre-release flavor error in build
2024-01-23 17:12:30 +04:00
Syed Ali Shahbaz
2c468dabe8 unrecognized prerelease in flavor--removed 2024-01-23 17:09:46 +04:00
Syed Ali Shahbaz
3319d21c86 Test ~2 2024-01-23 17:01:16 +04:00
Syed Ali Shahbaz
b55ef0ee29 test 2024-01-23 16:57:31 +04:00
actions-user
30f2d169c2 Auto updated submodule references 2024-01-23 04:04:37 +00:00
actions-user
2ae6b6dc76 Auto updated submodule references 2024-01-21 04:04:19 +00:00
actions-user
47df2405ab Auto updated submodule references 2024-01-20 04:04:25 +00:00
actions-user
d83e909f9f Auto updated submodule references 2024-01-19 04:04:35 +00:00
actions-user
b27f452d03 Auto updated submodule references 2024-01-18 04:04:37 +00:00
actions-user
bd43bb65bd Auto updated submodule references 2024-01-17 04:04:30 +00:00
actions-user
62c5ca50a0 Auto updated submodule references 2024-01-16 04:04:32 +00:00
actions-user
e503097a49 Auto updated submodule references 2024-01-15 04:04:38 +00:00
actions-user
aeb60e0a3d Auto updated submodule references 2024-01-13 04:04:15 +00:00
actions-user
fef732420a Auto updated submodule references 2024-01-12 04:04:34 +00:00
actions-user
c5f20f47ab Auto updated submodule references 2024-01-11 04:04:23 +00:00
actions-user
0a561b574b Auto updated submodule references 2024-01-10 04:04:32 +00:00
actions-user
b17d5f4910 Auto updated submodule references 2024-01-09 04:04:39 +00:00
actions-user
9e0d6c150a Auto updated submodule references 2024-01-08 04:04:37 +00:00
actions-user
13fb3c9c1d Auto updated submodule references 2024-01-07 04:04:18 +00:00
actions-user
4ba71f7b9c Auto updated submodule references 2024-01-06 04:04:26 +00:00
actions-user
df4de6092e Auto updated submodule references 2024-01-05 04:04:37 +00:00
actions-user
f101524423 Auto updated submodule references 2024-01-04 04:04:22 +00:00
actions-user
b6c80dfccb Auto updated submodule references 2024-01-03 04:04:45 +00:00
actions-user
20786fc296 Auto updated submodule references 2024-01-02 04:04:28 +00:00
actions-user
66553b3506 Auto updated submodule references 2023-12-31 04:04:21 +00:00
actions-user
cb28a431c8 Auto updated submodule references 2023-12-30 04:04:16 +00:00
actions-user
b6f08fc75c Auto updated submodule references 2023-12-29 04:04:25 +00:00
actions-user
de409f5c9b Auto updated submodule references 2023-12-28 04:04:48 +00:00
actions-user
653cf3924d Auto updated submodule references 2023-12-24 04:04:21 +00:00
actions-user
c73da42f4b Auto updated submodule references 2023-12-23 04:04:25 +00:00
Colin Griffin
dbc8aa7d48 Merge pull request #305 from calcom/fix/skip-pre-release-tag
Identify pre-release in Create Release workflow
2023-12-22 14:12:20 -05:00
actions-user
ae517b2bca Auto updated submodule references 2023-12-22 04:04:32 +00:00
actions-user
61d9746b1c Auto updated submodule references 2023-12-21 04:04:13 +00:00
actions-user
c869387f1a Auto updated submodule references 2023-12-20 04:04:18 +00:00
actions-user
747efb35a6 Auto updated submodule references 2023-12-19 04:04:30 +00:00
actions-user
47ccb38f20 Auto updated submodule references 2023-12-18 04:04:36 +00:00
actions-user
83a87787c6 Auto updated submodule references 2023-12-17 04:04:22 +00:00
actions-user
7d628a5639 Auto updated submodule references 2023-12-16 04:04:24 +00:00
actions-user
fdfc976633 Auto updated submodule references 2023-12-15 04:04:34 +00:00
actions-user
bd85e24f45 Auto updated submodule references 2023-12-14 04:04:28 +00:00
actions-user
62a3e32c4a Auto updated submodule references 2023-12-13 04:04:23 +00:00
actions-user
e23bc10821 Auto updated submodule references 2023-12-12 04:04:26 +00:00
actions-user
dd96115ddf Auto updated submodule references 2023-12-10 04:04:31 +00:00
actions-user
4511b8a5cb Auto updated submodule references 2023-12-09 04:04:29 +00:00
actions-user
7b4a5d4aea Auto updated submodule references 2023-12-08 04:04:36 +00:00
actions-user
f484df66de Auto updated submodule references 2023-12-07 04:04:36 +00:00
actions-user
6ebe2bd8f2 Auto updated submodule references 2023-12-06 04:04:37 +00:00
actions-user
e26a5eecda Auto updated submodule references 2023-12-05 04:04:24 +00:00
actions-user
33c89ec034 Auto updated submodule references 2023-12-04 04:04:29 +00:00
actions-user
11cee9e911 Auto updated submodule references 2023-12-03 04:04:17 +00:00
actions-user
6d9e7c41ff Auto updated submodule references 2023-12-02 04:04:20 +00:00
actions-user
9d56a60d85 Auto updated submodule references 2023-12-01 04:04:22 +00:00
actions-user
47294883d4 Auto updated submodule references 2023-11-30 04:04:29 +00:00
actions-user
3ed7f7b7cb Auto updated submodule references 2023-11-29 04:04:34 +00:00
actions-user
6f45f0e837 Auto updated submodule references 2023-11-28 04:04:15 +00:00
actions-user
2826102030 Auto updated submodule references 2023-11-27 04:04:30 +00:00
actions-user
979e7e36ca Auto updated submodule references 2023-11-26 04:04:08 +00:00
actions-user
c9edbcd537 Auto updated submodule references 2023-11-25 04:04:26 +00:00
actions-user
41ab0167fd Auto updated submodule references 2023-11-24 04:04:28 +00:00
actions-user
e9110c008b Auto updated submodule references 2023-11-23 04:04:29 +00:00
actions-user
244b648cc4 Auto updated submodule references 2023-11-22 04:04:30 +00:00
actions-user
8f8fa9d27c Auto updated submodule references 2023-11-21 04:04:26 +00:00
actions-user
a3454600b6 Auto updated submodule references 2023-11-18 04:04:24 +00:00
actions-user
13d61e9917 Auto updated submodule references 2023-11-17 04:04:21 +00:00
actions-user
a2699d4aa5 Auto updated submodule references 2023-11-16 04:04:31 +00:00
actions-user
de1e01befc Auto updated submodule references 2023-11-15 04:04:25 +00:00
actions-user
6d88667e84 Auto updated submodule references 2023-11-14 04:04:28 +00:00
actions-user
189e57028d Auto updated submodule references 2023-11-13 04:04:19 +00:00
actions-user
7892df8484 Auto updated submodule references 2023-11-12 04:04:07 +00:00
actions-user
7f9fac974c Auto updated submodule references 2023-11-11 04:04:25 +00:00
actions-user
86cd238314 Auto updated submodule references 2023-11-10 04:04:22 +00:00
Syed Ali Shahbaz
bb52fcc61d Add prerelease flavor to meta 2023-11-09 13:01:20 +04:00
Syed Ali Shahbaz
30e01c3741 Only run push if it's not a pre-release 2023-11-09 12:55:18 +04:00
Syed Ali Shahbaz
ae2d7fbd6a mark pre-release when '-rc' in tag 2023-11-09 11:44:24 +04:00
actions-user
49bc08e485 Auto updated submodule references 2023-11-09 04:04:21 +00:00
actions-user
cb34b575a7 Auto updated submodule references 2023-11-08 04:04:08 +00:00
actions-user
ec6ab9ddb6 Auto updated submodule references 2023-11-07 04:04:15 +00:00
actions-user
a93ff42551 Auto updated submodule references 2023-11-04 04:04:12 +00:00
actions-user
7949b536ab Auto updated submodule references 2023-11-03 04:04:24 +00:00
actions-user
b456c44861 Auto updated submodule references 2023-11-02 04:04:20 +00:00
actions-user
caf2d93632 Auto updated submodule references 2023-11-01 04:04:25 +00:00
actions-user
a5eed610aa Auto updated submodule references 2023-10-31 04:04:19 +00:00
actions-user
905a2832f2 Auto updated submodule references 2023-10-29 04:04:27 +00:00
actions-user
592ac2fb0e Auto updated submodule references 2023-10-28 04:04:10 +00:00
actions-user
0f1cf770cc Auto updated submodule references 2023-10-27 04:04:18 +00:00
actions-user
8d8b18e5bd Auto updated submodule references 2023-10-26 04:04:15 +00:00
actions-user
736dfecc0c Auto updated submodule references 2023-10-25 04:04:34 +00:00
actions-user
4679fc0ddf Auto updated submodule references 2023-10-24 04:04:20 +00:00
actions-user
5956e7f1a0 Auto updated submodule references 2023-10-23 04:04:20 +00:00
actions-user
d8cb522055 Auto updated submodule references 2023-10-21 04:04:32 +00:00
actions-user
a728ac7339 Auto updated submodule references 2023-10-20 04:04:24 +00:00
actions-user
fcf45975df Auto updated submodule references 2023-10-19 04:04:23 +00:00
actions-user
2a5375f4ea Auto updated submodule references 2023-10-18 04:04:20 +00:00
actions-user
b3a3679a6b Auto updated submodule references 2023-10-17 04:04:23 +00:00
Colin Griffin
9fdfca486a move cleanup to last 2023-10-15 12:56:35 -04:00
Colin Griffin
54400a2161 Merge pull request #298 from calcom/fix/multi-image-push
Reuse docker-build-push action to push multiple images
2023-10-15 10:09:03 -04:00
Colin Griffin
e0521c140d cleanup comments 2023-10-15 09:54:19 -04:00
Colin Griffin
dcb66ee989 Reuse docker-build-push action to push multiple images 2023-10-15 09:52:06 -04:00
Colin Griffin
c0f7cf77cb Merge pull request #297 from calcom/fix/push-all-tags-to-dockerhub
Push all tags not just first one in build & push workflow
2023-10-15 09:18:23 -04:00
Syed Ali Shahbaz
c4d6e766fa push all tags not just first one 2023-10-15 17:07:54 +04:00
actions-user
dbbda43758 Auto updated submodule references 2023-10-15 04:04:21 +00:00
actions-user
054b49abde Auto updated submodule references 2023-10-14 04:04:23 +00:00
actions-user
1fdd941c0a Auto updated submodule references 2023-10-13 04:04:31 +00:00
actions-user
cba7f20546 Auto updated submodule references 2023-10-12 04:04:23 +00:00
actions-user
8d58343954 Auto updated submodule references 2023-10-11 04:04:24 +00:00
actions-user
8543c18079 Auto updated submodule references 2023-10-10 04:04:34 +00:00
actions-user
47d0b7e9bf Auto updated submodule references 2023-10-09 04:04:23 +00:00
actions-user
db874ff8b1 Auto updated submodule references 2023-10-07 04:04:27 +00:00
actions-user
b49cf5cd28 Auto updated submodule references 2023-10-06 04:04:22 +00:00
actions-user
0acdb4b98a Auto updated submodule references 2023-10-05 04:04:24 +00:00
actions-user
d282ff71d1 Auto updated submodule references 2023-10-04 04:04:35 +00:00
Colin Griffin
f89ea705e2 Merge pull request #293 from calcom/add-runtime-check
Add runtime check, runtime logs and build logs
2023-10-03 14:57:09 -07:00
actions-user
fca3070045 Auto updated submodule references 2023-10-03 04:04:26 +00:00
actions-user
f32bf8b6da Auto updated submodule references 2023-10-02 04:04:30 +00:00
actions-user
5d58199abc Auto updated submodule references 2023-10-01 04:04:13 +00:00
actions-user
7cc495d54e Auto updated submodule references 2023-09-30 04:04:24 +00:00
Syed Ali Shahbaz
87379fea88 remove unnecessary remnant 2023-09-29 13:58:38 +04:00
Syed Ali Shahbaz
34c213f56a Ready 2023-09-29 13:46:44 +04:00
Syed Ali Shahbaz
04e4c64efe comment push to dockerhub for testing 2023-09-29 12:58:39 +04:00
Syed Ali Shahbaz
a23fd8b12a checkout spcific version 2023-09-29 12:58:02 +04:00
Syed Ali Shahbaz
4be3f45228 fix push step 2023-09-29 12:23:21 +04:00
Syed Ali Shahbaz
d17064f67f split build and push image and test in between 2023-09-29 11:55:30 +04:00
actions-user
aad1382418 Auto updated submodule references 2023-09-29 04:04:35 +00:00
Syed Ali Shahbaz
f7885eed69 Allow pushing to Dockerhub 2023-09-28 23:45:24 +04:00
Syed Ali Shahbaz
008ddd57f3 Remove redundant steps of logging 2023-09-28 22:01:49 +04:00
Syed Ali Shahbaz
0048a58b26 Reduce number of attempts for server health check 2023-09-28 21:40:34 +04:00
Syed Ali Shahbaz
89bd10bd84 debug response 2023-09-28 21:40:09 +04:00
Syed Ali Shahbaz
ff0db3a97c Redirect is also representative of healthy 2023-09-28 20:40:02 +04:00
Syed Ali Shahbaz
bd8a941f50 Publish on port 3000 for accessibility by health check 2023-09-28 19:32:36 +04:00
Syed Ali Shahbaz
8353418232 verbose curl req 2023-09-28 19:08:39 +04:00
Syed Ali Shahbaz
26784d6969 debug curl call endpoint 2023-09-28 18:48:16 +04:00
Syed Ali Shahbaz
a1d56a1f17 Add server startup wait time~2mins 2023-09-28 18:22:49 +04:00
Syed Ali Shahbaz
92512fd052 use next-webapp-url for curl req domain 2023-09-28 18:02:44 +04:00
Syed Ali Shahbaz
933f4722e9 Increase timeout for testing 2023-09-28 17:20:02 +04:00
Syed Ali Shahbaz
4870434673 Increase health check time limit to allow boot 2023-09-28 16:48:04 +04:00
Syed Ali Shahbaz
bcdff6eeb0 add health check 2023-09-28 16:29:35 +04:00
Syed Ali Shahbaz
1cb1dec45b duh 2023-09-28 14:42:34 +04:00
Syed Ali Shahbaz
316124258f Add nextauth and calendso encryption to test runtime 2023-09-28 14:20:21 +04:00
actions-user
44997263f1 Auto updated submodule references 2023-09-28 04:04:21 +00:00
Syed Ali Shahbaz
83d34f8df5 specify 'database' 2023-09-27 20:32:48 +04:00
Syed Ali Shahbaz
42e1b7260a Remove WIP 2023-09-27 20:09:01 +04:00
Syed Ali Shahbaz
d4e0fcecb9 Specify stack as network, as per docker-compose file 2023-09-27 20:06:18 +04:00
Syed Ali Shahbaz
5dbfc57d3c Revert prev 2023-09-27 20:02:20 +04:00
Syed Ali Shahbaz
5f2a14bc63 Add a network to specify where the DB is 2023-09-27 19:58:41 +04:00
Syed Ali Shahbaz
a049989155 revert prev commit 2023-09-27 19:51:07 +04:00
Syed Ali Shahbaz
ff56a03fb6 specify db container in test runtime 2023-09-27 19:37:29 +04:00
Syed Ali Shahbaz
9a74219dfd Update image name in test runtime as digest isn't found/recognized 2023-09-27 18:55:07 +04:00
Syed Ali Shahbaz
2b54576f05 Add load true to load image to local docker env 2023-09-27 18:28:43 +04:00
Syed Ali Shahbaz
fe5c310556 temporary block push to dockerhub for local testing purposes 2023-09-27 18:06:32 +04:00
Syed Ali Shahbaz
d299d9ae5e Add logging to build and runtime steps 2023-09-27 14:55:01 +04:00
Syed Ali Shahbaz
fa788cf600 Adds test runtime check 2023-09-27 14:45:08 +04:00
actions-user
7aea26c8a6 Auto updated submodule references 2023-09-27 04:04:34 +00:00
actions-user
0d690c922a Auto updated submodule references 2023-09-26 04:04:26 +00:00
actions-user
3c74585d48 Auto updated submodule references 2023-09-23 04:04:20 +00:00
actions-user
083867dc77 Auto updated submodule references 2023-09-22 04:04:20 +00:00
actions-user
06dd7f0821 Auto updated submodule references 2023-09-21 04:04:16 +00:00
actions-user
74fadbc4cc Auto updated submodule references 2023-09-20 04:04:14 +00:00
actions-user
838ffae9a6 Auto updated submodule references 2023-09-19 04:04:34 +00:00
actions-user
5b159a7fb4 Auto updated submodule references 2023-09-16 04:04:12 +00:00
actions-user
3ab1d7055e Auto updated submodule references 2023-09-15 04:04:27 +00:00
actions-user
5c57c20d20 Auto updated submodule references 2023-09-14 04:04:24 +00:00
actions-user
98fd99bced Auto updated submodule references 2023-09-13 04:04:30 +00:00
Colin Griffin
c17606cc0a Merge pull request #283 from marcmontu/fix/build-missing-files
fix: add missing tests folder required for build
2023-09-12 09:37:28 -04:00
actions-user
064b31a641 Auto updated submodule references 2023-09-12 04:04:24 +00:00
Marc Rubio
769c1d91ee fix: add missing tests folder required for build
cal.com v3.2.9 has a new tests folder. The Docker image build fails without it.
2023-09-11 16:25:26 +10:00
actions-user
dffaae7cce Auto updated submodule references 2023-09-11 04:04:10 +00:00
actions-user
44c0ba5eaf Auto updated submodule references 2023-09-09 04:04:11 +00:00
actions-user
e6586b196b Auto updated submodule references 2023-09-08 04:04:31 +00:00
actions-user
abcbf1a5de Auto updated submodule references 2023-09-07 04:04:32 +00:00
actions-user
51ad2ea126 Auto updated submodule references 2023-09-06 04:04:06 +00:00
actions-user
12caf3f4bf Auto updated submodule references 2023-09-05 04:04:36 +00:00
actions-user
2265cf05f3 Auto updated submodule references 2023-09-02 04:04:32 +00:00
actions-user
d8b94d4335 Auto updated submodule references 2023-09-01 04:04:26 +00:00
actions-user
8db8b631da Auto updated submodule references 2023-08-31 04:04:14 +00:00
actions-user
0e6fab7bf7 Auto updated submodule references 2023-08-30 04:04:14 +00:00
actions-user
2b0bd7896e Auto updated submodule references 2023-08-29 04:04:32 +00:00
actions-user
a2a9d0aca1 Auto updated submodule references 2023-08-26 04:04:22 +00:00
actions-user
59bed07eca Auto updated submodule references 2023-08-25 04:04:40 +00:00
actions-user
e9673bd1a4 Auto updated submodule references 2023-08-24 04:04:24 +00:00
actions-user
780b708d49 Auto updated submodule references 2023-08-23 04:04:29 +00:00
actions-user
915c9f7837 Auto updated submodule references 2023-08-22 04:04:18 +00:00
actions-user
775eb7c83b Auto updated submodule references 2023-08-20 04:04:23 +00:00
actions-user
1b94b0a4cc Auto updated submodule references 2023-08-19 04:04:29 +00:00
actions-user
bc9d85b650 Auto updated submodule references 2023-08-18 04:04:07 +00:00
actions-user
14564d06d8 Auto updated submodule references 2023-08-17 04:04:26 +00:00
actions-user
7fd57f9097 Auto updated submodule references 2023-08-16 04:04:08 +00:00
actions-user
a32eddc4d4 Auto updated submodule references 2023-08-15 04:04:15 +00:00
actions-user
2581a9de2a Auto updated submodule references 2023-08-14 04:04:32 +00:00
actions-user
82d0155b4e Auto updated submodule references 2023-08-13 04:04:17 +00:00
actions-user
84d500c89c Auto updated submodule references 2023-08-12 04:04:06 +00:00
actions-user
6c323097b6 Auto updated submodule references 2023-08-11 04:04:07 +00:00
actions-user
4a6d1b4732 Auto updated submodule references 2023-08-10 04:04:09 +00:00
actions-user
3279928c9d Auto updated submodule references 2023-08-09 04:05:04 +00:00
actions-user
01ac9f4ff2 Auto updated submodule references 2023-08-08 04:04:07 +00:00
actions-user
c2f7e69a59 Auto updated submodule references 2023-08-06 04:04:15 +00:00
actions-user
546ef1305e Auto updated submodule references 2023-08-05 04:04:18 +00:00
actions-user
d0c7668d34 Auto updated submodule references 2023-08-04 04:04:17 +00:00
actions-user
68765805be Auto updated submodule references 2023-08-03 04:04:25 +00:00
actions-user
6a15aaa42f Auto updated submodule references 2023-08-02 04:04:28 +00:00
actions-user
c27de4875c Auto updated submodule references 2023-08-01 04:04:18 +00:00
actions-user
71c0c84383 Auto updated submodule references 2023-07-30 04:04:16 +00:00
actions-user
e94c50a224 Auto updated submodule references 2023-07-29 04:04:03 +00:00
actions-user
7106728280 Auto updated submodule references 2023-07-28 04:04:09 +00:00
actions-user
c24bc644e4 Auto updated submodule references 2023-07-27 04:04:21 +00:00
actions-user
2ab14ab1ba Auto updated submodule references 2023-07-26 04:04:06 +00:00
actions-user
92eb7b1b38 Auto updated submodule references 2023-07-25 04:04:38 +00:00
actions-user
f4a717e9b8 Auto updated submodule references 2023-07-24 04:04:26 +00:00
actions-user
208bd9c4b9 Auto updated submodule references 2023-07-22 04:04:34 +00:00
actions-user
8c6594216f Auto updated submodule references 2023-07-21 04:04:31 +00:00
actions-user
c4aa0e2ad2 Auto updated submodule references 2023-07-20 04:04:26 +00:00
actions-user
28380a9517 Auto updated submodule references 2023-07-19 04:09:18 +00:00
actions-user
8d8bfc5585 Auto updated submodule references 2023-07-18 04:04:24 +00:00
actions-user
74aa6d7121 Auto updated submodule references 2023-07-17 04:04:45 +00:00
actions-user
908834465e Auto updated submodule references 2023-07-16 04:04:37 +00:00
actions-user
0bd99af9de Auto updated submodule references 2023-07-15 04:04:24 +00:00
actions-user
061086165f Auto updated submodule references 2023-07-14 04:04:33 +00:00
actions-user
cf978614db Auto updated submodule references 2023-07-13 04:04:35 +00:00
actions-user
69fb59812a Auto updated submodule references 2023-07-12 04:04:42 +00:00
actions-user
dfe010710b Auto updated submodule references 2023-07-11 04:04:39 +00:00
actions-user
09027a5c97 Auto updated submodule references 2023-07-08 04:04:48 +00:00
actions-user
578a104a92 Auto updated submodule references 2023-07-07 04:04:34 +00:00
actions-user
b066cff0b3 Auto updated submodule references 2023-07-06 04:04:45 +00:00
actions-user
d348680dc6 Auto updated submodule references 2023-07-05 17:45:45 +00:00
actions-user
a4a51da68a Auto updated submodule references 2023-07-05 04:04:56 +00:00
Colin Griffin
16ec6da83f use PAT for release creation 2023-07-04 11:29:35 -04:00
Colin Griffin
35125d3e41 fetch tags from origin 2023-07-04 11:05:27 -04:00
Colin Griffin
0c502c56ff checkout with refs/tags 2023-07-04 11:03:25 -04:00
Colin Griffin
d922d0f363 add tag list for debugging 2023-07-04 10:57:05 -04:00
Colin Griffin
d5fbf1869e remove quotes from tag 2023-07-04 10:52:57 -04:00
Colin Griffin
7567a4669b temp debugging 2023-07-04 10:50:25 -04:00
Colin Griffin
4a368b6279 pull submodules from remote to get available branches 2023-07-04 10:47:15 -04:00
Colin Griffin
f0feb3920a update reference to calcom folder 2023-07-04 10:41:10 -04:00
actions-user
6e264c2cbd Auto updated submodule references 2023-07-04 04:04:29 +00:00
actions-user
c2fef16e7f Auto updated submodule references 2023-07-03 04:04:40 +00:00
actions-user
98af1ee0f1 Auto updated submodule references 2023-07-02 04:04:32 +00:00
actions-user
a014e6987d Auto updated submodule references 2023-07-01 04:04:47 +00:00
actions-user
80fbee033f Auto updated submodule references 2023-06-30 04:04:22 +00:00
actions-user
aa03d3300a Auto updated submodule references 2023-06-29 04:04:20 +00:00
Colin Griffin
2fda3845b0 Merge pull request #265 from calcom/feat/actions-auto-release
Feat/actions auto release
2023-06-28 17:52:44 -04:00
Colin Griffin
2ab6ff4284 add action for creating local releases 2023-06-28 17:31:58 -04:00
Colin Griffin
4937e38996 tag version 3.0.9 2023-06-28 09:02:37 -04:00
actions-user
29994d5a47 Auto updated submodule references 2023-06-28 04:04:44 +00:00
actions-user
5d36da146c Auto updated submodule references 2023-06-27 04:04:42 +00:00
actions-user
c8abf7a184 Auto updated submodule references 2023-06-26 04:04:36 +00:00
actions-user
f5ca95e8a8 Auto updated submodule references 2023-06-24 04:04:28 +00:00
actions-user
6f6a258db1 Auto updated submodule references 2023-06-23 04:04:32 +00:00
actions-user
91b9623260 Auto updated submodule references 2023-06-22 04:04:23 +00:00
actions-user
594b253883 Auto updated submodule references 2023-06-21 04:04:31 +00:00
actions-user
465216f223 Auto updated submodule references 2023-06-20 04:04:20 +00:00
Colin Griffin
45ecfb1332 Merge pull request #263 from calcom/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2023-06-19 08:11:45 +01:00
dependabot[bot]
b05bf66a98 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 07:09:29 +00:00
actions-user
d6e52074fc Auto updated submodule references 2023-06-19 04:04:18 +00:00
actions-user
f8b0f22dd6 Auto updated submodule references 2023-06-18 04:04:06 +00:00
actions-user
cd18541a77 Auto updated submodule references 2023-06-17 04:04:08 +00:00
actions-user
36bc2a5e98 Auto updated submodule references 2023-06-16 04:04:31 +00:00
actions-user
84223fd3c2 Auto updated submodule references 2023-06-15 04:04:16 +00:00
Colin Griffin
a4d313ef8b Merge pull request #259 from jokay/feature/add-health-check
Add health check
2023-06-14 10:12:00 +01:00
D. Domig
4ea7fc4db6 Add health check 2023-06-14 09:51:22 +02:00
Colin Griffin
0aca750ab4 remove arm and restore ubuntu-latest to resume publishing without ARM 2023-06-14 08:37:40 +01:00
actions-user
4f011445a0 Auto updated submodule references 2023-06-14 04:04:28 +00:00
actions-user
030eecf235 Auto updated submodule references 2023-06-13 04:04:41 +00:00
actions-user
0e63623d06 Auto updated submodule references 2023-06-12 04:04:31 +00:00
actions-user
4526b07644 Auto updated submodule references 2023-06-11 04:04:23 +00:00
actions-user
15043e209b Auto updated submodule references 2023-06-10 04:04:18 +00:00
actions-user
a99a2d791a Auto updated submodule references 2023-06-09 04:04:41 +00:00
actions-user
c812c07076 Auto updated submodule references 2023-06-08 04:04:27 +00:00
actions-user
659c4a3dd0 Auto updated submodule references 2023-06-07 04:04:32 +00:00
actions-user
e7d50ea0e8 Auto updated submodule references 2023-06-06 04:04:17 +00:00
actions-user
d1841b2287 Auto updated submodule references 2023-06-05 04:04:04 +00:00
Colin Griffin
a24104bbc7 Merge pull request #248 from calcom/fix/max-parallelism
Update docker-build-push-dockerhub.yml
2023-06-04 13:04:53 -04:00
Colin Griffin
eb5ac7b4be Update docker-build-push-dockerhub.yml 2023-06-04 13:04:39 -04:00
Colin Griffin
9cda60d822 Merge pull request #193 from calcom/fix/enable-arm
Re-introduce ARM build
2023-06-04 02:15:41 -04:00
Colin Griffin
ed9f386e22 re-enable image push 2023-06-04 02:11:16 -04:00
Colin Griffin
deaadc84ac limit to 1 concurrent docker runner 2023-06-04 02:09:07 -04:00
Colin Griffin
8892507e29 add dependabot and update actions deps 2023-06-04 00:10:32 -04:00
actions-user
1e6ef72a1c Auto updated submodule references 2023-06-04 04:04:01 +00:00
Colin Griffin
62310b0207 remove amd64 2023-06-03 23:04:46 -04:00
Colin Griffin
377964da71 fix docker-compose command (remove hyphen) 2023-06-03 22:22:31 -04:00
Colin Griffin
b93882f36f resolve conflicts 2023-06-03 21:35:15 -04:00
Colin Griffin
ea9679f32c update calcom 2023-06-03 21:03:47 -04:00
Colin Griffin
59f7b813c2 fix docker compose command syntax 2023-06-03 13:56:30 -04:00
Colin Griffin
cd8c092600 add context for builder 2023-06-03 13:56:30 -04:00
Colin Griffin
69721634ab temporarily remove amd64 2023-06-03 13:56:28 -04:00
Colin Griffin
9315c39cdc enable push 2023-06-03 13:56:09 -04:00
Colin Griffin
c4ec75c4af Update docker-build-push-dockerhub.yml
use legacy docker-compose temporarily
2023-06-03 13:55:42 -04:00
Colin Griffin
d0fb4247e5 test local runner 2023-06-03 13:55:26 -04:00
Colin Griffin
d4d7fdbae6 move to self-hosted 2023-06-03 13:55:26 -04:00
Colin Griffin
c652cac1bd update arm64 2023-06-03 13:54:13 -04:00
actions-user
6a143526da Auto updated submodule references 2023-06-03 04:04:23 +00:00
actions-user
98e87102a4 Auto updated submodule references 2023-06-02 04:04:17 +00:00
actions-user
2c1575a47a Auto updated submodule references 2023-06-01 04:05:18 +00:00
actions-user
c027380ecb Auto updated submodule references 2023-05-31 04:04:14 +00:00
actions-user
720639b2ea Auto updated submodule references 2023-05-30 04:04:28 +00:00
actions-user
db2d9dc08e Auto updated submodule references 2023-05-27 04:04:23 +00:00
actions-user
5d0489bf13 Auto updated submodule references 2023-05-26 04:04:22 +00:00
actions-user
6c54c87dfc Auto updated submodule references 2023-05-25 04:04:09 +00:00
actions-user
7fbffa6094 Auto updated submodule references 2023-05-24 04:04:18 +00:00
actions-user
7528e9d0f0 Auto updated submodule references 2023-05-23 04:04:32 +00:00
actions-user
09839f367f Auto updated submodule references 2023-05-22 04:04:11 +00:00
actions-user
21ac156d00 Auto updated submodule references 2023-05-21 04:04:19 +00:00
actions-user
15d7c1cf09 Auto updated submodule references 2023-05-20 04:04:18 +00:00
actions-user
5636ea9001 Auto updated submodule references 2023-05-19 04:04:29 +00:00
actions-user
d7933ece19 Auto updated submodule references 2023-05-18 04:04:23 +00:00
actions-user
b329667c8a Auto updated submodule references 2023-05-17 04:04:09 +00:00
actions-user
730bdd0faf Auto updated submodule references 2023-05-16 04:04:14 +00:00
actions-user
0aaa480367 Auto updated submodule references 2023-05-15 04:04:28 +00:00
actions-user
0dab29dfed Auto updated submodule references 2023-05-14 04:04:24 +00:00
actions-user
9486648e4e Auto updated submodule references 2023-05-13 04:04:17 +00:00
actions-user
e2b95b8f61 Auto updated submodule references 2023-05-12 04:04:42 +00:00
actions-user
5d74a43453 Auto updated submodule references 2023-05-11 04:04:23 +00:00
actions-user
47966b5c26 Auto updated submodule references 2023-05-10 04:04:12 +00:00
actions-user
9359793032 Auto updated submodule references 2023-05-09 04:04:24 +00:00
actions-user
59ad397832 Auto updated submodule references 2023-05-07 04:04:25 +00:00
actions-user
18cfe50f5f Auto updated submodule references 2023-05-06 04:04:17 +00:00
actions-user
e9ede520ba Auto updated submodule references 2023-05-05 04:04:18 +00:00
actions-user
6a03392316 Auto updated submodule references 2023-05-04 04:04:22 +00:00
actions-user
3325e52b64 Auto updated submodule references 2023-05-03 04:04:13 +00:00
actions-user
88bee2ec45 Auto updated submodule references 2023-05-01 04:04:25 +00:00
actions-user
bc3decdd21 Auto updated submodule references 2023-04-29 04:04:23 +00:00
actions-user
bb0aabaf12 Auto updated submodule references 2023-04-28 04:04:20 +00:00
actions-user
9a8058bd92 Auto updated submodule references 2023-04-27 04:04:15 +00:00
actions-user
bd4fc5b877 Auto updated submodule references 2023-04-26 04:04:20 +00:00
actions-user
994b791bcd Auto updated submodule references 2023-04-25 04:04:27 +00:00
actions-user
c442968a13 Auto updated submodule references 2023-04-23 04:04:45 +00:00
actions-user
9c602da764 Auto updated submodule references 2023-04-22 04:04:10 +00:00
actions-user
ee4d60a854 Auto updated submodule references 2023-04-21 04:04:25 +00:00
actions-user
9d50b994da Auto updated submodule references 2023-04-20 04:04:22 +00:00
actions-user
d75d82de2b Auto updated submodule references 2023-04-19 04:04:24 +00:00
actions-user
b4e1788f38 Auto updated submodule references 2023-04-18 04:04:27 +00:00
actions-user
84d89058c8 Auto updated submodule references 2023-04-17 04:04:33 +00:00
actions-user
9d59034af8 Auto updated submodule references 2023-04-16 04:04:18 +00:00
actions-user
ccffeb1842 Auto updated submodule references 2023-04-15 04:04:24 +00:00
actions-user
76b0c8ab73 Auto updated submodule references 2023-04-14 04:04:21 +00:00
actions-user
7f2a0844a6 Auto updated submodule references 2023-04-13 04:04:20 +00:00
actions-user
04fadaf4df Auto updated submodule references 2023-04-12 04:04:22 +00:00
actions-user
3d3eb7097a Auto updated submodule references 2023-04-11 21:06:11 +00:00
actions-user
81dba2d53c Auto updated submodule references 2023-04-11 04:04:12 +00:00
actions-user
da04c4ec7e Auto updated submodule references 2023-04-10 19:51:37 +00:00
actions-user
6fb7bd8712 Auto updated submodule references 2023-04-10 04:04:35 +00:00
actions-user
ca82c6c218 Auto updated submodule references 2023-04-09 04:04:15 +00:00
actions-user
cb9db89ab1 Auto updated submodule references 2023-04-08 04:04:21 +00:00
actions-user
20137bb1e3 Auto updated submodule references 2023-04-07 04:04:31 +00:00
actions-user
78ec934aa5 Auto updated submodule references 2023-04-06 04:04:10 +00:00
actions-user
438bfddbf4 Auto updated submodule references 2023-04-05 04:04:26 +00:00
actions-user
3674dd770f Auto updated submodule references 2023-04-04 04:04:14 +00:00
actions-user
7c445ff49d Auto updated submodule references 2023-04-03 04:04:28 +00:00
actions-user
5233f097b8 Auto updated submodule references 2023-04-02 04:04:15 +00:00
actions-user
091e64a6ed Auto updated submodule references 2023-04-01 04:04:29 +00:00
actions-user
373571e4d5 Auto updated submodule references 2023-03-31 04:04:13 +00:00
actions-user
c77ccdfc4f Auto updated submodule references 2023-03-30 04:04:21 +00:00
actions-user
a81056818d Auto updated submodule references 2023-03-29 04:04:29 +00:00
actions-user
bda88300c6 Auto updated submodule references 2023-03-28 04:04:23 +00:00
actions-user
ccf2c517c3 Auto updated submodule references 2023-03-27 04:04:32 +00:00
actions-user
97a5a9b7a9 Auto updated submodule references 2023-03-26 04:04:25 +00:00
actions-user
0ae8574f10 Auto updated submodule references 2023-03-25 04:04:23 +00:00
actions-user
8e5ee518b8 Auto updated submodule references 2023-03-24 04:04:23 +00:00
actions-user
be0f84b532 Auto updated submodule references 2023-03-23 04:04:20 +00:00
Colin Griffin
75d7a8b290 remove 'yarn global add turbo' 2023-03-22 16:58:50 -04:00
actions-user
e5b7a307eb Auto updated submodule references 2023-03-22 04:04:28 +00:00
Colin Griffin
722ac1fedd Merge pull request #231 from calcom/feature/size-reduction
Reduce image size significantly
2023-03-21 16:00:07 -04:00
Colin Griffin
d4fc846117 add a third stage and remove cached files, to reduce overall size substantially 2023-03-21 04:21:31 -04:00
actions-user
4a4fb0cc4b Auto updated submodule references 2023-03-21 04:04:39 +00:00
Colin Griffin
66b448b21d add yarnrc to runner 2023-03-20 02:33:39 -04:00
Colin Griffin
3f284777d9 Merge pull request #228 from calcom/temp19fix
Update base image to node:18
2023-03-20 10:12:19 -04:00
Colin Griffin
556765e31c add db-deploy and seed 2023-03-20 00:09:22 -04:00
actions-user
e378263b9a Auto updated submodule references 2023-03-20 04:04:35 +00:00
actions-user
da0d8c72ba Auto updated submodule references 2023-03-19 04:04:31 +00:00
actions-user
265da863a7 Auto updated submodule references 2023-03-18 04:04:15 +00:00
actions-user
7c3368827d Auto updated submodule references 2023-03-17 04:04:15 +00:00
actions-user
aafe4659d5 Auto updated submodule references 2023-03-16 04:04:19 +00:00
actions-user
90bb564700 Auto updated submodule references 2023-03-15 04:04:28 +00:00
actions-user
0b4ddc1557 Auto updated submodule references 2023-03-14 04:04:24 +00:00
actions-user
83a978defc Auto updated submodule references 2023-03-13 04:04:22 +00:00
actions-user
ef94a405ec Auto updated submodule references 2023-03-12 04:04:13 +00:00
actions-user
0cea741e8d Auto updated submodule references 2023-03-11 04:04:12 +00:00
actions-user
54aa682759 Auto updated submodule references 2023-03-10 04:04:21 +00:00
actions-user
c1d515648c Auto updated submodule references 2023-03-09 04:04:20 +00:00
actions-user
ef52a6bdec Auto updated submodule references 2023-03-08 04:04:17 +00:00
actions-user
a46637ebf5 Auto updated submodule references 2023-03-07 04:04:30 +00:00
actions-user
fe7e381e74 Auto updated submodule references 2023-03-06 04:04:16 +00:00
actions-user
646127b78b Auto updated submodule references 2023-03-05 04:04:09 +00:00
actions-user
2f73753547 Auto updated submodule references 2023-03-04 04:04:30 +00:00
actions-user
c20e4c0e2c Auto updated submodule references 2023-03-03 04:31:12 +00:00
actions-user
052c73319b Auto updated submodule references 2023-03-02 04:04:29 +00:00
actions-user
648719a893 Auto updated submodule references 2023-03-01 04:04:20 +00:00
actions-user
ed3d7db115 Auto updated submodule references 2023-02-28 04:04:17 +00:00
actions-user
ac51207cf2 Auto updated submodule references 2023-02-26 04:04:18 +00:00
actions-user
5d73aa98ae Auto updated submodule references 2023-02-25 04:04:26 +00:00
actions-user
f513207635 Auto updated submodule references 2023-02-24 04:04:23 +00:00
actions-user
9c63f2c5ca Auto updated submodule references 2023-02-23 13:09:44 +00:00
actions-user
6e52f5fe98 Auto updated submodule references 2023-02-23 04:04:30 +00:00
actions-user
d9a0883213 Auto updated submodule references 2023-02-22 04:04:10 +00:00
actions-user
2481295170 Auto updated submodule references 2023-02-21 04:04:18 +00:00
actions-user
861d81afdf Auto updated submodule references 2023-02-20 04:04:28 +00:00
actions-user
f13b606f4c Auto updated submodule references 2023-02-19 04:04:13 +00:00
actions-user
5a0c6ff4c2 Auto updated submodule references 2023-02-17 04:04:11 +00:00
actions-user
0dd6e76218 Auto updated submodule references 2023-02-16 04:04:28 +00:00
actions-user
045da5b5a6 Auto updated submodule references 2023-02-15 04:04:23 +00:00
actions-user
ea6f007b7d Auto updated submodule references 2023-02-14 04:04:12 +00:00
actions-user
d5b1d5efda Auto updated submodule references 2023-02-13 04:04:10 +00:00
actions-user
b32d5a5a11 Auto updated submodule references 2023-02-12 04:04:08 +00:00
actions-user
84db4f1335 Auto updated submodule references 2023-02-11 04:04:11 +00:00
actions-user
1acb697ff2 Auto updated submodule references 2023-02-10 04:04:14 +00:00
actions-user
92b3fd0196 Auto updated submodule references 2023-02-09 04:04:26 +00:00
actions-user
d2be28f835 Auto updated submodule references 2023-02-08 04:04:18 +00:00
actions-user
dfea5d6096 Auto updated submodule references 2023-02-07 04:04:31 +00:00
actions-user
9a8a3b417b Auto updated submodule references 2023-02-06 04:04:07 +00:00
actions-user
d9615badc2 Auto updated submodule references 2023-02-05 04:04:20 +00:00
actions-user
13ee5f11bb Auto updated submodule references 2023-02-04 04:04:11 +00:00
actions-user
b3460f0131 Auto updated submodule references 2023-02-03 04:04:20 +00:00
actions-user
3343200901 Auto updated submodule references 2023-02-02 04:04:41 +00:00
actions-user
14416be82b Auto updated submodule references 2023-02-01 04:04:16 +00:00
actions-user
26f374e4d1 Auto updated submodule references 2023-01-31 04:04:04 +00:00
actions-user
55eb90b9eb Auto updated submodule references 2023-01-30 04:04:25 +00:00
actions-user
e25704fbd6 Auto updated submodule references 2023-01-28 04:04:16 +00:00
Peer Richelsen
dac54efbfe Merge pull request #205 from remram44/patch-1
Remove note about Docker organization not renamed
2023-01-27 17:02:45 +01:00
Remi Rampin
b68b021815 Remove note about Docker organization not renamed
It has been renamed and the README was updated by
23930c073f.
2023-01-27 10:16:39 -05:00
actions-user
a3678f6b48 Auto updated submodule references 2023-01-27 04:04:24 +00:00
actions-user
07ef9141b2 Auto updated submodule references 2023-01-26 04:04:12 +00:00
actions-user
ebad0318d6 Auto updated submodule references 2023-01-25 04:04:20 +00:00
actions-user
d128c2f580 Auto updated submodule references 2023-01-24 04:04:17 +00:00
Colin Griffin
3b41ddc2b9 Update docker-build-push-dockerhub.yml
generate images with tagged versions
2023-01-23 19:04:06 -05:00
actions-user
2d645b1c1a Auto updated submodule references 2023-01-23 04:04:22 +00:00
actions-user
f1cdd081e6 Auto updated submodule references 2023-01-22 00:14:32 +00:00
actions-user
fc458e1fc7 Auto updated submodule references 2023-01-21 22:05:48 +00:00
Colin Griffin
d9e4d88e04 Merge pull request #202 from eleith/eleith-fix-preinstall-docker
add preinstall script dependencies
2023-01-21 15:31:55 -05:00
eleith
ea2486a36a add preinstall script dependencies
recent changes in the main repository added a `preinstall` step:

8d078564dd

these scripts need to be in the container in order for turbo to properly
run all steps without error. without them, the build step will error,
complaining about a missing `.git-init.sh` script
2023-01-21 12:29:12 -08:00
actions-user
75a2a93185 Auto updated submodule references 2023-01-21 04:04:06 +00:00
actions-user
5d6508a1e0 Auto updated submodule references 2023-01-20 04:04:19 +00:00
actions-user
f51d8a44be Auto updated submodule references 2023-01-19 04:04:18 +00:00
actions-user
14284a9857 Auto updated submodule references 2023-01-18 04:04:31 +00:00
actions-user
f1f63815fd Auto updated submodule references 2023-01-17 04:04:02 +00:00
actions-user
942c260101 Auto updated submodule references 2023-01-16 04:04:05 +00:00
actions-user
8304fa112f Auto updated submodule references 2023-01-15 04:04:08 +00:00
actions-user
335ca0bd33 Auto updated submodule references 2023-01-14 04:04:11 +00:00
actions-user
24d9c6371d Auto updated submodule references 2023-01-13 04:04:28 +00:00
actions-user
d3dfcc2ff9 Auto updated submodule references 2023-01-12 04:04:21 +00:00
actions-user
c18d2f1525 Auto updated submodule references 2023-01-11 04:04:18 +00:00
actions-user
bf3bcc5267 Auto updated submodule references 2023-01-10 04:04:19 +00:00
Peer Richelsen
084a0ebbf6 Merge pull request #198 from phishy/updates-render-env
updates render env
2023-01-09 19:40:12 +01:00
actions-user
6c3c5095d7 Auto updated submodule references 2023-01-09 04:04:08 +00:00
actions-user
fb0ba5046e Auto updated submodule references 2023-01-08 04:04:28 +00:00
actions-user
c841833591 Auto updated submodule references 2023-01-07 04:04:15 +00:00
actions-user
6880d27bc5 Auto updated submodule references 2023-01-06 04:04:19 +00:00
Jeff Loiselle
ce5869e86f updates render env 2023-01-05 09:07:10 -06:00
actions-user
1cd7541002 Auto updated submodule references 2023-01-05 04:04:15 +00:00
Peer Richelsen
b96bd26d82 Merge pull request #197 from phishy/render
adds render.com support
2023-01-04 23:21:33 +01:00
Jeff Loiselle
fb96843970 adds render.com support 2023-01-04 13:25:00 -06:00
actions-user
72fac9db4f Auto updated submodule references 2023-01-04 04:04:12 +00:00
actions-user
baea61e1fc Auto updated submodule references 2023-01-03 04:04:18 +00:00
actions-user
d50f15f54b Auto updated submodule references 2023-01-02 04:04:15 +00:00
actions-user
90bc00d3aa Auto updated submodule references 2022-12-31 04:04:13 +00:00
Peer Richelsen
14a2f224a6 added scarf pixel 2022-12-29 11:59:20 +01:00
Peer Richelsen
cfc72a1612 Merge pull request #194 from calcom/PeerRich-patch-1 2022-12-29 11:20:04 +01:00
actions-user
6dbacba0a6 Auto updated submodule references 2022-12-29 04:04:22 +00:00
Peer Richelsen
2ceef21b30 Update scarf-data-export.yml 2022-12-28 21:08:35 +01:00
Peer Richelsen
a6a1617252 Create scarf-data-export.yml 2022-12-28 21:08:02 +01:00
actions-user
eb5adf6bf7 Auto updated submodule references 2022-12-28 04:04:15 +00:00
actions-user
6b3b545ea0 Auto updated submodule references 2022-12-27 04:04:34 +00:00
actions-user
0af1e92d51 Auto updated submodule references 2022-12-24 04:06:00 +00:00
actions-user
06d7ce2167 Auto updated submodule references 2022-12-23 04:04:40 +00:00
actions-user
72e76ac168 Auto updated submodule references 2022-12-22 04:04:29 +00:00
actions-user
3e9a5a25e3 Auto updated submodule references 2022-12-21 04:04:22 +00:00
Peer Richelsen
23930c073f Update README.md 2022-12-20 17:28:17 +01:00
actions-user
72f80700b2 Auto updated submodule references 2022-12-20 04:04:19 +00:00
Colin Griffin
f23aca28ac update scarf endpoint 2022-12-19 11:16:50 -05:00
Colin Griffin
86e1d47b54 update scarf endpoint 2022-12-19 11:16:11 -05:00
actions-user
2a5f34db9b Auto updated submodule references 2022-12-19 04:04:15 +00:00
Peer Richelsen
b0e6db073b Merge pull request #189 from calcom/feature/calcom-dockerhub
add calcom dockerhub org
2022-12-18 11:39:19 +01:00
actions-user
b74f1ddcf0 Auto updated submodule references 2022-12-18 04:04:21 +00:00
Colin Griffin
66ebcf32c4 add period 2022-12-17 18:00:12 -05:00
Colin Griffin
568a774de5 change image name from web to calcom 2022-12-17 16:06:50 -05:00
Colin Griffin
a54e12f6e8 add calcom dockerhub org 2022-12-17 15:13:27 -05:00
actions-user
acd71e8b4a Auto updated submodule references 2022-12-17 04:04:22 +00:00
actions-user
d0a6fabe98 Auto updated submodule references 2022-12-16 04:04:29 +00:00
actions-user
2c72a1c0fd Auto updated submodule references 2022-12-15 04:04:21 +00:00
actions-user
26f9cac3ff Auto updated submodule references 2022-12-14 04:04:10 +00:00
Colin Griffin
3152271b78 Merge pull request #186 from calcom/docs/scarf
add additional pull instructions and clarify scarf.sh usage
2022-12-13 10:53:31 -05:00
Colin Griffin
11bc286588 add missing scarf endpoint 2022-12-13 10:52:30 -05:00
Colin Griffin
40a6c5f254 add additional pull instructions and clarify scarf.sh usage 2022-12-13 10:51:21 -05:00
actions-user
406d6a2bb2 Auto updated submodule references 2022-12-13 04:04:20 +00:00
Colin Griffin
e7e9dfa608 Merge pull request #178 from scarf-sh/main
Use Scarf endpoint for Cal.com container
2022-12-12 10:04:11 -05:00
actions-user
2ca314d8d1 Auto updated submodule references 2022-12-11 04:04:22 +00:00
actions-user
fed06031cb Auto updated submodule references 2022-12-10 04:04:23 +00:00
actions-user
fdf295c81d Auto updated submodule references 2022-12-09 04:04:29 +00:00
actions-user
8fcef0c3b8 Auto updated submodule references 2022-12-08 23:18:56 +00:00
actions-user
5f85d88a47 Auto updated submodule references 2022-12-08 04:04:22 +00:00
actions-user
d534d5ae5b Auto updated submodule references 2022-12-07 04:04:25 +00:00
actions-user
1493ecad0a Auto updated submodule references 2022-12-06 04:04:03 +00:00
actions-user
915c2ac4f8 Auto updated submodule references 2022-12-04 04:04:12 +00:00
actions-user
ff8fc01f2e Auto updated submodule references 2022-12-03 04:04:14 +00:00
actions-user
ba640dbb7c Auto updated submodule references 2022-12-02 04:04:14 +00:00
actions-user
a94bce2275 Auto updated submodule references 2022-12-01 04:04:23 +00:00
Colin Griffin
88b82c9e11 remove extra tabs 2022-11-30 11:28:40 -05:00
Colin Griffin
09631e8896 Merge pull request #180 from calcom/docs/running
Update readme with instructions for running without building
2022-11-30 10:40:00 -05:00
actions-user
65470e462b Auto updated submodule references 2022-11-30 04:04:18 +00:00
Colin Griffin
488814cfe8 update project logo section 2022-11-29 19:53:58 -05:00
Colin Griffin
0ada63b210 clarify repo path 2022-11-29 19:51:21 -05:00
Colin Griffin
1a910d8ee1 Merge pull request #181 from calcom/actions/ghcr
Add github packages to container registry outputs
2022-11-29 13:28:29 -05:00
Colin Griffin
fbac83c1aa add github packages to container registry outputs 2022-11-29 13:26:42 -05:00
Colin Griffin
7eaa4cdc98 Merge pull request #177 from calcom/feature/imagepath
Specify image in build, for removal of build requirement in docs
2022-11-29 12:14:51 -05:00
Colin Griffin
7cc28f2ad2 clarify clone and env steps 2022-11-29 12:13:30 -05:00
Colin Griffin
3d916679b8 update readme with instructions for running without building 2022-11-29 12:10:21 -05:00
actions-user
445c0d5e87 Auto updated submodule references 2022-11-29 04:04:22 +00:00
actions-user
265e8ecaf8 Auto updated submodule references 2022-11-28 04:04:12 +00:00
actions-user
12c8961757 Auto updated submodule references 2022-11-27 04:04:03 +00:00
actions-user
5ab069d70d Auto updated submodule references 2022-11-26 04:04:21 +00:00
actions-user
0cc2a42c41 Auto updated submodule references 2022-11-25 04:04:25 +00:00
actions-user
6ed5029b12 Auto updated submodule references 2022-11-24 04:04:12 +00:00
Arjun Devarajan
466bfc0686 Update docker-compose.yaml to utilize Scarf endpoint for Cal.com container 2022-11-23 10:56:08 -05:00
actions-user
808e0e9669 Auto updated submodule references 2022-11-23 04:04:20 +00:00
Colin Griffin
6fbf0453c5 add missing language to client fetch error 2022-11-22 13:41:28 -05:00
actions-user
f0d5bb0923 Auto updated submodule references 2022-11-22 04:04:24 +00:00
Colin Griffin
3c787951fe specify image in build, for removal of build requirement in docs 2022-11-21 09:14:10 -05:00
actions-user
6f2c76ea37 Auto updated submodule references 2022-11-21 04:08:54 +00:00
actions-user
c2f2c12a77 Auto updated submodule references 2022-11-19 04:04:20 +00:00
Colin Griffin
7b54eac24f Merge pull request #173 from calcom/fix/build-failures
Modify build to temporarily disable QEMU (timeout) and improve performance
2022-11-18 08:45:40 -05:00
actions-user
80cea002b5 Auto updated submodule references 2022-11-18 04:05:40 +00:00
Colin Griffin
ad8727b793 re-add branch selector 2022-11-17 16:08:50 -05:00
Colin Griffin
793aa88ba0 update runner to remove ARM temporarily 2022-11-17 15:27:55 -05:00
Colin Griffin
1f1f27e923 test speed on only arm64 2022-11-17 12:59:59 -05:00
Colin Griffin
7d8f885e58 test speed on only arm64 2022-11-17 12:58:34 -05:00
Colin Griffin
85a9493ec9 Merge branch 'main' of https://www.github.com/calcom/docker into fix/build-failures 2022-11-17 12:36:31 -05:00
actions-user
ead2053600 Auto updated submodule references 2022-11-17 04:04:46 +00:00
actions-user
be7398c764 Auto updated submodule references 2022-11-16 04:08:04 +00:00
actions-user
158dba0544 Auto updated submodule references 2022-11-15 14:31:55 +00:00
actions-user
47220f203e Auto updated submodule references 2022-11-15 04:07:10 +00:00
actions-user
394efaf05b Auto updated submodule references 2022-11-14 04:16:32 +00:00
actions-user
83fba3d630 Auto updated submodule references 2022-11-13 04:12:43 +00:00
actions-user
5f6bd72867 Auto updated submodule references 2022-11-12 04:11:14 +00:00
Colin Griffin
bbd5c3018e add build filter 2022-11-11 17:58:54 -05:00
Colin Griffin
97c6997c94 correct package scope 2022-11-11 17:51:06 -05:00
Colin Griffin
8e0f97489d prune packages to resolve storybook conflict 2022-11-11 17:49:03 -05:00
actions-user
0cf2122687 Auto updated submodule references 2022-11-11 04:13:42 +00:00
actions-user
eb4e7cfc11 Auto updated submodule references 2022-11-10 04:17:24 +00:00
actions-user
59c5f3a7bb Auto updated submodule references 2022-11-09 04:20:55 +00:00
Peer Richelsen
7beefda1da Merge pull request #172 from calcom/docs/nextauth
update readme and env example
2022-11-08 22:21:57 +00:00
Colin Griffin
41f3132526 update options 2022-11-08 15:12:25 -05:00
Colin Griffin
1d58527a40 temporarily disable qemu 2022-11-08 15:10:01 -05:00
Colin Griffin
ca0badc792 update readme and env example 2022-11-08 14:01:58 -05:00
Colin Griffin
2980dcdc5c Merge pull request #162 from conneryn/main
feat(frontend): use runtime NEXT_PUBLIC_WEBAPP_URL to replace build-time frontend value
2022-11-08 13:48:07 -05:00
actions-user
053b362125 Auto updated submodule references 2022-11-08 04:17:51 +00:00
actions-user
cf4e21e943 Auto updated submodule references 2022-11-07 04:18:11 +00:00
actions-user
5110cb9999 Auto updated submodule references 2022-11-06 04:09:42 +00:00
actions-user
fea1bc5f42 Auto updated submodule references 2022-11-05 04:09:37 +00:00
actions-user
478430472a Auto updated submodule references 2022-11-04 04:19:30 +00:00
actions-user
45547ad3c7 Auto updated submodule references 2022-11-03 04:16:05 +00:00
actions-user
34e75b71c4 Auto updated submodule references 2022-11-02 04:28:30 +00:00
actions-user
e142349af1 Auto updated submodule references 2022-11-01 04:32:37 +00:00
actions-user
c9f7cef306 Auto updated submodule references 2022-10-31 04:22:27 +00:00
actions-user
268096d6d5 Auto updated submodule references 2022-10-29 04:15:40 +00:00
actions-user
7cd4b59875 Auto updated submodule references 2022-10-28 04:19:41 +00:00
actions-user
9d06591399 Auto updated submodule references 2022-10-27 04:22:19 +00:00
actions-user
7c8824258f Auto updated submodule references 2022-10-26 04:25:01 +00:00
actions-user
a676e50d41 Auto updated submodule references 2022-10-25 04:42:13 +00:00
actions-user
62da56b975 Auto updated submodule references 2022-10-23 04:31:42 +00:00
actions-user
ad1465463f Auto updated submodule references 2022-10-22 04:28:44 +00:00
actions-user
b9e7744fd7 Auto updated submodule references 2022-10-21 04:27:55 +00:00
actions-user
7379ac8acf Auto updated submodule references 2022-10-20 04:30:15 +00:00
actions-user
a176979c04 Auto updated submodule references 2022-10-19 04:39:47 +00:00
actions-user
1de297335c Auto updated submodule references 2022-10-18 04:37:55 +00:00
actions-user
8b88c13f1e Auto updated submodule references 2022-10-17 04:45:26 +00:00
actions-user
be36dbeca9 Auto updated submodule references 2022-10-16 04:32:30 +00:00
actions-user
ff8b90dad0 Auto updated submodule references 2022-10-15 04:33:30 +00:00
actions-user
f74f6c8af2 Auto updated submodule references 2022-10-14 04:39:02 +00:00
Colin Griffin
b92fdebef4 Update README.md
emphasize section where an image must be built for custom URLs
2022-10-13 10:09:15 -04:00
actions-user
1f0557c080 Auto updated submodule references 2022-10-13 04:36:11 +00:00
actions-user
eb8c59dd00 Auto updated submodule references 2022-10-12 04:31:11 +00:00
actions-user
769c554932 Auto updated submodule references 2022-10-11 04:34:32 +00:00
actions-user
d6794f8f3d Auto updated submodule references 2022-10-10 04:35:05 +00:00
actions-user
f2cf4973dd Auto updated submodule references 2022-10-09 04:30:28 +00:00
actions-user
2d721f33d7 Auto updated submodule references 2022-10-08 04:17:28 +00:00
actions-user
8764d9d7bf Auto updated submodule references 2022-10-07 04:24:17 +00:00
actions-user
00743f974a Auto updated submodule references 2022-10-06 04:18:08 +00:00
actions-user
1fbe39620b Auto updated submodule references 2022-10-05 04:19:41 +00:00
actions-user
81686e3ced Auto updated submodule references 2022-10-04 04:25:54 +00:00
actions-user
6dbd2120f7 Auto updated submodule references 2022-10-02 04:32:39 +00:00
actions-user
f2be2990da Auto updated submodule references 2022-10-01 04:40:14 +00:00
actions-user
d23bb2d76d Auto updated submodule references 2022-09-30 04:43:42 +00:00
Connery Noble
72005db13d Support both build-time and run-time values for WEBAPP_URL. Improve re-build time, if just the WEBAPP_URL is changed. 2022-09-29 12:31:58 -07:00
actions-user
4f9aae713d Auto updated submodule references 2022-09-29 04:36:22 +00:00
actions-user
354d218acb Auto updated submodule references 2022-09-28 04:37:06 +00:00
actions-user
9f2791858d Auto updated submodule references 2022-09-27 04:33:32 +00:00
actions-user
7ccdb9ded5 Auto updated submodule references 2022-09-26 16:48:36 +00:00
Peer Richelsen
cc95885b91 Merge pull request #166 from bdeak4/main
Fix typo in `docker-compose.yaml` Dockerfile argument name
2022-09-17 15:24:56 +00:00
Bartol Deak
b4afde39d6 Fix typo in docker-compose.yaml 2022-09-17 16:58:22 +02:00
Connery Noble
46a0e729db feat(frontend): use runtime NEXT_PUBLIC_WEBAPP_URL to replace build-time frontend value 2022-09-08 17:05:31 -07:00
14 changed files with 480 additions and 92 deletions

View File

@@ -14,6 +14,9 @@ LICENSE=
NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
# Configure NEXTAUTH_URL manually if needed, otherwise it will resolve to {NEXT_PUBLIC_WEBAPP_URL}/api/auth
# NEXTAUTH_URL=http://localhost:3000/api/auth
# It is highly recommended that the NEXTAUTH_SECRET must be overridden and very unique
# Use `openssl rand -base64 32` to generate a key
NEXTAUTH_SECRET=secret
@@ -29,6 +32,9 @@ POSTGRES_PASSWORD=magical_password
POSTGRES_DB=calendso
DATABASE_HOST=database:5432
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
# Needed to run migrations while using a connection pooler like PgBouncer
# Use the same one as DATABASE_URL if you're not using a connection pooler
DATABASE_DIRECT_URL=${DATABASE_URL}
GOOGLE_API_CREDENTIALS={}
# Set this to '1' if you don't want Cal to collect anonymous usage

7
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,7 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

60
.github/workflows/create-release.yaml vendored Normal file
View File

@@ -0,0 +1,60 @@
name: "Create Release"
on: # yamllint disable-line rule:truthy
workflow_dispatch:
inputs:
RELEASE_TAG:
description: 'v{Major}.{Minor}.{Patch}'
jobs:
release:
name: "Release"
permissions:
contents: write
runs-on: "ubuntu-latest"
steps:
- name: Checkout source
uses: actions/checkout@v3
with:
token: ${{ secrets.ACTIONS_ACCESS_TOKEN }}
submodules: true
- name: Create branch and tag submodule
run: |
git config user.email "actions@github.com"
git config user.name "actions-user"
git submodule update --init --remote
git checkout -b 'release-${{ inputs.RELEASE_TAG }}'
(cd calcom && git fetch --tags origin && git checkout 'refs/tags/${{ inputs.RELEASE_TAG }}')
git add calcom
git commit -m "tag version Cal.com version ${{ inputs.RELEASE_TAG }}"
git push origin 'release-${{ inputs.RELEASE_TAG }}'
# note: instead of secrets.GITHUB_TOKEN here, we need to use a PAT
# so that the release creation triggers the image build workflow
- name: "Create release"
uses: "actions/github-script@v6"
with:
github-token: "${{ secrets.ACTIONS_ACCESS_TOKEN }}"
script: |
const isPreRelease = '${{ inputs.RELEASE_TAG }}'.includes('-rc');
try {
const response = await github.rest.repos.createRelease({
draft: false,
generate_release_notes: true,
body: 'For Cal.com release details, see: https://github.com/calcom/cal.com/releases/tag/${{ inputs.RELEASE_TAG }}',
name: '${{ inputs.RELEASE_TAG }}',
target_commitish: 'release-${{ inputs.RELEASE_TAG }}',
owner: context.repo.owner,
prerelease: isPreRelease,
repo: context.repo.repo,
tag_name: '${{ inputs.RELEASE_TAG }}',
});
core.exportVariable('RELEASE_ID', response.data.id);
core.exportVariable('RELEASE_UPLOAD_URL', response.data.upload_url);
} catch (error) {
core.setFailed(error.message);
}

View File

@@ -5,7 +5,10 @@ name: Build and push image to DockerHub
# Controls when the workflow will run
on:
push:
branches: [main]
branches:
- 'main'
tags:
- 'v*'
# update on run of Update Calendso nightly submodule update
workflow_run:
workflows: ["Update Calendso"]
@@ -14,15 +17,17 @@ on:
- completed
# Allow running workflow manually from the Actions tab
workflow_dispatch:
# Uncomment below to allow specific version workflow run
# inputs:
# version:
# description: 'Version to build'
# required: true
# Leaving in example for releases. Initially we simply push to 'latest'
# on:
# release:
# types: [ created ]
# # Allows you to run this workflow manually from the Actions tab
# workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
@@ -32,18 +37,21 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it, uncomment below
# - name: Checkout code at specified version
# uses: actions/checkout@v2
# with:
# ref: ${{ github.event.inputs.version }}
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Git submodule update
run: |
git submodule update --init
- name: Docker Login
# You may pin to the exact commit or the version.
# uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@v1.10.0
- name: Log in to the Docker Hub registry
uses: docker/login-action@v2
with:
# Username used to log against the Docker registry
username: ${{ secrets.DOCKER_HUB_USERNAME }}
@@ -52,19 +60,35 @@ jobs:
# Log out from the Docker registry at the end of a job
logout: true # optional, default is true
- name: Set up Docker builder
id: buildx
uses: docker/setup-buildx-action@v1.6.0
- name: Log in to the Github Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: |
docker.io/calendso/calendso
docker.io/calcom/cal.com
ghcr.io/calcom/cal.com
# Add flavor latest only on full releases, not on pre-releases
flavor: |
latest=${{ !github.event.release.prerelease }}
- name: Copy env
run: |
grep -o '^[^#]*' .env.example > .env
cat .env >> $GITHUB_ENV
echo "DATABASE_HOST=localhost:5432" >> $GITHUB_ENV
eval $(sed -e '/^#/d' -e 's/^/export /' -e 's/$/;/' .env) ;
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
# Temporarily disable ARM build due to runner performance issues
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
- name: Start database
run: |
@@ -77,29 +101,100 @@ jobs:
network=container:database
buildkitd-flags: |
--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
- name: Build and push image
# config-inline: |
# [worker.oci]
# max-parallelism = 1
- name: Build image
id: docker_build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: ./
file: ./Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: docker.io/${{ secrets.DOCKER_HUB_USERNAME }}/calendso:latest
load: true # Load the image into the Docker daemon
push: false # Do not push the image at this stage
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
NEXT_PUBLIC_WEBAPP_URL=${{ env.NEXT_PUBLIC_WEBAPP_URL }}
NEXT_PUBLIC_LICENSE_CONSENT=${{ env.NEXT_PUBLIC_LICENSE_CONSENT }}
NEXT_PUBLIC_TELEMETRY_KEY=${{ env.NEXT_PUBLIC_TELEMETRY_KEY }}
DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }}
# - name: Build with docker compose
# run: |
# DOCKER_BUILDKIT=0 docker compose build --build-arg DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }} calcom
DATABASE_DIRECT_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }}
- name: Test runtime
run: |
tags="${{ steps.meta.outputs.tags }}"
IFS=',' read -ra ADDR <<< "$tags" # Convert string to array using ',' as delimiter
tag=${ADDR[0]} # Get the first tag
docker run --rm --network stack \
-p 3000:3000 \
-e DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@database/${{ env.POSTGRES_DB }} \
-e DATABASE_DIRECT_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@database/${{ env.POSTGRES_DB }} \
-e NEXTAUTH_SECRET=${{ env.NEXTAUTH_SECRET }} \
-e CALENDSO_ENCRYPTION_KEY=${{ env.CALENDSO_ENCRYPTION_KEY }} \
$tag &
server_pid=$!
echo "Waiting for the server to start..."
sleep 120
echo ${{ env.NEXT_PUBLIC_WEBAPP_URL }}/auth/login
for i in {1..60}; do
echo "Checking server health ($i/60)..."
response=$(curl -o /dev/null -s -w "%{http_code}" ${{ env.NEXT_PUBLIC_WEBAPP_URL }}/auth/login)
echo "HTTP Status Code: $response"
if [[ "$response" == "200" ]] || [[ "$response" == "307" ]]; then
echo "Server is healthy"
# Now, shutdown the server
kill $server_pid
exit 0
fi
sleep 1
done
echo "Server health check failed"
kill $server_pid
exit 1
env:
NEXTAUTH_SECRET: 'EI4qqDpcfdvf4A+0aQEEx8JjHxHSy4uWiZw/F32K+pA='
CALENDSO_ENCRYPTION_KEY: '0zfLtY99wjeLnsM7qsa8xsT+Q0oSgnOL'
# - name: Push image
# run: |
# tags="${{ steps.meta.outputs.tags }}"
# IFS=',' read -ra ADDR <<< "$tags" # Convert string to array using ',' as delimiter
# for tag in "${ADDR[@]}"; do
# docker push $tag
# done
- name: Push image
id: docker_push
uses: docker/build-push-action@v4
with:
context: ./
file: ./Dockerfile
push: true
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
NEXT_PUBLIC_WEBAPP_URL=${{ env.NEXT_PUBLIC_WEBAPP_URL }}
NEXT_PUBLIC_LICENSE_CONSENT=${{ env.NEXT_PUBLIC_LICENSE_CONSENT }}
NEXT_PUBLIC_TELEMETRY_KEY=${{ env.NEXT_PUBLIC_TELEMETRY_KEY }}
DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }}
DATABASE_DIRECT_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }}
if: ${{ !github.event.release.prerelease }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
- name: Cleanup
run: |
docker compose down
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

14
.github/workflows/scarf-data-export.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
name: Export Scarf data
on:
schedule:
- cron: '0 0 * * *'
jobs:
export-scarf-data:
runs-on: ubuntu-latest
steps:
- uses: docker://scarf.docker.scarf.sh/scarf-sh/scarf-postgres-exporter:latest
env:
SCARF_API_TOKEN: ${{ secrets.SCARF_API_TOKEN }}
SCARF_ENTITY_NAME: Calcom
PSQL_CONN_STRING: ${{ secrets.PSQL_CONN_STRING }}

View File

@@ -13,7 +13,7 @@ jobs:
shell: bash
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Git submodule update
run: |

View File

@@ -1,8 +1,7 @@
FROM node:16 as builder
FROM node:18 as builder
WORKDIR /calcom
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ARG NEXT_PUBLIC_APP_URL
ARG NEXT_PUBLIC_LICENSE_CONSENT
ARG CALCOM_TELEMETRY_DISABLED
ARG DATABASE_URL
@@ -10,40 +9,68 @@ ARG NEXTAUTH_SECRET=secret
ARG CALENDSO_ENCRYPTION_KEY=secret
ARG MAX_OLD_SPACE_SIZE=4096
ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
NEXT_PUBLIC_APP_URL=$NEXT_PUBLIC_APP_URL \
ENV NEXT_PUBLIC_WEBAPP_URL=http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER \
NEXT_PUBLIC_LICENSE_CONSENT=$NEXT_PUBLIC_LICENSE_CONSENT \
CALCOM_TELEMETRY_DISABLED=$CALCOM_TELEMETRY_DISABLED \
DATABASE_URL=$DATABASE_URL \
DATABASE_DIRECT_URL=$DATABASE_URL \
NEXTAUTH_SECRET=${NEXTAUTH_SECRET} \
CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY} \
NODE_OPTIONS=--max-old-space-size=${MAX_OLD_SPACE_SIZE}
COPY calcom/package.json calcom/yarn.lock calcom/turbo.json ./
COPY calcom/package.json calcom/yarn.lock calcom/.yarnrc.yml calcom/playwright.config.ts calcom/turbo.json calcom/git-init.sh calcom/git-setup.sh ./
COPY calcom/.yarn ./.yarn
COPY calcom/apps/web ./apps/web
COPY calcom/packages ./packages
COPY calcom/tests ./tests
RUN yarn config set network-timeout 1000000000 -g && \
yarn install --frozen-lockfile
RUN yarn config set httpTimeout 1200000 && \
npx turbo prune --scope=@calcom/web --docker && \
yarn install && \
yarn db-deploy && \
yarn --cwd packages/prisma seed-app-store
RUN yarn build
RUN yarn turbo run build --filter=@calcom/web
FROM node:16 as runner
# RUN yarn plugin import workspace-tools && \
# yarn workspaces focus --all --production
RUN rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache
FROM node:18 as builder-two
WORKDIR /calcom
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ENV NODE_ENV production
RUN apt-get update && \
apt-get -y install netcat && \
rm -rf /var/lib/apt/lists/* && \
npm install --global prisma
COPY calcom/package.json calcom/yarn.lock calcom/turbo.json ./
COPY calcom/package.json calcom/.yarnrc.yml calcom/yarn.lock calcom/turbo.json ./
COPY calcom/.yarn ./.yarn
COPY --from=builder /calcom/node_modules ./node_modules
COPY --from=builder /calcom/packages ./packages
COPY --from=builder /calcom/apps/web ./apps/web
COPY --from=builder /calcom/packages/prisma/schema.prisma ./prisma/schema.prisma
COPY scripts scripts
# Save value used during this build stage. If NEXT_PUBLIC_WEBAPP_URL and BUILT_NEXT_PUBLIC_WEBAPP_URL differ at
# run-time, then start.sh will find/replace static values again.
ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
BUILT_NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL
RUN scripts/replace-placeholder.sh http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER ${NEXT_PUBLIC_WEBAPP_URL}
FROM node:18 as runner
WORKDIR /calcom
COPY --from=builder-two /calcom ./
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
BUILT_NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL
ENV NODE_ENV production
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=30s --retries=5 \
CMD wget --spider http://localhost:3000 || exit 1
CMD ["/calcom/scripts/start.sh"]

1
Dockerfile.render Normal file
View File

@@ -0,0 +1 @@
FROM calcom.docker.scarf.sh/calcom/cal.com

212
README.md
View File

@@ -1,18 +1,33 @@
<!-- PROJECT LOGO -->
<div align="right">
<p align="center">
<a href="https://github.com/calcom/cal.com">
<img src="https://cal.com/logo.svg" alt="Logo" width="160" height="65">
</a><br/>
<a href="https://cal.com">Website</a>
·
<a href="https://github.com/calcom/docker/issues">Community Support</a>
</div>
<img src="https://user-images.githubusercontent.com/8019099/133430653-24422d2a-3c8d-4052-9ad6-0580597151ee.png" alt="Logo">
</a>
<h3 align="center">Cal.com (formerly Calendso)</h3>
<p align="center">
The open-source Calendly alternative. (Docker Edition)
<br />
<a href="https://cal.com"><strong>Learn more »</strong></a>
<br />
<br />
<a href="https://cal.com/slack">Slack</a>
·
<a href="https://cal.com">Website</a>
·
<a href="https://github.com/calcom/cal.com/issues">Core Cal.com related Issues</a>
·
<a href="https://github.com/calcom/docker/issues">Docker specific Issues</a>
·
<a href="https://cal.com/roadmap">Roadmap</a>
</p>
</p>
# Docker
NOTE: DockerHub organization has not yet been renamed.
This image can be found on DockerHub at [https://hub.docker.com/r/calendso/calendso](https://hub.docker.com/r/calendso/calendso)
This image can be found on DockerHub at [https://hub.docker.com/r/calcom/cal.com](https://hub.docker.com/r/calcom/cal.com)
The Docker configuration for Cal.com is an effort powered by people within the community. Cal.com, Inc. does not yet provide official support for Docker, but we will accept fixes and documentation at this time. Use at your own risk.
@@ -20,7 +35,7 @@ The Docker configuration for Cal.com is an effort powered by people within the c
This Docker Image is managed by the Cal.com Community. Join the team [here](https://github.com/calcom/docker/discussions/32). Support for this image can be found via the repository, located at [https://github.com/calcom/docker](https://github.com/calcom/docker)
Currently, this image is intended for local development/evaluation use only, as there are specific requirements for providing environmental variables at build-time in order to specify a non-localhost BASE_URL. (this is due to the nature of the static site compilation, which embeds the variable values). The ability to update these variables at runtime is in-progress and will be available in the future.
**Currently, this image is intended for local development/evaluation use only, as there are specific requirements for providing environmental variables at build-time in order to specify a non-localhost BASE_URL. (this is due to the nature of the static site compilation, which embeds the variable values). The ability to update these variables at runtime is in-progress and will be available in the future.**
For Production, for the time being, please checkout the repository and build/push your own image privately.
@@ -30,9 +45,89 @@ Make sure you have `docker` & `docker compose` installed on the server / system.
Note: `docker compose` without the hyphen is now the primary method of using docker-compose, per the Docker documentation.
## Getting Started
## (Most users) Running Cal.com with Docker Compose
1. Clone calcom-docker
If you are evaluating Cal.com or running with minimal to no modifications, this option is for you.
1. Clone calcom/docker
```bash
git clone https://github.com/calcom/docker.git
```
2. Change into the directory
```bash
cd docker
```
3. Prepare your configuration: Rename `.env.example` to `.env` and then update `.env`
```bash
cp .env.example .env
```
Most configurations can be left as-is, but for configuration options see [Important Run-time variables](#important-run-time-variables) below.
Update the appropriate values in your .env file, then proceed.
4. (optional) Pre-Pull the images by running the following command:
```bash
docker compose pull
```
This will use the default image locations as specified by `image:` in the docker-compose.yaml file.
Note: To aid with support, by default Scarf.sh is used as registry proxy for download metrics.
5. Start Cal.com via docker compose
(Most basic users, and for First Run) To run the complete stack, which includes a local Postgres database, Cal.com web app, and Prisma Studio:
```bash
docker compose up -d
```
To run Cal.com web app and Prisma Studio against a remote database, ensure that DATABASE_URL is configured for an available database and run:
```bash
docker compose up -d calcom studio
```
To run only the Cal.com web app, ensure that DATABASE_URL is configured for an available database and run:
```bash
docker compose up -d calcom
```
**Note: to run in attached mode for debugging, remove `-d` from your desired run command.**
6. Open a browser to [http://localhost:3000](http://localhost:3000), or your defined NEXT_PUBLIC_WEBAPP_URL. The first time you run Cal.com, a setup wizard will initialize. Define your first user, and you're ready to go!
## Updating Cal.com
1. Stop the Cal.com stack
```bash
docker compose down
```
2. Pull the latest changes
```bash
docker compose pull
```
3. Update env vars as necessary.
4. Re-start the Cal.com stack
```bash
docker compose up -d
```
## (Advanced users) Build and Run Cal.com
1. Clone calcom/docker
```bash
git clone https://github.com/calcom/docker.git calcom-docker
@@ -44,7 +139,7 @@ Note: `docker compose` without the hyphen is now the primary method of using doc
cd calcom-docker
```
3. Update the calcom submodule.
3. Update the calcom submodule.
```bash
git submodule update --remote --init
@@ -54,7 +149,9 @@ Note: `docker compose` without the hyphen is now the primary method of using doc
4. Rename `.env.example` to `.env` and then update `.env`
5. Build the Cal.com docker image:
For configuration options see [Build-time variables](#build-time-variables) below. Update the appropriate values in your .env file, then proceed.
5. Build the Cal.com docker image:
Note: Due to application configuration requirements, an available database is currently required during the build process.
@@ -94,47 +191,45 @@ Note: `docker compose` without the hyphen is now the primary method of using doc
**Note: to run in attached mode for debugging, remove `-d` from your desired run command.**
8. (First Run) Open a browser to [http://localhost:5555](http://localhost:5555) to look at or modify the database content.
a. Click on the `User` model to add a new user record.
b. Fill out the fields (remembering to encrypt your password with [BCrypt](https://bcrypt-generator.com/)) and click `Save 1 Record` to create your first user.
9. Open a browser to [http://localhost:3000](http://localhost:3000) (or your appropriately configured NEXT_PUBLIC_WEBAPP_URL) and login with your just created, first user.
8. Open a browser to [http://localhost:3000](http://localhost:3000), or your defined NEXT_PUBLIC_WEBAPP_URL. The first time you run Cal.com, a setup wizard will initialize. Define your first user, and you're ready to go!
## Configuration
### Build-time variables
These variables must be provided at the time of the docker build, and can be provided by updating the .env file. Currently, if you require changes to these variables, you must follow the instructions to build and publish your own image.
Updating these variables is not required for evaluation, but is required for running in production. Instructions for generating variables can be found in the [cal.com instructions](https://github.com/calcom/cal.com)
| Variable | Description | Required | Default |
| --- | --- | --- | --- |
| NEXT_PUBLIC_WEBAPP_URL | Base URL injected into static files | required | `http://localhost:3000` |
| NEXT_PUBLIC_LICENSE_CONSENT | license consent - true/false | | |
| CALCOM_TELEMETRY_DISABLED | Allow cal.com to collect anonymous usage data (set to `1` to disable) | | |
| DATABASE_URL | database url with credentials | required | `postgresql://unicorn_user:magical_password@database:5432/calendso` |
| NEXTAUTH_SECRET | Cookie encryption key | required | `secret` |
| CALENDSO_ENCRYPTION_KEY | Authentication encryption key | required | `secret` |
### Important Run-time variables
These variables must also be provided at runtime
| Variable | Description | Required | Default |
| --- | --- | --- | --- |
| CALCOM_LICENSE_KEY | Enterprise License Key | | |
| CALCOM_LICENSE_KEY | Enterprise License Key | optional | |
| NEXT_PUBLIC_WEBAPP_URL | Base URL of the site. NOTE: if this value differs from the value used at build-time, there will be a slight delay during container start (to update the statically built files). | optional | `http://localhost:3000` |
| NEXTAUTH_URL | Location of the auth server. By default, this is the Cal.com docker instance itself. | optional | `{NEXT_PUBLIC_WEBAPP_URL}/api/auth` |
| NEXTAUTH_SECRET | must match build variable | required | `secret` |
| CALENDSO_ENCRYPTION_KEY | must match build variable | required | `secret` |
| DATABASE_URL | database url with credentials | required | `postgresql://unicorn_user:magical_password@database:5432/calendso` |
| DATABASE_URL | database url with credentials - if using a connection pooler, this setting should point there | required | `postgresql://unicorn_user:magical_password@database:5432/calendso` |
| DATABASE_DIRECT_URL | direct database url with credentials if using a connection pooler (e.g. PgBouncer, Prisma Accelerate, etc.) | optional | |
### Build-time variables
If building the image yourself, these variables must be provided at the time of the docker build, and can be provided by updating the .env file. Currently, if you require changes to these variables, you must follow the instructions to build and publish your own image.
Updating these variables is not required for evaluation, but is required for running in production. Instructions for generating variables can be found in the [cal.com instructions](https://github.com/calcom/cal.com)
| Variable | Description | Required | Default |
| --- | --- | --- | --- |
| NEXT_PUBLIC_WEBAPP_URL | Base URL injected into static files | optional | `http://localhost:3000` |
| NEXT_PUBLIC_LICENSE_CONSENT | license consent - true/false | | |
| CALCOM_TELEMETRY_DISABLED | Allow cal.com to collect anonymous usage data (set to `1` to disable) | | |
| DATABASE_URL | database url with credentials - if using a connection pooler, this setting should point there | required | `postgresql://unicorn_user:magical_password@database:5432/calendso` |
| DATABASE_DIRECT_URL | direct database url with credentials if using a connection pooler (e.g. PgBouncer, Prisma Accelerate, etc.) | optional | |
| NEXTAUTH_SECRET | Cookie encryption key | required | `secret` |
| CALENDSO_ENCRYPTION_KEY | Authentication encryption key | required | `secret` |
## Git Submodules
This repository uses a git submodule.
To update the calcom submodule, use the following command:
For users building their own images, to update the calcom submodule, use the following command:
```bash
git submodule update --remote --init
@@ -144,5 +239,38 @@ For more advanced usage, please refer to the git documentation: [https://git-scm
## Troubleshooting
* SSL edge termination: If running behind a load balancer which handles SSL certificates, you will need to add the environmental variable `NODE_TLS_REJECT_UNAUTHORIZED=0` to prevent requests from being rejected. Only do this if you know what you are doing and trust the services/load-balancers directing traffic to your service.
* Failed to commit changes: Invalid 'prisma.user.create()': Certain versions may have trouble creating a user if the field `metadata` is empty. Using an empty json object `{}` as the field value should resolve this issue. Also, the `id` field will autoincrement, so you may also try leaving the value of `id` as empty.
### SSL edge termination
If running behind a load balancer which handles SSL certificates, you will need to add the environmental variable `NODE_TLS_REJECT_UNAUTHORIZED=0` to prevent requests from being rejected. Only do this if you know what you are doing and trust the services/load-balancers directing traffic to your service.
### Failed to commit changes: Invalid 'prisma.user.create()'
Certain versions may have trouble creating a user if the field `metadata` is empty. Using an empty json object `{}` as the field value should resolve this issue. Also, the `id` field will autoincrement, so you may also try leaving the value of `id` as empty.
### CLIENT_FETCH_ERROR
If you experience this error, it may be the way the default Auth callback in the server is using the WEBAPP_URL as a base url. The container does not necessarily have access to the same DNS as your local machine, and therefor needs to be configured to resolve to itself. You may be able to correct this by configuring `NEXTAUTH_URL=http://localhost:3000/api/auth`, to help the backend loop back to itself.
```
docker-calcom-1 | @calcom/web:start: [next-auth][error][CLIENT_FETCH_ERROR]
docker-calcom-1 | @calcom/web:start: https://next-auth.js.org/errors#client_fetch_error request to http://testing.localhost:3000/api/auth/session failed, reason: getaddrinfo ENOTFOUND testing.localhost {
docker-calcom-1 | @calcom/web:start: error: {
docker-calcom-1 | @calcom/web:start: message: 'request to http://testing.localhost:3000/api/auth/session failed, reason: getaddrinfo ENOTFOUND testing.localhost',
docker-calcom-1 | @calcom/web:start: stack: 'FetchError: request to http://testing.localhost:3000/api/auth/session failed, reason: getaddrinfo ENOTFOUND testing.localhost\n' +
docker-calcom-1 | @calcom/web:start: ' at ClientRequest.<anonymous> (/calcom/node_modules/next/dist/compiled/node-fetch/index.js:1:65756)\n' +
docker-calcom-1 | @calcom/web:start: ' at ClientRequest.emit (node:events:513:28)\n' +
docker-calcom-1 | @calcom/web:start: ' at ClientRequest.emit (node:domain:489:12)\n' +
docker-calcom-1 | @calcom/web:start: ' at Socket.socketErrorListener (node:_http_client:494:9)\n' +
docker-calcom-1 | @calcom/web:start: ' at Socket.emit (node:events:513:28)\n' +
docker-calcom-1 | @calcom/web:start: ' at Socket.emit (node:domain:489:12)\n' +
docker-calcom-1 | @calcom/web:start: ' at emitErrorNT (node:internal/streams/destroy:157:8)\n' +
docker-calcom-1 | @calcom/web:start: ' at emitErrorCloseNT (node:internal/streams/destroy:122:3)\n' +
docker-calcom-1 | @calcom/web:start: ' at processTicksAndRejections (node:internal/process/task_queues:83:21)',
docker-calcom-1 | @calcom/web:start: name: 'FetchError'
docker-calcom-1 | @calcom/web:start: },
docker-calcom-1 | @calcom/web:start: url: 'http://testing.localhost:3000/api/auth/session',
docker-calcom-1 | @calcom/web:start: message: 'request to http://testing.localhost:3000/api/auth/session failed, reason: getaddrinfo ENOTFOUND testing.localhost'
docker-calcom-1 | @calcom/web:start: }
```
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=81cda9f7-a102-453b-ac01-51c35650bd70" />

2
calcom

Submodule calcom updated: 6b0ac96b38...99fd4fe7a4

View File

@@ -21,16 +21,18 @@ services:
- stack
calcom:
image: calcom.docker.scarf.sh/calcom/cal.com
build:
context: .
dockerfile: Dockerfile
args:
NEXT_PUBLIC_WEBAPP_URL: ${NEXT_PUBLIC_WEBAPP_URL}
NEXT_PUBLIC_LICENSE_CONSENT: ${NEXT_PUBLIC_LICENSE_CONSENT}
CALCOM_TELEMETRY_DISABLE: ${CALCOM_TELEMETRY_DISABLED}
CALCOM_TELEMETRY_DISABLED: ${CALCOM_TELEMETRY_DISABLED}
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
CALENDSO_ENCRYPTION_KEY: ${CALENDSO_ENCRYPTION_KEY}
DATABASE_URL: ${DATABASE_URL}
DATABASE_DIRECT_URL: ${DATABASE_URL}
network: stack
restart: always
networks:
@@ -40,12 +42,13 @@ services:
env_file: .env
environment:
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
- DATABASE_DIRECT_URL=${DATABASE_URL}
depends_on:
- database
# Optional use of Prisma Studio. In production, comment out or remove the section below to prevent unwanted access to your database.
studio:
image: calendso/calendso:latest
image: calcom.docker.scarf.sh/calcom/cal.com
restart: always
networks:
- stack
@@ -54,6 +57,7 @@ services:
env_file: .env
environment:
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
- DATABASE_DIRECT_URL=${DATABASE_URL}
depends_on:
- database
command:

26
render.yaml Normal file
View File

@@ -0,0 +1,26 @@
services:
- type: web
name: cal-web
plan: standard
repo: https://github.com/calcom/docker.git
dockerfilePath: ./Dockerfile.render
env: docker
envVars:
- key: DATABASE_URL
fromDatabase:
name: cal-postgres
property: connectionString
- key: CALENDSO_ENCRYPTION_KEY
value: secret
- key: NEXTAUTH_SECRET
value: secret
- key: CRON_API_KEY
value: 0cc0e6c35519bba620c9360cfe3e68d0
databases:
- name: cal-postgres
plan: starter

16
scripts/replace-placeholder.sh Executable file
View File

@@ -0,0 +1,16 @@
FROM=$1
TO=$2
if [ "${FROM}" = "${TO}" ]; then
echo "Nothing to replace, the value is already set to ${TO}."
exit 0
fi
# Only peform action if $FROM and $TO are different.
echo "Replacing all statically built instances of $FROM with $TO."
find apps/web/.next/ apps/web/public -type f |
while read file; do
sed -i "s|$FROM|$TO|g" "$file"
done

View File

@@ -1,6 +1,10 @@
#!/bin/sh
set -x
# Replace the statically built BUILT_NEXT_PUBLIC_WEBAPP_URL with run-time NEXT_PUBLIC_WEBAPP_URL
# NOTE: if these values are the same, this will be skipped.
scripts/replace-placeholder.sh "$BUILT_NEXT_PUBLIC_WEBAPP_URL" "$NEXT_PUBLIC_WEBAPP_URL"
scripts/wait-for-it.sh ${DATABASE_HOST} -- echo "database is up"
npx prisma migrate deploy --schema /calcom/packages/prisma/schema.prisma
npx ts-node --transpile-only /calcom/packages/prisma/seed-app-store.ts