mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-09-18 17:27:24 +00:00
@@ -83,6 +83,7 @@ RUN set -ex; \
|
||||
mkdir -p /usr/local/apache2/logs; \
|
||||
chmod 777 -R /home/www-data; \
|
||||
chmod 777 -R /usr/local/apache2/logs; \
|
||||
chmod 777 /run; \
|
||||
rm -rf /usr/local/apache2/cgi-bin/
|
||||
|
||||
USER www-data:www-data
|
||||
@@ -90,7 +91,7 @@ USER www-data:www-data
|
||||
STOPSIGNAL SIGTERM
|
||||
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
CMD ["dinit", "--system", "--container", "--socket-path", "/tmp/dinitctl", "apache", "caddy"]
|
||||
CMD ["dinit", "--system", "--container", "apache", "caddy"]
|
||||
|
||||
ENV AIO_LOG_LEVEL=warn
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ RUN set -ex; \
|
||||
apk add --no-cache tzdata clamav clamav-milter dinit bash; \
|
||||
mkdir -p /tmp /var/lib/clamav; \
|
||||
chmod 777 -R /tmp /var/log/clamav; \
|
||||
chmod 777 /run; \
|
||||
chown -R clamav:clamav /var/lib/clamav; \
|
||||
sed -i "s|#\?MaxDirectoryRecursion.*|MaxDirectoryRecursion 30|g" /etc/clamav/clamd.conf; \
|
||||
sed -i "s|#\?MaxScanSize.*|MaxScanSize 2000M|g" /etc/clamav/clamd.conf; \
|
||||
@@ -43,7 +44,7 @@ RUN set -ex; \
|
||||
freshclam --foreground --stdout
|
||||
VOLUME /var/lib/clamav
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
CMD ["dinit", "--system", "--container", "--socket-path", "/tmp/dinitctl", "freshclam", "clamd", "milter"]
|
||||
CMD ["dinit", "--system", "--container", "freshclam", "clamd", "milter"]
|
||||
LABEL com.centurylinklabs.watchtower.enable="false" \
|
||||
wud.watch="false" \
|
||||
dockhand.update="false" \
|
||||
|
||||
@@ -72,12 +72,13 @@ RUN set -ex; \
|
||||
chmod 777 -R \
|
||||
/tmp \
|
||||
/conf; \
|
||||
chmod 777 /run; \
|
||||
ln -s /opt/eturnal/bin/stun /usr/local/bin/stun; \
|
||||
ln -s /opt/eturnal/bin/eturnalctl /usr/local/bin/eturnalctl
|
||||
|
||||
USER eturnal:eturnal
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
CMD ["dinit", "--system", "--container", "--socket-path", "/tmp/dinitctl", "nats-server", "eturnal", "janus", "signaling"]
|
||||
CMD ["dinit", "--system", "--container", "nats-server", "eturnal", "janus", "signaling"]
|
||||
|
||||
HEALTHCHECK CMD ["/healthcheck.sh"]
|
||||
LABEL com.centurylinklabs.watchtower.enable="false" \
|
||||
|
||||
Reference in New Issue
Block a user