22 lines
476 B
YAML
22 lines
476 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
app:
|
||
|
build: ./docker
|
||
|
ports:
|
||
|
- 80:80
|
||
|
volumes:
|
||
|
- .:/var/www/mapguesser
|
||
|
links:
|
||
|
- 'mariadb'
|
||
|
mariadb:
|
||
|
image: mariadb:10.1
|
||
|
volumes:
|
||
|
- mysql:/var/lib/mysql
|
||
|
environment:
|
||
|
MYSQL_ROOT_PASSWORD: 'root'
|
||
|
MYSQL_DATABASE: 'mapguesser'
|
||
|
MYSQL_USER: 'mapguesser'
|
||
|
MYSQL_PASSWORD: 'mapguesser'
|
||
|
volumes:
|
||
|
mysql:
|