introduce docker - changed config files to work with docker

This commit is contained in:
GotPPay
2018-06-11 11:49:39 +02:00
parent ed7df7b11f
commit c21b30d288
11 changed files with 6626 additions and 3997 deletions

20
docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
version : '2'
services:
web:
build: ./docker/php
volumes:
- ./public:/var/www/html
- ./log/apache2/:/var/log/apache2/
ports:
- '8000:80'
depends_on:
- db
#use links keywoard to use db as a known host "db" to connect to database
links:
- db
db:
build: ./docker/mysql
ports:
- '13306:3306'