Skip to content
Snippets Groups Projects
Commit 04aead9e authored by Teemu Autto's avatar Teemu Autto
Browse files

Added mongodb into docker-compose.

parent 86b43b60
No related branches found
No related tags found
1 merge request!20Merge of the changes done in propaedeutic.
......@@ -34,10 +34,16 @@ services:
## Don't restart container if it exits. Useful for debugging, not for production.
restart: 'no'
# Example for another service, such as a database.
# mongodb:
# image: mongo:stable
# restart: unless-stopped
## Start a mongodb container and link it to the app container
depends_on:
- mongodb
# MongoDB container
mongodb:
image: mongo:4.2
restart: unless-stopped
ports:
- 27017:27017
volumes:
tjts5901-vscode-extensions:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment