tmate/docker-compose.yml

23 lines
459 B
YAML
Raw Permalink Normal View History

2021-03-04 13:16:53 +01:00
---
version: '3.4'
services:
tmate-server:
image: tmate/tmate-ssh-server:latest
ports:
- 2200:2200
2022-08-21 17:12:10 +02:00
mem_limit: 64m
2021-03-04 13:16:53 +01:00
volumes:
- /etc/ssh/ssh_host_ed25519_key:/ssh/ssh_host_ed25519_key:ro
- /etc/ssh/ssh_host_rsa_key:/ssh/ssh_host_rsa_key:ro
networks:
- default
restart: always
environment:
SSH_KEYS_PATH: /ssh
SSH_HOSTNAME: dotya.ml
SSH_PORT_LISTEN: 2200
cap_add:
- SYS_ADMIN
2022-08-21 17:12:56 +02:00
...