title: Gitea in Docker : SSH passthrough automation
body: <p>The <a href="https://docs.gitea.io/en-us/install-with-docker/#ssh-container-passthrough" rel="nofollow noreferrer">installation instructions</a> of the Gitea documentation using docker describe the SSH passthrough procedure to make the <code>git clone git@mydomain.com:user/repo</code> command not failing.</p>
  <p>I am new to docker but I am wondering, these few last 'manual' steps, can't they be automatised in a <code>docker-compose.yml</code> (and if so how would this file look like). It's not like a lot of steps but my understanding was that a docker container is supposed to be self-sufficient and with those steps it seems like it's not really.</p>