-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add mongo docker compose for ease of development * have env package be source of truth for all env variables in internal packages. * update internal packages to use env package variables * get rid of copy pasta tick remnants * go mod tidy * test for GetEnv. Thanks Jairo! * remove processing of GetEnv error from other func calls, redundant when call will fail on initial call to main
- Loading branch information
Showing
17 changed files
with
357 additions
and
155 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,8 +1,20 @@ | ||
MONGODB_USERNAME=root | ||
MONGODB_PASSWORD=password | ||
MONGODB_HOST_TYPE=local | ||
MONGODB_HOST_TYPE=local # local | atlas | ||
MONGODB_HOST="localhost:27017" | ||
SERVER_PORT=8081 | ||
K1_ACCESS_TOKEN=feedkray | ||
IS_CLUSTER_ZERO= | ||
CLUSTER_TYPE="bootstrap" | ||
CLUSTER_ID="abc456" | ||
INSTALL_METHOD="helm" | ||
K1_ACCESS_TOKEN=feedkray | ||
CLOUD_PROVIDER=google | ||
KUBEFIRST_VERSION= | ||
DOMAIN_NAME= | ||
GIT_PROVIDER= | ||
KUBEFIRST_TEAM= | ||
KUBEFIRST_TEAM_INFO= | ||
AWS_REGION= | ||
AWS_PROFILE= | ||
IN_CLUSTER= | ||
ENTERPRISE_API_URL= |
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,11 @@ | ||
version: "3.1" | ||
|
||
services: | ||
k1-api-mongodb: | ||
image: mongo | ||
restart: always | ||
environment: | ||
MONGO_INITDB_ROOT_USERNAME: ${MONGODB_USERNAME} | ||
MONGO_INITDB_ROOT_PASSWORD: ${MONGODB_PASSWORD} | ||
ports: | ||
- 27017:27017 |
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
Oops, something went wrong.