-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (40 loc) · 1.22 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
version: '3'
services:
mongo1:
image: mongo:5.0.25
ports:
- "27017:27017"
networks:
- policynet
frontdoor:
image: "${DOCKERREPO}/synconsole:latest"
environment:
JAVA_OPTS: -Xmx1024m -XX:TieredStopAtLevel=1 -noverify
POLICY_GROOVY_HOME: /policy
SPRING_CONFIG_LOCATION: /config/
UPBANNER_DEBUG: "true"
# entrypoint: /bin/sh
# command: -c "exec java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -cp /home/springboot/app org.springframework.boot.loader.WarLauncher"
volumes:
- ./src/main/groovy:/policy
- ./config:/config
ports:
- "8083:8080"
networks:
- policynet
command: --logging.level.org.springframework.web.filter.CommonsRequestLoggingFilter=DEBUG
memuser:
image: "${DOCKERREPO}/memuser:0.9.1"
environment:
- JAVA_OPTS=-Xmx640m -XX:TieredStopAtLevel=1 -noverify
- MEMUSER_USER_COUNT=50
ports:
- "8091:8080"
networks:
- policynet #shared with config/docker-compose-scanrun.yml
networks:
policynet:
#e.g. run with:
# $ docker-compose up -d && docker-compose logs -f
# stop and remove all data:
# $ docker-compose down