setup nextcloud service
This commit is contained in:
29
dockerfiles/owncloud/docker-compose.yml
Normal file
29
dockerfiles/owncloud/docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
# docker-compose file for owncloud server
|
||||
|
||||
# DOCKER_HOST=dkhost:2376 docker stack deploy -c docker-compose.yml owncloud
|
||||
|
||||
version: '3'
|
||||
services:
|
||||
|
||||
owncloud:
|
||||
image: nextcloud:12
|
||||
ports:
|
||||
- 8083:80
|
||||
# - 9083:9000
|
||||
volumes:
|
||||
- /opt/shared/nextcloud/data:/var/www/html/data
|
||||
- /opt/shared/nextcloud/config:/var/www/html/config
|
||||
- /opt/shared/nextcloud/apps:/var/www/html/custom_apps
|
||||
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: "1s"
|
||||
max_attempts: 5
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1'
|
||||
memory: 512M
|
||||
Reference in New Issue
Block a user