1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Lukáš Kucharczyk 0bc4e0e1df
jelu: enable google api 2023-12-06 12:41:16 +01:00
Lukáš Kucharczyk 872f4c91fb
add git-crypt 2023-12-06 12:26:49 +01:00
3 changed files with 17 additions and 2 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
secrets/** filter=git-crypt diff=git-crypt
.gitattributes !filter !diff

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
@ -20,3 +24,12 @@ services:
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"