Skip to content

Commit

Permalink
add docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
jherel committed Apr 23, 2017
1 parent e0c1a00 commit 0f10e80
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: "2.0"

services:
bremsHost:
image: jherel/brems-mysql
environment:
- MYSQL_ROOT_PASSWORD=1234
- MYSQL_DATABASE=brems
- MYSQL_USER=user
- MYSQL_PASSWORD=1234
spring-boot-jpa-docker-webapp:
image: jherel/brems
depends_on:
- bremsHost
ports:
- 8443:8443
environment:
- DATABASE_HOST=bremsHost
- DATABASE_USER=user
- DATABASE_PASSWORD=1234
- DATABASE_NAME=brems
- DATABASE_PORT=3306

0 comments on commit 0f10e80

Please sign in to comment.