2020-05-17 19:29:06 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
app:
|
|
|
|
build: ./docker
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
volumes:
|
|
|
|
- .:/var/www/mapguesser
|
|
|
|
links:
|
|
|
|
- 'mariadb'
|
2020-06-14 17:14:41 +02:00
|
|
|
- 'mail'
|
2020-05-17 19:29:06 +02:00
|
|
|
mariadb:
|
|
|
|
image: mariadb:10.1
|
|
|
|
volumes:
|
|
|
|
- mysql:/var/lib/mysql
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: 'root'
|
|
|
|
MYSQL_DATABASE: 'mapguesser'
|
|
|
|
MYSQL_USER: 'mapguesser'
|
|
|
|
MYSQL_PASSWORD: 'mapguesser'
|
2020-06-14 17:14:41 +02:00
|
|
|
mail:
|
|
|
|
image: marcopas/docker-mailslurper:latest
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
- 8085:8085
|
2020-05-17 19:29:06 +02:00
|
|
|
volumes:
|
|
|
|
mysql:
|