1
0

gramps: fix redis host and baclups

This commit is contained in:
2025-05-02 19:45:48 +03:00
parent d1eae9b5b5
commit 5b60af6061
4 changed files with 120 additions and 111 deletions

View File

@ -15,9 +15,9 @@ services:
GRAMPSWEB_SECRET_KEY: "{{ gramps_secret_key }}"
GRAMPSWEB_BASE_URL: "https://gramps.vakhrushev.me"
GRAMPSWEB_REGISTRATION_DISABLED: "true"
GRAMPSWEB_CELERY_CONFIG__broker_url: "redis://grampsweb_redis:6379/0"
GRAMPSWEB_CELERY_CONFIG__result_backend: "redis://grampsweb_redis:6379/0"
GRAMPSWEB_RATELIMIT_STORAGE_URI: "redis://grampsweb_redis:6379/1"
GRAMPSWEB_CELERY_CONFIG__broker_url: "redis://gramps_redis:6379/0"
GRAMPSWEB_CELERY_CONFIG__result_backend: "redis://gramps_redis:6379/0"
GRAMPSWEB_RATELIMIT_STORAGE_URI: "redis://gramps_redis:6379/1"
GRAMPSWEB_EMAIL_HOST: "{{ postbox_host }}"
GRAMPSWEB_EMAIL_PORT: "{{ postbox_port }}"
GRAMPSWEB_EMAIL_HOST_USER: "{{ postbox_user }}"

View File

@ -14,15 +14,18 @@ models:
users:
type: sqlite
path: /home/major/applications/gramps/data/gramps_users/users.sqlite
search_index:
type: sqlite
path: /home/major/applications/gramps/data/gramps_index/search_index.db
sqlite:
type: sqlite
path: /home/major/applications/gramps/data/gramps_db/59a0f3d6-1c3d-4410-8c1d-1c9c6689659f/sqlite.db
undo:
undo:
type: sqlite
path: /home/major/applications/gramps/data/gramps_db/59a0f3d6-1c3d-4410-8c1d-1c9c6689659f/undo.db
archive:
includes:
- /home/major/applications/gramps/data
- /home/major/applications/gramps
excludes:
- /home/major/applications/gramps/data/gramps_cache
- /home/major/applications/gramps/data/gramps_thumb_cache