forked from coollabsio/coolify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
403 changed files
with
22,076 additions
and
12,502 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
.DS_Store | ||
node_modules | ||
/.svelte | ||
/build | ||
/functions | ||
.pnpm-store | ||
.pnpm-debug.log | ||
/.svelte-kit | ||
/package | ||
|
||
.env | ||
.env.stag | ||
/db/*.db | ||
/db/*.db-journal | ||
/data/haproxy/haproxy.cfg |
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,35 +1,5 @@ | ||
#################################### | ||
# Domain where your Coolify instance will be available and reachable. | ||
# It's the same as you set in Github OAuth App and Github App as <domain>. | ||
DOMAIN= | ||
## Let's Encrypt contact email required | ||
EMAIL= | ||
|
||
# JWT Token Sign Key for logging you in to Coolify's frontend | ||
JWT_SIGN_KEY= | ||
# Encryption key for SECRETS - do NOT share it with others! | ||
SECRETS_ENCRYPTION_KEY= | ||
|
||
# Docker Engine | ||
DOCKER_ENGINE=/var/run/docker.sock | ||
# Docker network to use internally between the proxy and your apps | ||
DOCKER_NETWORK=coollabs | ||
|
||
# Mongodb | ||
# Values in case if you are using our Mongodb installation - CHANGE user and password fields! | ||
MONGODB_HOST=coollabs-mongodb | ||
MONGODB_PORT=27017 | ||
MONGODB_USER=supercooldbuser | ||
MONGODB_PASSWORD=developmentPassword4db | ||
MONGODB_DB=coolLabs-prod | ||
|
||
# Frontend only variables | ||
VITE_GITHUB_APP_CLIENTID= | ||
VITE_GITHUB_APP_NAME= | ||
|
||
# Github OAuth & App secrets and private key - you can get it from Github. | ||
GITHUB_APP_CLIENT_SECRET= | ||
GITHUP_APP_WEBHOOK_SECRET= | ||
|
||
# It should look like this. Newlines breaks with \n | ||
GITHUB_APP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEA7Y+Uwkd8FINSwFktWGdtwCaOAazTDYR8ucEzGyR9r+ooJZhF\nOc32qgDSps6Q5DsqPOzvfhiviqU+et9VF+bJhfdzwJ+Le86QZH1RgsDMoY049XvI\nKSwP........" | ||
COOLIFY_APP_ID= | ||
COOLIFY_SECRET_KEY= | ||
COOLIFY_DATABASE_URL=file:../db/prod.db | ||
COOLIFY_SENTRY_DSN= | ||
COOLIFY_IS_ON="docker" |
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,9 +1,13 @@ | ||
/node_modules | ||
/.svelte | ||
/.svelte-kit | ||
/.pnpm-store | ||
.DS_Store | ||
node_modules | ||
/build | ||
/functions | ||
/.svelte-kit | ||
/package | ||
|
||
.env | ||
.DS_Store | ||
.pnpm-debug.log | ||
.env.prod | ||
.env.stag | ||
/db/*.db | ||
/db/*.db-journal | ||
/data/haproxy/haproxy.cfg | ||
/data/haproxy/haproxy.cfg.lkg |
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 @@ | ||
* |
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,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn lint-staged |
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,5 @@ | ||
{ | ||
"**/*.{js,jsx,ts,tsx,cjs,svelte,json,css,scss,md,yaml}": [ | ||
"prettier --ignore-path .gitignore --write --plugin-search-dir=." | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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,28 @@ | ||
FROM node:16.14.0-alpine | ||
WORKDIR /app | ||
COPY package*.json . | ||
RUN yarn install | ||
COPY . . | ||
RUN yarn build | ||
|
||
FROM node:16.14.0-alpine | ||
WORKDIR /app | ||
|
||
RUN apk add --no-cache git openssh-client curl jq cmake sqlite | ||
|
||
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@6 | ||
RUN pnpm add -g pnpm | ||
|
||
RUN curl -fsSL "https://download.docker.com/linux/static/stable/x86_64/docker-20.10.9.tgz" | tar -xzvf - docker/docker -C . --strip-components 1 && mv docker /usr/bin/docker | ||
RUN mkdir -p ~/.docker/cli-plugins/ | ||
RUN curl -SL https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose | ||
RUN chmod +x ~/.docker/cli-plugins/docker-compose | ||
|
||
COPY --from=0 /app/docker-compose.yaml . | ||
COPY --from=0 /app/build . | ||
COPY --from=0 /app/package.json . | ||
COPY --from=0 /app/node_modules ./node_modules | ||
COPY --from=0 /app/prisma ./prisma | ||
|
||
EXPOSE 3000 | ||
CMD ["pnpm", "start"] |
Oops, something went wrong.