• GitHub
  • Documentation
  • Discord
  • Donate
search
  • chevron_right Threads
  • label Support
  • label Docker

Make redis configurable with env variable

tetricky
March 20, 2023
chat_bubble_outline 3
  • link
    tetricky
    Members 159 posts
    March 20, 2023, 12:35 a.m. March 20, 2023, 12:35 a.m.
    link

    It looks like 0.30 doesn't include the redis mod (that allows the redis container name to be set with env variable to avoid clashes with other containers named 'redis' on the same server).

    Any chance that can be included in a future release?

  • link
    rafalp
    Project Lead 1979 posts
    March 20, 2023, 12:38 a.m. March 20, 2023, 12:38 a.m.
    link

    That's part of misago-docker and not Misago itself, so I can take care of it without having to do new release. 🙂

  • link
    rafalp
    Project Lead 1979 posts
    March 20, 2023, 8:47 p.m. March 20, 2023, 8:47 p.m.
    link

    Done. Env vars are:

    • CACHE_REDIS_URL: defaults to redis://redis/0
    • CELERY_BROKER_URL: defaults to redis://redis/1
  • link
    tetricky
    Members 159 posts
    March 20, 2023, 9:56 p.m. March 20, 2023, 9:56 p.m.
    link

    Thank you. It saves me manually changing it every time I push a new version of misago-image.

arrow_upward Go to top
  • This site uses cookies to gather statistical data for use in traffic analysis.
  • GitHub
  • Documentation
  • Discord
  • Donate
  • Terms of service
  • Privacy policy
powered by misago