diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2017-09-29 14:55:29 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2017-09-29 14:55:29 +0200 |
| commit | 96125a14f9aab70112fd36853283dc186fd1a961 (patch) | |
| tree | 6a72eda13b20b8a8e62b9f964a205c814fb90328 /docker-compose.yml | |
| parent | 409628df4a635e3a6de2d3a4a1ba54304a82989c (diff) | |
Fix Docker configuration for simulator
This change fixes the Docker configuration for the simulator, in
particular the database configuration for the simulator.
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 6 |
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:
|
