summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2017-09-29 14:55:29 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2017-09-29 14:55:29 +0200
commit96125a14f9aab70112fd36853283dc186fd1a961 (patch)
tree6a72eda13b20b8a8e62b9f964a205c814fb90328
parent409628df4a635e3a6de2d3a4a1ba54304a82989c (diff)
Fix Docker configuration for simulator
This change fixes the Docker configuration for the simulator, in particular the database configuration for the simulator.
-rw-r--r--docker-compose.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index f1fa0ae7..d1c9c1f7 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -16,9 +16,9 @@ services:
opendc-simulator:
build: ./opendc-simulator
environment:
- - MYSQL_DATABASE=opendc
- - MYSQL_USER=opendc
- - MYSQL_PASSWORD=opendcpassword
+ - PERSISTENCE_URL=jdbc:mysql://mariadb:3306/opendc
+ - PERSISTENCE_USER=opendc
+ - PERSISTENCE_PASSWORD=opendcpassword
mariadb:
image: mariadb:10.1
ports: