Skip to content

Commit

Permalink
Merge remote-tracking branch 'Faeranne/docker'
Browse files Browse the repository at this point in the history
  • Loading branch information
derjanb committed Dec 2, 2022
2 parents 162bc80 + 26d047d commit c548bde
Show file tree
Hide file tree
Showing 5 changed files with 581 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dav
node_modules
tamperdav.sh
TamperDAV.bat
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:latest

ADD . /srv/app
WORKDIR /srv/app

RUN mkdir /srv/app/dav
RUN npm install
VOLUME /srv/app/dav

CMD ["node","server.js","--path=dav/","--host=0.0.0.0","--headless"]
EXPOSE 7000
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,6 @@ $ TD_USERNAME=derjanb TD_PASSWORD=secret node server.js --path=dav/ --port=6000
- ```max-cursors``` number of cached changes
- ```open-in-editor``` if "true" then if Windows "notepad" editor is used, else ```xgd-open```; or the executable as string i.e. "gedit", "notepad", ...
- ```meta-touch``` touch a sync entries's meta file automatically to make Tampermonkey start a sync on script changes
- ```no-dialog``` Disables the use of a dialog to show messages to the user
- ```headless``` Implies --no-dialog and disables editor opening
- ```debug``` print debug information
Loading

0 comments on commit c548bde

Please sign in to comment.