myfakessh/docker-compose.yaml

14 lines
334 B
YAML
Raw Normal View History

2025-01-22 11:28:06 +08:00
services:
MyFakeSSH:
build: .
2025-01-23 01:10:59 +08:00
image: registry.cn-beijing.aliyuncs.com/licsber/myfakessh:latest
2025-01-22 11:28:06 +08:00
container_name: myfakessh
2025-02-11 16:41:08 +08:00
restart: unless-stopped
2025-01-22 11:28:06 +08:00
command: /log
volumes:
2025-02-11 16:41:08 +08:00
- /z/docker/myfakessh:/log
2025-01-22 11:28:06 +08:00
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
ports:
- "22:22"