Update to shuo

This commit is contained in:
Christine Dodrill 2015-08-06 08:11:19 +00:00
parent 66bf55dde4
commit c0f41f60ee
4 changed files with 80 additions and 16 deletions

View File

@ -1,15 +0,0 @@
FROM node:0
RUN useradd --create-home shout
RUN npm install -g shout
ENV HOME /home/shout
EXPOSE 9000
USER shout
ADD . /home/shout/.shout
CMD shout

15
net/shuo/Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM node:0
RUN useradd --create-home shuo
RUN npm install -g shuo
ENV HOME /home/shuo
EXPOSE 9000
USER shuo
ADD . /home/shuo/.shuo
CMD shuo

View File

@ -73,7 +73,7 @@ module.exports = {
// @type boolean
// @default true
//
displayNetwork: false,
displayNetwork: true,
//
// Log settings
@ -247,4 +247,55 @@ module.exports = {
//
port: 113
}
//
// Themes
//
// @type array
//
themes: [
//
// A theme
//
// @type object
//
{
//
// Name
//
// @type string
// @default "Default"
//
"name": "Default",
//
// Path to the theme CSS
//
// @type string
// @default ""
//
"path": "",
//
// Set the theme as default
//
// @type boolean
// @default false
//
"default": true
},
{
"name": "Morning",
"path": "themes/morning.css",
"default": false
},
{
"name": "Zenburn",
"path": "themes/zenburn.css",
"default": false
},
{
"name": "Crypto",
"path": "themes/crypto.css",
"default": false
}
],
};

13
net/shuo/shuo.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=Shout IRC
Requires=docker.service
After=network.target
[Service]
ExecStartPre=-/usr/bin/docker kill shuo
ExecStartPre=-/usr/bin/docker rm shuo
ExecStart=/usr/bin/docker run --name shuo -v /data/sda/shout/users:/home/shuo/.shuo/users -v /data/sda/shout/logs:/home/shuo/.shuo/logs -e VIRTUAL_HOST=shuo.xeserv.us xena/shuo
ExecStop=/usr/bin/docker stop shuo
[Install]
WantedBy=multi-user.target