676a1adff189ca4dace0d6adf1bb049fe1ec4d75
It turns out that mounting a host path in /app/data will shadow the contents of the container /app/data. I expected docker to copy all files from /app/data of container into the volume. Since docker doesn't do this for us, we have to copy over the contents ourselves before we start the container. https://github.com/dotcloud/docker/issues/1992 Without this change, every app that has any 'initial' config will have to basically write a setup script which has to run on startup. This changes is a little untested because volume mounting cannot be tested on the Mac through boot2docker. Notes: 1. The VOLUME cmd in Dockerfile merely exposes the directory to be available for other container to mount as volumes (i.e they will be available for --volumes-from)
…
The Box
Systemd
Yellowtent needs to be installed globally.
sudo npm install -g .
Copy the yellowtent.service file to /usr/lib/systemd/system and create a yellowtent user and group.
sudo cp yellowtent.service /usr/lib/systemd/system/
sudo useradd -mrU yellowtent
sudo systemctl start yellowtent
# or permanently enable it
sudo systemctl enable yellowtent
Description
Languages
JavaScript
72.6%
Vue
22.3%
Shell
3.1%
HTML
1.1%
EJS
0.7%
Other
0.2%