initial commit

This commit is contained in:
Piethein Strengholt
2018-05-10 15:28:59 +02:00
commit d21072ad62
118 changed files with 7920 additions and 0 deletions

35
docker-compose.yml Executable file
View File

@@ -0,0 +1,35 @@
version: '2'
services:
nginx:
image: nginx:latest
ports:
- 8181:80
volumes:
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
volumes_from:
- php
php:
build: ./docker/php/
volumes:
- .:/var/www/html
- ./docker/php/custom.ini:/usr/local/etc/php/conf.d/custom.ini
links:
- database
environment:
- "DB_PORT=3306"
- "DB_HOST=database"
database:
image: mysql:5.7
environment:
- "MYSQL_ROOT_PASSWORD=common404"
- "MYSQL_DATABASE=laravel"
volumes:
- ./db_data:/var/lib/mysql
ports:
- "33065:3306"