2021-08-24 00:31:11 -05:00
|
|
|
# vim:ft=ansible:
|
|
|
|
- name: docker deploy nextcloud
|
|
|
|
docker_container:
|
|
|
|
name: nextcloud
|
|
|
|
image: nextcloud:21
|
|
|
|
networks:
|
|
|
|
- name: web
|
|
|
|
aliases: [ "nextcloud" ]
|
|
|
|
volumes:
|
|
|
|
- /data/nextcloud/apps:/var/www/html/apps
|
|
|
|
- /data/nextcloud/config:/var/www/html/config
|
|
|
|
- /data/nextcloud/themes:/var/www/html/themes
|
|
|
|
- /srv/desu.ltd/nc:/var/www/html/data
|
|
|
|
tags: [ docker, nextcloud ]
|
2021-08-24 12:25:29 -05:00
|
|
|
- name: assure nextcloud cronjob
|
2021-08-24 21:22:11 -05:00
|
|
|
cron: user=root name=nextcloud minute=*/5 job="docker exec --user www-data nextcloud php -f /var/www/html/cron.php"
|
2021-08-24 12:25:29 -05:00
|
|
|
tags: [ docker, nextcloud, cron ]
|