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

  • prenatal_confusion@feddit.org
    link
    fedilink
    arrow-up
    1
    ·
    23 hours ago

    Not the question but still: pangolin reverse proxy does tailscale like features. I did it all, from cloudflare, bare bones wireguard, tailscale. Pangolin just works for me. Throw it on a cheap vps (mine is 3€ a month) and it’s set and forget.

  • krolden@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    2 days ago

    Replace the tailscale container with netbird container.

    Also why does your tailscale container have a volume? It just needs envs to define connection information.