diff --git a/README.md b/README.md index 455f54e2..056cb6a1 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ pipx ensurepath Once you installed everything, you can now use Copier to copy this template: ```bash -copier copy gh:Tecnativa/doodba-copier-template ~/path/to/your/subproject +copier copy gh:Tecnativa/doodba-copier-template ~/path/to/your/subproject --trust ``` Copier will ask you a lot of questions. Answer them to properly generate the template. diff --git a/copier.yml b/copier.yml index 3bfd7b6f..d29389f8 100644 --- a/copier.yml +++ b/copier.yml @@ -214,13 +214,13 @@ gitlab_url: domains_prod: type: yaml multiline: true - default: {} + default: null placeholder: | - # Main domains, with TLS and cert resolved with "letsencrypt" resolver - hosts: - www.main.com - shop.main.com - + # Main domains, with TLS and cert resolved with "letsencrypt" resolver + examples: | # Alternate domains that redirect to main ones - hosts: - main.com @@ -270,13 +270,13 @@ domains_prod: domains_test: type: yaml multiline: true - default: {} + default: null placeholder: | - # Main domains, with TLS and cert resolved with "letsencrypt" resolver - hosts: - demo1.main.com - demo2.main.com - + # Main domains, with TLS and cert resolved with "letsencrypt" resolver + examples: | # Alternate domains that redirect to main ones - hosts: - www.demo1.main.com @@ -349,7 +349,7 @@ cidr_whitelist: ⚠️ It must be a list. And this is only supported if you deploy with Traefik 2+. postgres_version: - default: "15" + default: "16" help: >- Which PostgreSQL version do you want to deploy? (Recommended: for new instances always use the latest version. Version 9.6 has no backup support.) @@ -362,6 +362,7 @@ postgres_version: "13": "13" "14": "14" "15": "15" + "16": "16" validator: >- {% if postgres_version|int > 0 %} {% if (odoo_version >= 16.0 and postgres_version|int < 12) or (odoo_version >= 14.0 and postgres_version|int < 10) diff --git a/docs/faq.md b/docs/faq.md index 213fc38b..3d04487a 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -179,7 +179,7 @@ This is needed for testing and production environments to be reachable. Our supported proxy is Traefik. There must be one in each node. -To have it, use this `inverseproxy.yaml` file: +To have it, use this `inverseproxy/docker-compose.yaml` file:
Traefik v1 docker compose