ssh-chat set up
This commit is contained in:
commit
31f494a7b6
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
id_ed25516
|
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
||||
version: "2.1"
|
||||
services:
|
||||
ssh-chat:
|
||||
build: https://gitea.demb.uk/a31/ssh-chat.git
|
||||
image: ssh-chat
|
||||
container_name: ssh-chat
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 2022:2022
|
||||
secrets:
|
||||
- chatkey
|
||||
- admins # Not so secret
|
||||
- motd # Also not a secret
|
||||
command: "/usr/local/bin/ssh-chat --identity /run/secrets/chatkey --admin=/run/secrets/admins --log=/dev/stdout --motd=/run/secrets/motd"
|
||||
secrets:
|
||||
chatkey:
|
||||
file: ./id_ed25516
|
||||
admins:
|
||||
file: ./admins
|
||||
motd:
|
||||
file: ./motd
|
2
ssh-chat/admins
Normal file
2
ssh-chat/admins
Normal file
@ -0,0 +1,2 @@
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGdOJCSDdJM+TEBl0bJa9uAF23stqeEqEmty/WLyoFsi a31@demb.uk
|
||||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC1u1OsnRIC9UPLnocu7CfrU/AdrPtvFly2YafSVdpyjoLbIBbXpZ4eR65BsDKgez1KZ/n5NC/w60FmK8v+sdIHEecObVbM2u+67TFJwaqA2+YzbmWztuLd3+BtmoDqgT6WrfbAVHodpb1fqKpchn9qEZDhWqYj03QlZ2/bAWO4VRfwGZQxlwGw9caM0wkKh16XPdBOoZN5OriqQKK/lSuyn7Y+MLV2/ii5YC6roTJiZFONuIl6WWQQS1XHBc6DPTDMsE6cQeEfkl6QLmHWdBeSsGWrwbp6wCd6Lc03jsLYXbDtWES8lZhYaqdbA0VywmyLtkJN83eaNwfhvLdoGYOJ Vizmar@sibyl-system.ru
|
1
ssh-chat/motd
Normal file
1
ssh-chat/motd
Normal file
@ -0,0 +1 @@
|
||||
SSH chat DEMB's server. Bridged to #main
|
Loading…
x
Reference in New Issue
Block a user