Commit 5947e177 authored by Elias Englmeier's avatar Elias Englmeier
Browse files

change dockerfile

parent 6aca87e2
......@@ -34,4 +34,4 @@ database:
# the password
password: root
# the JDBC URL; the database is called tmms
url: jdbc:mysql://${DB_IP:-localhost}/tmms
\ No newline at end of file
url: jdbc:mysql://localhost/tmms
\ No newline at end of file
version: '2'
services:
db:
image: library/mysql:5.5.54
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=tmms
- MYSQL_USER=root
- MYSQL_PASSWORD=root
ports:
- "3306:3306"
app:
environment:
- DB_IP=db
image: app
ports:
- "9000:9000"
- "9001:9001"
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment