forked from uwcirg/helloworld-environments
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #38 from uwcirg/adding-isaccml
Adding isaccml configs
- Loading branch information
Showing
5 changed files
with
43 additions
and
3 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,11 @@ | ||
# docker-compose development override for messaging service | ||
--- | ||
version: "3.7" | ||
services: | ||
isaccml: | ||
command: sh -c "cd /opt/app && flask run --host 0.0.0.0 --port ${PORT:-8000}" | ||
environment: | ||
FLASK_ENV: development | ||
volumes: | ||
# set in .env | ||
- "${ISACCML_CHECKOUT_DIR}/:/opt/app" |
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 |
---|---|---|
|
@@ -30,3 +30,6 @@ services: | |
|
||
messagingservice: | ||
restart: unless-stopped | ||
|
||
isaccml: | ||
restart: unless-stopped |
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,9 @@ | ||
# Example docker-compose environment file | ||
# Copy to isaccml.env and modify as necessary | ||
# https://docs.docker.com/compose/env-file/ | ||
|
||
# Variables defined in this file will only be available to containers/images | ||
# ie not for interpolation in docker-compose YAML files | ||
SECRET_KEY= | ||
|
||
# TORCH_MODEL_PATH= |