1
0
Fork 0

jelu: enable google api

This commit is contained in:
Lukáš Kucharczyk 2023-12-06 12:41:16 +01:00
parent 872f4c91fb
commit 0bc4e0e1df
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 15 additions and 2 deletions

BIN
secrets/jelu.env Normal file

Binary file not shown.

View File

@ -4,14 +4,18 @@ services:
image: wabayang/jelu image: wabayang/jelu
container_name: jelu container_name: jelu
volumes: volumes:
- ${DOCKER_STORAGE_PATH}/jelu/config:/config
- ${DOCKER_STORAGE_PATH}/jelu/database:/database - ${DOCKER_STORAGE_PATH}/jelu/database:/database
- ${DOCKER_STORAGE_PATH}/jelu/files/images:/files/images - ${DOCKER_STORAGE_PATH}/jelu/files/images:/files/images
- ${DOCKER_STORAGE_PATH}/jelu/files/imports:/files/imports - ${DOCKER_STORAGE_PATH}/jelu/files/imports:/files/imports
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
configs:
- source: jelu_config
target: /config/application.yml
networks: networks:
public: public:
ipv4_address: 192.168.240.33 ipv4_address: 192.168.240.33
env_file:
- secrets/jelu.env
environment: environment:
SERVER_PORT: 80 SERVER_PORT: 80
SPRING_DATASOURCE_USERNAME: lukas SPRING_DATASOURCE_USERNAME: lukas
@ -19,4 +23,13 @@ services:
JELU_CORS_ALLOWED-ORIGINS: https://jelu.${DOMAIN} JELU_CORS_ALLOWED-ORIGINS: https://jelu.${DOMAIN}
profiles: profiles:
- base - base
restart: unless-stopped restart: unless-stopped
configs:
jelu_config:
content: |
jelu:
metadataProviders:
- is-enabled: true
apiKey: "${GOOGLE_API_KEY}"
name: "google"