Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wenotes-docker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OERu
wenotes-docker
Commits
fc0ebb34
Commit
fc0ebb34
authored
Aug 01, 2019
by
Dave Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates to configurations
parent
835b285b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
docker-wenotes-base/Dockerfile
docker-wenotes-base/Dockerfile
+2
-2
docker-wenotes-pm2/conf/services.yml
docker-wenotes-pm2/conf/services.yml
+4
-4
docker-wenotes-tools/Dockerfile
docker-wenotes-tools/Dockerfile
+1
-1
No files found.
docker-wenotes-base/Dockerfile
View file @
fc0ebb34
...
...
@@ -88,8 +88,8 @@ RUN apt-get install -y less net-tools vim
# install Node.JS repos and do another update...
RUN
curl
-s
https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
\
&&
echo
'deb https://deb.nodesource.com/node_4.x
trusty
main'
>
/etc/apt/sources.list.d/nodesource.list
\
&&
echo
'deb-src https://deb.nodesource.com/node_4.x
trusty
main'
>>
/etc/apt/sources.list.d/nodesource.list
\
&&
echo
'deb https://deb.nodesource.com/node_4.x
xenial
main'
>
/etc/apt/sources.list.d/nodesource.list
\
&&
echo
'deb-src https://deb.nodesource.com/node_4.x
xenial
main'
>>
/etc/apt/sources.list.d/nodesource.list
\
&&
apt-get update
-y
-qq
# Download dev dependencies
RUN
apt-get
install
-y
--no-install-recommends
\
...
...
docker-wenotes-pm2/conf/services.yml
View file @
fc0ebb34
...
...
@@ -4,16 +4,16 @@ apps:
-
script
:
'
couchwatch.js'
name
:
'
CouchWatch'
merge_logs
:
true
out_file
:
'
/
tmp
/couchwatch.log'
out_file
:
'
/
opt/wenotes/logs
/couchwatch.log'
-
script
:
'
twitters.js'
name
:
'
Twitter
Stream
Watcher'
merge_logs
:
true
out_file
:
'
/
tmp
/twitters.log'
out_file
:
'
/
opt/wenotes/logs
/twitters.log'
-
script
:
'
irc.js'
name
:
'
IRC
Watcher'
merge_logs
:
true
out_file
:
'
/
tmp
/irc.log'
out_file
:
'
/
opt/wenotes/logs
/irc.log'
-
script
:
'
wenotestochat.js'
name
:
'
WENotes
to
Chat'
merge_logs
:
true
out_file
:
'
/
tmp
/wenotestochat.log'
out_file
:
'
/
opt/wenotes/logs
/wenotestochat.log'
docker-wenotes-tools/Dockerfile
View file @
fc0ebb34
...
...
@@ -14,7 +14,7 @@ RUN set -ex \
echo
"PY=/usr/bin/python"
;
\
echo
'8,18,28,38,48,58 * * * * root cd $WEDIR && nice $PY bookmarks.py && nice $PY medium.py'
;
\
echo
'6,16,26,36,46,56 * * * * root cd $WEDIR && nice $PY mastodon.py && nice $PY hypothesis.py'
;
\
echo
'4,14,24,34,44,54 * * * * root cd $WEDIR && nice $PY saylor-discourse.py && nice $PY
feeds.py && nice $PY
blog_feed.py'
;
\
echo
'4,14,24,34,44,54 * * * * root cd $WEDIR && nice $PY saylor-discourse.py && nice $PY blog_feed.py'
;
\
echo
'2,12,22,32,42,52 * * * * root cd $WEDIR && nice $PY forums.py && nice $PY discourse.py --full'
;
\
echo
'*/1 * * * * root echo "Cron ran at $(date)" >> $LOG'
;
\
}
|
tee
/etc/cron.d/wenotes-cron
...
...
Write
Preview
Markdown
is supported
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