Missing Redis volume Using docker-compose.yml from documentation

Hello all

Gramps 5.2.2
Gramps Web API 2.4.2
Gramps Web Frontend 24.8.0
Gramps QL 0.3.0
locale: en
multi-tree: false
task queue: true

i used and edited for my needs the berlow file.

docker-compose.yml

once it’s running docker generated automaticaly a volume for Redis

it’s not blocking anything except human analysis, when debugging

I’m not fully agile with docker, but as i’m managing arround 10 projects, i don’t want to delete or let an unknown volume in the middle

can i suggest the below modification? (naming of the volume is just a proposal i did for my project… :slight_smile: )

 grampsweb_redis:
    image: docker.io/library/redis:7.2.4-alpine
    container_name: grampsweb_redis
    restart: always
    volumes:
      - gramps_redis:/data  # persistent redis folder

networks:
  gramps_net:

volumes:
  gramps_users:
  gramps_index:
  gramps_thumb_cache:
  gramps_cache:
  gramps_secret:
  gramps_db:
  gramps_media:
  gramps_tmp:
  gramps_redis:

Regards

by the way

the proof it’s the volume for Redis

Hi,

what you are doing is persisting Redis’s cache. That can be a good idea, but generally is not strictly necessary. I would consider it as one of many possible ways to tweak the setup of the various components, but the examples in the docs are meant to be minimal.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.