task(module-ear): fix docker
This commit is contained in:
parent
1f552710bc
commit
9a8db1d13c
@ -3,6 +3,7 @@ version: "3"
|
|||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:8
|
image: mysql:8
|
||||||
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=password
|
- MYSQL_ROOT_PASSWORD=password
|
||||||
- MYSQL_USER=user
|
- MYSQL_USER=user
|
||||||
@ -14,6 +15,7 @@ services:
|
|||||||
image: phpmyadmin/phpmyadmin:4.8.2
|
image: phpmyadmin/phpmyadmin:4.8.2
|
||||||
links:
|
links:
|
||||||
- mysql:db
|
- mysql:db
|
||||||
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql
|
- mysql
|
||||||
ports:
|
ports:
|
||||||
@ -30,13 +32,14 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./deployments:/opt/jboss/wildfly/standalone/deployments/
|
- ./deployments:/opt/jboss/wildfly/standalone/deployments/
|
||||||
- ./config:/opt/jboss/wildfly/standalone/configuration
|
- ./config:/opt/jboss/wildfly/standalone/configuration
|
||||||
links:
|
links:
|
||||||
- mysql
|
- mysql
|
||||||
depends_on:
|
depends_on:
|
||||||
- phpmyadmin
|
- mysql
|
||||||
ports:
|
ports:
|
||||||
- 8085:8080
|
- 8085:8080
|
||||||
- 9990:9990
|
- 9990:9990
|
||||||
|
@ -72,7 +72,6 @@
|
|||||||
<argument>up</argument>
|
<argument>up</argument>
|
||||||
<argument>-d</argument>
|
<argument>-d</argument>
|
||||||
<argument>--build</argument>
|
<argument>--build</argument>
|
||||||
<argument>--force</argument>
|
|
||||||
</arguments>
|
</arguments>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
Loading…
Reference in New Issue
Block a user