feat(project): init
This commit is contained in:
2
redislocal/.env
Normal file
2
redislocal/.env
Normal file
@@ -0,0 +1,2 @@
|
||||
REDIS_PORT=9765
|
||||
CONTAINER_NAME=redis_container
|
||||
2
redislocal/.gitignore
vendored
Normal file
2
redislocal/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
logs
|
||||
data
|
||||
13
redislocal/docker-compose.yml
Normal file
13
redislocal/docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
redis:
|
||||
image: redis/redis-stack-server:latest
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
ports:
|
||||
- ${REDIS_PORT}:6379
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./logs:/logs
|
||||
- ./redis.conf:/usr/local/etc/redis/redis.conf
|
||||
entrypoint: /bin/sh
|
||||
command: -c 'redis-server /usr/local/etc/redis/redis.conf'
|
||||
1404
redislocal/redis.conf
Normal file
1404
redislocal/redis.conf
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user