myboardgames/docker/docker-compose.yml

47 lines
954 B
YAML
Raw Permalink Normal View History

2019-01-23 21:52:05 +01:00
version: "3"
services:
mysql:
image: mysql:8
2019-01-26 14:20:31 +01:00
restart: always
2019-01-23 21:52:05 +01:00
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=user
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=db
command: --default-authentication-plugin=mysql_native_password
phpmyadmin:
image: phpmyadmin/phpmyadmin:4.8.2
links:
- mysql:db
2019-01-26 14:20:31 +01:00
restart: always
2019-01-23 21:52:05 +01:00
depends_on:
- mysql
ports:
- 8081:80
environment:
- PMA_USER=root
- PMA_PASSWORD=password
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=user
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=db
wildfly:
build:
context: ./
dockerfile: Dockerfile
2019-01-26 14:20:31 +01:00
restart: always
2019-01-23 21:52:05 +01:00
volumes:
- ./deployments:/opt/jboss/wildfly/standalone/deployments/
- ./config:/opt/jboss/wildfly/standalone/configuration
links:
- mysql
depends_on:
2019-01-26 14:20:31 +01:00
- mysql
2019-01-23 21:52:05 +01:00
ports:
- 8085:8080
- 9990:9990