[ZendTo] ZendTo for Docker

Jules Field Jules at Zend.To
Thu May 26 16:50:56 BST 2022


Hi folks,

I have just about finished building a Docker setup for ZendTo.
You can get the image at docker.io/julesfm/zendto.

However, to build it yourself, download the latest ZendTo beta from
https://zend.to/beta
The tgz tarball will do fine.
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.
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.

You will also want to set your own values of all the environment 
variables in docker/env.
Note it supports the ..._FILE environment variables just like the MySQL 
docker image does, so you don't have to put secrets in there.

In that directory do
     docker compose build zendto
     docker compose up -d zendto
and you should have a working ZendTo server running on localhost:80.

To add users etc, use
     docker compose run zendto adduser 'username' 'email-address' 
'real-name' 'organisation'
and it will prompt for the password as usual. Run all the other commands 
in /opt/zendto/bin the same way.
If you want any other command, such as a shell, just run commands like
     docker compose run zendto bash

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.

Please give it a try and let me know what you think!

Cheers,

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

www.Zend.To
Twitter: @JulesFM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20220526/81805d0f/attachment.html>


More information about the ZendTo mailing list