Compare commits
5
Commits
docker
...
dockerwithssh
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7896df41cd | ||
|
|
718a127ef3 | ||
|
|
1ff8e36234 | ||
|
|
18c602245e | ||
|
|
37a61266f7 |
@@ -18,4 +18,7 @@ RUN cd /opt/ \
|
||||
VOLUME /root/.3T
|
||||
VOLUME /root/.config/3T
|
||||
|
||||
RUN apt update && apt upgrade -y && apt autoremove -y
|
||||
RUN apt install openssh-client -y
|
||||
|
||||
CMD /opt/robo3t/bin/robo3t
|
||||
|
||||
+9
-2
@@ -2,10 +2,17 @@ version: "3.9"
|
||||
services:
|
||||
robo3t:
|
||||
image: robo3t
|
||||
restart: unless-stopped
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
network: host
|
||||
network_mode: host
|
||||
environment:
|
||||
- DISPLAY=${DISPLAY}
|
||||
volumes:
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix
|
||||
- $HOME/.3T:/root/.3T
|
||||
- $HOME/.config/.3T:/root/.config/.3T
|
||||
- $HOME/.ssh/id_rsa:/root/.ssh/id_rsa
|
||||
- $HOME/.ssh/config:/root/.ssh/config
|
||||
- $HOME/.ssh/known_hosts:/root/.ssh/known_hosts
|
||||
|
||||
Reference in New Issue
Block a user