Update Redis host and PostgreSQL configuration in .env.example and swarm/docmost.yml
This commit is contained in:
+1
-1
@@ -529,7 +529,7 @@ DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE__HOSTNA
|
||||
# PGSSLMODE=disable
|
||||
|
||||
# For redis you can either specify an ioredis compatible url like this
|
||||
REDIS_URL=redis://redis:6379
|
||||
REDIS_URL=redis://tasks.redis:6379
|
||||
# or alternatively, if you would like to provide additional connection options,
|
||||
# use a base64 encoded JSON connection option object. Refer to the ioredis documentation
|
||||
# for a list of available options.
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ services:
|
||||
APP_URL: "https://doc.${DOMAIN}"
|
||||
APP_SECRET: ${JWT_SECRET}
|
||||
DATABASE_URL: "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE__HOSTNAME}:5432/docmost?schema=public"
|
||||
REDIS_URL: "redis://redis:6379"
|
||||
REDIS_URL: "redis://tasks.redis:6379"
|
||||
expose:
|
||||
- 3000
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user