ansible/server/scripts/restart_owncloud.sh

7 lines
263 B
Bash
Executable File

#!/bin/bash
docker pull owncloud
docker rm -f owncloud
docker run -d --restart=always --name=owncloud -v /volumes/owncloud/apps:/var/www/html/apps -v /volumes/owncloud/config:/var/www/html/config -v /volumes/owncloud/data:/var/www/html/data -p 5555:80 owncloud