Skip to content

Commit

Permalink
chore(devcontainer): made mongodb exposed port definable via env
Browse files Browse the repository at this point in the history
  • Loading branch information
ADRFranklin committed Mar 30, 2024
1 parent 5ec0485 commit 145b588
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ services:
image: mongo:4.4.0
container_name: 'petio-mongo-${MONGO_CONTAINER_ID:-local}'
hostname: mongo
ports:
- "${MONGO_EXPOSED_PORT:-27017}:27017"
volumes:
- ./data/db:/data/db

0 comments on commit 145b588

Please sign in to comment.