Skip to content

Commit

Permalink
docker updates for redis (#1146)
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Rana <sacrana324@gmail.com>
  • Loading branch information
sacrana0 authored Jan 29, 2025
1 parent 3a97852 commit 87372bd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
1 change: 0 additions & 1 deletion docker-compose/dependent-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ services:

redis:
image: redis:6.0
container_name: redis-server
ports:
- "6379:6379"
restart: always
Expand Down
11 changes: 11 additions & 0 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ services:
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql

redis:
image: redis:6.0
container_name: redis-server
ports:
- "6379:6379"
restart: always

mock-identity-system:
image: 'mosipdev/mock-identity-system:release-0.10.x'
user: root
Expand Down Expand Up @@ -36,9 +43,13 @@ services:
- SPRING_DATASOURCE_URL=jdbc:postgresql://database:5432/mosip_esignet?currentSchema=esignet
- MOSIP_ESIGNET_MOCK_DOMAIN_URL=http://mock-identity-system:8082
- MOSIP_ESIGNET_INTEGRATION_KEY_BINDER=MockKeyBindingWrapperService
- SPRING_CACHE_TYPE=redis
- SPRING_REDIS_HOST=redis-server
- SPRING_REDIS_PASSWORD=
depends_on:
- database
- mock-identity-system
- redis

esignet-ui:
image: 'mosipdev/oidc-ui:develop'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.kafka.KafkaA
spring.kafka.bootstrap-servers=localhost:9092

## Redis configuration
spring.cache.type=simple
spring.cache.type=redis
spring.redis.host=localhost
spring.redis.port=6379
spring.redis.password=

## Database configuration
mosip.esignet.database.hostname=localhost
Expand Down

0 comments on commit 87372bd

Please sign in to comment.