dockamole/docker-compose-remote.yml

22 lines
465 B
YAML
Raw Normal View History

2019-06-24 19:46:33 +00:00
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
2019-06-24 19:46:33 +00:00
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"