# Bind mount the `redis-queue-data` volume to a host directory instead of letting Docker manage it. # Use together with overrides/compose.redis.yaml. # # NOTE: # - `REDIS_QUEUE_DATA_LOCATION` (required): absolute path to the host directory to bind mount. # - The directory must exist before running `docker compose up -d`, otherwise Docker fails # when populating the volume. # - The directory must be writable by the `redis` user of the image (uid/gid 999): # `chown -R 999:999 `. volumes: redis-queue-data: driver: local driver_opts: type: none o: bind device: ${REDIS_QUEUE_DATA_LOCATION:?REDIS_QUEUE_DATA_LOCATION must be set to an existing absolute host path}