Files
docker_ssh_auth_key_challenge/docker-compose.yml
2022-12-20 22:25:54 -05:00

24 lines
402 B
YAML

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