Compare commits

...

343 Commits

Author SHA1 Message Date
Colin Griffin
ba6e63813b tag version 3.0.6 2023-06-23 16:05:25 -04: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
13 changed files with 318 additions and 80 deletions

View File

@@ -14,6 +14,9 @@ LICENSE=
NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000 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 # 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
NEXTAUTH_SECRET=secret NEXTAUTH_SECRET=secret

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"

View File

@@ -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"]
@@ -20,9 +23,6 @@ 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"
@@ -34,16 +34,14 @@ jobs:
steps: 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
- name: checkout - name: checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- 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@v2
# uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@v1.10.0
with: with:
# Username used to log against the Docker registry # Username used to log against the Docker registry
username: ${{ secrets.DOCKER_HUB_USERNAME }} username: ${{ secrets.DOCKER_HUB_USERNAME }}
@@ -52,9 +50,21 @@ jobs:
# Log out from the Docker registry at the end of a job # Log out from the Docker registry at the end of a job
logout: true # optional, default is true 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@v2
uses: docker/setup-buildx-action@v1.6.0 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
- name: Copy env - name: Copy env
run: | run: |
@@ -63,8 +73,9 @@ 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: Set up QEMU
# uses: docker/setup-qemu-action@v2
- name: Start database - name: Start database
run: | run: |
@@ -77,16 +88,20 @@ jobs:
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 and push image
id: docker_build id: docker_build
uses: docker/build-push-action@v3 uses: docker/build-push-action@v4
with: with:
context: ./ context: ./
file: ./Dockerfile file: ./Dockerfile
push: true push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64 platforms: 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_LICENSE_CONSENT=${{ env.NEXT_PUBLIC_LICENSE_CONSENT }} NEXT_PUBLIC_LICENSE_CONSENT=${{ env.NEXT_PUBLIC_LICENSE_CONSENT }}

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 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: |

View File

@@ -1,8 +1,7 @@
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 CALCOM_TELEMETRY_DISABLED ARG CALCOM_TELEMETRY_DISABLED
ARG DATABASE_URL ARG DATABASE_URL
@@ -10,8 +9,7 @@ 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
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_LICENSE_CONSENT=$NEXT_PUBLIC_LICENSE_CONSENT \ NEXT_PUBLIC_LICENSE_CONSENT=$NEXT_PUBLIC_LICENSE_CONSENT \
CALCOM_TELEMETRY_DISABLED=$CALCOM_TELEMETRY_DISABLED \ CALCOM_TELEMETRY_DISABLED=$CALCOM_TELEMETRY_DISABLED \
DATABASE_URL=$DATABASE_URL \ DATABASE_URL=$DATABASE_URL \
@@ -19,31 +17,58 @@ ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
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}
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/apps/web ./apps/web
COPY calcom/packages ./packages COPY calcom/packages ./packages
RUN yarn config set network-timeout 1000000000 -g && \ RUN yarn config set httpTimeout 1200000 && \
yarn install --frozen-lockfile 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 WORKDIR /calcom
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ENV NODE_ENV production ENV NODE_ENV production
RUN apt-get update && \ COPY calcom/package.json calcom/.yarnrc.yml calcom/yarn.lock calcom/turbo.json ./
apt-get -y install netcat && \ COPY calcom/.yarn ./.yarn
rm -rf /var/lib/apt/lists/* && \
npm install --global prisma
COPY calcom/package.json calcom/yarn.lock calcom/turbo.json ./
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
View File

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

204
README.md
View File

@@ -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 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,43 @@ 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 | required | `postgresql://unicorn_user:magical_password@database:5432/calendso` |
### 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 | required | `postgresql://unicorn_user:magical_password@database:5432/calendso` |
| 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 +237,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

Submodule calcom updated: 6b0ac96b38...0a0c400333

View File

@@ -21,13 +21,14 @@ 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_LICENSE_CONSENT: ${NEXT_PUBLIC_LICENSE_CONSENT} NEXT_PUBLIC_LICENSE_CONSENT: ${NEXT_PUBLIC_LICENSE_CONSENT}
CALCOM_TELEMETRY_DISABLE: ${CALCOM_TELEMETRY_DISABLED} 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}
@@ -45,7 +46,7 @@ services:
# 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

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 #!/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