This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: init gitpod * feat: adjust gitpod.yml & docker-compose * feat: add prebuild * feat: Update .gitpod.yml Co-authored-by: David Leal <[email protected]> * fix: Update .gitpod.yml Co-authored-by: David Leal <[email protected]> * feat: Update .gitpod.yml Co-authored-by: David Leal <[email protected]> Co-authored-by: Cahllagerfeld <Cahllagerfeld> Co-authored-by: David Leal <[email protected]>
- Loading branch information
1 parent
2b7e3da
commit 4243e5c
Showing
3 changed files
with
60 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
tasks: | ||
- name: Stargate | ||
command: docker-compose up stargate | ||
- name: api | ||
command: | | ||
sleep 35 | ||
docker-compose up eddiehub-api | ||
- name: Eddiebot | ||
init: | | ||
npm i -g npm | ||
npm install | ||
gp await-port 3000 | ||
command: npm run start:dev | ||
|
||
github: | ||
prebuilds: | ||
# enable for the default branch (defaults to true) | ||
main: true | ||
# enable for all branches in this repo (defaults to false) | ||
branches: true | ||
# enable for pull requests coming from this repo (defaults to true) | ||
pullRequests: true | ||
# enable for pull requests coming from forks (defaults to false) | ||
pullRequestsFromForks: true | ||
# add a check to pull requests (defaults to true) | ||
addCheck: true | ||
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false) | ||
addComment: false | ||
# add a "Review in Gitpod" button to the pull request's description (defaults to false) | ||
addBadge: true | ||
|
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 @@ | ||
version: '3.9' | ||
services: | ||
stargate: | ||
image: 'stargateio/stargate-3_11:v1.0.29' | ||
ports: | ||
- '8080:8080' | ||
- '8081:8081' | ||
- '8082:8082' | ||
- '127.0.0.1:9042:9042' | ||
environment: | ||
- CLUSTER_NAME=stargate | ||
- CLUSTER_VERSION=3.11 | ||
- DEVELOPER_MODE=true | ||
eddiehub-api: | ||
image: ghcr.io/eddiehubcommunity/api:latest | ||
ports: | ||
- '3000:3000' | ||
depends_on: | ||
- stargate | ||
environment: | ||
- APPROVED_TOKENS=abc,def | ||
- DEBUG=false | ||
- JWT_SECRET=test-secret | ||
- STARGATE_BASEURL=http://stargate:8082 | ||
- STARGATE_BASE_API_PATH=/v2/namespaces | ||
- STARGATE_AUTH_URL=http://stargate:8081/v1/auth | ||
- STARGATE_USERNAME=cassandra | ||
- STARGATE_PASSWORD=cassandra |
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 |
---|---|---|
|
@@ -87,4 +87,4 @@ | |
"coverageDirectory": "../coverage", | ||
"testEnvironment": "node" | ||
} | ||
} | ||
} |