chore(docker): Change Redis port from 6379 to 6380
Some checks failed
Lock Threads / action (push) Has been cancelled

Avoid port conflicts with Gitea (or other services) when both run on same server.
Container port remains 6379, host binding changed to 6380.
Updated REDIS_URL in .env.example. Update your local .env and server .env accordingly.
This commit is contained in:
netlas
2026-04-22 09:59:14 +03:00
parent 082d4a8487
commit b94a89fadc
3 changed files with 4 additions and 3 deletions

View File

@@ -38,7 +38,8 @@ ENABLE_ACCOUNT_SIGNUP=false
# specify the configs via single URL or individual variables
# ref: https://www.iana.org/assignments/uri-schemes/prov/redis
# You can also use the following format for the URL: redis://:password@host:port/db_number
REDIS_URL=redis://redis:6379
# Note: Port 6380 is used instead of default 6379 to avoid conflicts with Gitea if running on same server
REDIS_URL=redis://redis:6380
# If you are using docker-compose, set this variable's value to be any string,
# which will be the password for the redis service running inside the docker-compose
# to make it secure

View File

@@ -56,7 +56,7 @@ services:
volumes:
- redis_data:/data
ports:
- '127.0.0.1:6379:6379'
- '127.0.0.1:6380:6379'
volumes:
storage_data:

View File

@@ -56,7 +56,7 @@ services:
volumes:
- redis_data:/data
ports:
- '127.0.0.1:6379:6379'
- '127.0.0.1:6380:6379'
volumes:
storage_data: