modified drupal + push to v8.9.7
This commit is contained in:
parent
9e142fff93
commit
3f7f84e02e
5 changed files with 29 additions and 23 deletions
|
@ -19,7 +19,7 @@ gitea:
|
|||
synapse:
|
||||
version: v1.21.2
|
||||
drupal:
|
||||
version: 8.8.5-apache
|
||||
version: 8.9.7-apache
|
||||
nextcloud:
|
||||
version: 19.0.3
|
||||
checksum: md5:2094204fd0c3471be2ec010a71231da6
|
||||
|
|
|
@ -11,31 +11,35 @@
|
|||
# Render templates #
|
||||
####################
|
||||
|
||||
- name: "Create folder {{ sites_path }}/{{ site.slug }}"
|
||||
file:
|
||||
path: "{{ sites_path }}/{{ site.slug }}"
|
||||
state: directory
|
||||
mode: '750'
|
||||
tags: [docker, nginx, mysql]
|
||||
- name: "Render templates"
|
||||
import_tasks: render.yml
|
||||
tags: render
|
||||
|
||||
- name: Render sexy Dockerfile
|
||||
template:
|
||||
src: drupal/Dockerfile.j2
|
||||
dest: "{{ sites_path }}/{{ site.slug }}/Dockerfile"
|
||||
tags: docker
|
||||
# - name: "Create folder {{ sites_path }}/{{ site.slug }}"
|
||||
# file:
|
||||
# path: "{{ sites_path }}/{{ site.slug }}"
|
||||
# state: directory
|
||||
# mode: '750'
|
||||
# tags: [docker, nginx, mysql]
|
||||
|
||||
- name: Render marvelous docker-compose.yml
|
||||
template:
|
||||
src: drupal/docker-compose.yml.j2
|
||||
dest: "{{ sites_path }}/{{ site.slug }}/docker-compose.yml"
|
||||
tags: docker
|
||||
# - name: Render sexy Dockerfile
|
||||
# template:
|
||||
# src: drupal/Dockerfile.j2
|
||||
# dest: "{{ sites_path }}/{{ site.slug }}/Dockerfile"
|
||||
# tags: docker
|
||||
|
||||
- name: Render swell nginx site config
|
||||
template:
|
||||
src: drupal/nginx.j2
|
||||
dest: "/etc/nginx/sites-available/{{ site.url }}"
|
||||
become: yes
|
||||
tags: nginx
|
||||
# - name: Render marvelous docker-compose.yml
|
||||
# template:
|
||||
# src: drupal/docker-compose.yml.j2
|
||||
# dest: "{{ sites_path }}/{{ site.slug }}/docker-compose.yml"
|
||||
# tags: docker
|
||||
|
||||
# - name: Render swell nginx site config
|
||||
# template:
|
||||
# src: drupal/nginx.j2
|
||||
# dest: "/etc/nginx/sites-available/{{ site.url }}"
|
||||
# become: yes
|
||||
# tags: nginx
|
||||
|
||||
|
||||
#######################
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
- name: "Set site_data_path to {{ www_path }}/{{ site.slug }}"
|
||||
set_fact: site_data_path="{{ www_path }}/{{ site.slug }}"
|
||||
tags: always
|
||||
|
||||
####################
|
||||
# Render templates #
|
||||
|
|
|
@ -15,6 +15,7 @@ services:
|
|||
# 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 }}/sites:/var/www/html/sites"
|
||||
- "{{ www_path }}/{{ site.slug }}/modules:/var/www/html/modules"
|
||||
# Fix the container's IP
|
||||
networks:
|
||||
net:
|
||||
|
|
Loading…
Reference in a new issue