mapguesser/docker-compose.yml
Pőcze Bence a61d2951d7 MAPG-2 Init project MapGuesser
* add composer.json and basic environment
 * add basic classes
 * add basic map with JS and CSS (with demo functionality)
 * add files for docker-compose
 * add launch.json for Docker debug
 * add README
2020-05-17 19:29:06 +02:00

23 lines
509 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:
#TZ: Europe/Budapest
MYSQL_ROOT_PASSWORD: 'root'
MYSQL_DATABASE: 'mapguesser'
MYSQL_USER: 'mapguesser'
MYSQL_PASSWORD: 'mapguesser'
volumes:
mysql: