31 lines
666 B
YAML
31 lines
666 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: no
|
|
stdin_open: true
|
|
tty: true
|