Pőcze Bence
a61d2951d7
* 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
23 lines
509 B
YAML
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:
|