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 restart: always
volumes: volumes:
- db:/var/lib/postgresql/data - db:/var/lib/postgresql/data
env_file: environment:
- nextcloud-db.env - POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
app: app:
image: nextcloud image: nextcloud

View file

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