Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
delft-machine-learning
docker-env
Commits
3c9328b4
Commit
3c9328b4
authored
Jun 14, 2018
by
Bas Nijholt
Browse files
Increase inotify file limits
parent
5acbce5a
Changes
1
Show whitespace changes
Inline
Side-by-side
Dockerfile
View file @
3c9328b4
...
@@ -102,6 +102,9 @@ RUN curl -s https://syncthing.net/release-key.txt | apt-key add - && \
...
@@ -102,6 +102,9 @@ RUN curl -s https://syncthing.net/release-key.txt | apt-key add - && \
echo
"deb https://apt.syncthing.net/ syncthing stable"
|
tee
/etc/apt/sources.list.d/syncthing.list
&&
\
echo
"deb https://apt.syncthing.net/ syncthing stable"
|
tee
/etc/apt/sources.list.d/syncthing.list
&&
\
apt-get update
&&
apt-get
install
-y
syncthing
&&
apt-get clean
apt-get update
&&
apt-get
install
-y
syncthing
&&
apt-get clean
# https://docs.syncthing.net/users/faq.html#how-do-i-increase-the-inotify-limit-to-get-my-filesystem-watcher-to-work
RUN
echo
"fs.inotify.max_user_watches=204800"
|
sudo tee
-a
/etc/sysctl.conf
# Install supervisor for automatic starting of syncthing
# Install supervisor for automatic starting of syncthing
COPY
supervisord.conf /etc/supervisor/supervisord.conf
COPY
supervisord.conf /etc/supervisor/supervisord.conf
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment