forked from mitre/multiscanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (47 loc) · 1.31 KB
/
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
version: '3'
services:
elastic:
image: "docker.elastic.co/elasticsearch/elasticsearch:5.6.3"
ports:
- "9200:9200"
- "9300:9300"
environment:
- "discovery.type=single-node"
- "script.painless.regex.enabled=true"
- "xpack.security.enabled=false"
web:
build:
context: .
dockerfile: docker_utils/Dockerfile_web
# If you are behind a proxy, you must uncomment
# the next 3 lines
# args:
# - http_proxy
# - https_proxy
ports:
- "127.0.0.1:8000:8000"
# If you are behind a proxy, you must set the
# proxy settings here (uncomment the next 4 lines)
# environment:
# - "http_proxy=http://proxy.example:80"
# - "https_proxy=http://proxy.example:80"
# - "no_proxy=localhost,127.0.0.1"
api:
build:
context: .
dockerfile: docker_utils/Dockerfile_api
# If you are behind a proxy, you must uncomment
# the next 3 lines
# args:
# - http_proxy
# - https_proxy
ports:
- "127.0.0.1:8080:8080"
# If you are behind a proxy, you must set the
# proxy settings here (uncomment the next 4 lines)
# environment:
# - "http_proxy=http://proxy.example:80"
# - "https_proxy=http://proxy.example:80"
# - "no_proxy=localhost,127.0.0.1"
depends_on:
- elastic