Girish Ramakrishnan 676a1adff1 Setup app data volume with /app/data of container
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)
2014-06-06 13:46:05 -07:00
2014-06-03 22:23:30 -07:00
2014-06-04 14:01:07 -07:00
2014-06-06 01:23:23 -07:00
2014-05-06 15:15:04 -07:00
2014-06-04 14:01:07 -07:00

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
S
Description
Cloudron Box
Readme 47 MiB
Languages
JavaScript 72.6%
Vue 22.3%
Shell 3.1%
HTML 1.1%
EJS 0.7%
Other 0.2%