What is Nostr?
captjack / captjack 🏴‍☠️✨💜
npub1te0…jgwp
2024-11-08 19:41:40

captjack on Nostr: 🔀 most easiest way to deploy "groupchatrelay" daemon in linux using docker 😮 ...

🔀 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 Notoshi⚡ (npub1qd6…e0mj)
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

for relay admins only - NOT for end non-tech users #tipstr

Author Public Key
npub1te0uzs6vj29umjaxlqqct82j8q6ppyefrxq06dhr8d6pvwfatgkqjmjgwp