Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis Custom Port Instructions Incorrect #50

Open
lamusmaser opened this issue Dec 19, 2024 · 0 comments
Open

Redis Custom Port Instructions Incorrect #50

lamusmaser opened this issue Dec 19, 2024 · 0 comments

Comments

@lamusmaser
Copy link
Collaborator

Based on this Discord Support Post and this Reddit post, there is an issue with the instructions provided since they are for the rejson iteration of the container, not the replaced redis-server-stack. The server stack version has a different flag for changing the custom ports that are used.

From the Discord post:

In general, we have two methods for modifying the accessible port to the redis server:
1. Change the forwarded port
Including the port forward (- 6380:6379) will allow this to forward the internal server connection to the host's port 6380.
The other modification that is required with this is updating the REDIS_HOST for the tubearchivist container to match the host system, rather than the archivist-redis internal Docker resolver name.
2. Change the redis server port
Add the REDIS_PORT environment variable to the tubearchivist container, but do not change the REDIS_HOST.
Add the REDIS_ARGS environment variable to the archivist-redis container configuration. This will add the --port 6380 flag to the options.
For the second one, an example modification of yours to that would look like this:

    image: redis/redis-stack-server
    container_name: archivist-redis
    restart: unless-stopped
    environment:
      - "REDIS_ARGS=--port 6380"
    expose:
      - "6380"
    volumes:
      - /mnt/main/tubearchivist/data/:/data
    depends_on:
      - archivist-es

Nothing else should require changes. This should allow redis to start up on port 6380, TA should then be able to access it via the internal Docker resolution addressing, and it should be good to go from there.

You should see a line similar to this relatively soon after the Redis is Starting line:

8:M 10 May 2024 10:33:23.285 * Running mode=standalone, port=6380.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant