-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
49 lines (47 loc) · 982 Bytes
/
docker-compose.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '2.2'
services:
playground:
build:
context: .
dockerfile: Dockerfile
# image: jsreport/playground:2.3.5
ports:
- "5488:5488"
- "9229:9229"
# command:
# - npm
# - start
expose:
- "9229"
env_file: playground.env
volumes:
- /tmp:/tmp
- /var/run/docker.sock:/var/run/docker.sock
container_name: playground
logging:
driver: "json-file"
options:
max-size: "100k"
max-file: "5"
depends_on:
- mongodb_playground
networks:
- playground_app
mongodb_playground:
image: mongo:4.1.2
# image: mongo:4.0.0
# image: mongo:3.6.6
# image: mongo:3.4.18
# image: mongo:3.2.20
command:
- --storageEngine=wiredTiger
container_name: mongodb_playground
ports:
- "27017:27017"
volumes:
- ./mongodb-playground:/data/db
networks:
- playground_app
networks:
playground_app:
driver: bridge