21 lines
388 B
YAML
21 lines
388 B
YAML
---
|
|
|
|
- name: nextcloud data
|
|
file:
|
|
path: "{{ nextcloud_data }}"
|
|
state: directory
|
|
mode: 0755
|
|
recurse: yes
|
|
|
|
|
|
- name: nextcloud container
|
|
docker_container:
|
|
name: nextcloud.0rpheus.net
|
|
image: "nextcloud:{{ nextcloud_version }}"
|
|
pull: yes
|
|
restart_policy: always
|
|
ports:
|
|
- 127.0.0.1:2090:80
|
|
volumes:
|
|
- "{{ nextcloud_data }}:/var/www/html/"
|