Skip to content

Commit

Permalink
Fix for docker compose issue 234 (#246)
Browse files Browse the repository at this point in the history
Signed-off-by: John Matthews <[email protected]>
  • Loading branch information
jwmatthews authored Jul 23, 2024
1 parent 71e8fe9 commit be0a3e8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: "3"

x-common-variables: &kai-variables
x-kai-variables: &kai-variables
DEMO_MODE: "False"
HUB_URL: ${HUB_URL:-https://tackle-konveyor-tackle.apps.example.com/hub}
IMPORTER_ARGS:
Expand All @@ -9,16 +9,15 @@ x-common-variables: &kai-variables
NUM_WORKERS: 8
USE_HUB_IMPORTER: ${USE_HUB_IMPORTER:-False}

x-common-variables: &db-variables
x-db-variables: &db-variables
POSTGRES_DB: kai
POSTGRES_PASSWORD: dog8code
POSTGRES_USER: kai

services:
kai:
environment:
<<: *db-variables
<<: *kai-variables
<<: [*db-variables, *kai-variables]
# Do not edit the variables below otherwise
# you risk committing keys to a public repo
# These lines will pass in the environment
Expand All @@ -35,8 +34,7 @@ services:
- kai_db
kai_hub_importer:
environment:
<<: *db-variables
<<: *kai-variables
<<: [*db-variables, *kai-variables]
MODE: importer
image: ${IMAGE:-quay.io/konveyor/kai}:${TAG:-stable}
volumes:
Expand Down

0 comments on commit be0a3e8

Please sign in to comment.