-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
335 changed files
with
6,743 additions
and
3,400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,12 @@ | ||
docker-dev-build: | ||
make -C packages/twenty-docker dev-build | ||
|
||
docker-dev-up: | ||
make -C packages/twenty-docker dev-up | ||
|
||
docker-dev-start: | ||
make -C packages/twenty-docker dev-start | ||
|
||
docker-dev-stop: | ||
make -C packages/twenty-docker dev-stop | ||
|
||
docker-dev-sh: | ||
make -C packages/twenty-docker dev-sh | ||
|
||
postgres-on-docker: | ||
make -C packages/twenty-postgres provision-on-docker | ||
|
||
postgres-on-macos-arm: | ||
make -C packages/twenty-postgres provision-on-macos-arm | ||
|
||
postgres-on-macos-intel: | ||
make -C packages/twenty-postgres provision-on-macos-intel | ||
|
||
postgres-on-linux: | ||
make -C packages/twenty-postgres provision-on-linux | ||
docker run \ | ||
--name twenty_postgres \ | ||
-e POSTGRES_USER=postgres \ | ||
-e POSTGRES_PASSWORD=postgres \ | ||
-e POSTGRES_DB=default \ | ||
-v twenty_db_data:/var/lib/postgresql/data \ | ||
-p 5432:5432 \ | ||
twentycrm/twenty-postgres:latest | ||
|
||
redis-on-docker: | ||
docker run -d --name twenty_redis -p 6379:6379 redis/redis-stack-server:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,10 +41,8 @@ spec: | |
value: "https://crm.example.com:443" | ||
- name: "PG_DATABASE_URL" | ||
value: "postgres://twenty:[email protected]/default" | ||
- name: "REDIS_HOST" | ||
value: "twentycrm-redis.twentycrm.svc.cluster.local" | ||
- name: "REDIS_PORT" | ||
value: 6379 | ||
- name: "REDIS_URL" | ||
value: "redis://twentycrm-redis.twentycrm.svc.cluster.local:6379" | ||
- name: ENABLE_DB_MIGRATIONS | ||
value: "true" | ||
- name: SIGN_IN_PREFILLED | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM node:18.17.1-alpine as twenty-website-build | ||
|
||
|
||
WORKDIR /app | ||
|
||
COPY ./package.json . | ||
COPY ./yarn.lock . | ||
COPY ./.yarnrc.yml . | ||
COPY ./.yarn/releases /app/.yarn/releases | ||
COPY ./tools/eslint-rules /app/tools/eslint-rules | ||
COPY ./packages/twenty-website/package.json /app/packages/twenty-website/package.json | ||
|
||
RUN yarn | ||
|
||
COPY ./packages/twenty-website /app/packages/twenty-website | ||
RUN npx nx build twenty-website | ||
|
||
FROM node:18.17.1-alpine as twenty-website | ||
|
||
WORKDIR /app/packages/twenty-website | ||
|
||
COPY --from=twenty-website-build /app /app | ||
|
||
WORKDIR /app/packages/twenty-website | ||
|
||
LABEL org.opencontainers.image.source=https://github.com/twentyhq/twenty | ||
LABEL org.opencontainers.image.description="This image provides a consistent and reproducible environment for the website." | ||
|
||
CMD ["/bin/sh", "-c", "npx nx start"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.