Files
docker_ssh_auth_key_challenge/docker-compose.yml
2022-12-27 21:10:29 -05:00

24 lines
424 B
YAML

---
version: "3.9"
services:
client:
image: local/c2games-client:latest
ports:
- "22022:22"
build:
context: ./client
environment:
USER_PASSWORD: changeme!
SSHD_CHALLENGE_DIR: .ssh/auth_keys
controller:
image: local/c2games-controller:latest
build:
context: ./controller
environment:
SCORING_FLAG: flagMe
volumes:
- "${PWD}/keys:/root/.ssh"
...