Move SSL certificate to works as a volume.
This commit is contained in:
parent
94cb984581
commit
f68532f4bb
@ -38,9 +38,6 @@ RUN chmod +x /usr/local/bin/addsubdomain
|
|||||||
COPY bin/mysql_configure /usr/local/bin/mysql_configure
|
COPY bin/mysql_configure /usr/local/bin/mysql_configure
|
||||||
RUN chmod +x /usr/local/bin/mysql_configure
|
RUN chmod +x /usr/local/bin/mysql_configure
|
||||||
|
|
||||||
# Colocamos dentro el certificado SSL
|
|
||||||
COPY ssl /etc/nginx/ssl
|
|
||||||
|
|
||||||
# Configuración de puertos
|
# Configuración de puertos
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
EXPOSE 443
|
EXPOSE 443
|
||||||
|
@ -12,3 +12,4 @@ services:
|
|||||||
- ./data/nginx/sites-available:/etc/nginx/sites-available:Z
|
- ./data/nginx/sites-available:/etc/nginx/sites-available:Z
|
||||||
- ./data/nginx/sites-enabled:/etc/nginx/sites-enabled:Z
|
- ./data/nginx/sites-enabled:/etc/nginx/sites-enabled:Z
|
||||||
- ./data/mysql/:/var/lib/mysql/:Z
|
- ./data/mysql/:/var/lib/mysql/:Z
|
||||||
|
- ./ssl:/etc/nginx/ssl:Z
|
||||||
|
Loading…
Reference in New Issue
Block a user