generated from nyu-software-engineering/containerized-app-exercise
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated dockerfile for machine_learning_client, initial setup for doc…
…kercompose
- Loading branch information
1 parent
c41c4ad
commit 62528e8
Showing
6 changed files
with
236 additions
and
6 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,20 @@ | ||
version: "3.11" | ||
|
||
services: | ||
frontend: | ||
build: ./web-app # build the Docker image from the Dockerfile in the front-end directory | ||
ports: | ||
- 3000:3000 # map port 3000 of host machine to port 3000 of container | ||
depends_on: | ||
- backend | ||
command: python app.py # command to start up the front-end once the container is up and running | ||
|
||
|
||
|
||
backend: | ||
build: | ||
ports: | ||
- | ||
depends_on: | ||
- db | ||
command: python machine_learning_client.py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pymongo | ||
SpeechRecognition | ||
pyaudio == 0.2.11 |