some redif conf
This commit is contained in:
@@ -2,7 +2,7 @@ server {
|
||||
listen 80;
|
||||
root /var/www/d9/web;
|
||||
index index.html index.php;
|
||||
server_name dev.eql;
|
||||
server_name dev.eql.fr;
|
||||
|
||||
charset utf-8;
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
FROM redis:4
|
||||
COPY redis.conf /usr/local/etc/redis/redis.conf
|
||||
CMD [ "redis-server", "/usr/local/etc/redis/redis.conf" ]
|
||||
@@ -0,0 +1,2 @@
|
||||
maxmemory 1gb
|
||||
maxmemory-policy allkeys-lru
|
||||
@@ -17,8 +17,10 @@ services:
|
||||
|
||||
redis:
|
||||
image: redis:6
|
||||
command: redis-server /usr/local/etc/redis.conf
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
- ./Docker/redis/redis.conf:/usr/local/etc/redis.conf
|
||||
networks:
|
||||
- redis
|
||||
ports:
|
||||
|
||||
+1
-1
Submodule src_d9 updated: 8c7037b66d...31a7b19948
Reference in New Issue
Block a user