update mongo data mount point to volume

pull/9/head
murat emir cabaroğlu 4 years ago
parent 62c82d933c
commit a1a11b2dd4
  1. 15
      docker-compose-dev.yaml

@ -1,16 +1,16 @@
version: "3.3"
version: "3"
services:
mongo:
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: xcoder
MONGO_INITDB_ROOT_PASSWORD: 4dun4710
volumes:
- ./mongo_data_dir/:/data/db/
- mongo_data:/data/db/
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
@ -19,13 +19,16 @@ services:
ME_CONFIG_OPTIONS_EDITORTHEME: ambiance
ME_CONFIG_BASICAUTH_USERNAME: xcoder
ME_CONFIG_BASICAUTH_PASSWORD: 4dun4710
web:
build: .
ports:
- "5000:5000"
- 5000:5000
environment:
ADUNATIO_PRIV_KEY: /code/privkey.pem
FLASK_DEBUG: 1
volumes:
- .:/code
volumes:
mongo_data:
Loading…
Cancel
Save