-
Notifications
You must be signed in to change notification settings - Fork 79
Feat: Docker setup #208
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
epicadk
wants to merge
12
commits into
anitab-org:develop
Choose a base branch
from
epicadk:docker_setup
base: develop
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
Feat: Docker setup #208
Changes from 2 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
4bd899c
docker
epicadk 0013528
Feat: Docker for setup(2)
epicadk 23c87da
added config
epicadk b55c0ed
Docker setup(4)
epicadk ab97ce8
Docker setup instructions
epicadk ce69371
Merge branch 'develop' into docker_setup
epicadk ae9dff1
Merge branch 'docker_setup' of https://github.com/epicadk/bridge-in-t…
epicadk 9e2411f
Add more commands to Makefile
epicadk b78fbc8
minor bug fix
epicadk bb10bd8
minor bug fix(2)
epicadk 16a96a0
minor bug fix(3)
epicadk 9a08d42
minor bug fix(4)
epicadk 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 |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| FROM python:latest | ||
| COPY . . | ||
| ENV DB_TYPE=postgresql | ||
| ENV DB_USERNAME=postgres | ||
| ENV DB_PASSWORD=postgres | ||
| ENV DB_ENDPOINT=postgres:5432 | ||
| ENV DB_TEST_NAME=bit_schema_test | ||
| ENV POSTGRES_HOST=postgres | ||
| ENV POSTGRES_PORT=5432 | ||
| RUN pip install --no-cache-dir -r requirements.txt | ||
| CMD python run.py |
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,37 @@ | ||
|
|
||
| services: | ||
| postgres: | ||
| image: postgres | ||
| environment: | ||
| POSTGRES_PASSWORD: postgres | ||
| POSTGRES_DB: bit_schema | ||
| #options: | ||
| #--health-cmd pg_isready | ||
| #--health-interval 10s | ||
| #--health-timeout 5s | ||
| #--health-retries 5 | ||
| ports: | ||
| - 5432:5432 | ||
| networks: | ||
| - custom_network | ||
|
|
||
| bit: | ||
| container_name: BIT | ||
| build: . | ||
| ports: | ||
| - 5000:5000 | ||
| networks: | ||
| - custom_network | ||
|
|
||
| ms: | ||
epicadk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| container_name: MS | ||
| build: ../mentorship-backend | ||
| ports: | ||
| - 4000:4000 | ||
| networks: | ||
| - custom_network | ||
|
|
||
| networks: | ||
| custom_network: | ||
| name: custom_network | ||
|
|
||
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.