dockerfile and compose changes (#737)

* dockerfile and compose changes

* adjusted link
This commit is contained in:
René Zubcevic
2019-12-27 20:32:35 +01:00
committed by GitHub
parent 8088465652
commit bb80e11665
4 changed files with 87 additions and 13 deletions

View File

@ -1,4 +1,4 @@
version: '2.1'
version: '3'
services:
webgoat:
@ -6,13 +6,17 @@ services:
environment:
- WEBWOLF_HOST=webwolf
- WEBWOLF_PORT=9090
- TZ=Europe/Amsterdam
ports:
- "8080:8080"
- "9001:9001"
volumes:
- .:/home/webgoat/.webgoat
working_dir: /home/webgoat
webwolf:
image: webgoat/webwolf
ports:
- "9090:9090"
command: --spring.datasource.url=jdbc:hsqldb:hsql://webgoat:9001/webgoat --server.address=0.0.0.0
command: --spring.datasource.url=jdbc:hsqldb:hsql://webgoat:9001/webgoat --server.address=0.0.0.0
depends_on:
- webgoat