mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
fix apache not starting
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
575150fb92
commit
31d369117a
1 changed files with 4 additions and 2 deletions
|
|
@ -40,7 +40,8 @@ RUN a2enmod rewrite \
|
||||||
|
|
||||||
COPY nextcloud.conf /etc/apache2/sites-available/
|
COPY nextcloud.conf /etc/apache2/sites-available/
|
||||||
|
|
||||||
RUN a2dissite 000-default && \
|
RUN set -ex; \
|
||||||
|
a2dissite 000-default && \
|
||||||
a2dissite default-ssl && \
|
a2dissite default-ssl && \
|
||||||
a2ensite nextcloud.conf && \
|
a2ensite nextcloud.conf && \
|
||||||
rm -rf /var/www/html/* && \
|
rm -rf /var/www/html/* && \
|
||||||
|
|
@ -61,7 +62,8 @@ COPY supervisord.conf /
|
||||||
RUN chmod +x /usr/bin/start.sh; \
|
RUN chmod +x /usr/bin/start.sh; \
|
||||||
chmod +r /supervisord.conf; \
|
chmod +r /supervisord.conf; \
|
||||||
chmod a+w /Caddyfile; \
|
chmod a+w /Caddyfile; \
|
||||||
chmod a+w /
|
chmod 777 /; \
|
||||||
|
chmod +r -R /etc/apache2
|
||||||
|
|
||||||
# Give root a random password
|
# Give root a random password
|
||||||
RUN echo "root:$(openssl rand -base64 12)" | chpasswd
|
RUN echo "root:$(openssl rand -base64 12)" | chpasswd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue