Browse Source
chore(infra): add volume to mongo container
pull/34/head
Israel Abebe
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
6 additions and
1 deletions
-
docker-compose.yaml
|
|
@ -27,5 +27,10 @@ services: |
|
|
mongo: |
|
|
mongo: |
|
|
image: mongo |
|
|
image: mongo |
|
|
container_name: mongo |
|
|
container_name: mongo |
|
|
|
|
|
volumes: |
|
|
|
|
|
- mongo_data:/data/db |
|
|
ports: |
|
|
ports: |
|
|
- "27017:27017" |
|
|
- "27017:27017" |
|
|
|
|
|
|
|
|
|
|
|
volumes: |
|
|
|
|
|
mongo_data: |