modif main.yml et docker compose

This commit is contained in:
am 2021-02-01 11:32:56 +01:00
parent 20f8fcccbe
commit 8e602c15a6
3 changed files with 6 additions and 3 deletions

1
proxy Symbolic link
View File

@ -0,0 +1 @@
/etc/nginx/sites-availables/proxy

View File

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

View File

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