Archived
1
0
Fork 0

aap&webdav: default env for serveradminmail

This commit is contained in:
Joerg Elfring 2020-07-23 16:46:23 +02:00
parent d8cf1051a2
commit 3469820733
3 changed files with 3 additions and 1 deletions

View file

@ -41,6 +41,7 @@ RUN chown -R apache:apache /var/www/localhost\
&& sed -i 's+apache:x:100:101:apache:/var/www:/sbin/nologin+apache:x:100:101:apache:/var/www/localhost:/sbin/nologin+' /etc/passwd
USER apache
ENV SERVERADMINMAIL=webmaster@example.com
VOLUME /var/www/localhost
EXPOSE 8080

View file

@ -27,6 +27,7 @@ USER apache
VOLUME /var/www
WORKDIR /var/www
EXPOSE 8080
ENV SERVERADMINMAIL=webmaster@example.com
CMD httpd -D FOREGROUND

View file

@ -206,7 +206,7 @@ DavLockDB /var/www/dav.lockdb
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin ${ADMINMAILADDRESS}
ServerAdmin ${SERVERADMINMAIL}
#
# Optionally add a line containing the server version and virtual host