modified drupal + push to v8.9.7

This commit is contained in:
LUXEY Adrien 2020-10-18 19:27:13 +02:00
parent 9e142fff93
commit 3f7f84e02e
5 changed files with 29 additions and 23 deletions

View file

@ -19,7 +19,7 @@ gitea:
synapse: synapse:
version: v1.21.2 version: v1.21.2
drupal: drupal:
version: 8.8.5-apache version: 8.9.7-apache
nextcloud: nextcloud:
version: 19.0.3 version: 19.0.3
checksum: md5:2094204fd0c3471be2ec010a71231da6 checksum: md5:2094204fd0c3471be2ec010a71231da6

View file

@ -11,31 +11,35 @@
# Render templates # # Render templates #
#################### ####################
- name: "Create folder {{ sites_path }}/{{ site.slug }}" - name: "Render templates"
file: import_tasks: render.yml
path: "{{ sites_path }}/{{ site.slug }}" tags: render
state: directory
mode: '750'
tags: [docker, nginx, mysql]
- name: Render sexy Dockerfile # - name: "Create folder {{ sites_path }}/{{ site.slug }}"
template: # file:
src: drupal/Dockerfile.j2 # path: "{{ sites_path }}/{{ site.slug }}"
dest: "{{ sites_path }}/{{ site.slug }}/Dockerfile" # state: directory
tags: docker # mode: '750'
# tags: [docker, nginx, mysql]
- name: Render marvelous docker-compose.yml # - name: Render sexy Dockerfile
template: # template:
src: drupal/docker-compose.yml.j2 # src: drupal/Dockerfile.j2
dest: "{{ sites_path }}/{{ site.slug }}/docker-compose.yml" # dest: "{{ sites_path }}/{{ site.slug }}/Dockerfile"
tags: docker # tags: docker
- name: Render swell nginx site config # - name: Render marvelous docker-compose.yml
template: # template:
src: drupal/nginx.j2 # src: drupal/docker-compose.yml.j2
dest: "/etc/nginx/sites-available/{{ site.url }}" # dest: "{{ sites_path }}/{{ site.slug }}/docker-compose.yml"
become: yes # tags: docker
tags: nginx
# - name: Render swell nginx site config
# template:
# src: drupal/nginx.j2
# dest: "/etc/nginx/sites-available/{{ site.url }}"
# become: yes
# tags: nginx
####################### #######################

View file

@ -3,6 +3,7 @@
- name: "Set site_data_path to {{ www_path }}/{{ site.slug }}" - name: "Set site_data_path to {{ www_path }}/{{ site.slug }}"
set_fact: site_data_path="{{ www_path }}/{{ site.slug }}" set_fact: site_data_path="{{ www_path }}/{{ site.slug }}"
tags: always
#################### ####################
# Render templates # # Render templates #

View file

@ -15,6 +15,7 @@ services:
# We want a host volume for the themes directory to easily work on theming # We want a host volume for the themes directory to easily work on theming
- "{{ www_path }}/{{ site.slug }}/themes:/var/www/html/themes" - "{{ www_path }}/{{ site.slug }}/themes:/var/www/html/themes"
- "{{ www_path }}/{{ site.slug }}/sites:/var/www/html/sites" - "{{ www_path }}/{{ site.slug }}/sites:/var/www/html/sites"
- "{{ www_path }}/{{ site.slug }}/modules:/var/www/html/modules"
# Fix the container's IP # Fix the container's IP
networks: networks:
net: net: