added docker dev environment and fixed some bugs

This commit is contained in:
Ziver Koc 2018-07-26 16:23:01 +02:00
parent 1a907de8ba
commit 99c67eaaba
16 changed files with 1897 additions and 34 deletions

19
docker-compose.yml Normal file
View file

@ -0,0 +1,19 @@
version: '3'
services:
web:
image: jeanblanchard/tomcat:7
ports:
- "8080:8080"
db:
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: "password"
MYSQL_DATABASE: "zallery"
MYSQL_USER: "zallery"
MYSQL_PASSWORD: "password"
db_admin:
image: adminer
restart: always
ports:
- 8081:8080