This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Docker setup | |
| ------------ | |
| Start with a Docker host. Raspberry Pi, Mac, Linux, Windows WSL, etc. In this example it is Ubuntu 24.04 LXC on Proxmox. | |
| Portainer recommends the official docker binary rather than the distro version, so don't select docker in the optional extras. | |
| Set a static IP for the host with the OS provided tools. | |
| Fully patch the OS and (likely) reboot. | |
| https://docs.docker.com/engine/install/ for Ubuntu says to: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| On your Docker host, create directories for the worker containers (Memos and Snapdrop in this gist) | |
| mkdir memos && chmod 777 memos | |
| mkdir tailmemo && chmod 777 tailmemo | |
| mkdir tailsnap && chmod 777 tailsnap | |
| mkdir tailshare && chmoe 777 tailshare | |
| On the Tailscale admin console, select Access controls and add: | |
| "tagOwners": { | |
| "tag:container": ["autogroup:admin"], | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html><head><title>Phonebook</title> | |
| <style> | |
| table, th, td { | |
| padding: 10px; | |
| border: 1px solid black; | |
| border-collapse: collapse; | |
| width:40% | |
| } | |
| </style> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl | |
| use Term::ReadKey; | |
| use strict; | |
| # Server specific values | |
| my $pbx = "pbx.fqdn.or.ip.address"; | |
| my $act = "NameOfTheAccountInApp"; | |
| print "\nExtension : "; |