renamed: autossh/Dockerfile -> archive/autossh/Dockerfile
renamed: autossh/docker-compose.yml -> archive/autossh/docker-compose.yml renamed: dnscrypt-proxy/docker-compose.yml -> archive/dnscrypt-proxy/docker-compose.yml renamed: docuseal/docker-compose.yml -> archive/docuseal/docker-compose.yml renamed: doh/docker-compose.yml -> archive/doh/docker-compose.yml renamed: doods/Dockerfile -> archive/doods/Dockerfile renamed: doods/config.yaml -> archive/doods/config.yaml renamed: doods/docker-compose.yml -> archive/doods/docker-compose.yml renamed: doods/fetch_models.sh -> archive/doods/fetch_models.sh renamed: dynu/dynu.sh -> archive/dynu/dynu.sh renamed: misc/email-alerts/Dockerfile -> archive/email-alerts/Dockerfile renamed: esphome/Dockerfile -> archive/esphome/Dockerfile renamed: esphome/create-default-config.sh -> archive/esphome/create-default-config.sh renamed: esphome/data/.gitignore -> archive/esphome/data/.gitignore renamed: esphome/data/esphome-garage.yaml -> archive/esphome/data/esphome-garage.yaml renamed: esphome/data/esphome-waynes-room.yaml -> archive/esphome/data/esphome-waynes-room.yaml renamed: esphome/default_configuration.yaml -> archive/esphome/default_configuration.yaml renamed: esphome/docker-compose.yml -> archive/esphome/docker-compose.yml renamed: esphome/remote_transmitter-codes.yaml -> archive/esphome/remote_transmitter-codes.yaml renamed: graylog/docker-compose.yml -> archive/graylog/docker-compose.yml renamed: hass/docker-compose.yml -> archive/hass/docker-compose.yml renamed: lfs/Dockerfile -> archive/lfs/Dockerfile renamed: lfs/cross-toolchain.sh -> archive/lfs/cross-toolchain.sh renamed: mqtt/config.yaml -> archive/mqtt/config.yaml renamed: mqtt/docker-compose.yml -> archive/mqtt/docker-compose.yml renamed: netdata/docker-compose.yml -> archive/netdata/docker-compose.yml renamed: misc/office365/Dockerfile -> archive/office365/Dockerfile renamed: pihole/docker-compose.yml -> archive/pihole/docker-compose.yml renamed: misc/portainer-compose-files/haproxy.yaml -> archive/portainer-compose-files/haproxy.yaml renamed: misc/portainer-compose-files/keeweb.yaml -> archive/portainer-compose-files/keeweb.yaml renamed: misc/portainer-compose-files/registry.yaml -> archive/portainer-compose-files/registry.yaml renamed: misc/portainer-compose-files/searxng.yaml -> archive/portainer-compose-files/searxng.yaml renamed: misc/portainer-compose-files/webdav.yaml -> archive/portainer-compose-files/webdav.yaml renamed: misc/portainer/docker-compose.yml -> archive/portainer/docker-compose.yml renamed: traccar/docker-compose.yml -> archive/traccar/docker-compose.yml renamed: misc/ubuntu-gui/Dockerfile -> archive/ubuntu-gui/Dockerfile renamed: misc/ubuntu-gui/docker-compose.yml -> archive/ubuntu-gui/docker-compose.yml renamed: webdav/docker-compose.yml -> archive/webdav/docker-compose.yml
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
FROM debian:latest
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV AUTOSSH_DEBUG=1
|
||||
ENV AUTOSSH_LOGFILE=/root/log/autossh_log_file.log
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get install -y autossh
|
||||
RUN mkdir /root/.ssh /root/log
|
||||
CMD [ "autossh \
|
||||
-R nextcloud.lan.ddnsgeek.com:80:localhost:8083 \
|
||||
-R nextcloud.lan.ddnsgeek.com:443:localhost:4433 \
|
||||
-R passbolt.lan.ddnsgeek.com:443:localhost:4432 \
|
||||
-R passbolt.lan.ddnsgeek.com:80:localhost:8082 \
|
||||
-R webdav.lan.ddnsgeek.com:80:localhost:8080 \
|
||||
-R searxng.lan.ddnsgeek.com:80:localhost:8081 \
|
||||
-E /home/wayne/ssh_log_file.log \
|
||||
-o ServerAliveInterval 10 -o ServerAliveCountMax 3 \
|
||||
-i /home/wayne/.ssh/id_rsa -N -f serveo.net" ]
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
version: "3"
|
||||
services:
|
||||
server:
|
||||
hostname: autossh.sweet.home
|
||||
image: farmcoolcow/autossh
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: Dockerfile
|
||||
# volumes:
|
||||
# - .:/etc/unbound/unbound.conf.d
|
||||
restart: always
|
||||
# network_mode: host
|
||||
# privileged: true
|
||||
labels:
|
||||
- "io.portainer.accesscontrol.public"
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
command:
|
||||
- -R nextcloud.lan.ddnsgeek.com:80:localhost:8083 \
|
||||
-E /home/wayne/ssh_log_file.log" \
|
||||
-o "ServerAliveInterval 10" \
|
||||
-o "ServerAliveCountMax 3" \
|
||||
-i /home/wayne/.ssh/id_rsa \
|
||||
-N -f serveo.net
|
||||
environment:
|
||||
- AUTOSSH_DEBUG=1
|
||||
- AUTOSSH_LOGFILE=/home/wayne/autossh_log_file.log
|
||||
volumes:
|
||||
- ./install:/install
|
||||
Reference in New Issue
Block a user