Skip to content

Commit

Permalink
update docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
mariovyord committed Dec 13, 2023
1 parent b7593f3 commit a70fbae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ services:
dockerfile: ./Dockerfile
ports:
- "5000:5000"
networks:
- backend
depends_on:
- mongo
env_file:
Expand All @@ -19,9 +21,15 @@ services:
image: mongo:6.0.4
ports:
- "27018:27017"
networks:
- backend
volumes:
- mongodata:/data/db

volumes:
mongodata:
driver: local

networks:
backend:
name: backend

0 comments on commit a70fbae

Please sign in to comment.