Skip to content

Commit

Permalink
make docker-compose.yml work (#4)
Browse files Browse the repository at this point in the history
* make docker-compose.yml work

* remove useless file

* update .gitignore

---------

Co-authored-by: fengsh <[email protected]>
  • Loading branch information
fengsh27 and fengsh authored Oct 20, 2023
1 parent 018454d commit c695d68
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
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:

0 comments on commit c695d68

Please sign in to comment.