Skip to content

Commit

Permalink
Odoo only depends on db if not using external db
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-p-marques committed Oct 28, 2020
1 parent 4a6c5fe commit b5f532f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devel.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ services:
- ./odoo/auto:/opt/odoo/auto:rw,z
depends_on:
- cdnjs_cloudflare_proxy
{% if postgres_version -%}
- db
{%- endif %}
- fonts_googleapis_proxy
- fonts_gstatic_proxy
- google_proxy
Expand Down
2 changes: 2 additions & 0 deletions prod.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ services:
SMTP_SERVER: smtplocal
{%- endif %}
depends_on:
{% if postgres_version -%}
- db
{%- endif %}
{%- if smtp_relay_host %}
- smtp
{%- endif %}
Expand Down
2 changes: 2 additions & 0 deletions test.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ services:
SMTP_SERVER: smtplocal
restart: unless-stopped
depends_on:
{% if postgres_version -%}
- db
{%- endif %}
- smtp
networks:
default:
Expand Down

0 comments on commit b5f532f

Please sign in to comment.