version: '2.2' services: proxy: image: panubo/sshd ports: - "2222:22" volumes: # This key must be provided # - ./id_rsa_proxy.pub:/etc/authorized_keys/mole - ./authorized_keys:/etc/authorized_keys/mole # Mount host keys - ./keys/etc/ssh/ssh_host_dsa_key:/etc/ssh/ssh_host_dsa_key - ./keys/etc/ssh/ssh_host_ecdsa_key:/etc/ssh/ssh_host_ecdsa_key - ./keys/etc/ssh/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key - ./keys/etc/ssh/ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key environment: - SSH_USERS=mole:101:101 web: image: stefanscherer/whoami expose: - 8080 ports: # This port is published to debug that the web server is actually running - "8080:8080"