Version:2.10.3
This image is built zhaojh329/rttys service.
The release version number will follow the service version number.
Run rttys mirror:
docker run -d --name rttys cnsoluciones/rttys:2.10.3
Map port:
docker run -d --name rttys -p 5912:5912 cnsoluciones/rttys:2.10.3
docker compose:
version: '2'
services:
rttys:
container_name: rttys
image: cnsoluciones/rttys:2.10.3
#build: .
ports:
- 5912:5912
environment:
RTTYS_USERNAME: admin
RTTYS_PASSWORD: admin
RTTYS_TOKEN: a98150a573fb88837b7ea3147c1b9fd0
RTTYS_CERT_CRT: /etc/letsencrypt/archive/example.com/cert1.pem
RTTYS_CERT_KEY: /etc/letsencrypt/archive/example.com/privkey1.pem
volumes:
- ./user-data/certbot/conf:/etc/letsencrypt
- /etc/localtime:/etc/localtime:ro
certbot:
container_name: certbot
image: certbot/certbot
restart: unless-stopped
ports:
- 8313:80
- 4588:443
volumes:
- ./user-data/certbot/conf:/etc/letsencrypt
- ./user-data/certbot/www:/var/www/certbot
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
The above correct output is similar:
Go Version: go1.12.4
Go OS/Arch: linux/amd64
Rttys Version: 2.10.3
Git Commit: 27abde3
Build Time: 2019-08-13T11:26:31+0800
Listen on: :5912 SSL on
The environment variable is mainly the configuration of rttys.
docker-compose up --build
docker-compose down
docker-compose exec rttys tail -f /var/log/rttys.log
docker-compose exec rttys bash
wget -qO- https://raw.githubusercontent.com/zhaojh329/rtty/master/tools/install.sh | sudo bash
rtty -i enp2s0 -h 172.16.0.11 -p 5912 -a -v -s -d 'demo 1' -t a98150a573fb88837b7ea3147c1b9fd0
cat /etc/systemd/system/rtty.service
[Unit]
Description=RTTY Client
After=network.target
[Service]
Environment="IFNAME=enp2s0"
Environment="HOST=172.16.0.11"
Environment="PORT=5912"
Environment="DESCRIPTION=demo 1"
Environment="TOKEN=a98150a573fb88837b7ea3147c1b9fd0"
WorkingDirectory=/usr/local/bin
ExecStart=/usr/local/bin/rtty -i $IFNAME -h $HOST -p $PORT -a -s -d $DESCRIPTION -t $TOKEN -D
KillMode=process
[Install]
WantedBy=multi-user.target
systemctl enable rtty
systemctl start rtty
Content type
Image
Digest
Size
21.4 MB
Last updated
over 7 years ago
docker pull cnsoluciones/rttys:2.10.3