rpki/deploy/client/docker-compose.ssh.yml
xiuting.xu b60d579a38 增加ssh
增加deploy下细分的tcp、tls、ssh
2026-04-22 16:02:42 +08:00

31 lines
678 B
YAML

version: "3.9"
services:
rtr-debug-client:
build:
context: ../..
dockerfile: deploy/client/Dockerfile
image: rpki-rtr-debug-client:latest
network_mode: host
command:
[
"127.0.0.1:${RPKI_RTR_SSH_PORT:-22}",
"2",
"reset",
"--ssh",
"--ssh-user",
"rpki-rtr",
"--ssh-key",
"/app/certs/rtr-client.key",
"--ssh-server-key",
"/app/certs/ssh_host_rsa_key.pub",
"--keep-after-error",
"--summary-only"
]
volumes:
- ../../certs:/app/certs:ro
- ../../logs/client:/app/logs
restart: unless-stopped
stdin_open: true
tty: true