We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61ccb4c commit 4cdba74Copy full SHA for 4cdba74
test.yaml.jinja
@@ -24,6 +24,7 @@ services:
24
SMTP_SERVER: smtplocal
25
# Just in case you use queue_job
26
ODOO_QUEUE_JOB_CHANNELS: "root:1"
27
+ PGHOST: {{ _key }}-db
28
restart: unless-stopped
29
{%- if domains_test %}
30
hostname: {{ macros.first_main_domain(domains_test)|tojson }}
@@ -61,8 +62,14 @@ services:
61
62
extends:
63
file: common.yaml
64
service: db
65
+ environment:
66
+ - DB_HOST={{ _key }}-db
67
env_file:
68
- .docker/db-creation.env
69
+ networks:
70
+ default:
71
+ aliases:
72
+ - "{{ _key }}-db"
73
74
{%- endif %}
75
0 commit comments