1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

update nodebb

This commit is contained in:
kev 2017-05-10 17:51:40 +08:00
parent 3d8cd3c79e
commit 2406aefc7a
4 changed files with 9 additions and 2 deletions

View File

@ -18,6 +18,7 @@ nodebb:
- redis - redis
volumes: volumes:
- ./data:/var/lib/nodebb - ./data:/var/lib/nodebb
- /usr/src/nodebb/build
restart: always restart: always
redis: redis:

View File

@ -6,6 +6,7 @@ nodebb:
- redis - redis
volumes: volumes:
- ./data:/var/lib/nodebb - ./data:/var/lib/nodebb
- /usr/src/nodebb/build
restart: always restart: always
redis: redis:

View File

@ -6,6 +6,7 @@ nodebb:
- redis - redis
volumes: volumes:
- ./data:/var/lib/nodebb - ./data:/var/lib/nodebb
- /usr/src/nodebb/build
restart: always restart: always
redis: redis:

View File

@ -12,5 +12,9 @@ VOLUME /data
EXPOSE 6379 EXPOSE 6379
ENTRYPOINT ["redis-server"] ENTRYPOINT ["redis-server", "--protected-mode", "no"]
CMD ["--protected-mode", "no", "--save", "900 1 300 10"] CMD [ \
"--save", "900", "1", \
"--save", "300", "10", \
"--save", "60", "10000" \
]