diff --git a/secrets/jelu.env b/secrets/jelu.env new file mode 100644 index 0000000..f3dcbc3 Binary files /dev/null and b/secrets/jelu.env differ 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"