-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (34 loc) · 795 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (34 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# To build and launch (first time):
# $ docker-compose up -d
# To create new images to update content:
# $ docker-compose build # use `--no-cache` to force building from scratch
# Short command for rebuilding and restarting
# $ docker-compose up -d --build
# To stop containers:
# $ docker-compose stop
# To clean up containers/images/networks:
# $ docker system prune
version: '3'
networks:
database:
driver: bridge
services:
webgme:
build:
context: .
depends_on:
- mongo
environment:
- NODE_ENV=dc
volumes:
- ./blob-local-storage:/blob-local-storage
networks:
- database
ports:
- 8888:8888 #Needs to be in sync with the config file!
mongo:
image: mongo:5.0.19
volumes:
- ./db:/data/db
networks:
- database