Skip to content

Commit

Permalink
Add port mappings for backend and frontend services
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne committed Feb 5, 2024
1 parent 4323fa9 commit 8478437
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ services:
- MONGO_INITDB_DATABASE=${MONGO_INITDB_DATABASE}
- MONGODB_USER=${MONGODB_USER}
- MONGODB_USER_PASSWORD=${MONGODB_USER_PASSWORD}
ports:
- 3001:3001

front:
depends_on:
Expand All @@ -76,6 +78,8 @@ services:
- MONGO_INITDB_DATABASE=${MONGO_INITDB_DATABASE}
- MONGODB_USER=${MONGODB_USER}
- MONGODB_USER_PASSWORD=${MONGODB_USER_PASSWORD}
ports:
- 3000:3000

networks:
web:

0 comments on commit 8478437

Please sign in to comment.