Pull nextcloud image from our own image registry
This commit is contained in:
parent
f8ac16f65b
commit
6ad42219c0
|
@ -3,27 +3,8 @@ version: "3.6"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nextcloud:
|
nextcloud:
|
||||||
build:
|
image: git.hamburg.ccc.de/ccchh/oci-images/nextcloud:28
|
||||||
context: .
|
pull_policy: always
|
||||||
# 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"]
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
|
|
Loading…
Reference in a new issue