Skip to content
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

make docker-compose.yml work #4

Merged
merged 3 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Ignore development-specific files and directories
node_modules
.next
out
.cache
.env.local
.env.development.local
.env.test.local
.env.production.local

# Ignore build artifacts
.DS_Store
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Ignore local development files
venv/
.env
*.env
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ yarn-error.log*

# local env files
.env*.local
*.env

# vercel
.vercel
Expand All @@ -43,4 +44,4 @@ dev
.env

*.key
*.key.pub
*.key.pub
17 changes: 15 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,23 @@ services:
dockerfile: Dockerfile
ports:
- 3000:3000
env_file:
- .env
depends_on:
- flask-app
networks:
- biochat
environment:
- BASE_URL=http://flask-app:5000

flask-app:
image: frankfeng78/bioserver:v1
image: frankfeng78/bioserver:0.3.0
env_file:
- .bioserver.env
ports:
- 8000:8000
- 5000:5000
networks:
- biochat

networks:
biochat: