Add nextcloud to ansible.

This commit is contained in:
Víðir Valberg Guðmundsson 2018-06-23 17:58:58 +02:00
parent c005139fd8
commit d443c29907
2 changed files with 9 additions and 2 deletions

View File

@ -5,8 +5,9 @@ services:
restart: always
volumes:
- db:/var/lib/postgresql/data
env_file:
- nextcloud-db.env
environment:
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
app:
image: nextcloud

View File

@ -3,3 +3,9 @@
project_name: gitea
definition:
"{{ lookup('file', 'composefiles/gitea.yml') | from_yaml }}"
- name: setup nextcloud
docker_service:
project_name: nextcloud
definition:
"{{ lookup('file', 'composefiles/nextcloud.yml') | from_yaml }}"