-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from hotosm/feat/dockerize-frontend
Dockerized Frontend with required changes to backend and docker stack
- Loading branch information
Showing
15 changed files
with
986 additions
and
1,105 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# For Database and Backend | ||
POSTGRES_USER=dtm | ||
POSTGRES_DB=dtm_db | ||
POSTGRES_PASSWORD=dtm | ||
POSTGRES_HOST=db | ||
|
||
# For MinIO and Backend | ||
S3_BUCKET_NAME=dtm-bucket | ||
S3_ACCESS_KEY=SAMPLEACCESSKEYFORMINIOROOT | ||
S3_SECRET_KEY=SAMPLESECRETACCESSKEYFORMINIOROOT | ||
|
||
GOOGLE_CLIENT_ID="xxxxxxxxx-xxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com" | ||
GOOGLE_CLIENT_SECRET="GOOGLE_CLIENT_SECRET" | ||
SECRET_KEY=SUPERSECRETKEY | ||
|
||
EXTRA_CORS_ORIGINS=["http://localhost:3040"] | ||
|
||
# For Frontend | ||
SITE_NAME="DTM-Drone Tasking Manager" | ||
BASE_URL=http://localhost:${BACKEND_WEB_APP_PORT:-8000} | ||
API_URL_V1=http://localhost:${BACKEND_WEB_APP_PORT:-8000}/api | ||
|
||
# use development for frontend as dev else live | ||
DOCKER_TARGET=development |
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 |
---|---|---|
|
@@ -78,3 +78,6 @@ chart/charts | |
|
||
#Docker | ||
DockerData/ | ||
|
||
#Backend Template | ||
src/backend/templates/ |
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
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.