dockamole/docker-compose-remote.yml

21 lines
411 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
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"