From 8e602c15a6b0f45b1abd8ebe7cc791fe9605b1ec Mon Sep 17 00:00:00 2001 From: am Date: Mon, 1 Feb 2021 11:32:56 +0100 Subject: [PATCH] modif main.yml et docker compose --- proxy | 1 + roles/docker-nextcloud/files/docker-compose.yml | 4 ++-- roles/docker-nextcloud/tasks/main.yml | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 120000 proxy diff --git a/proxy b/proxy new file mode 120000 index 0000000..3f32243 --- /dev/null +++ b/proxy @@ -0,0 +1 @@ +/etc/nginx/sites-availables/proxy \ No newline at end of file diff --git a/roles/docker-nextcloud/files/docker-compose.yml b/roles/docker-nextcloud/files/docker-compose.yml index 99dc4fd..1278464 100755 --- a/roles/docker-nextcloud/files/docker-compose.yml +++ b/roles/docker-nextcloud/files/docker-compose.yml @@ -16,7 +16,7 @@ services: - MYSQL_PASSWORD=root - MYSQL_DATABASE=nextcloud - MYSQL_USER=nextcloud - TZ: Europe/Paris + - TZ=Europe/Paris app: image: nextcloud @@ -32,4 +32,4 @@ services: - MYSQL_DATABASE=nextcloud - MYSQL_USER=nextcloud - MYSQL_HOST=db - TZ: Europe/Paris + - TZ=Europe/Paris diff --git a/roles/docker-nextcloud/tasks/main.yml b/roles/docker-nextcloud/tasks/main.yml index f76e75f..32fef39 100644 --- a/roles/docker-nextcloud/tasks/main.yml +++ b/roles/docker-nextcloud/tasks/main.yml @@ -48,7 +48,9 @@ - name: Creation de lien symbolique avec /etc/nginx/sites-available/proxy dans /etc/nginx/sites-enabled/proxy file: src: /etc/nginx/sites-available/proxy - dest: /etc/nginx/sites-enabled + dest: /etc/nginx/sites-enabled/proxy + owner: root + group: root state: link - name: Redemmarage de Nginx