2024-03-25 14:34:59 +01:00
|
|
|
---
|
2022-04-15 14:54:08 +02:00
|
|
|
|
|
|
|
# https://vikunja.io/docs/config-options/#redis
|
|
|
|
|
|
|
|
services:
|
|
|
|
vikunja_api:
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
environment:
|
|
|
|
VIKUNJA_CACHE_ENABLED: 'true'
|
|
|
|
VIKUNJA_CACHE_TYPE: redis
|
|
|
|
VIKUNJA_REDIS_ENABLED: 'true'
|
|
|
|
|
|
|
|
VIKUNJA_REDIS_HOST: ${REDIS_CONTAINER_NAME:-redis}:6379 # It's default port because we don't have yet configuration for redis port
|
|
|
|
#VIKUNJA_REDIS_PASSWORD: ${VIKUNJA_REDIS_PASSWORD} # We don't have yet configuration for redis with password
|
|
|
|
VIKUNJA_REDIS_DB: 0 # It's default becouse we don't have yet configuration for redis database name
|