{"id":21062820,"url":"https://github.com/roman2k/autossh-docker","last_synced_at":"2025-03-14T01:16:46.768Z","repository":{"id":234776017,"uuid":"734698426","full_name":"Roman2K/autossh-docker","owner":"Roman2K","description":"Dockerfile for autossh with automatic reconnection","archived":false,"fork":false,"pushed_at":"2023-12-22T11:17:21.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-07T00:16:33.413Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Roman2K.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-22T11:16:30.000Z","updated_at":"2024-09-02T07:04:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc4ece8f-d104-4553-8a5d-3b2b4e39d5a2","html_url":"https://github.com/Roman2K/autossh-docker","commit_stats":null,"previous_names":["roman2k/autossh-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roman2K%2Fautossh-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roman2K%2Fautossh-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roman2K%2Fautossh-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roman2K%2Fautossh-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Roman2K","download_url":"https://codeload.github.com/Roman2K/autossh-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243505960,"owners_count":20301619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T17:42:39.720Z","updated_at":"2025-03-14T01:16:46.739Z","avatar_url":"https://github.com/Roman2K.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# autossh-docker\n\nA minimal Dockerfile for [autossh][autossh] with automatic reconnection, running\nas a regular user.\n\n[autossh]: https://www.harding.motd.ca/autossh/\n\n## Usage\n\nExample docker-compose configuration:\n\n1. Make `myhost:8086` reachable within a Docker network through\n   `myhost-influxdb:8086`:\n\n    ```yaml\n      myhost-influxdb:\n        image: autossh\n        volumes:\n          - type: bind\n            source: $HOME/.ssh/id_rsa\n            target: /home/app/.ssh/id_rsa\n            read_only: true\n          - type: bind\n            source: $HOME/.ssh/config\n            target: /home/app/.ssh/config\n            read_only: true\n        command: ['-N', '-L', '8086:localhost:8086', 'myhost']\n    ```\n\n2. Or exposing `:8086` by the host:\n\n    ```yaml\n      myhost-influxdb:\n        # \u003csame as above\u003e\n        command: ['-N', '-L', '0.0.0.0:8086:localhost:8086', 'myhost']\n        ports: ['127.0.0.1:8086:8086']\n    ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froman2k%2Fautossh-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froman2k%2Fautossh-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froman2k%2Fautossh-docker/lists"}