Echo Speaks Local Network Logon/Cookie Authorization Server to replace Heroku

The UM 350 (and family) is awesome. Right now I use an old HP laptop with 12gb ram, 500gb disk. Slow cpu though.

Doing this from memory, but should be close

On your DSM220+:
Go to Control Panel | Terminal & SNMP and Enable SSH Services
Install Node.js, Git Server and Docker from the Package Center

Use PUTTY or or favorite SSH utility to SSH into your DSM220+

cd /volume2/docker (or where ever you store your docker containers)
git clone https://github.com/tonesto7/echo-speaks-server
cd echo-speaks-server/docker
vi env.echo-speaks-server.dist (change IP-ADDRESS-TO-CHANGE to the DSM220+ IP)
cp env.echo-speaks-server.dist env.echo-speaks-server
sudo docker-compose up -d

Server should be running at this time
http://DSM220-IP:8091 should bring up the Echo Speaks Server Login Page (follow the Echo Speaks instructions for configuring a local server from this point).

@gikjll Tim, I have one UM350 that I put 2 sticks of 32GB in for 64GB of memory. I also changed out the 500GB NVMe for a 2TB. I have Ubuntu 22.04 server running on it and LXD. I have 19 LXD containers running and one Windows 11 LXD VM that I gave 8GB of memory. I have about 45% of total memory on the UM350 in use and the overall CPU load is 20%.

So, UM350 on sale $269, 2TB NVMe $179 and 64GB of DDR4 laptop memory for it $209. Total price $657 for a server that fits in the palm of my hand and can probably handle twice what I have on it. Right now the Raspberry Pi 4, 8GB, just the board is $220 with no case, no power adapter, and no storage and can never be upgraded. The pi has 4 cores with a base clock of 1.5Ghz. The Ryzen 5 3550H in the UM350 has a base clock of 2.1Ghz and has four cores, but eight threads. Also, the UM350 cited above comes with 16GB of memory and a 500GB NVMe. So, twice the memory and a free 500GB NVMe (how I see it) for $46 more than the Pi4, 8GB model. Wow, just plain wowl

1 Like

vi is a Linux editor. At this point you’ll be better off pulling down the new Docker container that @tonesto7 just published to the Docker Hub. Should be able to get to it from the Docker app on your Synology.

1 Like

I really can't believe I got this working on my Synology Nas with your newest instructions. Lot of trial and error, but all is good!
Thanks

2 Likes

@NoWon great to hear!

I have 2 different Amazon logins, one for my wife's 2 devices (which is working perfectly), and another for my 2 devices. Had 2 instances of heroku server running, no problem. I cannot figure out how I can change the HTTP: access between echo-speaks server1 and server2. Both are on 8091, and it states with option 1 of 2 says address can be different run them both, some type of bridge. Been trying to figure out the last 3 hrs. Thanks

If you're using the v.2.8.0 version I believe you'll want to edit the Dockerfile for the second instance and change the EXPOSE 8091 to another port and then make sure that is reflected in your ES app instance.

1 Like

@wagnerm1 Exactly as @thebearmay says. You would also have another Echo Speaks app instance on the HE to support the other Login/Cookie local server.

Will try. Thanks

Vi is possibly the most user hostile text editor of all time! Nano is a much better text editor.

1 Like

It's a UNIX editor. Linux just borrowed it.

I've been using it almost 40 years. Same with my wife. Our kids all learned it when they were under 10...

2 Likes

Vi is quite capable, but it vastly over complicates things.

The best is when you open something in it for the first time (or first time in a long time) and you have no idea how to quit the stupid thing so you just Ctrl-C it away!

At least nano has a little help bar at the bottom so you have a chance.

1 Like

@jtp10181 @dJOS Vi can be hostile. Realize that nano is much friendly. In the Linux world, its easy to bring up a GUI editor such as gedit also. Sadly, a serious limitation to Windows is having to run all apps locally. With Linux, you can run something like gedit or even a GUI file manager on a remote server instance that is not a GUI system and display the GUI back on your local Linux destop. I cover this on my channel all the time particularly with SFTP which is a part of the openssh-server daemon and that way you can drag and drop files between two systems that are Linux servers only without GUI's. In Windows, you can achieve this functionality by running the Xming X-Windows server.

Vi was created before UI design was was a thing, so it’s understandable that it isn’t easy to use.

But why anyone would be willing use it today is beyond me. Even simple navigation is a chore.

I use Unix based and Linux systems exclusively so editing files is something I do frequently. I also started my computing life with dos 2.11 and the editor was EDLIN - now that was a steaming pile of excrement!

Editors have made their mark, no doubt. On VMS I was a huge fan of EDT. I also used eMacs. My text editor of choice in Linux is nano. Sometimes I SFTP with my file manager to a server and gedit the files that way too.

2 Likes

vscode or atom thank you :slight_smile:

Wordstar, Z80 processor, S-100 bus, CP/M. Still remember some of the command keys. Admittedly more of a word processor than an editor but it served both purposes. And that NEC Spinwriter was a BEAST.

2 Likes

:v: