Add cron container to Nextcloud
This commit is contained in:
parent
fe4b3ede81
commit
e0c0163aae
|
@ -32,6 +32,18 @@
|
||||||
networks:
|
networks:
|
||||||
- "nextcloud"
|
- "nextcloud"
|
||||||
|
|
||||||
|
cron:
|
||||||
|
image: "nextcloud:25-apache"
|
||||||
|
restart: "unless-stopped"
|
||||||
|
entrypoint: "/cron.sh"
|
||||||
|
networks:
|
||||||
|
- "nextcloud"
|
||||||
|
volumes:
|
||||||
|
- "{{ nextcloud.volume_folder }}/app:/var/www/html"
|
||||||
|
depends_on:
|
||||||
|
- "postgres"
|
||||||
|
- "redis"
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: "nextcloud:25-apache"
|
image: "nextcloud:25-apache"
|
||||||
restart: "unless-stopped"
|
restart: "unless-stopped"
|
||||||
|
@ -50,6 +62,9 @@
|
||||||
POSTGRES_PASSWORD: "{{ postgres_passwords.nextcloud }}"
|
POSTGRES_PASSWORD: "{{ postgres_passwords.nextcloud }}"
|
||||||
REDIS_HOST: "redis"
|
REDIS_HOST: "redis"
|
||||||
REDIS_HOST_PASSWORD: "{{ nextcloud_secrets.redis_password }}"
|
REDIS_HOST_PASSWORD: "{{ nextcloud_secrets.redis_password }}"
|
||||||
|
depends_on:
|
||||||
|
- "postgres"
|
||||||
|
- "redis"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nextcloud:
|
nextcloud:
|
||||||
|
|
Loading…
Reference in a new issue