<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hi folks,<br>
<br>
I have just about finished building a Docker setup for ZendTo.<br>
You can get the image at docker.io/julesfm/zendto.<br>
<br>
However, to build it yourself, download the latest ZendTo beta from<br>
<a class="moz-txt-link-freetext" href="https://zend.to/beta">https://zend.to/beta</a><br>
The tgz tarball will do fine.<br>
In there you'll see a docker-compose.yml file. All the files it
refers to are in the docker sub-directory, so take a peek.<br>
Read that file and set things like the TZ appropriately, and setup a
volume to store your ZendTo dropoffs. I've included SMB and NFS
examples to get you going. You can just delete all those settings
for the data volume if you're just experimenting, and so use an
locally-hosted volume.<br>
<br>
You will also want to set your own values of all the environment
variables in docker/env.<br>
Note it supports the ..._FILE environment variables just like the
MySQL docker image does, so you don't have to put secrets in there.<br>
<br>
In that directory do<br>
docker compose build zendto<br>
docker compose up -d zendto<br>
and you should have a working ZendTo server running on localhost:80.<br>
<br>
To add users etc, use<br>
docker compose run zendto adduser 'username' 'email-address'
'real-name' 'organisation'<br>
and it will prompt for the password as usual. Run all the other
commands in /opt/zendto/bin the same way.<br>
If you want any other command, such as a shell, just run commands
like<br>
docker compose run zendto bash<br>
<br>
It doesn't *yet* work with an entire cluster/swarm of ZendTo
servers, as the cleanup and email-reminder jobs will be done by all
nodes in the cluster, so your users will get multiple reminders. But
I'm working on that, it'll need a swarm so only 1 container does the
cron jobs.<br>
<br>
Please give it a try and let me know what you think!<br>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'If I be the first of us to die,
Let grief not blacken long your sky.
Be bold yet modest in your grieving.
There is change but not a leaving.
For just as death is part of life,
The dead live on forever in the living.
For all the gathered riches of our journey,
The moments shared, the mysteries explored,
The steady layer of intimacy stored.
The things that made us laugh or weep or sing,
The joy of sunlit snow or first unfurling of the spring,
The wordless language of look and touch,
The knowing, each giving and each taking,
These are not flowers that fade,
Nor trees that fall and crumble.
Nor are they stone,
For even stone cannot the wind and rain withstand
And mighty mountain peaks in time reduce to sand.
What we were, we are.
What we had, we have.
A conjoined past imperishably present.
So when you walk the woods where once we walked together
And scan in vain the dappled bank beside you for my shadow,
Or pause where we always did upon the hill to gaze across the land,
And spotting something, reach by habit for my hand,
And finding none, feel sorrow start to steal upon you,
Be still.
Clear your eyes.
Breathe.
Listen for my footfall in your heart.
I am not gone but merely walk within you.'
- Nicholas Evans, an excerpt from The Smoke Jumper
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>