-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add docker run for the entire app + fix env var and container naming
* add script to run docker containers under the same network and project * add env var example for docker containers * update engine url env var name * Update .env.example * Update .env.example * Delete services/enterprise/.test.env * Deleted database info * final updates and fixes to env vars and docker compose local development --------- Co-authored-by: Juan Valacco <[email protected]> Co-authored-by: Dishen <[email protected]> Co-authored-by: dishenwang2023 <[email protected]>
- Loading branch information
1 parent
9166109
commit 5b7dacd
Showing
21 changed files
with
94 additions
and
8,452 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
# Create Docker network | ||
docker network create dataherald_network | ||
|
||
# Bring up services with Docker Compose | ||
docker-compose -p dataherald -f services/engine/docker-compose.yml up --build -d | ||
docker-compose -p dataherald -f services/enterprise/docker-compose.yml up --build -d | ||
docker-compose -p dataherald -f services/slackbot/docker-compose.yml up --build -d | ||
docker-compose -p dataherald -f services/admin-console/docker-compose.yml up --build -d |
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,21 +1,22 @@ | ||
NODE_ENV="development" # development | production | ||
|
||
# API URL | ||
NEXT_PUBLIC_API_URL= | ||
NEXT_PUBLIC_API_URL='http://localhost:3001' | ||
|
||
# AUTH 0 CONFIG | ||
AUTH0_BASE_URL='http://localhost:3000' | ||
AUTH0_SCOPE='openid profile email offline_access' | ||
AUTH0_SECRET='use [openssl rand -hex 32] to generate a 32 bytes value' | ||
AUTH0_ISSUER_BASE_URL='https://{yourDomain}' | ||
AUTH0_ISSUER_BASE_URL='{yourIssuer}' | ||
AUTH0_API_AUDIENCE='{yourAudience}' | ||
AUTH0_CLIENT_ID='{yourClientId}' | ||
AUTH0_CLIENT_SECRET='{yourClientSecret}' | ||
|
||
# (OPTIONAL) Posthog Analytics | ||
NEXT_PUBLIC_POSTHOG_DISABLED='true' | ||
NEXT_PUBLIC_POSTHOG_KEY= | ||
NEXT_PUBLIC_POSTHOG_HOST="https://app.posthog.com" | ||
|
||
|
||
# (OPTIONAL) STRIPE | ||
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY= | ||
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY= |
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 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
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.