Skip to content

Commit

Permalink
Move seed_db service inside if statement, only create when backend ty…
Browse files Browse the repository at this point in the history
…pe is set to 'local' (#573)
  • Loading branch information
aroelo authored Jun 29, 2022
1 parent f014a4b commit b617b6b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ services:
ports:
- ${HOST_API_PORT}:{{api_server_port}}
entrypoint: /entrypoint-api.sh
{%- endif %}

seed_db:
build:
Expand All @@ -342,6 +341,8 @@ services:
depends_on:
apiserver:
condition: service_healthy
{%- endif %}


{% if (config.google_cloud is not none) and (config.google_cloud.credentials is not none) -%}
secrets:
Expand Down

0 comments on commit b617b6b

Please sign in to comment.