YAML structure fix, postgres version fix

The structure of the environment was incorrect. The postgres dialect doesn't match the postgres:latest image.
This commit is contained in:
Patrick Double 2018-11-03 08:38:06 -05:00 committed by Nanne Baars
parent ecbbb5258e
commit f81a6852db

View File

@ -26,9 +26,8 @@ services:
- spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL94Dialect
ports:
- "9090:9090"
db:
container_name: webgoat_db
image: postgres:latest
webgoat_db:
image: postgres:9.4
# Uncomment to store the state of the database on the host.
# volumes:
# - ./database:/var/lib/postgresql