Skip to content

Commit

Permalink
added sample docker-compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
broizter committed Mar 4, 2024
1 parent 32429ad commit b1f26d2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: "3.6"
services:

ssh-server-on-docker-with-docker:
container_name: "ssh-server-on-docker-with-docker"
environment:
TZ: Etc/UTC
SSH_PUBLIC_KEY: |-
ssh-key-1
ssh-key-2
image: "ghcr.io/broizter/ssh-server-on-docker-with-docker:latest"
ports:
- "222:22/tcp"
restart: "unless-stopped"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"

0 comments on commit b1f26d2

Please sign in to comment.