diff --git a/playbooks/roles/nextcloud/templates/compose.yaml.j2 b/playbooks/roles/nextcloud/templates/compose.yaml.j2 index daf7f7a..4bb4ae4 100644 --- a/playbooks/roles/nextcloud/templates/compose.yaml.j2 +++ b/playbooks/roles/nextcloud/templates/compose.yaml.j2 @@ -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 < /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"