Compare commits
1099 Commits
arm-option
...
v5.4.8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36c0060397 | ||
|
|
da3b1211e6 | ||
|
|
c851c8ae7c | ||
|
|
3f49c16e37 | ||
|
|
b1829d3728 | ||
|
|
7d279b7d0f | ||
|
|
6c30d0dea4 | ||
| 2fb5ba6951 | |||
|
|
afee38ade6 | ||
|
|
619be2651b | ||
|
|
211d89990d | ||
|
|
7d414fc970 | ||
|
|
320f9bd6b6 | ||
|
|
3de73a337c | ||
|
|
2f9db8e1ba | ||
|
|
8772a23697 | ||
| 0c2562a6d1 | |||
|
|
be6595e799 | ||
| d269688e8e | |||
| c94a3bc059 | |||
|
|
a37a3a8ea6 | ||
|
|
48773914c3 | ||
|
|
4d25dc387f | ||
|
|
d680e9dd0c | ||
|
|
61580b4077 | ||
|
|
cd1812c018 | ||
|
|
082c271566 | ||
|
|
16b6ca1d15 | ||
|
|
21988157be | ||
|
|
0da432412d | ||
| 4126000894 | |||
| 3f2e980576 | |||
| ad677f7578 | |||
| 7a2cdfbdc6 | |||
| 429870e999 | |||
| 683bda9917 | |||
| 512dc4c961 | |||
| 77736a4016 | |||
| 292fe3e3b7 | |||
| 4218914507 | |||
| d21ff3e22a | |||
| 4349a7061c | |||
| 139f2ab9e7 | |||
| 2844760af0 | |||
| f3fe888ff2 | |||
| c8b8d1dd0c | |||
| 86d3bcd1eb | |||
| 361262a9da | |||
| 3f405451b8 | |||
|
|
f1971aae35 | ||
|
|
cf5b0b1fef | ||
|
|
8d0298a0fa | ||
|
|
20728bc165 | ||
|
|
590daea528 | ||
|
|
82b90f66d9 | ||
|
|
3b7e2c24fb | ||
|
|
8a335a518c | ||
|
|
4c389a68de | ||
|
|
a6cdd9e644 | ||
|
|
765de200f9 | ||
|
|
7d29b6fde2 | ||
|
|
6ed56fcc1f | ||
|
|
54db06f0a1 | ||
|
|
7330873692 | ||
|
|
42e26b039a | ||
|
|
bce3e9145b | ||
|
|
2c2e303667 | ||
|
|
566b205545 | ||
|
|
2d9e617da7 | ||
|
|
9fdd9b5043 | ||
|
|
95344d5b8e | ||
|
|
66479ad7e3 | ||
|
|
6eba41e7ad | ||
|
|
d7b9851d29 | ||
|
|
9ccc13f524 | ||
|
|
6ec69e18b9 | ||
|
|
5f7a6ce637 | ||
|
|
87a2f7bc50 | ||
|
|
1ce3e40476 | ||
|
|
0e40ef9686 | ||
|
|
6fd9f27bff | ||
|
|
573a462e8d | ||
|
|
0ef4ff6acc | ||
|
|
50dc054e16 | ||
|
|
88f5c5507d | ||
|
|
dc14d4e4fd | ||
|
|
fd3bf3b54d | ||
|
|
11795cb920 | ||
|
|
3d72150f36 | ||
|
|
4a5f8e2ee8 | ||
|
|
85e5fb426b | ||
|
|
c9feaeade4 | ||
|
|
41dfc814a1 | ||
|
|
5517d5bea3 | ||
|
|
7d4c6263ce | ||
|
|
3dab184c3c | ||
|
|
0c3e5c7b75 | ||
|
|
9721b2b32e | ||
|
|
7c899622b5 | ||
| 5bd7a1e636 | |||
|
|
cca794f103 | ||
|
|
9908a2a945 | ||
|
|
6da2131c5f | ||
|
|
abe271f0c9 | ||
|
|
513748fb2e | ||
|
|
4f394b2b8b | ||
|
|
1580fa106c | ||
|
|
3bc7c85842 | ||
|
|
d3d720e982 | ||
|
|
bac2ceb902 | ||
|
|
14cb4d8206 | ||
|
|
5dd3e7693d | ||
|
|
0743108903 | ||
|
|
b558ea9de2 | ||
|
|
00ef51583d | ||
|
|
dad9b467a1 | ||
|
|
6c809a245a | ||
|
|
782b3b6ef4 | ||
|
|
3731f79161 | ||
|
|
cd960074f7 | ||
|
|
b953320385 | ||
|
|
6f52eccc8d | ||
|
|
057cb84882 | ||
|
|
df57468382 | ||
|
|
e5a749e98f | ||
|
|
7cc329a4db | ||
|
|
dd17a75674 | ||
|
|
27354422ce | ||
|
|
fd95e1ea1a | ||
|
|
689173aad3 | ||
|
|
cbb2742c01 | ||
|
|
0ee82978fd | ||
|
|
744c8b70d8 | ||
|
|
e56114742e | ||
|
|
da3d4c63f6 | ||
|
|
1a5378932e | ||
|
|
09aa825856 | ||
|
|
3c5f2abee7 | ||
|
|
aa39828980 | ||
|
|
23cd49150a | ||
|
|
0e389cb966 | ||
|
|
8e5c28328c | ||
|
|
ed05ae211e | ||
|
|
96697981eb | ||
|
|
3589df075e | ||
|
|
6bba996689 | ||
|
|
86430ad2c2 | ||
|
|
35f15d52f4 | ||
|
|
9ea271140d | ||
|
|
24bfe49499 | ||
|
|
4bdf45d95d | ||
|
|
435a008678 | ||
|
|
9ec399714d | ||
|
|
6e4f70891a | ||
|
|
1d4cbf9567 | ||
|
|
f7c83c837f | ||
|
|
debc2edecd | ||
|
|
2b2ccfb356 | ||
|
|
bd9e116745 | ||
|
|
1c7476a152 | ||
|
|
159b3e2356 | ||
|
|
79e4539e01 | ||
|
|
df60908bbc | ||
|
|
383975f0f9 | ||
|
|
93c6871975 | ||
|
|
22001a8878 | ||
|
|
c364a64e63 | ||
|
|
2f632b3119 | ||
|
|
710d46cef8 | ||
|
|
f0d01cd8da | ||
|
|
19c9adbd76 | ||
|
|
0213dc2a22 | ||
|
|
2fb435fd2d | ||
|
|
6ae787e22b | ||
|
|
c54e21192d | ||
|
|
029500340e | ||
|
|
9e3ffd5de8 | ||
|
|
aba5401b61 | ||
|
|
1e9274f0f9 | ||
|
|
3f5d7ba849 | ||
|
|
345a39b7bd | ||
|
|
a2c59acdc4 | ||
|
|
e924ae54e1 | ||
|
|
5378ec41d2 | ||
|
|
5476bd9a4a | ||
|
|
78e0ba9b5f | ||
|
|
6168c7f9d6 | ||
|
|
6ed38b5372 | ||
|
|
dfedb0eec4 | ||
|
|
271a4d801c | ||
|
|
9379603c43 | ||
|
|
28941265b8 | ||
|
|
5a0f173451 | ||
|
|
8eede75e05 | ||
|
|
3b41e46763 | ||
|
|
83f34dee27 | ||
|
|
08afc65949 | ||
|
|
2de4e8aa48 | ||
|
|
b7b98b5d3e | ||
|
|
9c32c08ef6 | ||
|
|
aabd75f7a6 | ||
|
|
9032cf8f75 | ||
|
|
d30254748e | ||
|
|
0fd7de2ea3 | ||
|
|
8359a7cba2 | ||
|
|
8d4ecf49da | ||
|
|
fbb2904534 | ||
|
|
616f05d4fa | ||
|
|
0c1958899c | ||
|
|
eca2d66723 | ||
|
|
6bfb6d167b | ||
|
|
ccef2a34f5 | ||
|
|
bf8f079587 | ||
|
|
6c580d5e1f | ||
|
|
731706be97 | ||
|
|
60248077e8 | ||
|
|
8c0161787d | ||
|
|
8547540643 | ||
|
|
7ae3ca461d | ||
|
|
18bd01cd6e | ||
|
|
dcd94c7c5e | ||
|
|
978afc99a5 | ||
|
|
b4042f9b60 | ||
|
|
4ab0a256b8 | ||
|
|
050efebde5 | ||
|
|
c82644b2ef | ||
|
|
bc0884bf60 | ||
|
|
fca4383ab7 | ||
|
|
4f6371959a | ||
|
|
ab5921510c | ||
|
|
614d4c42af | ||
|
|
bb85805103 | ||
|
|
44cde6509e | ||
|
|
1c059447c6 | ||
|
|
817138162f | ||
|
|
b832e198dd | ||
|
|
ae6080d0d9 | ||
|
|
3e3e05ca8c | ||
|
|
bcdada5a84 | ||
|
|
83bfa2bb05 | ||
|
|
158a79e007 | ||
|
|
98e0b11663 | ||
|
|
2015012a95 | ||
|
|
3b86e41c24 | ||
|
|
7259d54016 | ||
|
|
e3d7f5f52e | ||
|
|
4f99cb80fb | ||
|
|
a6740e010f | ||
|
|
11baf7e709 | ||
|
|
8a1ecee894 | ||
|
|
47ebce517b | ||
|
|
285035de75 | ||
|
|
e8ecebfcc6 | ||
|
|
765b10bafa | ||
|
|
25fc86715d | ||
|
|
b40ab1a5af | ||
|
|
75aa7b1a27 | ||
|
|
c2a9ec833c | ||
|
|
024eb7bbe2 | ||
|
|
1d1b5f8b3e | ||
|
|
bd8535e37d | ||
|
|
5b2f1169bd | ||
|
|
aebdf0223b | ||
|
|
0735b6636d | ||
|
|
9c7b2a95d6 | ||
|
|
9d1472d0dd | ||
|
|
e33e49c4c6 | ||
|
|
bf32a230bb | ||
|
|
38b24fcba0 | ||
|
|
6f727ddb1d | ||
|
|
aee4eca2e7 | ||
|
|
246e3d8558 | ||
|
|
58ea9f16f3 | ||
|
|
889464ecd8 | ||
|
|
e1f725a1c2 | ||
|
|
d062bfe075 | ||
|
|
67e42a3007 | ||
|
|
d29bfdd58b | ||
|
|
3e78018356 | ||
|
|
498d1795cf | ||
|
|
14d69d1041 | ||
|
|
7be9f6d8bd | ||
|
|
4a5f0761d8 | ||
|
|
32b614cb14 | ||
|
|
96669f496f | ||
|
|
d7f26cbf62 | ||
|
|
d7da108ba5 | ||
|
|
77b04098b7 | ||
|
|
2e91bf6774 | ||
|
|
a0afcfe8ec | ||
|
|
a1e5b3a496 | ||
|
|
36ef264504 | ||
|
|
5f3e5c0e2a | ||
|
|
8481e84b85 | ||
|
|
140912f09d | ||
|
|
a6055fa580 | ||
|
|
1582093c4d | ||
|
|
b1c9108c1d | ||
|
|
0fbf6bde1c | ||
|
|
97be50b673 | ||
|
|
db0804657a | ||
|
|
7d4b90f9ec | ||
|
|
0b97030fa6 | ||
|
|
7a298b2de3 | ||
|
|
29b6946011 | ||
|
|
f784c0c71d | ||
|
|
137cc0d59c | ||
|
|
643aec299c | ||
|
|
375efda479 | ||
|
|
15595f3651 | ||
|
|
dd861996dc | ||
|
|
27781fa8e6 | ||
|
|
79d057ffdf | ||
|
|
51d193fdbc | ||
|
|
fbaa9a856d | ||
|
|
47ea747f52 | ||
|
|
284e29dea1 | ||
|
|
8aed4cc990 | ||
|
|
d51a1de290 | ||
|
|
94d87ee172 | ||
|
|
c06b0312ba | ||
|
|
1c4b5c702d | ||
|
|
81c05450e6 | ||
|
|
72833a2e89 | ||
|
|
a5a0b0b24b | ||
|
|
61dcde88d1 | ||
|
|
3984ad2e77 | ||
|
|
8861afc779 | ||
|
|
7cb2d3466f | ||
|
|
4116868c49 | ||
|
|
77f5909110 | ||
|
|
e6c1248cf2 | ||
|
|
2799a905e5 | ||
|
|
56f0713de5 | ||
|
|
ac34dc3640 | ||
|
|
36c6771396 | ||
|
|
8922bf00d7 | ||
|
|
8373b9ae91 | ||
|
|
0871d0ee0a | ||
|
|
5f99883b5c | ||
|
|
ff467bee61 | ||
|
|
cf53a4b6d9 | ||
|
|
493990078f | ||
|
|
2e50ade5aa | ||
|
|
64a378b828 | ||
|
|
dc129e1e13 | ||
|
|
fdf7333e07 | ||
|
|
401a1ab394 | ||
|
|
291c45e9a1 | ||
|
|
4a61ff3192 | ||
|
|
c3bf683b73 | ||
|
|
f708e35105 | ||
|
|
ebb19089cf | ||
|
|
6855f71257 | ||
|
|
e7e86db9a8 | ||
|
|
c6d49491ad | ||
|
|
851679e338 | ||
|
|
95749e3fb3 | ||
|
|
9ef03e7ecd | ||
|
|
0e97ed155c | ||
|
|
bf01ed29cc | ||
|
|
c7b142c091 | ||
|
|
531ad65adb | ||
|
|
d5fb0a66f9 | ||
|
|
d68c1ee112 | ||
|
|
6df597e14c | ||
|
|
fe11380291 | ||
|
|
266b8bc42e | ||
|
|
7218b23e5c | ||
|
|
491a6af9f3 | ||
|
|
84dd6ce88e | ||
|
|
aa58fe8084 | ||
|
|
e4d6a0cec2 | ||
|
|
5399db9668 | ||
|
|
d93ae71ff4 | ||
|
|
5352ff10d6 | ||
|
|
e305599235 | ||
|
|
345b4bddcd | ||
|
|
c366daffb2 | ||
|
|
6ee87e323f | ||
|
|
acb4345ad6 | ||
|
|
7ce00f2ee7 | ||
|
|
d4ecf6d533 | ||
|
|
98dda480c1 | ||
|
|
7ce2f43840 | ||
|
|
1d5dca4aa8 | ||
|
|
8586bfa0ce | ||
|
|
fe40ddf340 | ||
|
|
1737cfa437 | ||
|
|
948d17d16c | ||
|
|
45ece65de0 | ||
|
|
baba2f18b5 | ||
|
|
4fbd954613 | ||
|
|
4ca8ede165 | ||
|
|
ac5b3dc557 | ||
|
|
7552e8687d | ||
|
|
b40faca993 | ||
|
|
815255f03d | ||
|
|
18e84ac5c8 | ||
|
|
a24351b736 | ||
|
|
9cf289a930 | ||
|
|
8ea2f3fb36 | ||
|
|
deef0e1097 | ||
|
|
a8dbdd4399 | ||
|
|
5b7359b5e0 | ||
|
|
81c520559d | ||
|
|
19311509d0 | ||
|
|
522c8cc5f2 | ||
|
|
5e6cb3aa8d | ||
|
|
0564afcec4 | ||
|
|
3df9cdcacb | ||
|
|
c30d0efe1d | ||
|
|
b8d7b7eb29 | ||
|
|
135a22bf5b | ||
|
|
b9d7538819 | ||
|
|
897c399a22 | ||
|
|
7fd6e8118b | ||
|
|
5ba19ae91e | ||
|
|
2c6a90f78e | ||
|
|
4a64514d70 | ||
|
|
59105f87cb | ||
|
|
7924c2051a | ||
|
|
c279c189bc | ||
|
|
8845a7ab38 | ||
|
|
fd330b9914 | ||
|
|
0945517ebc | ||
|
|
72c221a0c8 | ||
|
|
64b139d1bc | ||
|
|
e69f114b45 | ||
|
|
d5e24a6daa | ||
|
|
2c1a6395e4 | ||
|
|
43cce1ba4a | ||
|
|
3cfe800a24 | ||
|
|
a8f96a04d1 | ||
|
|
b0b55b3741 | ||
|
|
16b3606572 | ||
|
|
0067efe9a3 | ||
|
|
1e0e1015c1 | ||
|
|
9ec138bee0 | ||
|
|
174dcddada | ||
|
|
06b8d1f521 | ||
|
|
10b61462a3 | ||
|
|
30cdb2e937 | ||
|
|
553c542548 | ||
|
|
32124c4b44 | ||
|
|
daac456353 | ||
|
|
565a93571e | ||
|
|
d102ff9976 | ||
|
|
ab78be5209 | ||
|
|
83471cbc38 | ||
|
|
7777573d50 | ||
|
|
97cb3c70c9 | ||
|
|
2659e73b6a | ||
|
|
89b2dae3c6 | ||
|
|
ece2425a27 | ||
|
|
3aec121771 | ||
|
|
a9f96e87ac | ||
|
|
01b66f7c0a | ||
|
|
91bb9e89ee | ||
|
|
609407a07b | ||
|
|
fca067bc39 | ||
|
|
647ca613a8 | ||
|
|
19496ec37a | ||
|
|
0c8a1d0482 | ||
|
|
97579662d9 | ||
|
|
c775ba8eda | ||
|
|
e2951d7233 | ||
|
|
83d3949f51 | ||
|
|
4a331b89e7 | ||
|
|
3f7b53cba9 | ||
|
|
1909d0cbd0 | ||
|
|
44b070ee39 | ||
|
|
e0d6d4e894 | ||
|
|
07c4ff9a1c | ||
|
|
e9847d64ae | ||
|
|
d599e5141b | ||
|
|
a77008e07e | ||
|
|
34dea39472 | ||
|
|
8f7466f792 | ||
|
|
6c25a87fcc | ||
|
|
a8807a42d9 | ||
|
|
366c915e22 | ||
|
|
1f97b6dc1c | ||
|
|
a20741607c | ||
|
|
cbf5e2d75e | ||
|
|
6aeae3c73f | ||
|
|
9ebd35f90f | ||
|
|
1004a05eaa | ||
|
|
614fcc658d | ||
|
|
c238de8a65 | ||
|
|
cbbcca72e0 | ||
|
|
9e4e764779 | ||
|
|
617d7ec421 | ||
|
|
12216641af | ||
|
|
2b0f668f18 | ||
|
|
924575106e | ||
|
|
91015a7239 | ||
|
|
70ecb7be40 | ||
|
|
2343fbba23 | ||
|
|
4324d2cf23 | ||
|
|
8bf4b08540 | ||
|
|
519002ff91 | ||
|
|
3666764226 | ||
|
|
c4cbe6e4e9 | ||
|
|
15b7d4b5e4 | ||
|
|
d2378bf66c | ||
|
|
aff514fa86 | ||
|
|
640f2e8cdc | ||
|
|
dfa2544b6c | ||
|
|
3200f0345a | ||
|
|
e215762942 | ||
|
|
46125e05e3 | ||
|
|
4872e2ccdb | ||
|
|
2c468dabe8 | ||
|
|
3319d21c86 | ||
|
|
b55ef0ee29 | ||
|
|
30f2d169c2 | ||
|
|
2ae6b6dc76 | ||
|
|
47df2405ab | ||
|
|
d83e909f9f | ||
|
|
b27f452d03 | ||
|
|
bd43bb65bd | ||
|
|
62c5ca50a0 | ||
|
|
e503097a49 | ||
|
|
aeb60e0a3d | ||
|
|
fef732420a | ||
|
|
c5f20f47ab | ||
|
|
0a561b574b | ||
|
|
b17d5f4910 | ||
|
|
9e0d6c150a | ||
|
|
13fb3c9c1d | ||
|
|
4ba71f7b9c | ||
|
|
df4de6092e | ||
|
|
f101524423 | ||
|
|
b6c80dfccb | ||
|
|
20786fc296 | ||
|
|
66553b3506 | ||
|
|
cb28a431c8 | ||
|
|
b6f08fc75c | ||
|
|
de409f5c9b | ||
|
|
653cf3924d | ||
|
|
c73da42f4b | ||
|
|
dbc8aa7d48 | ||
|
|
ae517b2bca | ||
|
|
61d9746b1c | ||
|
|
c869387f1a | ||
|
|
747efb35a6 | ||
|
|
47ccb38f20 | ||
|
|
83a87787c6 | ||
|
|
7d628a5639 | ||
|
|
fdfc976633 | ||
|
|
bd85e24f45 | ||
|
|
62a3e32c4a | ||
|
|
e23bc10821 | ||
|
|
dd96115ddf | ||
|
|
4511b8a5cb | ||
|
|
7b4a5d4aea | ||
|
|
f484df66de | ||
|
|
6ebe2bd8f2 | ||
|
|
e26a5eecda | ||
|
|
33c89ec034 | ||
|
|
11cee9e911 | ||
|
|
6d9e7c41ff | ||
|
|
9d56a60d85 | ||
|
|
47294883d4 | ||
|
|
3ed7f7b7cb | ||
|
|
6f45f0e837 | ||
|
|
2826102030 | ||
|
|
979e7e36ca | ||
|
|
c9edbcd537 | ||
|
|
41ab0167fd | ||
|
|
e9110c008b | ||
|
|
244b648cc4 | ||
|
|
8f8fa9d27c | ||
|
|
a3454600b6 | ||
|
|
13d61e9917 | ||
|
|
a2699d4aa5 | ||
|
|
de1e01befc | ||
|
|
6d88667e84 | ||
|
|
189e57028d | ||
|
|
7892df8484 | ||
|
|
7f9fac974c | ||
|
|
86cd238314 | ||
|
|
bb52fcc61d | ||
|
|
30e01c3741 | ||
|
|
ae2d7fbd6a | ||
|
|
49bc08e485 | ||
|
|
cb34b575a7 | ||
|
|
ec6ab9ddb6 | ||
|
|
a93ff42551 | ||
|
|
7949b536ab | ||
|
|
b456c44861 | ||
|
|
caf2d93632 | ||
|
|
a5eed610aa | ||
|
|
905a2832f2 | ||
|
|
592ac2fb0e | ||
|
|
0f1cf770cc | ||
|
|
8d8b18e5bd | ||
|
|
736dfecc0c | ||
|
|
4679fc0ddf | ||
|
|
5956e7f1a0 | ||
|
|
d8cb522055 | ||
|
|
a728ac7339 | ||
|
|
fcf45975df | ||
|
|
2a5375f4ea | ||
|
|
b3a3679a6b | ||
|
|
9fdfca486a | ||
|
|
54400a2161 | ||
|
|
e0521c140d | ||
|
|
dcb66ee989 | ||
|
|
c0f7cf77cb | ||
|
|
c4d6e766fa | ||
|
|
dbbda43758 | ||
|
|
054b49abde | ||
|
|
1fdd941c0a | ||
|
|
cba7f20546 | ||
|
|
8d58343954 | ||
|
|
8543c18079 | ||
|
|
47d0b7e9bf | ||
|
|
db874ff8b1 | ||
|
|
b49cf5cd28 | ||
|
|
0acdb4b98a | ||
|
|
d282ff71d1 | ||
|
|
f89ea705e2 | ||
|
|
fca3070045 | ||
|
|
f32bf8b6da | ||
|
|
5d58199abc | ||
|
|
7cc495d54e | ||
|
|
87379fea88 | ||
|
|
34c213f56a | ||
|
|
04e4c64efe | ||
|
|
a23fd8b12a | ||
|
|
4be3f45228 | ||
|
|
d17064f67f | ||
|
|
aad1382418 | ||
|
|
f7885eed69 | ||
|
|
008ddd57f3 | ||
|
|
0048a58b26 | ||
|
|
89bd10bd84 | ||
|
|
ff0db3a97c | ||
|
|
bd8a941f50 | ||
|
|
8353418232 | ||
|
|
26784d6969 | ||
|
|
a1d56a1f17 | ||
|
|
92512fd052 | ||
|
|
933f4722e9 | ||
|
|
4870434673 | ||
|
|
bcdff6eeb0 | ||
|
|
1cb1dec45b | ||
|
|
316124258f | ||
|
|
44997263f1 | ||
|
|
83d34f8df5 | ||
|
|
42e1b7260a | ||
|
|
d4e0fcecb9 | ||
|
|
5dbfc57d3c | ||
|
|
5f2a14bc63 | ||
|
|
a049989155 | ||
|
|
ff56a03fb6 | ||
|
|
9a74219dfd | ||
|
|
2b54576f05 | ||
|
|
fe5c310556 | ||
|
|
d299d9ae5e | ||
|
|
fa788cf600 | ||
|
|
7aea26c8a6 | ||
|
|
0d690c922a | ||
|
|
3c74585d48 | ||
|
|
083867dc77 | ||
|
|
06dd7f0821 | ||
|
|
74fadbc4cc | ||
|
|
838ffae9a6 | ||
|
|
5b159a7fb4 | ||
|
|
3ab1d7055e | ||
|
|
5c57c20d20 | ||
|
|
98fd99bced | ||
|
|
c17606cc0a | ||
|
|
064b31a641 | ||
|
|
769c1d91ee | ||
|
|
dffaae7cce | ||
|
|
44c0ba5eaf | ||
|
|
e6586b196b | ||
|
|
abcbf1a5de | ||
|
|
51ad2ea126 | ||
|
|
12caf3f4bf | ||
|
|
2265cf05f3 | ||
|
|
d8b94d4335 | ||
|
|
8db8b631da | ||
|
|
0e6fab7bf7 | ||
|
|
2b0bd7896e | ||
|
|
a2a9d0aca1 | ||
|
|
59bed07eca | ||
|
|
e9673bd1a4 | ||
|
|
780b708d49 | ||
|
|
915c9f7837 | ||
|
|
775eb7c83b | ||
|
|
1b94b0a4cc | ||
|
|
bc9d85b650 | ||
|
|
14564d06d8 | ||
|
|
7fd57f9097 | ||
|
|
a32eddc4d4 | ||
|
|
2581a9de2a | ||
|
|
82d0155b4e | ||
|
|
84d500c89c | ||
|
|
6c323097b6 | ||
|
|
4a6d1b4732 | ||
|
|
3279928c9d | ||
|
|
01ac9f4ff2 | ||
|
|
c2f7e69a59 | ||
|
|
546ef1305e | ||
|
|
d0c7668d34 | ||
|
|
68765805be | ||
|
|
6a15aaa42f | ||
|
|
c27de4875c | ||
|
|
71c0c84383 | ||
|
|
e94c50a224 | ||
|
|
7106728280 | ||
|
|
c24bc644e4 | ||
|
|
2ab14ab1ba | ||
|
|
92eb7b1b38 | ||
|
|
f4a717e9b8 | ||
|
|
208bd9c4b9 | ||
|
|
8c6594216f | ||
|
|
c4aa0e2ad2 | ||
|
|
28380a9517 | ||
|
|
8d8bfc5585 | ||
|
|
74aa6d7121 | ||
|
|
908834465e | ||
|
|
0bd99af9de | ||
|
|
061086165f | ||
|
|
cf978614db | ||
|
|
69fb59812a | ||
|
|
dfe010710b | ||
|
|
09027a5c97 | ||
|
|
578a104a92 | ||
|
|
b066cff0b3 | ||
|
|
d348680dc6 | ||
|
|
a4a51da68a | ||
|
|
16ec6da83f | ||
|
|
35125d3e41 | ||
|
|
0c502c56ff | ||
|
|
d922d0f363 | ||
|
|
d5fbf1869e | ||
|
|
7567a4669b | ||
|
|
4a368b6279 | ||
|
|
f0feb3920a | ||
|
|
6e264c2cbd | ||
|
|
c2fef16e7f | ||
|
|
98af1ee0f1 | ||
|
|
a014e6987d | ||
|
|
80fbee033f | ||
|
|
aa03d3300a | ||
|
|
2fda3845b0 | ||
|
|
2ab6ff4284 | ||
|
|
4937e38996 | ||
|
|
29994d5a47 | ||
|
|
5d36da146c | ||
|
|
c8abf7a184 | ||
|
|
f5ca95e8a8 | ||
|
|
6f6a258db1 | ||
|
|
91b9623260 | ||
|
|
594b253883 | ||
|
|
465216f223 | ||
|
|
45ecfb1332 | ||
|
|
b05bf66a98 | ||
|
|
d6e52074fc | ||
|
|
f8b0f22dd6 | ||
|
|
cd18541a77 | ||
|
|
36bc2a5e98 | ||
|
|
84223fd3c2 | ||
|
|
a4d313ef8b | ||
|
|
4ea7fc4db6 | ||
|
|
0aca750ab4 | ||
|
|
4f011445a0 | ||
|
|
030eecf235 | ||
|
|
0e63623d06 | ||
|
|
4526b07644 | ||
|
|
15043e209b | ||
|
|
a99a2d791a | ||
|
|
c812c07076 | ||
|
|
659c4a3dd0 | ||
|
|
e7d50ea0e8 | ||
|
|
d1841b2287 | ||
|
|
a24104bbc7 | ||
|
|
eb5ac7b4be | ||
|
|
9cda60d822 | ||
|
|
ed9f386e22 | ||
|
|
deaadc84ac | ||
|
|
8892507e29 | ||
|
|
1e6ef72a1c | ||
|
|
62310b0207 | ||
|
|
377964da71 | ||
|
|
b93882f36f | ||
|
|
ea9679f32c | ||
|
|
59f7b813c2 | ||
|
|
cd8c092600 | ||
|
|
69721634ab | ||
|
|
9315c39cdc | ||
|
|
c4ec75c4af | ||
|
|
d0fb4247e5 | ||
|
|
d4d7fdbae6 | ||
|
|
c652cac1bd | ||
|
|
6a143526da | ||
|
|
98e87102a4 | ||
|
|
2c1575a47a | ||
|
|
c027380ecb | ||
|
|
720639b2ea | ||
|
|
db2d9dc08e | ||
|
|
5d0489bf13 | ||
|
|
6c54c87dfc | ||
|
|
7fbffa6094 | ||
|
|
7528e9d0f0 | ||
|
|
09839f367f | ||
|
|
21ac156d00 | ||
|
|
15d7c1cf09 | ||
|
|
5636ea9001 | ||
|
|
d7933ece19 | ||
|
|
b329667c8a | ||
|
|
730bdd0faf | ||
|
|
0aaa480367 | ||
|
|
0dab29dfed | ||
|
|
9486648e4e | ||
|
|
e2b95b8f61 | ||
|
|
5d74a43453 | ||
|
|
47966b5c26 | ||
|
|
9359793032 | ||
|
|
59ad397832 | ||
|
|
18cfe50f5f | ||
|
|
e9ede520ba | ||
|
|
6a03392316 | ||
|
|
3325e52b64 | ||
|
|
88bee2ec45 | ||
|
|
bc3decdd21 | ||
|
|
bb0aabaf12 | ||
|
|
9a8058bd92 | ||
|
|
bd4fc5b877 | ||
|
|
994b791bcd | ||
|
|
c442968a13 | ||
|
|
9c602da764 | ||
|
|
ee4d60a854 | ||
|
|
9d50b994da | ||
|
|
d75d82de2b | ||
|
|
b4e1788f38 | ||
|
|
84d89058c8 | ||
|
|
9d59034af8 | ||
|
|
ccffeb1842 | ||
|
|
76b0c8ab73 | ||
|
|
7f2a0844a6 | ||
|
|
04fadaf4df | ||
|
|
3d3eb7097a | ||
|
|
81dba2d53c | ||
|
|
da04c4ec7e | ||
|
|
6fb7bd8712 | ||
|
|
ca82c6c218 | ||
|
|
cb9db89ab1 | ||
|
|
20137bb1e3 | ||
|
|
78ec934aa5 | ||
|
|
438bfddbf4 | ||
|
|
3674dd770f | ||
|
|
7c445ff49d | ||
|
|
5233f097b8 | ||
|
|
091e64a6ed | ||
|
|
373571e4d5 | ||
|
|
c77ccdfc4f | ||
|
|
a81056818d | ||
|
|
bda88300c6 | ||
|
|
ccf2c517c3 | ||
|
|
97a5a9b7a9 | ||
|
|
0ae8574f10 | ||
|
|
8e5ee518b8 | ||
|
|
be0f84b532 | ||
|
|
75d7a8b290 | ||
|
|
e5b7a307eb | ||
|
|
722ac1fedd | ||
|
|
d4fc846117 | ||
|
|
4a4fb0cc4b | ||
|
|
66b448b21d | ||
|
|
3f284777d9 | ||
|
|
556765e31c | ||
|
|
e378263b9a | ||
|
|
da0d8c72ba | ||
|
|
265da863a7 | ||
|
|
7c3368827d | ||
|
|
aafe4659d5 | ||
|
|
90bb564700 | ||
|
|
0b4ddc1557 | ||
|
|
83a978defc | ||
|
|
ef94a405ec | ||
|
|
0cea741e8d | ||
|
|
54aa682759 | ||
|
|
c1d515648c | ||
|
|
ef52a6bdec | ||
|
|
a46637ebf5 | ||
|
|
fe7e381e74 | ||
|
|
646127b78b | ||
|
|
2f73753547 | ||
|
|
c20e4c0e2c | ||
|
|
052c73319b | ||
|
|
648719a893 | ||
|
|
ed3d7db115 | ||
|
|
ac51207cf2 | ||
|
|
5d73aa98ae | ||
|
|
f513207635 | ||
|
|
9c63f2c5ca | ||
|
|
6e52f5fe98 | ||
|
|
d9a0883213 | ||
|
|
2481295170 | ||
|
|
861d81afdf | ||
|
|
f13b606f4c | ||
|
|
5a0c6ff4c2 | ||
|
|
0dd6e76218 | ||
|
|
045da5b5a6 | ||
|
|
ea6f007b7d | ||
|
|
d5b1d5efda | ||
|
|
b32d5a5a11 | ||
|
|
84db4f1335 | ||
|
|
1acb697ff2 | ||
|
|
92b3fd0196 | ||
|
|
d2be28f835 | ||
|
|
dfea5d6096 | ||
|
|
9a8a3b417b | ||
|
|
d9615badc2 | ||
|
|
13ee5f11bb | ||
|
|
b3460f0131 | ||
|
|
3343200901 | ||
|
|
14416be82b | ||
|
|
26f374e4d1 | ||
|
|
55eb90b9eb | ||
|
|
e25704fbd6 | ||
|
|
dac54efbfe | ||
|
|
b68b021815 | ||
|
|
a3678f6b48 | ||
|
|
07ef9141b2 | ||
|
|
ebad0318d6 | ||
|
|
d128c2f580 | ||
|
|
3b41ddc2b9 | ||
|
|
2d645b1c1a | ||
|
|
f1cdd081e6 | ||
|
|
fc458e1fc7 | ||
|
|
d9e4d88e04 | ||
|
|
ea2486a36a | ||
|
|
75a2a93185 | ||
|
|
5d6508a1e0 | ||
|
|
f51d8a44be | ||
|
|
14284a9857 | ||
|
|
f1f63815fd | ||
|
|
942c260101 | ||
|
|
8304fa112f | ||
|
|
335ca0bd33 | ||
|
|
24d9c6371d | ||
|
|
d3dfcc2ff9 | ||
|
|
c18d2f1525 | ||
|
|
bf3bcc5267 | ||
|
|
084a0ebbf6 | ||
|
|
6c3c5095d7 | ||
|
|
fb0ba5046e | ||
|
|
c841833591 | ||
|
|
6880d27bc5 | ||
|
|
ce5869e86f | ||
|
|
1cd7541002 | ||
|
|
b96bd26d82 | ||
|
|
fb96843970 | ||
|
|
72fac9db4f | ||
|
|
baea61e1fc | ||
|
|
d50f15f54b | ||
|
|
90bc00d3aa | ||
|
|
14a2f224a6 | ||
|
|
cfc72a1612 | ||
|
|
6dbacba0a6 | ||
|
|
2ceef21b30 | ||
|
|
a6a1617252 | ||
|
|
eb5adf6bf7 | ||
|
|
6b3b545ea0 | ||
|
|
0af1e92d51 | ||
|
|
06d7ce2167 | ||
|
|
72e76ac168 | ||
|
|
3e9a5a25e3 | ||
|
|
23930c073f | ||
|
|
72f80700b2 | ||
|
|
f23aca28ac | ||
|
|
86e1d47b54 | ||
|
|
2a5f34db9b | ||
|
|
b0e6db073b | ||
|
|
b74f1ddcf0 | ||
|
|
66ebcf32c4 | ||
|
|
568a774de5 | ||
|
|
a54e12f6e8 | ||
|
|
acd71e8b4a | ||
|
|
d0a6fabe98 | ||
|
|
2c72a1c0fd | ||
|
|
26f9cac3ff | ||
|
|
3152271b78 | ||
|
|
11bc286588 | ||
|
|
40a6c5f254 | ||
|
|
406d6a2bb2 | ||
|
|
e7e9dfa608 | ||
|
|
2ca314d8d1 | ||
|
|
fed06031cb | ||
|
|
fdf295c81d | ||
|
|
8fcef0c3b8 | ||
|
|
5f85d88a47 | ||
|
|
d534d5ae5b | ||
|
|
1493ecad0a | ||
|
|
915c2ac4f8 | ||
|
|
ff8fc01f2e | ||
|
|
ba640dbb7c | ||
|
|
a94bce2275 | ||
|
|
88b82c9e11 | ||
|
|
09631e8896 | ||
|
|
65470e462b | ||
|
|
488814cfe8 | ||
|
|
0ada63b210 | ||
|
|
1a910d8ee1 | ||
|
|
fbac83c1aa | ||
|
|
7eaa4cdc98 | ||
|
|
7cc28f2ad2 | ||
|
|
3d916679b8 | ||
|
|
445c0d5e87 | ||
|
|
265e8ecaf8 | ||
|
|
12c8961757 | ||
|
|
5ab069d70d | ||
|
|
0cc2a42c41 | ||
|
|
6ed5029b12 | ||
|
|
466bfc0686 | ||
|
|
808e0e9669 | ||
|
|
6fbf0453c5 | ||
|
|
f0d5bb0923 | ||
|
|
3c787951fe | ||
|
|
6f2c76ea37 | ||
|
|
c2f2c12a77 | ||
|
|
7b54eac24f | ||
|
|
80cea002b5 | ||
|
|
ad8727b793 | ||
|
|
793aa88ba0 | ||
|
|
1f1f27e923 | ||
|
|
7d8f885e58 | ||
|
|
85a9493ec9 | ||
|
|
ead2053600 | ||
|
|
be7398c764 | ||
|
|
158dba0544 | ||
|
|
47220f203e | ||
|
|
394efaf05b | ||
|
|
83fba3d630 | ||
|
|
5f6bd72867 | ||
|
|
bbd5c3018e | ||
|
|
97c6997c94 | ||
|
|
8e0f97489d | ||
|
|
0cf2122687 | ||
|
|
eb4e7cfc11 | ||
|
|
59c5f3a7bb | ||
|
|
7beefda1da | ||
|
|
41f3132526 | ||
|
|
1d58527a40 | ||
|
|
ca0badc792 | ||
|
|
2980dcdc5c | ||
|
|
053b362125 | ||
|
|
cf4e21e943 | ||
|
|
5110cb9999 | ||
|
|
fea1bc5f42 | ||
|
|
478430472a | ||
|
|
45547ad3c7 | ||
|
|
34e75b71c4 | ||
|
|
e142349af1 | ||
|
|
c9f7cef306 | ||
|
|
268096d6d5 | ||
|
|
7cd4b59875 | ||
|
|
9d06591399 | ||
|
|
7c8824258f | ||
|
|
a676e50d41 | ||
|
|
62da56b975 | ||
|
|
ad1465463f | ||
|
|
b9e7744fd7 | ||
|
|
7379ac8acf | ||
|
|
a176979c04 | ||
|
|
1de297335c | ||
|
|
8b88c13f1e | ||
|
|
be36dbeca9 | ||
|
|
ff8b90dad0 | ||
|
|
f74f6c8af2 | ||
|
|
b92fdebef4 | ||
|
|
1f0557c080 | ||
|
|
eb8c59dd00 | ||
|
|
769c554932 | ||
|
|
d6794f8f3d | ||
|
|
f2cf4973dd | ||
|
|
2d721f33d7 | ||
|
|
8764d9d7bf | ||
|
|
00743f974a | ||
|
|
1fbe39620b | ||
|
|
81686e3ced | ||
|
|
6dbd2120f7 | ||
|
|
f2be2990da | ||
|
|
d23bb2d76d | ||
|
|
72005db13d | ||
|
|
4f9aae713d | ||
|
|
354d218acb | ||
|
|
9f2791858d | ||
|
|
7ccdb9ded5 | ||
|
|
cc95885b91 | ||
|
|
b4afde39d6 | ||
|
|
46a0e729db |
@@ -13,6 +13,10 @@ LICENSE=
|
|||||||
# NEXT_PUBLIC_APP_URL=http://localhost:3000
|
# NEXT_PUBLIC_APP_URL=http://localhost:3000
|
||||||
|
|
||||||
NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
|
NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
|
||||||
|
NEXT_PUBLIC_API_V2_URL=http://localhost:5555/api/v2
|
||||||
|
|
||||||
|
# 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
|
# It is highly recommended that the NEXTAUTH_SECRET must be overridden and very unique
|
||||||
# Use `openssl rand -base64 32` to generate a key
|
# Use `openssl rand -base64 32` to generate a key
|
||||||
@@ -29,6 +33,9 @@ POSTGRES_PASSWORD=magical_password
|
|||||||
POSTGRES_DB=calendso
|
POSTGRES_DB=calendso
|
||||||
DATABASE_HOST=database:5432
|
DATABASE_HOST=database:5432
|
||||||
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
|
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={}
|
GOOGLE_API_CREDENTIALS={}
|
||||||
|
|
||||||
# Set this to '1' if you don't want Cal to collect anonymous usage
|
# Set this to '1' if you don't want Cal to collect anonymous usage
|
||||||
@@ -44,6 +51,7 @@ ZOOM_CLIENT_SECRET=
|
|||||||
|
|
||||||
# E-mail settings
|
# E-mail settings
|
||||||
# Configures the global From: header whilst sending emails.
|
# Configures the global From: header whilst sending emails.
|
||||||
|
EMAIL_FROM_NAME=YourOrganizationName
|
||||||
EMAIL_FROM=notifications@example.com
|
EMAIL_FROM=notifications@example.com
|
||||||
|
|
||||||
# Configure SMTP settings (@see https://nodemailer.com/smtp/).
|
# Configure SMTP settings (@see https://nodemailer.com/smtp/).
|
||||||
|
|||||||
7
.github/dependabot.yml
vendored
Normal file
7
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
# Maintain dependencies for GitHub Actions
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
64
.github/workflows/create-release-from-commit.yaml
vendored
Normal file
64
.github/workflows/create-release-from-commit.yaml
vendored
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
name: "Create Release Tag"
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
version:
|
||||||
|
description: 'The new release tag to create (e.g., v3.8.1)'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
commit_sha:
|
||||||
|
description: 'The short commit SHA from the calcom submodule to use for this release'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: "Tag Release"
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Checkout main branch to get starting point"
|
||||||
|
uses: "actions/checkout@v4"
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.TOKEN_GITEA }}
|
||||||
|
# We check out main, but will create the release commit off of it
|
||||||
|
# without modifying the branch itself.
|
||||||
|
ref: 'main'
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: "Create Release Commit and Tag"
|
||||||
|
run: |
|
||||||
|
# Configure git user for the commit
|
||||||
|
git config user.email "actions@gitea.local"
|
||||||
|
git config user.name "Gitea Actions"
|
||||||
|
|
||||||
|
echo "Updating submodule to commit ${{ inputs.commit_sha }}..."
|
||||||
|
|
||||||
|
# Navigate into the submodule, fetch latest history, and check out the specific commit.
|
||||||
|
# This modifies the submodule's checked-out version in the working directory.
|
||||||
|
cd calcom
|
||||||
|
git fetch origin
|
||||||
|
git checkout ${{ inputs.commit_sha }}
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# Stage the change to the submodule pointer.
|
||||||
|
git add calcom
|
||||||
|
|
||||||
|
# Create a NEW commit. This commit is NOT on the main branch.
|
||||||
|
# It's a "dangling" commit that only HEAD is pointing to at this moment.
|
||||||
|
# The parent of this new commit is the latest commit from 'main'.
|
||||||
|
git commit -m "release: Version ${{ inputs.version }} with calcom at ${{ inputs.commit_sha }}"
|
||||||
|
|
||||||
|
# Get the full SHA of the new commit we just created.
|
||||||
|
NEW_COMMIT_SHA=$(git rev-parse HEAD)
|
||||||
|
echo "Created new release commit: $NEW_COMMIT_SHA"
|
||||||
|
|
||||||
|
echo "Creating and pushing tag ${{ inputs.version }}..."
|
||||||
|
|
||||||
|
# Create an annotated tag pointing directly at our new, branchless commit.
|
||||||
|
git tag -a "${{ inputs.version }}" -m "Release ${{ inputs.version }}" $NEW_COMMIT_SHA
|
||||||
|
|
||||||
|
# Push ONLY the new tag to the repository. Git will automatically send
|
||||||
|
# the required commit object ($NEW_COMMIT_SHA) along with the tag.
|
||||||
|
git push origin "${{ inputs.version }}"
|
||||||
77
.github/workflows/create-release.yaml
vendored
Normal file
77
.github/workflows/create-release.yaml
vendored
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
name: "Create Gitea Release"
|
||||||
|
|
||||||
|
# This workflow is triggered manually from the Gitea Actions UI
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
RELEASE_TAG:
|
||||||
|
description: 'The release tag to create, formatted as v{Major}.{Minor}.{Patch}'
|
||||||
|
required: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: "Release"
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
# Step 1: Check out the repository source code and its submodules.
|
||||||
|
# The TOKEN_GITEA is used here to grant permission for the later 'git push'.
|
||||||
|
- name: Checkout source
|
||||||
|
uses: "actions/checkout@v4"
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.TOKEN_GITEA }}
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
# Step 2: Create a new release branch, update the submodule to the specified tag,
|
||||||
|
# and push the new branch to the Gitea repository.
|
||||||
|
- name: Create Branch and Update Submodule
|
||||||
|
run: |
|
||||||
|
# Configure git user for the commit
|
||||||
|
git config user.email "actions@gitea.local"
|
||||||
|
git config user.name "Gitea Actions"
|
||||||
|
|
||||||
|
# Create the new release branch
|
||||||
|
git checkout -b 'release-${{ inputs.RELEASE_TAG }}'
|
||||||
|
|
||||||
|
# Enter the submodule directory, fetch the latest tags, and check out the correct one.
|
||||||
|
# This points the submodule to the specific commit associated with the release tag.
|
||||||
|
(cd calcom && git fetch --tags origin && git checkout 'refs/tags/${{ inputs.RELEASE_TAG }}')
|
||||||
|
|
||||||
|
# Stage and commit the change to the submodule pointer
|
||||||
|
git add calcom
|
||||||
|
git commit -m "Update submodule to Cal.com version ${{ inputs.RELEASE_TAG }}"
|
||||||
|
|
||||||
|
# Push the newly created release branch to the remote Gitea repository
|
||||||
|
git push origin 'release-${{ inputs.RELEASE_TAG }}'
|
||||||
|
|
||||||
|
# Step 3: Call the Gitea API to create the official release object.
|
||||||
|
# This uses the same API token to authorize the action.
|
||||||
|
- name: "Create Gitea Release"
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.TOKEN_GITEA }}
|
||||||
|
GITEA_API_URL: https://git.nethery.dev/api/v1
|
||||||
|
OWNER: ${{ gitea.repository_owner }}
|
||||||
|
REPO: ${{ gitea.repository_name }}
|
||||||
|
run: |
|
||||||
|
# Determine if the tag indicates a pre-release
|
||||||
|
is_prerelease=false
|
||||||
|
if [[ "${{ inputs.RELEASE_TAG }}" == *"-rc"* || "${{ inputs.RELEASE_TAG }}" == *"-beta"* ]]; then
|
||||||
|
is_prerelease=true
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Creating release ${{ inputs.RELEASE_TAG }}..."
|
||||||
|
echo "Is prerelease: $is_prerelease"
|
||||||
|
|
||||||
|
# Use curl to send a POST request to the Gitea API's 'create release' endpoint
|
||||||
|
curl --fail --silent --show-error -L -X POST \
|
||||||
|
-H "accept: application/json" \
|
||||||
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
"${GITEA_API_URL}/repos/${OWNER}/${REPO}/releases" \
|
||||||
|
-d '{
|
||||||
|
"tag_name": "${{ inputs.RELEASE_TAG }}",
|
||||||
|
"target_commitish": "release-${{ inputs.RELEASE_TAG }}",
|
||||||
|
"name": "${{ inputs.RELEASE_TAG }}",
|
||||||
|
"body": "For Cal.com release details, see: https://github.com/calcom/cal.com/releases/tag/${{ inputs.RELEASE_TAG }}",
|
||||||
|
"prerelease": '${is_prerelease}'
|
||||||
|
}'
|
||||||
153
.github/workflows/docker-build-push-dockerhub.yml
vendored
153
.github/workflows/docker-build-push-dockerhub.yml
vendored
@@ -5,7 +5,10 @@ name: Build and push image to DockerHub
|
|||||||
# Controls when the workflow will run
|
# Controls when the workflow will run
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches:
|
||||||
|
- 'main'
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
# update on run of Update Calendso nightly submodule update
|
# update on run of Update Calendso nightly submodule update
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["Update Calendso"]
|
workflows: ["Update Calendso"]
|
||||||
@@ -14,15 +17,17 @@ on:
|
|||||||
- completed
|
- completed
|
||||||
# Allow running workflow manually from the Actions tab
|
# Allow running workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
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'
|
# Leaving in example for releases. Initially we simply push to 'latest'
|
||||||
# on:
|
# on:
|
||||||
# release:
|
# release:
|
||||||
# types: [ created ]
|
# 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
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build"
|
# This workflow contains a single job called "build"
|
||||||
@@ -32,29 +37,52 @@ jobs:
|
|||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
uses: jlumbroso/free-disk-space@main
|
||||||
|
with:
|
||||||
|
# Free about 4.5 GB, elminating our disk space issues
|
||||||
|
tool-cache: true
|
||||||
|
|
||||||
|
# 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: Base requirements
|
||||||
|
run: |
|
||||||
|
# packages
|
||||||
|
apk update && apk add --no-cache git docker docker-compose nodejs gpg openssh npm ansible
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Git submodule update
|
- name: Git submodule update
|
||||||
run: |
|
run: |
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
|
|
||||||
- name: Docker Login
|
- name: Log in to the Docker Hub registry
|
||||||
# You may pin to the exact commit or the version.
|
uses: docker/login-action@v3
|
||||||
# uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
|
||||||
uses: docker/login-action@v1.10.0
|
|
||||||
with:
|
with:
|
||||||
# Username used to log against the Docker registry
|
|
||||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||||
# Password or personal access token used to log against the Docker registry
|
|
||||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||||
# Log out from the Docker registry at the end of a job
|
|
||||||
logout: true # optional, default is true
|
|
||||||
|
|
||||||
- name: Set up Docker builder
|
- name: Log in to the Github Container registry
|
||||||
id: buildx
|
uses: docker/login-action@v3
|
||||||
uses: docker/setup-buildx-action@v1.6.0
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: nnethery
|
||||||
|
password: ${{ secrets.GHCR_TOKEN }}
|
||||||
|
|
||||||
|
- name: Docker meta
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@v5
|
||||||
|
with:
|
||||||
|
images: |
|
||||||
|
ghcr.io/nnethery/cal.com
|
||||||
|
nnethery/cal.com
|
||||||
|
flavor: |
|
||||||
|
latest=${{ !github.event.release.prerelease }}
|
||||||
|
|
||||||
- name: Copy env
|
- name: Copy env
|
||||||
run: |
|
run: |
|
||||||
@@ -63,43 +91,108 @@ jobs:
|
|||||||
echo "DATABASE_HOST=localhost:5432" >> $GITHUB_ENV
|
echo "DATABASE_HOST=localhost:5432" >> $GITHUB_ENV
|
||||||
eval $(sed -e '/^#/d' -e 's/^/export /' -e 's/$/;/' .env) ;
|
eval $(sed -e '/^#/d' -e 's/^/export /' -e 's/$/;/' .env) ;
|
||||||
|
|
||||||
- name: Set up QEMU
|
# Temporarily disable ARM build due to runner performance issues
|
||||||
uses: docker/setup-qemu-action@v2
|
|
||||||
|
|
||||||
- name: Start database
|
- name: Start database
|
||||||
run: |
|
run: |
|
||||||
docker compose up -d database
|
docker compose up -d database
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
driver-opts: |
|
driver-opts: |
|
||||||
network=container:database
|
network=container:database
|
||||||
buildkitd-flags: |
|
buildkitd-flags: |
|
||||||
--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
|
--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
|
||||||
|
# config-inline: |
|
||||||
|
# [worker.oci]
|
||||||
|
# max-parallelism = 1
|
||||||
|
|
||||||
- name: Build and push image
|
- name: Build image
|
||||||
id: docker_build
|
id: docker_build
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: ./
|
||||||
|
file: ./Dockerfile
|
||||||
|
load: true # Load the image into the Docker daemon
|
||||||
|
push: false # Do not push the image at this stage
|
||||||
|
platforms: linux/arm64 # Changed from 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_API_V2_URL=${{ env.NEXT_PUBLIC_API_V2_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 }}
|
||||||
|
|
||||||
|
# - 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
|
||||||
|
|
||||||
|
# apk add curl
|
||||||
|
|
||||||
|
# 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
|
||||||
|
id: docker_push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: ./
|
context: ./
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/arm64 # Changed from linux/amd64
|
||||||
tags: docker.io/${{ secrets.DOCKER_HUB_USERNAME }}/calendso:latest
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
build-args: |
|
build-args: |
|
||||||
NEXT_PUBLIC_WEBAPP_URL=${{ env.NEXT_PUBLIC_WEBAPP_URL }}
|
NEXT_PUBLIC_WEBAPP_URL=${{ env.NEXT_PUBLIC_WEBAPP_URL }}
|
||||||
|
NEXT_PUBLIC_API_V2_URL=${{ env.NEXT_PUBLIC_API_V2_URL }}
|
||||||
NEXT_PUBLIC_LICENSE_CONSENT=${{ env.NEXT_PUBLIC_LICENSE_CONSENT }}
|
NEXT_PUBLIC_LICENSE_CONSENT=${{ env.NEXT_PUBLIC_LICENSE_CONSENT }}
|
||||||
NEXT_PUBLIC_TELEMETRY_KEY=${{ env.NEXT_PUBLIC_TELEMETRY_KEY }}
|
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_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: Build with docker compose
|
- name: Image digest
|
||||||
# run: |
|
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||||
# DOCKER_BUILDKIT=0 docker compose build --build-arg DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }} calcom
|
|
||||||
|
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
run: |
|
run: |
|
||||||
docker compose down
|
docker compose down
|
||||||
|
|
||||||
- name: Image digest
|
|
||||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
|
||||||
|
|||||||
2
.github/workflows/update-submodules.yml
vendored
2
.github/workflows/update-submodules.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Git submodule update
|
- name: Git submodule update
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
72
Dockerfile
72
Dockerfile
@@ -1,49 +1,87 @@
|
|||||||
FROM node:16 as builder
|
FROM node:18 AS builder
|
||||||
|
|
||||||
WORKDIR /calcom
|
WORKDIR /calcom
|
||||||
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
|
|
||||||
ARG NEXT_PUBLIC_APP_URL
|
|
||||||
ARG NEXT_PUBLIC_LICENSE_CONSENT
|
ARG NEXT_PUBLIC_LICENSE_CONSENT
|
||||||
|
ARG NEXT_PUBLIC_WEBSITE_TERMS_URL
|
||||||
|
ARG NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL
|
||||||
ARG CALCOM_TELEMETRY_DISABLED
|
ARG CALCOM_TELEMETRY_DISABLED
|
||||||
ARG DATABASE_URL
|
ARG DATABASE_URL
|
||||||
ARG NEXTAUTH_SECRET=secret
|
ARG NEXTAUTH_SECRET=secret
|
||||||
ARG CALENDSO_ENCRYPTION_KEY=secret
|
ARG CALENDSO_ENCRYPTION_KEY=secret
|
||||||
ARG MAX_OLD_SPACE_SIZE=4096
|
ARG MAX_OLD_SPACE_SIZE=4096
|
||||||
|
ARG NEXT_PUBLIC_API_V2_URL
|
||||||
|
|
||||||
ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
|
ENV NEXT_PUBLIC_WEBAPP_URL=http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER \
|
||||||
NEXT_PUBLIC_APP_URL=$NEXT_PUBLIC_APP_URL \
|
NEXT_PUBLIC_API_V2_URL=$NEXT_PUBLIC_API_V2_URL \
|
||||||
NEXT_PUBLIC_LICENSE_CONSENT=$NEXT_PUBLIC_LICENSE_CONSENT \
|
NEXT_PUBLIC_LICENSE_CONSENT=$NEXT_PUBLIC_LICENSE_CONSENT \
|
||||||
|
NEXT_PUBLIC_WEBSITE_TERMS_URL=$NEXT_PUBLIC_WEBSITE_TERMS_URL \
|
||||||
|
NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL=$NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL \
|
||||||
CALCOM_TELEMETRY_DISABLED=$CALCOM_TELEMETRY_DISABLED \
|
CALCOM_TELEMETRY_DISABLED=$CALCOM_TELEMETRY_DISABLED \
|
||||||
DATABASE_URL=$DATABASE_URL \
|
DATABASE_URL=$DATABASE_URL \
|
||||||
|
DATABASE_DIRECT_URL=$DATABASE_URL \
|
||||||
NEXTAUTH_SECRET=${NEXTAUTH_SECRET} \
|
NEXTAUTH_SECRET=${NEXTAUTH_SECRET} \
|
||||||
CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY} \
|
CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY} \
|
||||||
NODE_OPTIONS=--max-old-space-size=${MAX_OLD_SPACE_SIZE}
|
NODE_OPTIONS=--max-old-space-size=${MAX_OLD_SPACE_SIZE} \
|
||||||
|
BUILD_STANDALONE=true
|
||||||
|
|
||||||
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/i18n.json ./
|
||||||
|
COPY calcom/.yarn ./.yarn
|
||||||
COPY calcom/apps/web ./apps/web
|
COPY calcom/apps/web ./apps/web
|
||||||
|
COPY calcom/apps/api/v2 ./apps/api/v2
|
||||||
COPY calcom/packages ./packages
|
COPY calcom/packages ./packages
|
||||||
|
COPY calcom/tests ./tests
|
||||||
|
|
||||||
RUN yarn config set network-timeout 1000000000 -g && \
|
RUN yarn config set httpTimeout 1200000
|
||||||
yarn install --frozen-lockfile
|
RUN npx turbo prune --scope=@calcom/web --scope=@calcom/trpc --docker
|
||||||
|
RUN yarn install
|
||||||
|
RUN yarn db-deploy
|
||||||
|
RUN yarn --cwd packages/prisma seed-app-store
|
||||||
|
# Build and make embed servable from web/public/embed folder
|
||||||
|
RUN yarn workspace @calcom/trpc run build
|
||||||
|
RUN yarn --cwd packages/embeds/embed-core workspace @calcom/embed-core run build
|
||||||
|
RUN yarn --cwd apps/web workspace @calcom/web run build
|
||||||
|
|
||||||
RUN yarn build
|
# 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:16 as runner
|
FROM node:18 AS builder-two
|
||||||
|
|
||||||
WORKDIR /calcom
|
WORKDIR /calcom
|
||||||
ENV NODE_ENV production
|
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
|
||||||
|
|
||||||
RUN apt-get update && \
|
ENV NODE_ENV=production
|
||||||
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/turbo.json calcom/i18n.json ./
|
||||||
|
COPY calcom/.yarn ./.yarn
|
||||||
|
COPY --from=builder /calcom/yarn.lock ./yarn.lock
|
||||||
COPY --from=builder /calcom/node_modules ./node_modules
|
COPY --from=builder /calcom/node_modules ./node_modules
|
||||||
COPY --from=builder /calcom/packages ./packages
|
COPY --from=builder /calcom/packages ./packages
|
||||||
COPY --from=builder /calcom/apps/web ./apps/web
|
COPY --from=builder /calcom/apps/web ./apps/web
|
||||||
COPY --from=builder /calcom/packages/prisma/schema.prisma ./prisma/schema.prisma
|
COPY --from=builder /calcom/packages/prisma/schema.prisma ./prisma/schema.prisma
|
||||||
COPY scripts scripts
|
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
|
EXPOSE 3000
|
||||||
|
|
||||||
|
HEALTHCHECK --interval=30s --timeout=30s --retries=5 \
|
||||||
|
CMD wget --spider http://localhost:3000 || exit 1
|
||||||
|
|
||||||
CMD ["/calcom/scripts/start.sh"]
|
CMD ["/calcom/scripts/start.sh"]
|
||||||
|
|||||||
1
Dockerfile.render
Normal file
1
Dockerfile.render
Normal file
@@ -0,0 +1 @@
|
|||||||
|
FROM calcom.docker.scarf.sh/calcom/cal.com
|
||||||
210
README.md
210
README.md
@@ -1,18 +1,33 @@
|
|||||||
<!-- PROJECT LOGO -->
|
<!-- PROJECT LOGO -->
|
||||||
<div align="right">
|
<p align="center">
|
||||||
<a href="https://github.com/calcom/cal.com">
|
<a href="https://github.com/calcom/cal.com">
|
||||||
<img src="https://cal.com/logo.svg" alt="Logo" width="160" height="65">
|
<img src="https://user-images.githubusercontent.com/8019099/133430653-24422d2a-3c8d-4052-9ad6-0580597151ee.png" alt="Logo">
|
||||||
</a><br/>
|
|
||||||
<a href="https://cal.com">Website</a>
|
</a>
|
||||||
·
|
|
||||||
<a href="https://github.com/calcom/docker/issues">Community Support</a>
|
<h3 align="center">Cal.com (formerly Calendso)</h3>
|
||||||
</div>
|
|
||||||
|
<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
|
# Docker
|
||||||
|
|
||||||
NOTE: DockerHub organization has not yet been renamed.
|
This image can be found on DockerHub at [https://hub.docker.com/r/calcom/cal.com](https://hub.docker.com/r/calcom/cal.com)
|
||||||
|
|
||||||
This image can be found on DockerHub at [https://hub.docker.com/r/calendso/calendso](https://hub.docker.com/r/calendso/calendso)
|
|
||||||
|
|
||||||
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.
|
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)
|
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.
|
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.
|
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 --recursive 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
|
```bash
|
||||||
git clone https://github.com/calcom/docker.git calcom-docker
|
git clone https://github.com/calcom/docker.git calcom-docker
|
||||||
@@ -54,6 +149,8 @@ Note: `docker compose` without the hyphen is now the primary method of using doc
|
|||||||
|
|
||||||
4. Rename `.env.example` to `.env` and then update `.env`
|
4. Rename `.env.example` to `.env` and then update `.env`
|
||||||
|
|
||||||
|
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:
|
5. Build the Cal.com docker image:
|
||||||
|
|
||||||
Note: Due to application configuration requirements, an available database is currently required during the build process.
|
Note: Due to application configuration requirements, an available database is currently required during the build process.
|
||||||
@@ -94,47 +191,47 @@ 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.**
|
**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.
|
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!
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
## Configuration
|
## 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
|
### Important Run-time variables
|
||||||
|
|
||||||
These variables must also be provided at runtime
|
These variables must also be provided at runtime
|
||||||
|
|
||||||
| Variable | Description | Required | Default |
|
| 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` |
|
| NEXTAUTH_SECRET | must match build variable | required | `secret` |
|
||||||
| CALENDSO_ENCRYPTION_KEY | 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 | | |
|
||||||
|
| NEXT_PUBLIC_WEBSITE_TERMS_URL | custom URL for terms and conditions website | optional | `https://cal.com/terms` |
|
||||||
|
| NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL | custom URL for privacy policy website | optional | `https://cal.com/privacy` |
|
||||||
|
| 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
|
## Git Submodules
|
||||||
|
|
||||||
This repository uses a git submodule.
|
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
|
```bash
|
||||||
git submodule update --remote --init
|
git submodule update --remote --init
|
||||||
@@ -144,5 +241,38 @@ For more advanced usage, please refer to the git documentation: [https://git-scm
|
|||||||
|
|
||||||
## Troubleshooting
|
## 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.
|
### SSL edge termination
|
||||||
* 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.
|
|
||||||
|
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
2
calcom
Submodule calcom updated: 6b0ac96b38...251393101a
@@ -1,5 +1,4 @@
|
|||||||
# Use postgres/example user/password credentials
|
# Use postgres/example user/password credentials
|
||||||
version: '3.8'
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
database-data:
|
database-data:
|
||||||
@@ -21,16 +20,21 @@ services:
|
|||||||
- stack
|
- stack
|
||||||
|
|
||||||
calcom:
|
calcom:
|
||||||
|
image: calcom.docker.scarf.sh/calcom/cal.com
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
NEXT_PUBLIC_WEBAPP_URL: ${NEXT_PUBLIC_WEBAPP_URL}
|
NEXT_PUBLIC_WEBAPP_URL: ${NEXT_PUBLIC_WEBAPP_URL}
|
||||||
|
NEXT_PUBLIC_API_V2_URL: ${NEXT_PUBLIC_API_V2_URL}
|
||||||
NEXT_PUBLIC_LICENSE_CONSENT: ${NEXT_PUBLIC_LICENSE_CONSENT}
|
NEXT_PUBLIC_LICENSE_CONSENT: ${NEXT_PUBLIC_LICENSE_CONSENT}
|
||||||
CALCOM_TELEMETRY_DISABLE: ${CALCOM_TELEMETRY_DISABLED}
|
NEXT_PUBLIC_WEBSITE_TERMS_URL: ${EXT_PUBLIC_WEBSITE_TERMS_URL}
|
||||||
|
NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL: ${NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL}
|
||||||
|
CALCOM_TELEMETRY_DISABLED: ${CALCOM_TELEMETRY_DISABLED}
|
||||||
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
|
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
|
||||||
CALENDSO_ENCRYPTION_KEY: ${CALENDSO_ENCRYPTION_KEY}
|
CALENDSO_ENCRYPTION_KEY: ${CALENDSO_ENCRYPTION_KEY}
|
||||||
DATABASE_URL: ${DATABASE_URL}
|
DATABASE_URL: ${DATABASE_URL}
|
||||||
|
DATABASE_DIRECT_URL: ${DATABASE_URL}
|
||||||
network: stack
|
network: stack
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
@@ -40,12 +44,13 @@ services:
|
|||||||
env_file: .env
|
env_file: .env
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
|
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
|
||||||
|
- DATABASE_DIRECT_URL=${DATABASE_URL}
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
|
|
||||||
# Optional use of Prisma Studio. In production, comment out or remove the section below to prevent unwanted access to your database.
|
# Optional use of Prisma Studio. In production, comment out or remove the section below to prevent unwanted access to your database.
|
||||||
studio:
|
studio:
|
||||||
image: calendso/calendso:latest
|
image: calcom.docker.scarf.sh/calcom/cal.com
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- stack
|
- stack
|
||||||
@@ -54,6 +59,7 @@ services:
|
|||||||
env_file: .env
|
env_file: .env
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
|
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
|
||||||
|
- DATABASE_DIRECT_URL=${DATABASE_URL}
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
command:
|
command:
|
||||||
|
|||||||
26
render.yaml
Normal file
26
render.yaml
Normal 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: basic-1gb
|
||||||
15
scripts/replace-placeholder.sh
Executable file
15
scripts/replace-placeholder.sh
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
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."
|
||||||
|
|
||||||
|
for file in $(egrep -r -l "${FROM}" apps/web/.next/ apps/web/public/); do
|
||||||
|
sed -i -e "s|$FROM|$TO|g" "$file"
|
||||||
|
done
|
||||||
@@ -1,6 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -x
|
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"
|
scripts/wait-for-it.sh ${DATABASE_HOST} -- echo "database is up"
|
||||||
npx prisma migrate deploy --schema /calcom/packages/prisma/schema.prisma
|
npx prisma migrate deploy --schema /calcom/packages/prisma/schema.prisma
|
||||||
npx ts-node --transpile-only /calcom/packages/prisma/seed-app-store.ts
|
npx ts-node --transpile-only /calcom/packages/prisma/seed-app-store.ts
|
||||||
|
|||||||
Reference in New Issue
Block a user