Add makefile + corrects log file access + Change data location

This commit is contained in:
2020-11-09 12:37:34 +01:00
parent 9a655f9531
commit 70d87fe5d1
4 changed files with 41 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
mariadb:
image: mariadb:latest
volumes:
- ~/.mysql:/var/lib/mysql
- ~/log/mysql:/var/log/mysql
- ./data/mysql:/var/lib/mysql
- ./data/log/mysql:/var/log/mysql
expose:
- 3306
environment:
@@ -21,10 +21,10 @@ php:
- 9000
volumes:
- ~/public:/var/www/html
- ~/log/xdebug:/var/log/xdebug
- ~/log/php:/var/log/php
- ./data/log/xdebug:/var/log/xdebug
- ./data/log/php:/var/log/php
- ./config/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
- ./config/showErrors.conf:/usr/local/etc/php-fpm.d/zzz-showErrors.conf
- ./config/php.conf:/usr/local/etc/php-fpm.d/zzz-settings.conf
- ./config/ssmtp.conf:/etc/ssmtp/ssmtp.conf
links:
- mariadb
@@ -34,7 +34,7 @@ nginx:
image: nginx:latest
volumes:
- ~/public:/var/www/html
- ~/log/nginx:/var/log/nginx
- ./data/log/nginx:/var/log/nginx
- ./config/nginx.conf:/etc/nginx/nginx.conf
ports:
- 80:80