Exclude sites configuration from image and just use volume
This commit is contained in:
parent
380178e6fa
commit
d703c82c46
|
@ -75,6 +75,7 @@ services:
|
||||||
- applications
|
- applications
|
||||||
volumes:
|
volumes:
|
||||||
- ./logs/nginx/:/var/log/nginx
|
- ./logs/nginx/:/var/log/nginx
|
||||||
|
- ./nginx/sites/:/etc/nginx/sites-available
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
|
|
@ -3,7 +3,6 @@ FROM nginx:alpine
|
||||||
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
||||||
|
|
||||||
ADD nginx.conf /etc/nginx/
|
ADD nginx.conf /etc/nginx/
|
||||||
COPY sites/*.conf /etc/nginx/sites-available/
|
|
||||||
|
|
||||||
ARG PHP_UPSTREAM=php-fpm
|
ARG PHP_UPSTREAM=php-fpm
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
*.conf
|
||||||
|
!default.conf
|
Loading…
Reference in New Issue