Move SSL certificate to works as a volume.

This commit is contained in:
kj 2024-11-27 16:34:26 -04:00
parent 94cb984581
commit f68532f4bb
2 changed files with 1 additions and 3 deletions

View File

@ -38,9 +38,6 @@ RUN chmod +x /usr/local/bin/addsubdomain
COPY bin/mysql_configure /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
EXPOSE 80
EXPOSE 443

View File

@ -12,3 +12,4 @@ services:
- ./data/nginx/sites-available:/etc/nginx/sites-available:Z
- ./data/nginx/sites-enabled:/etc/nginx/sites-enabled:Z
- ./data/mysql/:/var/lib/mysql/:Z
- ./ssl:/etc/nginx/ssl:Z