Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 28 lines (28 sloc) 522 Bytes
version: '2'
services:
mongo:
image: mongo:3.4
#volumes:
# - ./code/data/db:/data/db
volumes:
- mongodb:/data/db
- mongodb_config:/data/configdb
command: mongod
ports:
- "5017:27017"
front:
build: docker-front
ports:
- "5080:80"
- "5443:443"
- "5901:9001"
volumes:
- ./code:/code
#- ./code/data/db:/data/db
- mongodb:/data/db
- ./code/log:/var/log/nginx
depends_on:
- mongo
volumes:
mongodb:
mongodb_config:
You can’t perform that action at this time.