-
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.
Juliacall removed from streamlit app, converting of juliacall wraps t…
…o python objects in flask_api, and docker volumes are added for host-container syncing
- Loading branch information
Showing
21 changed files
with
465 additions
and
119 deletions.
There are no files selected for viewing
9 changes: 5 additions & 4 deletions
9
.devcontainer/devcontainer.json → ...ntainer/flask-container/devcontainer.json
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,49 @@ | ||
{ | ||
"name": "Nginx Container", | ||
"dockerComposeFile": "../../docker-compose-dev.yml", | ||
"service": "nginx", | ||
"shutdownAction": "none", | ||
"workspaceFolder": "/workspace/nginx" | ||
// "remoteEnv": { | ||
// "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}/.." | ||
// }, | ||
// "mounts": [ | ||
// "source=${localWorkspaceFolder}/..,target=/workspace,type=bind,consistency=cached" | ||
// ], | ||
// "remoteEnv": { | ||
// "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}", | ||
// }, | ||
|
||
//"runArgs": [ "-v", "/var/run/docker.sock:/var/run/docker.sock"], | ||
|
||
|
||
//"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
// "customizations": { | ||
|
||
// "vscode": { | ||
// "settings": { | ||
// "python.pythonPath": "/usr/local/bin/python", | ||
// "python.languageServer": "Pylance", | ||
// "python.linting.enabled": true, | ||
// "python.linting.pylintEnabled": true | ||
|
||
|
||
// }, | ||
// // "customVolumeMounts": [ | ||
// // "/../flask_api:/workspaces/flask_api", | ||
// // "/../nginx:/workspaces/nginx", | ||
// // "/../streamlit:/workspaces/streamlit" | ||
// // ], | ||
|
||
// "extensions": [ | ||
// "ms-python.python", | ||
// "ms-python.vscode-pylance", | ||
// "julialang.language-julia" | ||
|
||
// ] | ||
// } | ||
// } | ||
|
||
} |
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,51 @@ | ||
{ | ||
"name": "Streamlit Container", | ||
"dockerComposeFile": "../../docker-compose-dev.yml", | ||
"service": "streamlit", | ||
"shutdownAction": "none", | ||
"workspaceFolder": "/workspace/streamlit", | ||
|
||
|
||
// "remoteEnv": { | ||
// "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}/.." | ||
// }, | ||
// "mounts": [ | ||
// "source=${localWorkspaceFolder}/..,target=/workspace,type=bind,consistency=cached" | ||
// ], | ||
// "remoteEnv": { | ||
// "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}", | ||
// }, | ||
|
||
//"runArgs": [ "-v", "/var/run/docker.sock:/var/run/docker.sock"], | ||
|
||
|
||
//"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"customizations": { | ||
|
||
"vscode": { | ||
"settings": { | ||
"python.pythonPath": "/usr/local/bin/python", | ||
"python.languageServer": "Pylance", | ||
"python.linting.enabled": true, | ||
"python.linting.pylintEnabled": true | ||
|
||
|
||
}, | ||
// "customVolumeMounts": [ | ||
// "/../flask_api:/workspaces/flask_api", | ||
// "/../nginx:/workspaces/nginx", | ||
// "/../streamlit:/workspaces/streamlit" | ||
// ], | ||
|
||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"julialang.language-julia" | ||
|
||
] | ||
} | ||
} | ||
|
||
} |
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,12 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for more information: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
# https://containers.dev/guide/dependabot | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "devcontainers" | ||
directory: "/" | ||
schedule: | ||
interval: weekly |
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
Empty file.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM nginx:1.15.8 | ||
|
||
RUN rm /etc/nginx/nginx.conf | ||
COPY nginx.conf /etc/nginx/ | ||
RUN rm /etc/nginx/nginx.conf | ||
COPY project.conf /etc/nginx/conf.d/ | ||
RUN rm /etc/nginx/conf.d/default.conf | ||
COPY project.conf /etc/nginx/conf.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
Oops, something went wrong.