Repository URL to install this package:
|
Version:
1.0.0b1 ▾
|
doc:
short_help: Execute the 'nextcloud' docker image.
help: |
TODO: add db support, etc
references:
"'nextcloud' dockerhub page": https://hub.docker.com/_/nextcloud/
args:
user:
doc:
short_help: The local user who should own the nextcloud parent data folder (will also be added to the list of docker users).
type: string
required: true
persistent_data:
doc:
short_help: The path to where the container should store its persistent data.
type: string
required: true
port:
doc:
short_help: The port where Nextcloud should be available.
type: integer
required: true
default: 8080
container_name:
doc:
short_help: The name for the container image.
type: string
default: nextcloud
required: true
frecklets:
- folder-exists:
path: '{{:: persistent_data ::}}'
owner: '{{:: user ::}}'
- docker-container-running:
users:
- '{{:: user ::}}'
name: '{{:: container_name ::}}'
image: nextcloud
skip_docker_install: '{{:: skip_docker_install ::}}'
ports:
- '{{:: port ::}}:80'
volumes:
- '{{:: persistent_data ::}}/nextcloud:/var/www/html'
- '{{:: persistent_data ::}}/custom_apps:/var/www/html/custom_apps'
- '{{:: persistent_data ::}}/config:/var/www/html/config'
- '{{:: persistent_data ::}}/data:/var/www/html/data'
meta: {}