diff --git a/playbook.yml b/playbook.yml index a5059d6..1673aab 100644 --- a/playbook.yml +++ b/playbook.yml @@ -8,7 +8,7 @@ # - { role: traefik, tags: ["traefik"] } - { role: whoami, tags: ["whoami"] } - { role: protonmail, tags: ["protonmail"] } -# - { role: cloud, tags: ["cloud"] } + - { role: cloud, tags: ["cloud"] } - { role: home_assistant, tags: ["home_assistant"] } - { role: n8n, tags: ["n8n"] } - { role: matrix, tags: ["matrix"] } diff --git a/roles/cloud/templates/docker-compose.yml.j2 b/roles/cloud/templates/docker-compose.yml.j2 index 5446e08..fc9637f 100644 --- a/roles/cloud/templates/docker-compose.yml.j2 +++ b/roles/cloud/templates/docker-compose.yml.j2 @@ -8,7 +8,7 @@ services: networks: - internal volumes: - - db:/var/lib/postgresql/data + - {{ server.work_dir }}/nextcloud/db:/var/lib/postgresql/data environment: - POSTGRES_PASSWORD=nextcloud - POSTGRES_DB=nextcloud @@ -25,7 +25,7 @@ services: depends_on: - db volumes: - - nextcloud:/var/www/html + - {{ server.work_dir }}/nextcloud/base:/var/www/html labels: - "traefik.enable=true" - "traefik.http.middlewares.nextcloud-compress.compress=true" @@ -58,10 +58,6 @@ services: - POSTGRES_HOST=db - OVERWRITEPROTOCOL=https -volumes: - nextcloud: - db: - networks: internal: proxy: