diff --git a/Docker/nginx/default.conf b/Docker/nginx/default.conf index 1e46637..a82d37c 100644 --- a/Docker/nginx/default.conf +++ b/Docker/nginx/default.conf @@ -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; diff --git a/Docker/redis/Dockerfile b/Docker/redis/Dockerfile new file mode 100644 index 0000000..cdd3571 --- /dev/null +++ b/Docker/redis/Dockerfile @@ -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" ] \ No newline at end of file diff --git a/Docker/redis/redis.conf b/Docker/redis/redis.conf new file mode 100644 index 0000000..9cd0f14 --- /dev/null +++ b/Docker/redis/redis.conf @@ -0,0 +1,2 @@ +maxmemory 1gb +maxmemory-policy allkeys-lru \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 20c9165..849d17d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/src_d9 b/src_d9 index 8c7037b..31a7b19 160000 --- a/src_d9 +++ b/src_d9 @@ -1 +1 @@ -Subproject commit 8c7037b66d7bdcb8fd843cc296d0476810f6ee99 +Subproject commit 31a7b199487141b17ee2bbddef8cdb72ac6a0a5e