mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
update nodebb
This commit is contained in:
parent
3d8cd3c79e
commit
2406aefc7a
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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" \
|
||||||
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user