From db2356933814cdd3bd6ef8a879b6b521d7625552 Mon Sep 17 00:00:00 2001 From: Nathan van Schoote Date: Fri, 15 Dec 2023 16:29:44 +0100 Subject: [PATCH 1/2] Updated entrypoint.sh with new config conventions --- docker/entrypoint.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 270b4f94..b28c5a23 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -67,11 +67,14 @@ cat > "$tmpConfig" <<-EOCONFIG domain: "${OPENTAXII_DOMAIN}" -persistence_api: - class: opentaxii.persistence.sqldb.SQLDatabaseAPI - parameters: - db_connection: ${P_URL} - create_tables: yes +taxii: + persistence_api: + class: opentaxii.persistence.sqldb.SQLDatabaseAPI + parameters: + db_connection: ${P_URL} + create_tables: yes + +taxii2: auth_api: class: opentaxii.auth.sqldb.SQLDatabaseAPI From 8fd2117afa227a6862687cd90b7a42f65c344f5b Mon Sep 17 00:00:00 2001 From: Nathan van Schoote Date: Tue, 19 Dec 2023 09:30:55 +0100 Subject: [PATCH 2/2] Fixed taxii1 tag --- docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index b28c5a23..e09f4fdc 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -67,7 +67,7 @@ cat > "$tmpConfig" <<-EOCONFIG domain: "${OPENTAXII_DOMAIN}" -taxii: +taxii1: persistence_api: class: opentaxii.persistence.sqldb.SQLDatabaseAPI parameters: