mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
reverse: add www volume
This commit is contained in:
parent
b037609606
commit
088fff8ed8
@ -109,7 +109,7 @@ RUN chmod +x /usr/local/bin/*
|
|||||||
|
|
||||||
EXPOSE 8000 4430
|
EXPOSE 8000 4430
|
||||||
|
|
||||||
VOLUME /sites-enabled /conf.d /passwds /certs /var/log/nginx
|
VOLUME /sites-enabled /www /conf.d /passwds /certs /var/log/nginx
|
||||||
|
|
||||||
LABEL description="Secure nginx built from source." \
|
LABEL description="Secure nginx built from source." \
|
||||||
openssl="BoringSSL (date of the container)." \
|
openssl="BoringSSL (date of the container)." \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
touch /var/run/nginx.pid
|
touch /var/run/nginx.pid
|
||||||
chown -R $UID:$GID /etc/nginx /var/log/nginx /var/run/nginx.pid /sites-enabled /conf.d /certs
|
chown -R $UID:$GID /etc/nginx /var/log/nginx /var/run/nginx.pid /sites-enabled /conf.d /certs /www
|
||||||
chmod -R 700 /certs
|
chmod -R 700 /certs
|
||||||
su-exec $UID:$GID nginx
|
su-exec $UID:$GID nginx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user