{% extends "admin/dbs/base.html" %} {% block dbs_content %}
A DBS manager reaches this project over SSH. In the manager, add this
machine as a server with its SSH address and a user that owns the project, then add an
application and give it the project's folder. The manager finds the rest:
whether the project runs in Docker or Podman, its Python, manage.py,
settings, backup folder and .env.
The paths below are the ones inside the container. Give the manager the folder
on the server that holds the project's compose file, or the folder mounted at
{{ details.project_dir }}; it matches the container and translates each path
through its mounts. The server's own address, SSH user and host key are not visible from
here: compare the fingerprint the manager shows with ssh-keygen -lf
/etc/ssh/ssh_host_ed25519_key.pub run on the server.
| Host | {{ details.hostname }} |
|---|---|
| SSH user | {{ details.ssh_user|default:"-" }} |
| Project folder | {{ details.project_dir }} |
| Python | {{ details.python_path }} |
| manage.py | {{ details.manage_path|default:"-" }} |
| Settings module | {{ details.settings_module|default:"-" }} |
| Backup folder | {{ details.remote_backup_dir|default:"not set" }} |
| .env file | {{ details.env_path|default:"none found" }} |
| DBS version | {{ details.dbs_version }} |
| Host key | {{ key.type }} {{ key.fingerprint }} |
| Host key | No readable host key in /etc/ssh; compare the fingerprint the manager shows with ssh-keyscan. |
Add the manager's public key as one line in the ~/.ssh/authorized_keys of
the server user that owns the project folder. The manager shows that line when it
creates a key for the server.