🔀 most easiest way to deploy "groupchatrelay" daemon in linux using docker 😮
delete possible - kick ban bot/spam not yet - public/private - room can be closed
zap nostr:npub1qd6zcgzukmydscp3eyauf2dn6xzgfsevsetrls8zrzgs5t0e4fws7re0mj
tech steps in linux with docker compose and service running (sudo when needed)
mkdir mychatrelay
cd mychatrelay
nano docker-compose.yaml
services:
groups-relay:
image: notoshi/groups-relay
container_name: groups-relay
ports:
- 3000:3000
environment:
- PORT=3000
- DOMAIN=
- RELAY_NAME=
- RELAY_PRIVKEY=
- RELAY_DESCRIPTION=
- RELAY_CONTACT=
- RELAY_ICON=
- DATABASE_PATH=/app/data
volumes:
- ./data:/app/data
docker pull notoshi/groups-relay
docker compose up -d
during maintenance at host:
docker ps -s
docker stop containerID
edit of change above docker-compose.yaml
restart docker again
DB stay in local host folder "mychatrelay"
open up relay whichever suits you better with reverse proxy caddy nginx haproxy or onion
ur relay will visible to outside world in appropriate chat app
https://image.nostr.build/214e8f96fa10fbfc4b3be19e8ebe7c973921b42d9f47a64e22d0d97e56adec18.png
for relay admins only - NOT for end non-tech users #tipstr