diff --git a/nodebb/README.md b/nodebb/README.md index 3cc99c9..9aac00a 100644 --- a/nodebb/README.md +++ b/nodebb/README.md @@ -18,6 +18,7 @@ nodebb: - redis volumes: - ./data:/var/lib/nodebb + - /usr/src/nodebb/build restart: always redis: diff --git a/nodebb/arm/docker-compose.yml b/nodebb/arm/docker-compose.yml index 0dca217..ddaa34d 100644 --- a/nodebb/arm/docker-compose.yml +++ b/nodebb/arm/docker-compose.yml @@ -6,6 +6,7 @@ nodebb: - redis volumes: - ./data:/var/lib/nodebb + - /usr/src/nodebb/build restart: always redis: diff --git a/nodebb/docker-compose.yml b/nodebb/docker-compose.yml index 4367ecf..7d4af16 100644 --- a/nodebb/docker-compose.yml +++ b/nodebb/docker-compose.yml @@ -6,6 +6,7 @@ nodebb: - redis volumes: - ./data:/var/lib/nodebb + - /usr/src/nodebb/build restart: always redis: diff --git a/redis/arm/Dockerfile b/redis/arm/Dockerfile index 954b631..4d6b5cc 100644 --- a/redis/arm/Dockerfile +++ b/redis/arm/Dockerfile @@ -12,5 +12,9 @@ VOLUME /data EXPOSE 6379 -ENTRYPOINT ["redis-server"] -CMD ["--protected-mode", "no", "--save", "900 1 300 10"] +ENTRYPOINT ["redis-server", "--protected-mode", "no"] +CMD [ \ + "--save", "900", "1", \ + "--save", "300", "10", \ + "--save", "60", "10000" \ +]