patthecat

joined 2 years ago
 

I wanted to run a container with Netbird and Memos. I currently have same setup with Tailscale. Could anyone guide me how I can replicate the same using docker compose. @selfhost

Example docker compose

services:
ts-webserver1:
image: tailscale/tailscale:latest
hostname: memos
environment:
- TS_AUTHKEY=tskey-auth-key
- TS_STATE_DIR=/var/lib/tailscale
volumes:
- tailscale-data-webserver1:/var/lib/tailscale
devices:
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
restart: unless-stopped

memos:
image: neosmemo/memos:stable
network_mode: service:ts-webserver1
volumes:
- memos-data:/var/opt/memos
environment:
- MEMOS_MODE=prod
- MEMOS_PORT=5230
- MEMOS_DATA=/var/opt/memos
restart: unless-stopped
depends_on:
- ts-webserver1
volumes:
tailscale-data-webserver1:
driver: local
memos-data:
driver: local

 

There will always be a better option. More private, More secure, More #FOSS. But you just have to stick with one that works best for you. That has a good balance between Convince, Privacy and security.

Here's what I stuck to @signalapp @Mastodon @protonmail @bitwarden @fdroidorg @obsidian @firefox @simplelogin and a few more..