Merge pull request #568 from bcurran3/patch-46

FEATURE ADD: Nextcloud - change images to variables
This commit is contained in:
David Stephens 2022-08-20 19:33:49 +01:00 committed by GitHub
commit 4e6b9f849d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -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"

View file

@ -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