task(module-ear): fix docker

This commit is contained in:
Damian Pierzchalski 2019-01-26 14:20:31 +01:00
parent 1f552710bc
commit 9a8db1d13c
2 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,7 @@ version: "3"
services:
mysql:
image: mysql:8
restart: always
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=user
@ -14,6 +15,7 @@ services:
image: phpmyadmin/phpmyadmin:4.8.2
links:
- mysql:db
restart: always
depends_on:
- mysql
ports:
@ -30,13 +32,14 @@ services:
build:
context: ./
dockerfile: Dockerfile
restart: always
volumes:
- ./deployments:/opt/jboss/wildfly/standalone/deployments/
- ./config:/opt/jboss/wildfly/standalone/configuration
links:
- mysql
depends_on:
- phpmyadmin
- mysql
ports:
- 8085:8080
- 9990:9990

View File

@ -72,7 +72,6 @@
<argument>up</argument>
<argument>-d</argument>
<argument>--build</argument>
<argument>--force</argument>
</arguments>
</configuration>
</plugin>