mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-26 10:15:14 +00:00
Merge pull request #568 from bcurran3/patch-46
FEATURE ADD: Nextcloud - change images to variables
This commit is contained in:
commit
4e6b9f849d
2 changed files with 6 additions and 2 deletions
|
@ -5,6 +5,10 @@ nextcloud_available_externally: false
|
|||
# directories
|
||||
nextcloud_data_directory: "{{ docker_home }}/nextcloud"
|
||||
|
||||
# images
|
||||
nextcloud_image: "nextcloud:14"
|
||||
nextcloud_mysql_image: "mysql:5.7"
|
||||
|
||||
# network
|
||||
nextcloud_port: "8080"
|
||||
nextcloud_hostname: "nextcloud"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
- name: Nextcloud Mysql Docker Container
|
||||
docker_container:
|
||||
name: nextcloud-mysql
|
||||
image: mysql:5.7
|
||||
image: "{{ nextcloud_mysql_image }}"
|
||||
pull: true
|
||||
volumes:
|
||||
- "{{ nextcloud_data_directory }}/mysql:/var/lib/mysql:rw"
|
||||
|
@ -25,7 +25,7 @@
|
|||
- name: Nextcloud Docker Container
|
||||
docker_container:
|
||||
name: nextcloud
|
||||
image: nextcloud:14
|
||||
image: "{{ nextcloud_image }}"
|
||||
pull: true
|
||||
links:
|
||||
- nextcloud-mysql:mysql
|
||||
|
|
Loading…
Reference in a new issue