nextcloud.yml aktualisiert
This commit is contained in:
parent
df006eb8e2
commit
1a06729fdb
@ -308,6 +308,16 @@
|
|||||||
do
|
do
|
||||||
[ -f app.${app}.installed ] || docker-compose exec -T -u www-data nextcloud.{{ ansible_facts['hostname'] }}.dedyn.io ./occ app:disable ${app} | tee -a nextcloud.update.log >app.${app}.disabled 2>&1
|
[ -f app.${app}.installed ] || docker-compose exec -T -u www-data nextcloud.{{ ansible_facts['hostname'] }}.dedyn.io ./occ app:disable ${app} | tee -a nextcloud.update.log >app.${app}.disabled 2>&1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# stun/turn server
|
||||||
|
if [ -s /home/docker/turn.{{inventory_hostname}}/env ]
|
||||||
|
then
|
||||||
|
source /home/docker/turn.{{inventory_hostname}}/env
|
||||||
|
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ talk:turn:add --secret $TURN_SECRET turns turn.{{inventory_hostname}}:5349 udp,tcp
|
||||||
|
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ talk:stun:add turn.{{inventory_hostname}}:5349
|
||||||
|
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ talk:stun:delete stun.nextcloud.com:443
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
backup: yes
|
backup: yes
|
||||||
validate: /bin/bash -n %s
|
validate: /bin/bash -n %s
|
||||||
@ -340,12 +350,17 @@
|
|||||||
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ files:scan --all
|
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ files:scan --all
|
||||||
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ maps:scan-photos
|
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ maps:scan-photos
|
||||||
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ db:convert-filecache-bigint -n
|
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ db:convert-filecache-bigint -n
|
||||||
# define turn server
|
# define stun/turn server maybe new password
|
||||||
if [ -s /home/docker/turn.{{inventory_hostname}}/env ]
|
if [ -s /home/docker/turn.{{inventory_hostname}}/env ]
|
||||||
then
|
then
|
||||||
|
# turn
|
||||||
source /home/docker/turn.{{inventory_hostname}}/env
|
source /home/docker/turn.{{inventory_hostname}}/env
|
||||||
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ talk:turn:delete turns turn.{{inventory_hostname}}:5349 udp,tcp
|
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ talk:turn:delete turns turn.{{inventory_hostname}}:5349 udp,tcp
|
||||||
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ talk:turn:add --secret $TURN_SECRET turns turn.{{inventory_hostname}}:5349 udp,tcp
|
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ talk:turn:add --secret $TURN_SECRET turns turn.{{inventory_hostname}}:5349 udp,tcp
|
||||||
|
# stun
|
||||||
|
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ talk:stun:delete turn.{{inventory_hostname}}:5349
|
||||||
|
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ talk:stun:add turn.{{inventory_hostname}}:5349
|
||||||
|
docker-compose exec -T -u www-data nextcloud.{{inventory_hostname}} ./occ talk:stun:delete stun.nextcloud.com:443
|
||||||
fi
|
fi
|
||||||
backup: yes
|
backup: yes
|
||||||
validate: /bin/bash -n %s
|
validate: /bin/bash -n %s
|
||||||
|
Loading…
Reference in New Issue
Block a user