Readme and base Dockerfile and docker-compose.yaml
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
FROM docker.io/archlinux:latest
|
||||||
|
|
||||||
|
RUN pacman -Sy --noconfirm openssh git vim go zsh curl
|
||||||
|
RUN /usr/bin/ssh-keygen -A
|
||||||
|
RUN /usr/bin/sed -i 's/bash/zsh/' /etc/passwd
|
||||||
|
|
||||||
|
EXPOSE 22
|
||||||
|
|
||||||
|
CMD ["/usr/sbin/sshd", "-D"]
|
||||||
5
README.md
Normal file
5
README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Winton
|
||||||
|
|
||||||
|
This is the docker configuration for the winton ssh server inside the network.
|
||||||
|
|
||||||
|
Once accessed it can reach all other ssh destinations inside the house. Do no leak ssh credentials.
|
||||||
14
docker-compose.yaml
Normal file
14
docker-compose.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
version: "3.7"
|
||||||
|
services:
|
||||||
|
winton:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
ports:
|
||||||
|
- "8022:22"
|
||||||
|
volumes:
|
||||||
|
- /root/winton/home:/root
|
||||||
|
restart: always
|
||||||
|
tty: true
|
||||||
|
domainname: 15bt.xyz
|
||||||
|
hostname: winton
|
||||||
|
|
||||||
Reference in New Issue
Block a user