forked from Morriar/Missions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (27 loc) · 819 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (27 loc) · 819 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
# Run the local Mission (see Dockerfile) with a mongodb
#
# After run the web application is available at http://localhost:3000
#
# Volumes are:
#
# * `./db/` is the persistent mongo database.
# It is used (shared) by the mongo docker.
# * `./out/` is the submission directory
# It is provided so the admin can manage/grep/whatever the directory.
#
# This is the base file.
# The default version for local testing is in `docker-compose.override.yml`
#
# See https://docs.docker.com/compose/extends/ for details
version: '2'
services:
web:
build: .
volumes:
- ./out:/missions/out
depends_on:
- mongo
mongo:
image: mongo:2
volumes:
- ./db:/data/db