commit
a3288462a8
@ -75,6 +75,7 @@ services:
|
||||
- applications
|
||||
volumes:
|
||||
- ./logs/nginx/:/var/log/nginx
|
||||
- ./nginx/sites/:/etc/nginx/sites-available
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM mysql:5.6
|
||||
FROM mysql:5.7
|
||||
|
||||
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
||||
|
||||
|
@ -4,3 +4,6 @@
|
||||
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
|
||||
|
||||
[mysql]
|
||||
|
||||
[mysqld]
|
||||
sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
|
||||
|
@ -3,7 +3,6 @@ FROM nginx:alpine
|
||||
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
||||
|
||||
ADD nginx.conf /etc/nginx/
|
||||
COPY sites/*.conf /etc/nginx/sites-available/
|
||||
|
||||
ARG PHP_UPSTREAM=php-fpm
|
||||
|
||||
|
2
nginx/sites/.gitignore
vendored
Normal file
2
nginx/sites/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*.conf
|
||||
!default.conf
|
Loading…
Reference in New Issue
Block a user