Skip to content

Commit

Permalink
πŸ”€ Merge pull request #33 from likesistemas/feature/redis
Browse files Browse the repository at this point in the history
✨ [NFE-193] Adicionando suporte ao redis
  • Loading branch information
ricardoapaes committed Feb 9, 2024
2 parents 100a8e5 + 42c02ce commit 56b4be7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sh/configure-db-ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ if [ -n "$MEMCACHE_HOST" ]; then
crudini --set ${1} session dsnMemcache memcached://${MEMCACHE_HOST}:${MEMCACHE_PORT:-11211};
fi

if [ -n "$REDIS_HOST" ]; then
crudini --set ${1} redis host ${REDIS_HOST};

if [ -n "$REDIS_PORT" ]; then
crudini --set ${1} redis porta ${REDIS_PORT};
fi
fi

if [ -n "$EMAIL_POP3" ]; then
crudini --set ${1} email pop3 ${EMAIL_POP3};
fi
Expand Down

0 comments on commit 56b4be7

Please sign in to comment.