From 0bc4e0e1dfcdb37f549fa7f508187513608d391e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Wed, 6 Dec 2023 12:41:16 +0100 Subject: [PATCH] jelu: enable google api --- secrets/jelu.env | Bin 0 -> 76 bytes services/jelu.yml | 17 +++++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 secrets/jelu.env diff --git a/secrets/jelu.env b/secrets/jelu.env new file mode 100644 index 0000000000000000000000000000000000000000..f3dcbc363cf3ed64d763f54c6f37efaeb25d9581 GIT binary patch literal 76 zcmV-S0JHx9M@dveQdv+`06_gI(kcm+wW=+hn|Q68G!B8!EQA>NI9b!!y8@hqm#jPX id+Vax@1^2_Ci2259j%_T@#fc&30`rUOG>=zxP8Mfq$aii literal 0 HcmV?d00001 diff --git a/services/jelu.yml b/services/jelu.yml index d858d31..6a9ac72 100644 --- a/services/jelu.yml +++ b/services/jelu.yml @@ -4,14 +4,18 @@ services: image: wabayang/jelu container_name: jelu volumes: - - ${DOCKER_STORAGE_PATH}/jelu/config:/config - ${DOCKER_STORAGE_PATH}/jelu/database:/database - ${DOCKER_STORAGE_PATH}/jelu/files/images:/files/images - ${DOCKER_STORAGE_PATH}/jelu/files/imports:/files/imports - /etc/timezone:/etc/timezone:ro + configs: + - source: jelu_config + target: /config/application.yml networks: public: ipv4_address: 192.168.240.33 + env_file: + - secrets/jelu.env environment: SERVER_PORT: 80 SPRING_DATASOURCE_USERNAME: lukas @@ -19,4 +23,13 @@ services: JELU_CORS_ALLOWED-ORIGINS: https://jelu.${DOMAIN} profiles: - base - restart: unless-stopped \ No newline at end of file + restart: unless-stopped + +configs: + jelu_config: + content: | + jelu: + metadataProviders: + - is-enabled: true + apiKey: "${GOOGLE_API_KEY}" + name: "google"