forked from uwrit/leaf
-
Notifications
You must be signed in to change notification settings - Fork 1
Docker-compose definition #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ElevnLi
wants to merge
19
commits into
usyd
Choose a base branch
from
usyd-docker-compose
base: usyd
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f277bf6
dev version
ElevnLi b67dad6
add env variables
ElevnLi 242f292
fixes to make it work on Monterey
ElevnLi 7208798
Merge branch 'usyd-fix' of github.com:ElevnLi/leaf into usyd-docker-c…
ElevnLi a99f4ad
This is a working dev version
ElevnLi fc23db8
try prod version with nginx
ElevnLi f737d8b
add slash back
ElevnLi f6d1d03
the frontend is working now with nginx
ElevnLi 4a7115e
change resolver and proxy
ElevnLi e465c3c
fix the encoding issue of .net
ElevnLi b2d75ec
remove server docker ignore
ElevnLi 71a658f
remove the user thing
ElevnLi 02b0d98
remove testdb for demo
ElevnLi e9fbd91
still add testDB but no test data from leaf
ElevnLi 247cf00
Add flag to control admin
ElevnLi 9338038
clean docker-compose
ElevnLi cc96f2b
clean docker-compose-dev
ElevnLi 2501eea
add always restart for prod
ElevnLi 3707fde
remove docker-compose for dev
ElevnLi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,5 +1,4 @@ | ||
| */bin/ | ||
| */obj/ | ||
| */out/ | ||
| */.vs | ||
| .vscode | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,53 @@ | ||
| version: '3' | ||
| services: | ||
|
|
||
| db: | ||
| build: | ||
| context: ./db/build | ||
| args: | ||
| - sapw=${SA_PASSWORD} | ||
| image: leaf_db | ||
| container_name: leaf_db_demo | ||
| ports: | ||
| - 1433:1433 | ||
| restart: always | ||
| networks: | ||
| - leaf | ||
|
|
||
| server: | ||
| build: ./server | ||
| image: leaf_api | ||
| container_name: leaf_api_demo | ||
| volumes: | ||
| - server-log:/logs | ||
| environment: | ||
| - LEAF_APP_DB=${LEAF_APP_DB} | ||
| - LEAF_CLIN_DB=${LEAF_CLIN_DB} | ||
| - LEAF_JWT_KEY_PW=${LEAF_JWT_KEY_PW} | ||
| - UnsecuredIsAdmin=${UnsecuredIsAdminProd} | ||
| restart: always | ||
| networks: | ||
| - leaf | ||
| depends_on: | ||
| - db | ||
|
|
||
| ui-client: | ||
| build: | ||
| context: ./ui-client | ||
| container_name: leaf_ui | ||
| ports: | ||
| - 80:80 | ||
| restart: always | ||
| networks: | ||
| - leaf | ||
| stdin_open: true | ||
| depends_on: | ||
| - db | ||
| - server | ||
|
|
||
| networks: | ||
| leaf: | ||
|
|
||
|
|
||
| volumes: | ||
| server-log: |
This file contains hidden or 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,4 +0,0 @@ | ||
| **/bin/ | ||
| **/obj/ | ||
| out/ | ||
| .vs | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.