Pull nextcloud image from our own image registry

This commit is contained in:
christian 2024-07-29 20:23:17 +02:00
parent f8ac16f65b
commit 6ad42219c0
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak

View file

@ -3,27 +3,8 @@ version: "3.6"
services:
nextcloud:
build:
context: .
# Use the following example for adding cron:
# https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles/cron/apache
dockerfile_inline: |
FROM nextcloud:{{ nextcloud__version }}
RUN apt-get update && apt-get install -y \
supervisor \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir /var/log/supervisord /var/run/supervisord
RUN cat <<EOF > /supervisord.conf
{% filter indent(width=8) %}
{{ lookup('ansible.builtin.file', 'supervisord.conf') }}
{% endfilter %}
EOF
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
image: git.hamburg.ccc.de/ccchh/oci-images/nextcloud:28
pull_policy: always
restart: unless-stopped
ports:
- "8080:80"