Platform UI: Fix the problem with SSH access inside the Docker container for DLE deployment
In our current setup, when we run our Ansible playbook inside a Docker container, we encounter an SSH access issue to a remote server. This issue is due to the absence of the necessary SSH key inside our Docker container, which prevents establishing a connection with the DLE server.
I propose to address this issue by adding the -v $HOME/.ssh/id_rsa:/root/.ssh/id_rsa:ro
option to the docker run
command.
This will allow us to mount a local SSH key inside the Docker container, thus enabling SSH access to the DLE server.
Example:
docker run --rm -it -v $HOME/.ssh/id_rsa:/root/.ssh/id_rsa:ro postgresai/dle-se-ansible:v1.0-rc.3 \
ansible-playbook deploy_dle.yml --extra-vars \
"dle_host='root@5.78.111.74' \
dle_platform_project_name='vitaliy-dle-test' \
dle_version='3.4.0-rc.6' \
dle_platform_org_key='********' \
dle_verification_token='************'"
@Adrinlol Please update the snippet on the platform.
Edited by Vitaliy Kukharik