chore(docker): Change Redis port from 6379 to 6380
Some checks failed
Lock Threads / action (push) Has been cancelled
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:
@@ -38,7 +38,8 @@ ENABLE_ACCOUNT_SIGNUP=false
|
|||||||
# specify the configs via single URL or individual variables
|
# specify the configs via single URL or individual variables
|
||||||
# ref: https://www.iana.org/assignments/uri-schemes/prov/redis
|
# 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
|
# 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,
|
# 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
|
# which will be the password for the redis service running inside the docker-compose
|
||||||
# to make it secure
|
# to make it secure
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- redis_data:/data
|
- redis_data:/data
|
||||||
ports:
|
ports:
|
||||||
- '127.0.0.1:6379:6379'
|
- '127.0.0.1:6380:6379'
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
storage_data:
|
storage_data:
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- redis_data:/data
|
- redis_data:/data
|
||||||
ports:
|
ports:
|
||||||
- '127.0.0.1:6379:6379'
|
- '127.0.0.1:6380:6379'
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
storage_data:
|
storage_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user